Peach: Local-first video metadata scraper and media manager.
fix(web): 修复入库通知与旧入口跳转并显示作品身份标题
longmeidaocf238e979b30
diff --git a/frontend/e2e/smoke.test.ts b/frontend/e2e/smoke.test.tsindex 90cf93514..7937258cb 100644--- a/frontend/e2e/smoke.test.ts+++ b/frontend/e2e/smoke.test.ts@@ -20,6 +20,7 @@ import type { Browser, Locator, Page } from 'playwright-core';import { configurationBody, expectBody, layout, launch, requiredEnv, settle, unmanagedScrollers, visit, VIEWPORTS } from './harness.ts';import { mockJavDetail } from './jav-detail-fixture.ts';+import { CLEANUP_HASH_REDIRECTS } from '../src/cleanup-tools.ts';interface Route {path: string;@@ -166,6 +167,14 @@ const ROUTES: readonly Route[] = [},];+const LEGACY_ROUTES: readonly Route[] = [+ ...Object.entries(CLEANUP_HASH_REDIRECTS).map(([hash, path]) => ({+ path: '/data-cleanup' + hash, body: ROUTES.find(route => route.path === path)!.body,+ })),+ { path: '/subscriptions?tab=wants', body: ROUTES.find(route => route.path === '/jav?tab=wants')!.body },+ { path: '/subscriptions?tab=source', body: page => [page.locator('#stats form[aria-label="资源搜索"]')] },+];+async function assertHolds(page: Page, problems: string[], where: string): Promise<void> {assert.deepEqual(problems, [], `${where}:页面报错或有失败请求`);const box = await layout(page);@@ -195,8 +204,42 @@ describe('路由冒烟', () => {await browser.close();});+ it('入库 toast 打开真实详情,标题使用番号或文件名,返回与前进恢复对应页面', { timeout: 60_000 }, async () => {+ const id = Number(requiredEnv('PEACH_E2E_ITEM'));+ let items: Array<{ id: number; kind: string; asset_id: number; label: string; at: number }> = [];+ let reads = 0;+ const opened = await visit(browser, '/stats', DESKTOP, async page => {+ await page.route('**/api/result-updates', route => {+ reads += 1;+ return route.fulfill({ json: { ok: true, busy: true, result_versions: {}, ingest_notices: { epoch: 'toast-navigation', items } } });+ });+ });+ try {+ await expectBody(opened.page, '/stats', [statsInventoryTab(opened.page)]);+ await opened.page.waitForFunction(() => document.title === '统计 · Peach');+ assert.ok(reads > 0, '通知基线没有读取');+ const response = await opened.page.request.get(`${requiredEnv('PEACH_E2E_ORIGIN')}/api/item?id=${id}`);+ const item = await response.json();+ const label = [item.display_code, item.code, item.name].map(value => String(value || '').trim()).find(Boolean);+ assert.ok(label, '样本作品缺少番号与文件名');+ items = [{ id: 1, kind: 'download', asset_id: id, label, at: 0 }];+ const open = opened.page.locator('[data-sonner-toast]').filter({ hasText: '已入库并整理完成' }).getByRole('button', { name: '打开', exact: true });+ await open.click({ timeout: 15_000 });+ const stage = opened.page.getByRole('dialog', { name: '作品详情', exact: true });+ await stage.locator('[data-item-detail] [data-item-title]').waitFor({ state: 'visible' });+ assert.equal(new URL(opened.page.url()).pathname, `/assets/${id}`);+ await opened.page.waitForFunction(expected => document.title === expected, `${label} · Peach`);+ await opened.page.goBack();+ await statsInventoryTab(opened.page).waitFor({ state: 'visible' });+ await opened.page.waitForFunction(() => document.title === '统计 · Peach');+ await opened.page.goForward();+ await stage.locator('[data-item-detail] [data-item-title]').waitFor({ state: 'visible' });+ await opened.page.waitForFunction(expected => document.title === expected, `${label} · Peach`);+ } finally { await opened.close() }+ });+for (const viewport of VIEWPORTS) {- for (const route of ROUTES) {+ for (const route of [...ROUTES, ...LEGACY_ROUTES]) {// 单条超时远小于 Python 侧的整轮超时:卡住的那一条自己报名字,不拖垮整轮输出。it(`${route.path} @ ${viewport.name}`, { timeout: 60_000 }, async () => {const opened = await visit(browser, route.path.startsWith('/works/') ? '/stats' : route.path, viewport);diff --git a/frontend/src/application/loading.js b/frontend/src/application/loading.jsindex e9d2b67ba..6010c63d5 100644--- a/frontend/src/application/loading.js+++ b/frontend/src/application/loading.js@@ -5,7 +5,8 @@ import { photoSize } from './../appearance/layout';import { $, ROUTE_ENTITIES } from '../core';import { fitSkeleton, LOAD_MORE_STATUS, loadingDotsHtml, revealSkeleton } from '../ui-kit';import { junkCountSkeletonHtml, junkRoute } from './../junk-queue';-import { state } from './../shell/index';+import { state, presentedItem } from './../shell/index';+import { mediaRouteLabel } from '../history/page-title';import { catalogCardRatio, catalogHeadProps, catalogSkeletonHtml, clearCatalogGrid, gridTaken, paintCatalogFilter, syncCatalogFilterScreen } from './catalog.js';import { followListLayout, followManageParams, indexState, showIndexContainer } from './index.js';import { applicationEffects } from './effects';@@ -152,7 +153,7 @@ loadingState.ENTITY_SHAPES_WAIT = 400;loadingState.syncPageTitle = path=>{const url=new URL(path,location.origin);const pathname=decodeURIComponent(url.pathname);- const label=routeMetaOf(pathname)?.title;+ const label=mediaRouteLabel(pathname,presentedItem)||routeMetaOf(pathname)?.title;document.title=label?`${label} · Peach`:'Peach · 蜜桃';document.body.dataset.surface=url.pathname;paintNav();diff --git a/frontend/src/application/media.js b/frontend/src/application/media.jsindex b07314c85..f2fe84210 100644--- a/frontend/src/application/media.js+++ b/frontend/src/application/media.js@@ -19,6 +19,7 @@ import { currentBarsContext, entityState, openEntity, revealForIsland, syncForIsimport { openAddToPlaylist, rereadPlaylists, saveMixAsPlaylist } from './playlists.js';import { releaseHoverPreviews } from './../card-art/hover';import { applicationEffects } from './effects';+import { loadingState } from './loading.js';export const mediaState = { total: undefined, facets: undefined, stageHost: undefined, stageOpen: undefined, itemDetailHelpers: undefined, itemDetailActions: undefined, immerseHost: undefined, immerseOpen: undefined, requestedImmerseId: undefined };export function urlResume(){@@ -158,6 +159,7 @@ export async function openJavMovie(code,push=true){if(peachHistory.navigation.seq!==seq||!canonical||canonical===code)return;shellNavigate('/works/'+encodeURIComponent(canonical)+location.search+location.hash,{replace:true,state:peachHistory.navigation.location.state});+ loadingState.syncPageTitle(location.href);},openTag:tag=>commitContextFilter(filters=>{filters.tag=tag}),receipt:message=>receiptsState.toast({text:message})}});@@ -212,6 +214,7 @@ mediaState.itemDetailActions = {writeShell({barsContext:{type:'item',id:item.id,filters:returnBars?.type==='entity'? {...returnBars.filters}:entityState.emptyEntityFilters()}});if(pendingQueueRoute){navigationState.queueOpenRequest=null;navigationState.route(`/assets/${item.id}?${pendingQueueRoute}`,false,overlayState('item'));writeShell({pendingQueueRoute:null})}+ loadingState.syncPageTitle(location.href);buildBars();},/* 取数时发现要换去别处:保存过的在线作品转关注详情,队列取不到退回普通详情,播放列表空了diff --git a/frontend/src/history/index.ts b/frontend/src/history/index.tsindex 22a99a2f0..d5dcbf4dc 100644--- a/frontend/src/history/index.ts+++ b/frontend/src/history/index.ts@@ -1,7 +1,7 @@/* 全站唯一的浏览器历史(`@peach/history`)。** Application 与 React 路由树直接引用本模块,随 peach-app.js 发出同一个历史实例。- * 启动地址清理与重定向使用 shellNavigate,Router 的 navigator 也读这一份。+ * 已由壳处理的地址同步使用 shellNavigate,Router 的 navigator 也读这一份。** 实现是 React Router 自己的 `createBrowserHistory`(`v5Compat` 档:push / replace 也通知监听者),* 和它的 `<Router>` 读写的是同一种 `{usr, key, idx}` 历史条目,不另引一份 history 库。它只收一个@@ -91,7 +91,8 @@ export interface ShellNavigateOptions {state?: unknown;}-/** 壳写地址:push 或 replace 一条,当场认领。+/** 壳写地址:push 或 replace 一条,当场认领。调用方须已处理正文或提交打开请求;+ * 页面重定向由 peachHistory.push / replace 交路由打开,不能只认领地址。** 路径先按当前地址解析成绝对的:壳传进来的有相对路径、有只带查询串的,也有整条 href,* `history.pushState` 本来就是这样解析的;React Router 的 `To` 只认路径,`#x` 这种会丢掉查询串。 */diff --git a/frontend/src/history/page-title.ts b/frontend/src/history/page-title.tsnew file mode 100644index 000000000..32b97e800--- /dev/null+++ b/frontend/src/history/page-title.ts@@ -0,0 +1,9 @@+/** 媒体详情的标签页身份;仅使用当前地址对应的已呈现条目。 */+export function mediaRouteLabel(pathname: string, item: {+ id: number; display_code?: string | null; code?: string | null; name?: string | null;+} | null): string {+ const work = /^\/works\/([A-Za-z0-9_-]{2,64})$/.exec(pathname);+ if (work) return work[1]!.toUpperCase();+ if (!item || pathname !== `/assets/${item.id}`) return '';+ return [item.display_code, item.code, item.name].map(value => String(value || '').trim()).find(Boolean) || '';+}diff --git a/frontend/src/react/application.tsx b/frontend/src/react/application.tsxindex 6c7229eeb..0a688500e 100644--- a/frontend/src/react/application.tsx+++ b/frontend/src/react/application.tsx@@ -57,7 +57,7 @@ export function Application() {queueMicrotask(() => finalizeResources(current));};}, []);- return <RouterRoot actions={actions} processing background={actions ? <ResultUpdates /> : null} />;+ return <RouterRoot actions={actions} processing background={actions ? <ResultUpdates openItem={actions.openItem} /> : null} />;}const roots = new WeakMap<Element, Root>();export function mountApplication(host: Element): Root {diff --git a/frontend/src/react/data-cleanup/data-cleanup-page.tsx b/frontend/src/react/data-cleanup/data-cleanup-page.tsxindex fe285a8dc..d6dc73860 100644--- a/frontend/src/react/data-cleanup/data-cleanup-page.tsx+++ b/frontend/src/react/data-cleanup/data-cleanup-page.tsx@@ -2,7 +2,7 @@import { useEffect } from 'react';import { useQuery } from '@tanstack/react-query';import { fmtSize } from '@peach/legacy/core';-import { shellNavigate } from '@peach/history';+import { peachHistory } from '@peach/history';import { CLEANUP_HASH_REDIRECTS, CLEANUP_TOOLS, type CleanupTool } from '../../cleanup-tools';import type { DataCleanupProps, DataCleanupSection } from '../bundle';import { SectionHeading } from '../components/fieldset';@@ -62,7 +62,7 @@ export function DataCleanupPage({ toast, open, navigate }: DataCleanupProps) {const trash = useQuery({ queryKey: TRASH_KEY, queryFn: ({ signal }) => fetchTrashSummary(signal) });useEffect(() => {const target = CLEANUP_HASH_REDIRECTS[location.hash];- if (target) shellNavigate(target + location.search, { replace: true });+ if (target) peachHistory.replace(target + location.search);}, []);return <Page>diff --git a/frontend/src/react/result-updates.tsx b/frontend/src/react/result-updates.tsxindex 25f2fe25e..deb3f9b8f 100644--- a/frontend/src/react/result-updates.tsx+++ b/frontend/src/react/result-updates.tsx@@ -1,7 +1,7 @@/** 页面持续读取已提交结果;仅使发生变化的资料缓存失效。新到的入库通知弹 toast。 */import { useEffect, useRef, useState } from 'react';import { useQuery } from '@tanstack/react-query';-import { shellNavigate } from '@peach/history';+import type { ShellActions } from './router/shell-actions';import {fetchResultUpdates, RESULT_UPDATES_KEY, RUNNING_POLL_MS, SETTLED_POLL_MS, type ActivityData, type IngestNotice,@@ -62,7 +62,7 @@ const noticeText = (item: IngestNotice) => {/** 新到的入库通知弹成 toast,点「打开」进这部作品。首轮与服务重启后(`epoch` 变了)只记基线,不补弹。 */export function announceIngests(seen: { epoch: string; last: number } | null,- notices: ActivityData['ingest_notices']): { epoch: string; last: number } | null {+ notices: ActivityData['ingest_notices'], openItem: ShellActions['openItem']): { epoch: string; last: number } | null {if (!notices) return seen;const last = notices.items.reduce((max, item) => Math.max(max, item.id), 0);if (!seen || seen.epoch !== notices.epoch) return { epoch: notices.epoch, last };@@ -72,13 +72,13 @@ export function announceIngests(seen: { epoch: string; last: number } | null,} else {for (const item of fresh) {showToast(`ingest-${notices.epoch}-${item.id}`, { html: noticeText(item), alert: false, timeout: 8000,- action: { label: '打开', run: () => shellNavigate(`/assets/${item.asset_id}`) } });+ action: { label: '打开', run: () => openItem(item.asset_id) } });}}return { epoch: notices.epoch, last: Math.max(seen.last, last) };}-export function ResultUpdates() {+export function ResultUpdates({ openItem }: Pick<ShellActions, 'openItem'>) {const query = useQuery({ queryKey: RESULT_UPDATES_KEY, queryFn: ({ signal }) => fetchResultUpdates(signal),refetchInterval: current => (current.state.data?.busy ? RUNNING_POLL_MS : SETTLED_POLL_MS) });const previous = useRef<Record<string, string> | undefined>(undefined);@@ -91,6 +91,6 @@ export function ResultUpdates() {if (previous.current) void refresh(previous.current, versions);previous.current = versions;}, [versions, refresh]);- useEffect(() => { announced.current = announceIngests(announced.current, notices) }, [notices]);+ useEffect(() => { announced.current = announceIngests(announced.current, notices, openItem) }, [notices, openItem]);return null;}diff --git a/frontend/src/react/router/pages/managed.tsx b/frontend/src/react/router/pages/managed.tsxindex 2964fd652..bdd90d7f7 100644--- a/frontend/src/react/router/pages/managed.tsx+++ b/frontend/src/react/router/pages/managed.tsx@@ -17,7 +17,7 @@ import { useLocation } from 'react-router';import { appSettingsStore } from '@peach/appearance';import { followManageParams } from '../../follow-manage/manage-route';import {- isOverlayPath, managedEntry, openManagedRoute, peachHistory, shellNavigate,+ isOverlayPath, managedEntry, openManagedRoute, peachHistory,configurationSection, updateManagedRoute,} from '@peach/history';import { api, isAbort } from '@peach/legacy/core';@@ -113,10 +113,10 @@ async function openPage(path: ManagedPath, actions: ShellActions, run: Run): PropeachHistory.replace(javLibraryPath(window.location.search)); return;}if (path === '/subscriptions' && search().get('tab') === 'wants') {- shellNavigate('/jav?tab=wants', { replace: true }); return;+ peachHistory.replace('/jav?tab=wants'); return;}if (path === '/subscriptions' && search().get('tab') === 'source') {- shellNavigate('/settings/subscriptions', { replace: true }); return;+ peachHistory.replace('/settings/subscriptions'); return;}const stats = document.getElementById('stats');if (!stats) return;@@ -143,7 +143,7 @@ async function openPage(path: ManagedPath, actions: ShellActions, run: Run): Proif (opened && isCurrent()) {const { hash } = window.location;if (path === '/settings/library' && hash === '#libraryProcessing') {- queueMicrotask(() => { if (isCurrent()) shellNavigate('/data-cleanup#libraryProcessing', { replace: true, state: null }) });+ queueMicrotask(() => { if (isCurrent()) peachHistory.replace('/data-cleanup#libraryProcessing', null) });} else {void pageNavigationReady(isCurrent);}@@ -201,7 +201,7 @@ export function ResourceSyncRedirect() {let live = true;queueMicrotask(() => {if (!live) return;- shellNavigate('/data-cleanup/resource-sync', { replace: true });+ peachHistory.replace('/data-cleanup/resource-sync');});return () => { live = false };}, [started]);diff --git a/frontend/test/history/page-title.test.ts b/frontend/test/history/page-title.test.tsnew file mode 100644index 000000000..434f7aa93--- /dev/null+++ b/frontend/test/history/page-title.test.ts@@ -0,0 +1,16 @@+import { expect, it } from 'vitest';+import { mediaRouteLabel } from '../../src/history/page-title';++it('详情标签页优先显示番号,没有番号时保留文件名', () => {+ expect(mediaRouteLabel('/assets/1', { id: 1, display_code: ' DASD-911 ', code: 'DASD-00911', name: 'video.mp4' }))+ .toBe('DASD-911');+ expect(mediaRouteLabel('/assets/1', { id: 1, display_code: ' ', code: 'ABP-616', name: 'video.mp4' })).toBe('ABP-616');+ expect(mediaRouteLabel('/assets/1', { id: 1, name: '我的视频.mp4' })).toBe('我的视频.mp4');+ expect(mediaRouteLabel('/works/abw-032', null)).toBe('ABW-032');+});++it('换页及另一条详情读取期间不沿用上一条的身份', () => {+ expect(mediaRouteLabel('/assets/2', { id: 1, code: 'ABP-616' })).toBe('');+ expect(mediaRouteLabel('/tasks', { id: 1, code: 'ABP-616' })).toBe('');+ expect(mediaRouteLabel('/assets/1', null)).toBe('');+});diff --git a/frontend/test/react/data-cleanup.test.tsx b/frontend/test/react/data-cleanup.test.tsxindex e67a8c14e..860c43cc8 100644--- a/frontend/test/react/data-cleanup.test.tsx+++ b/frontend/test/react/data-cleanup.test.tsx@@ -12,6 +12,8 @@ import type { DataCleanupSection } from '../../src/react/bundle';import { DataCleanupPage, DataCleanupToolPage } from '../../src/react/data-cleanup/data-cleanup-page';import { prefetchDataCleanupTool } from '../../src/react/data-cleanup/data-cleanup';import type { CleanupToolKey } from '../../src/cleanup-tools';+import { CLEANUP_HASH_REDIRECTS } from '../../src/cleanup-tools';+import { peachHistory } from '../../src/history';import { junkBreakdown, prefetchDataCleanup, reviewSummary } from '../../src/react/data-cleanup/data-cleanup';import { LinkManager } from '../../src/react/data-cleanup/link-manager';import type { LinkCheckState } from '../../src/react/data-cleanup/links';@@ -33,6 +35,22 @@ afterEach(() => {});notifyManager.setScheduler((notify) => notify());+for (const [hash, target] of Object.entries(CLEANUP_HASH_REDIRECTS)) {+ it(`数据管理旧锚点 ${hash} 交路由打开工具正文且不增加历史条目`, async () => {+ serve({});+ peachHistory.replace('/data-cleanup?library=local' + hash);+ const length = window.history.length;+ await mount(<QueryClientProvider client={queryClient}>+ <DataCleanupPage toast={vi.fn()} failure={vi.fn()} open={vi.fn()} navigate={vi.fn()} />+ </QueryClientProvider>);+ await settle();+ expect(location.pathname + location.search).toBe(target + '?library=local');+ expect(peachHistory.navigation.claimed).toBe(false);+ expect(window.history.length).toBe(length);+ peachHistory.replace('/');+ });+}+const FAIL = Symbol('fail');/** 一条端点回非 2xx。 */const failWith = (status: number, body: unknown = {}) => ({ [FAIL]: true, status, body });diff --git a/frontend/test/react/pages/managed.test.tsx b/frontend/test/react/pages/managed.test.tsxindex 26cc65c1a..52cb9ba6d 100644--- a/frontend/test/react/pages/managed.test.tsx+++ b/frontend/test/react/pages/managed.test.tsx@@ -258,6 +258,7 @@ it('旧直达地址 `/resource-sync` 改写成资源同步工具页,不加历await until(() => location.pathname === '/data-cleanup/resource-sync', '改写到资源同步');await until(() => vi.mocked(actions.surfaceChanged).mock.calls.length > 0, '数据管理页打开');expect([location.hash, window.history.length - length]).toEqual(['', 0]);+ expect(r.peachHistory.navigation.claimed).toBe(false);expect(vi.mocked(actions.surfaceChanged).mock.calls).toEqual([['management', '/data-cleanup/resource-sync']]);});@@ -273,6 +274,20 @@ it('配置页带 `#libraryProcessing` 进来:画上之后改写到数据管理expect(stats.hidden).toBe(false);});+for (const [tab, target] of [['wants', '/jav'], ['source', '/settings/subscriptions']] as const) {+ it(`关注管理的旧 ${tab} 入口打开目标页面并替换历史条目`, async () => {+ const r = await load(`/subscriptions?tab=${tab}`);+ surface(r, '/subscriptions');+ serve({ '/healthz': {}, '/api/configuration': configuration });+ const length = window.history.length;+ const { actions } = await boot(r);+ await until(() => vi.mocked(actions.surfaceChanged).mock.calls.some(([, path]) => path === target), '目标正文打开');+ expect(location.pathname).toBe(target);+ expect(window.history.length).toBe(length);+ expect(r.peachHistory.navigation.claimed).toBe(false);+ });+}+it('诊断页的标题、管理区身份与换一批由路由元数据登记', async () => {const r = await load();expect(r.routeMetaOf('/settings/diagnostics')).toEqual({ section: 'configuration', title: '系统诊断', refresh: 'reopen' });diff --git a/frontend/test/react/result-updates.test.tsx b/frontend/test/react/result-updates.test.tsxindex 874578c2e..91dbc477f 100644--- a/frontend/test/react/result-updates.test.tsx+++ b/frontend/test/react/result-updates.test.tsx@@ -34,7 +34,7 @@ it('运行中的任务发布确认结果时更新列表,状态与凭据查询const feed = useQuery({ queryKey: ['follow-feed'], queryFn: read });return <p>{feed.data}</p>;}- const host = await mount(<QueryClientProvider client={queryClient}><ResultUpdates /><Feed /></QueryClientProvider>);+ const host = await mount(<QueryClientProvider client={queryClient}><ResultUpdates openItem={vi.fn()} /><Feed /></QueryClientProvider>);await settle();expect(read).not.toHaveBeenCalled();await act(async () => {@@ -99,24 +99,23 @@ it('缓慢读取期间的下一项结果排队刷新,不取消读取且不遗it('入库通知:首轮只记基线;新到的逐部弹 toast 并可打开,一轮超过 3 部合成一条,服务重启后不补弹', async () => {const toaster = await import('../../src/react/toaster');- const history = await import('@peach/history');const shown = vi.spyOn(toaster, 'showToast').mockImplementation(() => {});- const go = vi.spyOn(history, 'shellNavigate').mockImplementation(() => {});+ const go = vi.fn();const { announceIngests } = await import('../../src/react/result-updates');const notice = (id: number, kind: 'download' | 'discovered' = 'download', label = `SSIS-${id}`) =>({ id, kind, asset_id: 100 + id, label, at: 0 });- let seen = announceIngests(null, { epoch: 'a', items: [notice(1), notice(2)] });+ let seen = announceIngests(null, { epoch: 'a', items: [notice(1), notice(2)] }, go);expect(shown).not.toHaveBeenCalled();- seen = announceIngests(seen, { epoch: 'a', items: [notice(1), notice(2), notice(3), notice(4, 'discovered', '<b>x</b>')] });+ seen = announceIngests(seen, { epoch: 'a', items: [notice(1), notice(2), notice(3), notice(4, 'discovered', '<b>x</b>')] }, go);expect(shown.mock.calls.map(([, request]) => request.html)).toEqual(['「SSIS-3」已入库并整理完成', '新文件已入库:「<b>x</b>」']);shown.mock.calls[0]![1].action!.run(document.createElement('button'));- expect(go).toHaveBeenCalledWith('/assets/103');+ expect(go).toHaveBeenCalledWith(103);shown.mockClear();- seen = announceIngests(seen, { epoch: 'a', items: [5, 6, 7, 8].map(id => notice(id)) });+ seen = announceIngests(seen, { epoch: 'a', items: [5, 6, 7, 8].map(id => notice(id)) }, go);expect(shown.mock.calls.map(([, request]) => [request.html, request.action])).toEqual([['4 部作品已入库', null]]);shown.mockClear();- announceIngests(seen, { epoch: 'b', items: [notice(1)] });+ announceIngests(seen, { epoch: 'b', items: [notice(1)] }, go);expect(shown).not.toHaveBeenCalled();- shown.mockRestore(); go.mockRestore();+ shown.mockRestore();});diff --git a/web/dist/peach-app.data-cleanup-page-D6k7185j.js b/web/dist/peach-app.data-cleanup-page-DuumPSgp.jssimilarity index 97%rename from web/dist/peach-app.data-cleanup-page-D6k7185j.jsrename to web/dist/peach-app.data-cleanup-page-DuumPSgp.jsindex f68fc12f7..f8cf5c79c 100644--- a/web/dist/peach-app.data-cleanup-page-D6k7185j.js+++ b/web/dist/peach-app.data-cleanup-page-DuumPSgp.js@@ -1,10 +1,10 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f068ff37-58fc-4e58-9bdb-bacd1069d40a", e._sentryDebugIdIdentifier = "sentry-dbid-f068ff37-58fc-4e58-9bdb-bacd1069d40a");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b331720c-a0ef-4130-8418-3443a933a205", e._sentryDebugIdIdentifier = "sentry-dbid-b331720c-a0ef-4130-8418-3443a933a205");} catch {}})();-import { BATCH_DELETE_TEXT as e, Button as t, CLEANUP_ENTRY as n, CLEANUP_ENTRY_GRID as r, CLEANUP_HASH_REDIRECTS as i, CLEANUP_TOOLS as a, Chip as o, DIRECTORY_TEMPLATE_ERROR as s, DUPLICATES_KEY as c, Fieldset as l, FieldsetTitle as u, IDLE_REPAIR as d, IconButton as f, IndexSearch as p, Input as m, JUNK_KEY as h, LINKS_KEY as g, LINK_CHECK_KEY as _, LINK_KINDS as v, LINK_PRUNE_KEY as ee, LOC as y, LibraryProcessingCard as b, MEDIA_REPAIR_KEY as x, MEDIA_REPAIR_URL as S, MEDIA_SOURCES_KEY as C, MEDIA_SOURCE_ICONS as w, Note as T, ORGANIZE_KEY as te, ORGANIZE_PARAMETER_HINT as ne, ORGANIZE_SCOPE_HINT as re, ORGANIZE_TEXT as E, ORPHAN_RECORDS_KEY as D, ORPHAN_RECORDS_TEXT as O, PERFORMER_DELETE_KEY as k, PLAIN_STAT_STRIP as ie, PlainStat as A, Progress as j, QUALITY_GOALS_KEY as ae, REPAIR_CARD_TEXT as M, REPAIR_LIBRARIES_KEY as oe, RESOURCE_APPLY_KEY as se, RESOURCE_SCAN_KEY as N, RESOURCE_SYNC_TEXT as P, RESULT_PANEL as F, RESULT_SECTION as I, REVIEW_COUNTS_KEY as ce, SOURCE_LABELS as L, SectionHeading as le, Select as ue, SelectItem as de, SourceMark as fe, StatusLabel as pe, TRASH_KEY as R, TaskProgress as z, Wt as me, __toESM as he, apiSend as ge, applyConfirmText as _e, applyLeftovers as B, applyPlanText as ve, applyText as V, attachOrphan as ye, baseName as be, busyProps as H, candidateText as xe, checkLine as Se, confirmModal as U, cx as Ce, deletePerformerVideos as we, entityDisplayName as Te, entityFaceImg as Ee, entityPath as De, errorMessage as W, esc as Oe, fetchDeletePerformers as ke, fetchDeletePlan as Ae, fetchDuplicates as je, fetchJunkSummary as Me, fetchLinkCheck as Ne, fetchLinkPrune as Pe, fetchLinkStats as Fe, fetchMediaRepair as Ie, fetchMediaSources as Le, fetchOrganize as Re, fetchOrganizeExample as ze, fetchOrphanRecords as Be, fetchQualityGoals as Ve, fetchRepairLibraries as He, fetchResourceApply as Ue, fetchResourceScan as We, fetchReviewCounts as Ge, fetchTrashSummary as Ke, firstGrapheme as qe, fmtSize as G, hasChanges as Je, hasResourceRoots as Ye, junkBreakdown as Xe, missingToolText as Ze, nameFallback as Qe, organizeOutcome as $e, pickOrganizeFolder as et, plainStatClass as K, planSummary as tt, previewOrganize as nt, pruneText as rt, purgeCount as it, purgeOrphan as at, queryClient as q, recordsText as ot, rememberTemplates as st, require_jsx_runtime as ct, require_react as lt, reviewSummary as ut, scanLine as dt, shellNavigate as ft, sourceMeta as pt, spriteGlyph as J, startLinkCheck as mt, startLinkPrune as ht, startOrganize as gt, startResourceApply as _t, startResourceScan as vt, statusLine as yt, useAction as bt, useBackgroundJob as Y, useEntityNames as xt, useMutation as St, useQuery as X, withOrganizeJob as Ct } from "./peach-app.js";+import { BATCH_DELETE_TEXT as e, Button as t, CLEANUP_ENTRY as n, CLEANUP_ENTRY_GRID as r, CLEANUP_HASH_REDIRECTS as i, CLEANUP_TOOLS as a, Chip as o, DIRECTORY_TEMPLATE_ERROR as s, DUPLICATES_KEY as c, Fieldset as l, FieldsetTitle as u, IDLE_REPAIR as d, IconButton as f, IndexSearch as p, Input as m, JUNK_KEY as h, LINKS_KEY as g, LINK_CHECK_KEY as _, LINK_KINDS as v, LINK_PRUNE_KEY as ee, LOC as y, LibraryProcessingCard as b, MEDIA_REPAIR_KEY as x, MEDIA_REPAIR_URL as S, MEDIA_SOURCES_KEY as C, MEDIA_SOURCE_ICONS as w, Note as T, ORGANIZE_KEY as te, ORGANIZE_PARAMETER_HINT as ne, ORGANIZE_SCOPE_HINT as re, ORGANIZE_TEXT as E, ORPHAN_RECORDS_KEY as D, ORPHAN_RECORDS_TEXT as O, PERFORMER_DELETE_KEY as k, PLAIN_STAT_STRIP as ie, PlainStat as A, Progress as j, QUALITY_GOALS_KEY as ae, REPAIR_CARD_TEXT as M, REPAIR_LIBRARIES_KEY as oe, RESOURCE_APPLY_KEY as se, RESOURCE_SCAN_KEY as N, RESOURCE_SYNC_TEXT as P, RESULT_PANEL as F, RESULT_SECTION as I, REVIEW_COUNTS_KEY as ce, SOURCE_LABELS as L, SectionHeading as le, Select as ue, SelectItem as de, SourceMark as fe, StatusLabel as pe, TRASH_KEY as R, TaskProgress as z, Wt as me, __toESM as he, apiSend as ge, applyConfirmText as _e, applyLeftovers as B, applyPlanText as ve, applyText as V, attachOrphan as ye, baseName as be, busyProps as H, candidateText as xe, checkLine as Se, confirmModal as U, cx as Ce, deletePerformerVideos as we, entityDisplayName as Te, entityFaceImg as Ee, entityPath as De, errorMessage as W, esc as Oe, fetchDeletePerformers as ke, fetchDeletePlan as Ae, fetchDuplicates as je, fetchJunkSummary as Me, fetchLinkCheck as Ne, fetchLinkPrune as Pe, fetchLinkStats as Fe, fetchMediaRepair as Ie, fetchMediaSources as Le, fetchOrganize as Re, fetchOrganizeExample as ze, fetchOrphanRecords as Be, fetchQualityGoals as Ve, fetchRepairLibraries as He, fetchResourceApply as Ue, fetchResourceScan as We, fetchReviewCounts as Ge, fetchTrashSummary as Ke, firstGrapheme as qe, fmtSize as G, hasChanges as Je, hasResourceRoots as Ye, junkBreakdown as Xe, missingToolText as Ze, nameFallback as Qe, organizeOutcome as $e, peachHistory$1 as et, pickOrganizeFolder as tt, plainStatClass as K, planSummary as nt, previewOrganize as rt, pruneText as it, purgeCount as at, purgeOrphan as ot, queryClient as q, recordsText as st, rememberTemplates as ct, require_jsx_runtime as lt, require_react as ut, reviewSummary as dt, scanLine as ft, sourceMeta as pt, spriteGlyph as J, startLinkCheck as mt, startLinkPrune as ht, startOrganize as gt, startResourceApply as _t, startResourceScan as vt, statusLine as yt, useAction as bt, useBackgroundJob as Y, useEntityNames as xt, useMutation as St, useQuery as X, withOrganizeJob as Ct } from "./peach-app.js";import { Page as wt } from "./peach-app.page-QAncjzM1.js";import { ErrorExcerpt as Tt } from "./peach-app.error-excerpt-B8v2xEIP.js";import { DataTable as Et } from "./peach-app.data-table-BRJ5A5Cl.js";@@ -13,7 +13,7 @@ import { LEGACY_AVATAR_IMG as Ot } from "./peach-app.legacy-avatar-NSITxLRS.js";import { FolderSearchIcon as kt } from "./peach-app.folder-rows-BWBfTyUD.js";import { ConnectionStatus as At } from "./peach-app.connection-status-DI6kgn3i.js";// src/react/data-cleanup/cleanup-entry-card.tsx-var Z = /* @__PURE__ */ he(lt(), 1), Q = ct(), jt = J("chevron-right");+var Z = /* @__PURE__ */ he(ut(), 1), Q = lt(), jt = J("chevron-right");function Mt({ label: e, icon: t, summary: r, detail: i, state: a, attributes: o, onOpen: s }) {return /* @__PURE__ */ (0, Q.jsxs)("button", {type: "button",@@ -373,7 +373,7 @@ function Gt() {else if (E && !y.length && !b.length) k = /* @__PURE__ */ (0, Q.jsx)(T, {tone: "success",title: "完成",- children: rt(E)+ children: it(E)});else if (D) k = /* @__PURE__ */ (0, Q.jsx)(T, {tone: "error",@@ -409,7 +409,7 @@ function Gt() {E?.status === "complete" ? /* @__PURE__ */ (0, Q.jsx)(T, {tone: "success",title: "完成",- children: rt(E)+ children: it(E)}) : null,/* @__PURE__ */ (0, Q.jsx)(Wt, {title: "地址已失效",@@ -626,13 +626,13 @@ function Xt({ toast: e, failure: n }) {file_template: _.file.trim(),dir_template: _.dir.trim()}), N = St({- mutationFn: nt,+ mutationFn: rt,onError: (e) => {let t = /整理路径/.test(W(e)) ? "path" : s.test(W(e)) ? "dir" : "file";D(t), (t === "path" ? ie : t === "dir" ? k : O).current?.focus();}}), P = St({- mutationFn: ({ initial: e }) => et(e),+ mutationFn: ({ initial: e }) => tt(e),onSuccess: (e, t) => {e.path && t.location === S.current.location && t.path === S.current.path && (b({location: t.location,@@ -674,7 +674,7 @@ function Xt({ toast: e, failure: n }) {await F.start.mutateAsync({kind: "apply",request: e- }), st({+ }), ct({...i?.templates ?? {},[e.location]: {file: e.file_template,@@ -723,7 +723,7 @@ function Xt({ toast: e, failure: n }) {}) : L && (B = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(T, {tone: "neutral",title: "预览结果",- children: tt(L)+ children: nt(L)}), le ? /* @__PURE__ */ (0, Q.jsx)(Yt, { plan: L }) : null] }));return /* @__PURE__ */ (0, Q.jsxs)(l, {layout: "stack",@@ -951,14 +951,14 @@ function $t({ item: e, toast: n }) {},onError: (e) => n(W(e))}), o = St({- mutationFn: () => at(e.id),+ mutationFn: () => ot(e.id),onSuccess: (t) => {n(t.blocked.length ? `「${e.name}」的文件已恢复,记录未删除;下次扫描后恢复为在库状态` : `已删除「${e.name}」的作品记录及个人记录`), Qt();}}), s = () => {U({title: "删除记录",- body: `将删除「${e.name}」的作品记录${ot(e.records) ? `及其个人记录(${ot(e.records)})` : ""}。此操作不可撤销。`,+ body: `将删除「${e.name}」的作品记录${st(e.records) ? `及其个人记录(${st(e.records)})` : ""}。此操作不可撤销。`,confirmLabel: "删除记录",danger: !0,onConfirm: () => o.mutateAsync()@@ -1032,7 +1032,7 @@ function tn({ toast: e }) {queryKey: D,queryFn: ({ signal: e }) => Be(e)}), a = i.data?.items ?? [], o = St({- mutationFn: (e) => at(e),+ mutationFn: (e) => ot(e),onSuccess: (t) => {e(`已删除 ${t.purged} 条作品记录及其个人记录${t.blocked.length ? `;${t.blocked.length} 条文件已恢复,记录未删除` : ""}`), r([]), Qt();}@@ -1057,10 +1057,10 @@ function tn({ toast: e }) {label: "个人记录",width: 176,min: 144,- value: (e) => ot(e.records),+ value: (e) => st(e.records),render: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {className: "block min-w-0 whitespace-normal wrap-anywhere",- children: ot(e.records) || "无"+ children: st(e.records) || "无"})},{@@ -1332,7 +1332,7 @@ function un({ scan: e, partial: t = !1 }) {className: K(),children: /* @__PURE__ */ (0, Q.jsx)(A, {label: "待永久删除",- figure: `${$(it(e))} 项`,+ figure: `${$(at(e))} 项`,meta: "文件已不在盘上,含回收站"})}),@@ -1419,7 +1419,7 @@ function dn({ toast: e }) {children: sn});else if (i?.status === "running") {- let e = dt(i);+ let e = ft(i);m = /* @__PURE__ */ (0, Q.jsx)(z, {embedded: !0,label: e,@@ -1623,7 +1623,7 @@ function Cn({ toast: e, open: t, navigate: n }) {});return (0, Z.useEffect)(() => {let e = i[location.hash];- e && ft(e + location.search, { replace: !0 });+ e && et.replace(e + location.search);}, []), /* @__PURE__ */ (0, Q.jsxs)(wt, { children: [/* @__PURE__ */ (0, Q.jsxs)("section", {"aria-labelledby": "cleanup-pending",@@ -1639,7 +1639,7 @@ function Cn({ toast: e, open: t, navigate: n }) {label: "人工复核",icon: _n,open: t,- value: mn(o, ut)+ value: mn(o, dt)}),/* @__PURE__ */ (0, Q.jsx)(hn, {section: "duplicates",@@ -1722,4 +1722,4 @@ function Cn({ toast: e, open: t, navigate: n }) {}export { Cn as DataCleanupPage, pn as DataCleanupToolPage };-//# debugId=f068ff37-58fc-4e58-9bdb-bacd1069d40a\ No newline at end of file+//# debugId=b331720c-a0ef-4130-8418-3443a933a205\ No newline at end of filediff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex d91499eff..07fbcd548 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2c22955d-b9f2-4b6f-9d2d-49e8a0c8d40c", e._sentryDebugIdIdentifier = "sentry-dbid-2c22955d-b9f2-4b6f-9d2d-49e8a0c8d40c");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "debfbaba-db4b-4cec-9c9c-a38bddc5ec3c", e._sentryDebugIdIdentifier = "sentry-dbid-debfbaba-db4b-4cec-9c9c-a38bddc5ec3c");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {@@ -1115,12 +1115,12 @@ var k = /* @__PURE__ */ o(((e) => {}function Oe(e) {var t = e.memoizedState;- t !== null && (_h._currentValue = t.memoizedState, xe(Te, e)), t = Se.current;+ t !== null && (gh._currentValue = t.memoizedState, xe(Te, e)), t = Se.current;var n = xp(t, e.type);t !== n && (xe(Ce, e), xe(Se, n));}function ke(e) {- Ce.current === e && (be(Se), be(Ce)), Te.current === e && (be(Te), _h._currentValue = ge);+ Ce.current === e && (be(Se), be(Ce)), Te.current === e && (be(Te), gh._currentValue = ge);}var Ae, je;function Me(e) {@@ -1429,7 +1429,7 @@ var k = /* @__PURE__ */ o(((e) => {}function xt() {var e = he.p;- return e === 0 ? (e = window.event, e === void 0 ? 32 : Nh(e.type)) : e;+ return e === 0 ? (e = window.event, e === void 0 ? 32 : Mh(e.type)) : e;}function St(e, t) {var n = he.p;@@ -1448,9 +1448,9 @@ var k = /* @__PURE__ */ o(((e) => {if (t = e[wt]) return t;for (var n = e.parentNode; n;) {if (t = n[Et] || n[wt]) {- if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = Sm(e); e !== null;) {+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = xm(e); e !== null;) {if (n = e[wt]) return n;- e = Sm(e);+ e = xm(e);}return t;}@@ -2390,7 +2390,7 @@ var k = /* @__PURE__ */ o(((e) => {function Ni(e, t, n, r, a, o) {var s = 0;if (r = e, typeof r == "function") Ai(r) && (s = 1);- else if (typeof r == "string") s = rh(e, n, Se.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ else if (typeof r == "string") s = nh(e, n, Se.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;else a: switch (r) {case ie: return e = ki(31, n, t, a), e.elementType = ie, e.lanes = o, e;case O: return Pi(n.children, a, o, t);@@ -2548,11 +2548,11 @@ var k = /* @__PURE__ */ o(((e) => {var t = e.tag, n;if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Cp(e.type, e.memoizedProps)), n = !n), n && ta && oa(e), ca(e), t === 13) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ta = xm(e);+ ta = bm(e);} else if (t === 31) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ta = xm(e);- } else t === 27 ? (t = ta, Mp(e.type) ? (e = bm, bm = null, ta = e) : ta = t) : ta = ea ? ym(e.stateNode.nextSibling) : null;+ ta = bm(e);+ } else t === 27 ? (t = ta, Mp(e.type) ? (e = ym, ym = null, ta = e) : ta = t) : ta = ea ? vm(e.stateNode.nextSibling) : null;return !0;}function ua() {@@ -2630,7 +2630,7 @@ var k = /* @__PURE__ */ o(((e) => {}} else if (a === Te.current) {if (s = a.alternate, s === null) throw Error(i(387));- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [_h] : e.push(_h));+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [gh] : e.push(gh));}a = a.return;}@@ -3217,7 +3217,7 @@ var k = /* @__PURE__ */ o(((e) => {for (var t = e; t !== null;) {if (t.tag === 13) {var n = t.memoizedState;- if (n !== null && (n = n.dehydrated, n === null || gm(n) || _m(n))) return t;+ if (n !== null && (n = n.dehydrated, n === null || hm(n) || gm(n))) return t;} else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {if (t.flags & 128) return t;} else if (t.child !== null) {@@ -3569,14 +3569,14 @@ var k = /* @__PURE__ */ o(((e) => {if (na) {if (ta) {b: {- for (var i = ta, a = ia; i.nodeType !== 8;) if (!a || (i = ym(i.nextSibling), i === null)) {+ for (var i = ta, a = ia; i.nodeType !== 8;) if (!a || (i = vm(i.nextSibling), i === null)) {i = null;break b;}a = i.data, i = a === "F!" || a === "F" ? i : null;}if (i) {- ta = ym(i.nextSibling), r = i.data === "F!";+ ta = vm(i.nextSibling), r = i.data === "F!";break a;}}@@ -3794,7 +3794,7 @@ var k = /* @__PURE__ */ o(((e) => {t.next === null && (t = e.alternate.memoizedState), uc(e, t.next.queue, {}, Rd());}function ic() {- return Ca(_h);+ return Ca(gh);}function ac() {return ss().memoizedState;@@ -4309,7 +4309,7 @@ var k = /* @__PURE__ */ o(((e) => {baseLanes: 0,cachePool: null}, Bc(null, e);- if (Mo(t), (e = ta) ? (e = hm(e, ia), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ if (Mo(t), (e = ta) ? (e = mm(e, ia), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,treeContext: Ki === null ? null : {id: qi,@@ -4335,7 +4335,7 @@ var k = /* @__PURE__ */ o(((e) => {$d();}t = Uc(e, t, n);- } else e = o.treeContext, ta = ym(s.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = Hc(t, r), t.flags |= 134221824;+ } else e = o.treeContext, ta = vm(s.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = Hc(t, r), t.flags |= 134221824;return t;}return e = ji(e.child, {@@ -4400,7 +4400,7 @@ var k = /* @__PURE__ */ o(((e) => {var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Io.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {if (na) {- if (i ? jo(t) : Po(), (e = ta) ? (e = hm(e, ia), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ if (i ? jo(t) : Po(), (e = ta) ? (e = mm(e, ia), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,treeContext: Ki === null ? null : {id: qi,@@ -4409,7 +4409,7 @@ var k = /* @__PURE__ */ o(((e) => {retryLane: 536870912,hydrationErrors: null}, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw oa(t);- return t.lanes = _m(e) ? 32 : 536870912, null;+ return t.lanes = gm(e) ? 32 : 536870912, null;}return a = r.children, r = r.fallback, i ? (Po(), i = t.mode, a = tl({mode: "hidden",@@ -4452,7 +4452,7 @@ var k = /* @__PURE__ */ o(((e) => {mode: "visible",children: a.children}, s), o = Pi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, lo(t, e.child, null, c), a = t.child, a.memoizedState = Zc(c), a.childLanes = Qc(e, r, c), t.memoizedState = Xc, Bc(null, a)) : (Po(), t.child = e.child, t.flags |= 128, null);- if (jo(t), _m(o)) {+ if (jo(t), gm(o)) {if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, fa({value: a,@@ -4463,9 +4463,9 @@ var k = /* @__PURE__ */ o(((e) => {if (Pc || ba(e, t, c, !1), r = (c & e.childLanes) !== 0, Pc || r) {if (wo.current !== null) return nl(e, t, c);if (r = rd, r !== null && (a = vt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, wi(e, a), Vd(r, e, a), Nc;- return gm(o) || $d(), nl(e, t, c);+ return hm(o) || $d(), nl(e, t, c);}- return gm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ta = ym(o.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = el(t, a.children), t.flags |= 134221824, t);+ return hm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ta = vm(o.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = el(t, a.children), t.flags |= 134221824, t);}function il(e, t, n) {e.lanes |= t;@@ -4664,7 +4664,7 @@ var k = /* @__PURE__ */ o(((e) => {break;default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;}- for (ta = ym(e.firstChild), ea = t, na = !0, ra = null, ia = !0, n = uo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;+ for (ta = vm(e.firstChild), ea = t, na = !0, ra = null, ia = !0, n = uo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;} else {if (ua(), r === a) {t = ul(e, t, n);@@ -4675,10 +4675,10 @@ var k = /* @__PURE__ */ o(((e) => {t = t.child;}return t;- case 26: return Gc(e, t), e === null ? (n = Um(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : na || (t.stateNode = Sp(t.type, t.pendingProps, we.current, t)) : t.memoizedState = Um(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;- case 27: return Oe(t), e === null && na && (r = t.stateNode = Tm(t.type, t.pendingProps, we.current), ea = t, ia = !0, a = ta, Mp(t.type) ? (bm = a, ta = ym(r.firstChild)) : ta = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;- case 5: return e === null && na && ((a = r = ta) && (r = pm(r, t.type, t.pendingProps, ia), r === null ? a = !1 : (t.stateNode = r, ea = t, ta = ym(r.firstChild), ia = !1, a = !0)), a || oa(t)), Oe(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Cp(a, o) ? r = null : s !== null && Cp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), _h._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;- case 6: return e === null && na && ((e = n = ta) && (n = mm(n, t.pendingProps, ia), n === null ? e = !1 : (t.stateNode = n, ea = t, ta = null, e = !0)), e || oa(t)), null;+ case 26: return Gc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : na || (t.stateNode = Sp(t.type, t.pendingProps, we.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return Oe(t), e === null && na && (r = t.stateNode = wm(t.type, t.pendingProps, we.current), ea = t, ia = !0, a = ta, Mp(t.type) ? (ym = a, ta = vm(r.firstChild)) : ta = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && na && ((a = r = ta) && (r = fm(r, t.type, t.pendingProps, ia), r === null ? a = !1 : (t.stateNode = r, ea = t, ta = vm(r.firstChild), ia = !1, a = !0)), a || oa(t)), Oe(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Cp(a, o) ? r = null : s !== null && Cp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), gh._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;+ case 6: return e === null && na && ((e = n = ta) && (n = pm(n, t.pendingProps, ia), n === null ? e = !1 : (t.stateNode = n, ea = t, ta = null, e = !0)), e || oa(t)), null;case 13: return $c(e, t, n);case 4: return Ee(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = lo(t, null, r, n) : Fc(e, t, r, n), t.child;case 11: return Ic(e, t, t.type, t.pendingProps, n);@@ -4714,7 +4714,7 @@ var k = /* @__PURE__ */ o(((e) => {}function hl(e, t, n, r, i) {var a;- if ((a = !!(e.mode & 32)) && (a = n === null ? ih(t, r) : ih(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {+ if ((a = !!(e.mode & 32)) && (a = n === null ? rh(t, r) : rh(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {if (e.flags |= 16777216, (i & 335544128) === i) {if (e.stateNode.complete) e.flags |= 8192;else if (Xd()) e.flags |= 8192;@@ -4724,7 +4724,7 @@ var k = /* @__PURE__ */ o(((e) => {}function gl(e, t) {if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;- else if (e.flags |= 16777216, !ah(t)) {+ else if (e.flags |= 16777216, !ih(t)) {if (Xd()) e.flags |= 8192;else throw eo = Xa, Ja;}@@ -4774,7 +4774,7 @@ var k = /* @__PURE__ */ o(((e) => {if (t.stateNode === null) throw Error(i(166));return yl(t), t.subtreeFlags &= -33554433, null;}- e = Se.current, la(t) ? sa(t, e) : (e = Tm(a, r, n), t.stateNode = e, ml(t));+ e = Se.current, la(t) ? sa(t, e) : (e = wm(a, r, n), t.stateNode = e, ml(t));}return yl(t), t.subtreeFlags &= -33554433, null;case 5:@@ -5065,12 +5065,12 @@ var k = /* @__PURE__ */ o(((e) => {break;case 30:var i = e.stateNode, a = mi(e.memoizedProps, i);- (i.ref === null || i.ref.name !== a) && (i.ref = Wp(a)), r = i.ref;+ (i.ref === null || i.ref.name !== a) && (i.ref = Up(a)), r = i.ref;break;case 7:if (e.stateNode === null) {- var o = new Gp(e);- f(e.child, !1, cm, o, void 0, void 0), e.stateNode = o;+ var o = new Wp(e);+ f(e.child, !1, sm, o, void 0, void 0), e.stateNode = o;}r = e.stateNode;break;@@ -5101,13 +5101,13 @@ var k = /* @__PURE__ */ o(((e) => {}}function kl(e, t) {- if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) um(e.stateNode, t[n]);+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) lm(e.stateNode, t[n]);}function Al(e) {- for (var t = e.return; t !== null && (Nl(t) && um(e.stateNode, t.stateNode), !Ml(t));) t = t.return;+ for (var t = e.return; t !== null && (Nl(t) && lm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;}function jl(e) {- for (var t = e.return; t !== null && (Nl(t) && dm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;+ for (var t = e.return; t !== null && (Nl(t) && um(e.stateNode, t.stateNode), !Ml(t));) t = t.return;}function Ml(e) {return e.tag === 5 || e.tag === 3 || e.tag === 27;@@ -5320,7 +5320,7 @@ var k = /* @__PURE__ */ o(((e) => {}var au = !1, ou = !1, su = !1, cu = !1, lu = typeof WeakSet == "function" ? WeakSet : Set, uu = null, du = !1, fu = !1, pu = !1, mu = !1;function hu(e, t, n) {- if (e = e.containerInfo, _p = Eh, e = Wr(e), Gr(e)) {+ if (e = e.containerInfo, _p = Th, e = Wr(e), Gr(e)) {if ("selectionStart" in e) var r = {start: e.selectionStart,end: e.selectionEnd@@ -5362,7 +5362,7 @@ var k = /* @__PURE__ */ o(((e) => {for (vp = {focusedElem: e,selectionRange: r- }, Eh = !1, n = (n & 335544064) === n, uu = t, t = n ? 9270 : 1024; uu !== null;) {+ }, Th = !1, n = (n & 335544064) === n, uu = t, t = n ? 9270 : 1024; uu !== null;) {if (e = uu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && $l(r[a]);if (e.alternate === null && e.flags & 2) n && Ul(e), gu(n);else {@@ -5402,12 +5402,12 @@ var k = /* @__PURE__ */ o(((e) => {break;case 3:if (a & 1024) {- if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) fm(r);+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) dm(r);else if (n === 1) switch (r.nodeName) {case "HEAD":case "HTML":case "BODY":- fm(r);+ dm(r);break;default: r.textContent = "";}@@ -5486,7 +5486,7 @@ var k = /* @__PURE__ */ o(((e) => {Lu(e, n), r & 4 && Eu(e, n);break;case 13:- Lu(e, n), r & 4 && Du(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Tf.bind(null, n), vm(e, n))));+ Lu(e, n), r & 4 && Du(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Tf.bind(null, n), _m(e, n))));break;case 22:if (r = n.memoizedState !== null || au, !r) {@@ -5580,7 +5580,7 @@ var k = /* @__PURE__ */ o(((e) => {case 27:ou || Ol(n, t), jl(n);var r = Su, i = Cu;- Mp(n.type) && (Su = n.stateNode, Cu = !1), wu(e, t, n), Em(n.stateNode, n.type, n.memoizedProps), Su = r, Cu = i;+ Mp(n.type) && (Su = n.stateNode, Cu = !1), wu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), Su = r, Cu = i;break;case 5: ou || Ol(n, t), jl(n);case 6:@@ -5598,7 +5598,7 @@ var k = /* @__PURE__ */ o(((e) => {}break;case 18:- Su !== null && (Cu ? (e = Su, Np(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Zh(e)) : Np(Su, n.stateNode));+ Su !== null && (Cu ? (e = Su, Np(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Xh(e)) : Np(Su, n.stateNode));break;case 4:r = Su, i = Cu, Su = n.stateNode.containerInfo, Cu = !0, wu(e, t, n), Su = r, Cu = i;@@ -5631,7 +5631,7 @@ var k = /* @__PURE__ */ o(((e) => {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {e = e.dehydrated;try {- Zh(e);+ Xh(e);} catch (e) {xf(t, t.return, e);}@@ -5639,7 +5639,7 @@ var k = /* @__PURE__ */ o(((e) => {}function Du(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {- Zh(e);+ Xh(e);} catch (e) {xf(t, t.return, e);}@@ -5723,7 +5723,7 @@ var k = /* @__PURE__ */ o(((e) => {r = a.getElementsByTagName("title")[0], (!r || r[jt] || r[wt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), fp(r, t, n), r[wt] = e, Rt(r), t = r;break a;case "link":- if (o = th("link", "href", a).get(t + (n.href || ""))) {+ if (o = eh("link", "href", a).get(t + (n.href || ""))) {for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {o.splice(s, 1);break b;@@ -5732,7 +5732,7 @@ var k = /* @__PURE__ */ o(((e) => {r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);break;case "meta":- if (o = th("meta", "content", a).get(t + (n.content || ""))) {+ if (o = eh("meta", "content", a).get(t + (n.content || ""))) {for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {o.splice(s, 1);break b;@@ -5746,9 +5746,9 @@ var k = /* @__PURE__ */ o(((e) => {}e.stateNode = t;}- } else au || nh(o, e.type, e.stateNode);- } else e.stateNode = Xm(o, n, e.memoizedProps);- } else a === n ? n === null && e.stateNode !== null && Fl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || ou || t.parentNode.removeChild(t)) : a.count--, n === null ? au || nh(o, e.type, e.stateNode) : Xm(o, n, e.memoizedProps));+ } else au || th(o, e.type, e.stateNode);+ } else e.stateNode = Ym(o, n, e.memoizedProps);+ } else a === n ? n === null && e.stateNode !== null && Fl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || ou || t.parentNode.removeChild(t)) : a.count--, n === null ? au || th(o, e.type, e.stateNode) : Ym(o, n, e.memoizedProps));}break;case 27:@@ -5777,15 +5777,15 @@ var k = /* @__PURE__ */ o(((e) => {}break;case 3:- if (Jt = !1, eh = null, o = ju, ju = Am(t.containerInfo), Au(t, e, n), ju = o, Nu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {- Zh(t.containerInfo);+ if (Jt = !1, $m = null, o = ju, ju = km(t.containerInfo), Au(t, e, n), ju = o, Nu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {+ Xh(t.containerInfo);} catch (t) {xf(e, e.return, t);}cu && (cu = !1, Pu(e)), Jt = !1;break;case 4:- a = su, su = au, r = Yt(), o = ju, ju = Am(e.stateNode.containerInfo), Au(t, e, n), Nu(e), ju = o, Jt && fu && (pu = !0), Jt = r, su = a;+ a = su, su = au, r = Yt(), o = ju, ju = km(e.stateNode.containerInfo), Au(t, e, n), Nu(e), ju = o, Jt && fu && (pu = !0), Jt = r, su = a;break;case 12:Au(t, e, n), Nu(e);@@ -5860,7 +5860,7 @@ var k = /* @__PURE__ */ o(((e) => {function Pu(e) {if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {var t = e;- Pu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Eh = !0, t.reset(), Eh = !1), e = e.sibling;+ Pu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Th = !0, t.reset(), Th = !1), e = e.sibling;}}function Fu(e, t) {@@ -5940,7 +5940,7 @@ var k = /* @__PURE__ */ o(((e) => {var i = n.stateNode;typeof i.componentWillUnmount == "function" && El(n, n.return, i), Ru(n, r);break;- case 27: r & 2 && Em(n.stateNode, n.type, n.memoizedProps);+ case 27: r & 2 && Tm(n.stateNode, n.type, n.memoizedProps);case 5:Ol(n, n.return), n.tag !== 5 && n.tag !== 27 || jl(n), Ru(n, r);break;@@ -5996,7 +5996,7 @@ var k = /* @__PURE__ */ o(((e) => {Al(a);break;case 26:- c = a.stateNode, a.memoizedState !== null || c === null || au || nh(Am(c.ownerDocument), a.type, c), zu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);+ c = a.stateNode, a.memoizedState !== null || c === null || au || th(km(c.ownerDocument), a.type, c), zu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);break;case 12:zu(i, a, n);@@ -6121,15 +6121,15 @@ var k = /* @__PURE__ */ o(((e) => {function Ju(e, t, n) {switch (e.tag) {case 26:- qu(e, t, n), e.flags & Ku && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && sh(n, e)) : ch(n, ju, e.memoizedState, e.memoizedProps));+ qu(e, t, n), e.flags & Ku && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && oh(n, e)) : sh(n, ju, e.memoizedState, e.memoizedProps));break;case 5:- qu(e, t, n), e.flags & Ku && (e = e.stateNode, (t & 335544128) === t && sh(n, e));+ qu(e, t, n), e.flags & Ku && (e = e.stateNode, (t & 335544128) === t && oh(n, e));break;case 3:case 4:var r = ju;- ju = Am(e.stateNode.containerInfo), qu(e, t, n), ju = r;+ ju = km(e.stateNode.containerInfo), qu(e, t, n), ju = r;break;case 22:e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Ku, Ku = 16777216, qu(e, t, n), Ku = r) : qu(e, t, n));@@ -6266,7 +6266,7 @@ var k = /* @__PURE__ */ o(((e) => {function Bd(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Wp(mi(e.memoizedProps, n))), Pd === null && (Pd = []), Pd.push(t.bind(null, r));+ r === null && (r = n.ref = Up(mi(e.memoizedProps, n))), Pd === null && (Pd = []), Pd.push(t.bind(null, r));}}function Vd(e, t, n) {@@ -6346,7 +6346,7 @@ var k = /* @__PURE__ */ o(((e) => {waitingForImages: !0,waitingForViewTransition: !1,unsuspend: xn- }, Hl = null, Ju(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = fh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? xd - He() : (a & 4194048) === a ? Sd - He() : 0, m = uh(d, m), m !== null) ? (kd = a, e.cancelPendingCommit = m(uf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Gd(e, a, o, !l)) : uf(e, t, a, n, r, i, o, s, c, l, u, d);+ }, Hl = null, Ju(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = dh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? xd - He() : (a & 4194048) === a ? Sd - He() : 0, m = lh(d, m), m !== null) ? (kd = a, e.cancelPendingCommit = m(uf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Gd(e, a, o, !l)) : uf(e, t, a, n, r, i, o, s, c, l, u, d);}function Wd(e) {for (var t = e;;) {@@ -6492,7 +6492,7 @@ var k = /* @__PURE__ */ o(((e) => {case 5:case 27:var c = id;- if (s ? ah(s) : c.stateNode.complete) {+ if (s ? ih(s) : c.stateNode.complete) {od = 0, sd = null;var l = c.sibling;if (l !== null) id = l;@@ -6621,7 +6621,7 @@ var k = /* @__PURE__ */ o(((e) => {nd = a, he.p = i, me.T = r;}}- Ed = 1, Vl ? Nd = Hp(o, e.containerInfo, Fd, mf, hf, pf, gf, yf, ff, null, null) : (mf(), hf(), gf());+ Ed = 1, Vl ? Nd = Vp(o, e.containerInfo, Fd, mf, hf, pf, gf, yf, ff, null, null) : (mf(), hf(), gf());}function ff(e) {if (Ed !== 0) {@@ -6672,7 +6672,7 @@ var k = /* @__PURE__ */ o(((e) => {b.element.scrollLeft = b.left, b.element.scrollTop = b.top;}}- Eh = !!_p, vp = _p = null;+ Th = !!_p, vp = _p = null;} finally {nd = a, he.p = i, me.T = r;}@@ -6993,14 +6993,14 @@ var k = /* @__PURE__ */ o(((e) => {}}function ep(e, t, n, r) {- switch (Nh(t)) {+ switch (Mh(t)) {case 2:- var i = Dh;+ var i = Eh;break;case 8:- i = Oh;+ i = Dh;break;- default: i = kh;+ default: i = Oh;}n = i.bind(null, t, n, e), i = void 0, !kn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {capture: !0,@@ -7817,23 +7817,23 @@ var k = /* @__PURE__ */ o(((e) => {if (e.removeChild(n), i && i.nodeType === 8) {if (n = i.data, n === "/$" || n === "/&") {if (r === 0) {- e.removeChild(i), Zh(t);+ e.removeChild(i), Xh(t);return;}r--;} else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;- else if (n === "html") Dm(e.ownerDocument.documentElement);+ else if (n === "html") Em(e.ownerDocument.documentElement);else if (n === "head") {- n = e.ownerDocument.head, Dm(n);+ n = e.ownerDocument.head, Em(n);for (var a = n.firstChild; a;) {var o = a.nextSibling, s = a.nodeName;a[jt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;}- } else n === "body" && Dm(e.ownerDocument.body);+ } else n === "body" && Em(e.ownerDocument.body);}n = i;} while (n);- Zh(t);+ Xh(t);}function Pp(e, t) {var n = e;@@ -7881,13 +7881,13 @@ var k = /* @__PURE__ */ o(((e) => {var n = getComputedStyle(e);return Lp(t, n, e);}- function Bp(e) {+ function W(e) {return e.documentElement.clientHeight;}- function Vp(e) {+ function Bp(e) {this.addEventListener("load", e), this.addEventListener("error", e);}- function Hp(e, t, n, r, i, a, o, s, c) {+ function Vp(e, t, n, r, i, a, o, s, c) {var l = t.nodeType === 9 ? t : t.ownerDocument;try {var u = l.startViewTransition({@@ -7895,16 +7895,16 @@ var k = /* @__PURE__ */ o(((e) => {var t = l.defaultView, n = t.navigation && t.navigation.transition, o = l.fonts.status;r();var s = [];- if (o === "loaded" && (Bp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {+ if (o === "loaded" && (W(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {var f = c[d];if (!f.complete) {var p = f.getBoundingClientRect();if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {- if (u += oh(f), u > lh) {+ if (u += ah(f), u > ch) {s.length = o;break;}- f = new Promise(Vp.bind(f)), s.push(f);+ f = new Promise(Bp.bind(f)), s.push(f);}}}@@ -7959,86 +7959,86 @@ var k = /* @__PURE__ */ o(((e) => {return r(), i(), o(), null;}}- function Up(e, t) {+ function Hp(e, t) {this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";}- Up.prototype.animate = function(e, t) {+ Hp.prototype.animate = function(e, t) {return t = typeof t == "number" ? { duration: t } : w({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);- }, Up.prototype.getAnimations = function() {+ }, Hp.prototype.getAnimations = function() {for (var e = this._scope, t = this._selector, n = e.getAnimations({ subtree: !0 }), r = [], i = 0; i < n.length; i++) {var a = n[i].effect;a !== null && a.target === e && a.pseudoElement === t && r.push(n[i]);}return r;- }, Up.prototype.getComputedStyle = function() {+ }, Hp.prototype.getComputedStyle = function() {return getComputedStyle(this._scope, this._selector);};- function Wp(e) {+ function Up(e) {return {name: e,- group: new Up("group", e),- imagePair: new Up("image-pair", e),- old: new Up("old", e),- new: new Up("new", e)+ group: new Hp("group", e),+ imagePair: new Hp("image-pair", e),+ old: new Hp("old", e),+ new: new Hp("new", e)};}- function Gp(e) {+ function Wp(e) {this._fragmentFiber = e, this._observers = this._eventListeners = null;}- Gp.prototype.addEventListener = function(e, t, n) {+ Wp.prototype.addEventListener = function(e, t, n) {var r = null, i = null;if (!(n != null && typeof n != "boolean" && (r = n.signal || null, r !== null && r.aborted))) {this._eventListeners === null && (this._eventListeners = []);var a = this._eventListeners;- if (Xp(a, e, t, n) === -1) {+ if (Yp(a, e, t, n) === -1) {var o = this, s = t;n != null && typeof n != "boolean" && !0 === n.once && (s = function(r) {o.removeEventListener(e, t, n), typeof t == "function" ? t.call(this, r) : t.handleEvent(r);- }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = Jp(n), a.push({+ }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = qp(n), a.push({type: e,listener: t,optionsOrUseCapture: n,attachedListener: s,cleanup: i- }), f(this._fragmentFiber.child, !1, Kp, e, s, r);+ }), f(this._fragmentFiber.child, !1, Gp, e, s, r);}this._eventListeners = a;}};- function Kp(e, t, n, r) {+ function Gp(e, t, n, r) {return _(e).addEventListener(t, n, r), !1;}- Gp.prototype.removeEventListener = function(e, t, n) {+ Wp.prototype.removeEventListener = function(e, t, n) {var r = this._eventListeners;- if (r !== null && (t = Xp(r, e, t, n), t !== -1)) {+ if (r !== null && (t = Yp(r, e, t, n), t !== -1)) {var i = r[t];n = i.attachedListener;var a = i.cleanup;- i = Jp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, qp, e, n, i), r.splice(t, 1), a !== null && a();+ i = qp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Kp, e, n, i), r.splice(t, 1), a !== null && a();}};- function qp(e, t, n, r) {+ function Kp(e, t, n, r) {return _(e).removeEventListener(t, n, r), !1;}- function Jp(e) {+ function qp(e) {return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {capture: e.capture,passive: e.passive} : e;}- function Yp(e) {+ function Jp(e) {return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");}- function Xp(e, t, n, r) {+ function Yp(e, t, n, r) {if (e.length === 0) return -1;- r = Yp(r);+ r = Jp(r);for (var i = 0; i < e.length; i++) {var a = e[i];- if (a.type === t && a.listener === n && Yp(a.optionsOrUseCapture) === r) return i;+ if (a.type === t && a.listener === n && Jp(a.optionsOrUseCapture) === r) return i;}return -1;}- Gp.prototype.dispatchEvent = function(e) {+ Wp.prototype.dispatchEvent = function(e) {var t = p(this._fragmentFiber);if (t === null) return !0;t = _(t);@@ -8047,74 +8047,74 @@ var k = /* @__PURE__ */ o(((e) => {var r = t.nodeType === 9 ? t.createComment("") : document.createTextNode("");if (n) for (var i = 0; i < n.length; i++) {var a = n[i];- r.addEventListener(a.type, a.attachedListener, Jp(a.optionsOrUseCapture));+ r.addEventListener(a.type, a.attachedListener, qp(a.optionsOrUseCapture));}- if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, Jp(a.optionsOrUseCapture));+ if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, qp(a.optionsOrUseCapture));return t.removeChild(r), e;}return t.dispatchEvent(e);- }, Gp.prototype.focus = function(e) {- f(this._fragmentFiber.child, !0, Zp, e, void 0, void 0);+ }, Wp.prototype.focus = function(e) {+ f(this._fragmentFiber.child, !0, Xp, e, void 0, void 0);};- function Zp(e, t) {- return e.tag !== 6 && (e = _(e), Cm(e, t));+ function Xp(e, t) {+ return e.tag !== 6 && (e = _(e), Sm(e, t));}- Gp.prototype.focusLast = function(e) {+ Wp.prototype.focusLast = function(e) {var t = [];- f(this._fragmentFiber.child, !0, Qp, t, void 0, void 0);- for (var n = t.length - 1; 0 <= n && !Zp(t[n], e); n--);+ f(this._fragmentFiber.child, !0, Zp, t, void 0, void 0);+ for (var n = t.length - 1; 0 <= n && !Xp(t[n], e); n--);};- function Qp(e, t) {+ function Zp(e, t) {return t.push(e), !1;}- Gp.prototype.blur = function() {+ Wp.prototype.blur = function() {var e = p(this._fragmentFiber);- e !== null && (e = _(e), e = yp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, $p, e, void 0, void 0));+ e !== null && (e = _(e), e = yp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Qp, e, void 0, void 0));};- function $p(e, t) {+ function Qp(e, t) {return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);}- Gp.prototype.observeUsing = function(e) {- this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, em, e, void 0, void 0);+ Wp.prototype.observeUsing = function(e) {+ this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, $p, e, void 0, void 0);};- function em(e, t) {+ function $p(e, t) {return e.tag === 6 || (e = _(e), t.observe(e)), !1;}- Gp.prototype.unobserveUsing = function(e) {+ Wp.prototype.unobserveUsing = function(e) {var t = this._observers;if (t !== null && t.has(e)) {- t.delete(e), f(this._fragmentFiber.child, !1, tm, e, void 0, void 0);- for (var n = t = 0; n < nm.length; n++) {- var r = nm[n];- r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : nm[t++] = r;+ t.delete(e), f(this._fragmentFiber.child, !1, em, e, void 0, void 0);+ for (var n = t = 0; n < tm.length; n++) {+ var r = tm[n];+ r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : tm[t++] = r;}- nm.length = t;+ tm.length = t;}};- function tm(e, t) {+ function em(e, t) {return e.tag === 6 || (e = _(e), t.unobserve(e)), !1;}- var nm = [], rm = !1;- function im(e, t, n) {- nm.push({+ var tm = [], nm = !1;+ function rm(e, t, n) {+ tm.push({fragmentInstance: e,observer: t,instance: n- }), rm || (rm = !0, wm(function() {- rm = !1;- var e = nm;- nm = [];+ }), nm || (nm = !0, Cm(function() {+ nm = !1;+ var e = tm;+ tm = [];for (var t = 0; t < e.length; t++) {var n = e[t];n.observer.unobserve(n.instance);}}));}- Gp.prototype.getClientRects = function() {+ Wp.prototype.getClientRects = function() {var e = [];- return f(this._fragmentFiber.child, !1, am, e, void 0, void 0), e;+ return f(this._fragmentFiber.child, !1, im, e, void 0, void 0), e;};- function am(e, t) {+ function im(e, t) {if (e.tag === 6) {e = e.stateNode;var n = e.ownerDocument.createRange();@@ -8122,14 +8122,14 @@ var k = /* @__PURE__ */ o(((e) => {} else e = _(e), t.push.apply(t, e.getClientRects());return !1;}- Gp.prototype.getRootNode = function(e) {+ Wp.prototype.getRootNode = function(e) {var t = p(this._fragmentFiber);return t === null ? this : _(t).getRootNode(e);- }, Gp.prototype.compareDocumentPosition = function(e) {+ }, Wp.prototype.compareDocumentPosition = function(e) {var t = p(this._fragmentFiber);if (t === null) return Node.DOCUMENT_POSITION_DISCONNECTED;var n = [];- f(this._fragmentFiber.child, !1, Qp, n, void 0, void 0);+ f(this._fragmentFiber.child, !1, Zp, n, void 0, void 0);var r = _(t);if (n.length === 0) {if (n = r, m(this._fragmentFiber)) {@@ -8155,9 +8155,9 @@ var k = /* @__PURE__ */ o(((e) => {if (a == null) return Node.DOCUMENT_POSITION_DISCONNECTED;r = a.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY, a = a.compareDocumentPosition(i) & Node.DOCUMENT_POSITION_CONTAINED_BY;var o = t.compareDocumentPosition(e), s = i.compareDocumentPosition(e), c = o & Node.DOCUMENT_POSITION_CONTAINED_BY || s & Node.DOCUMENT_POSITION_CONTAINED_BY;- return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || om(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;+ return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || am(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;};- function om(e, t, n, r, i) {+ function am(e, t, n, r, i) {var a = Pt(i);if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {if (n = !!a) a: {@@ -8188,20 +8188,20 @@ var k = /* @__PURE__ */ o(((e) => {}return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = C(n, a, S), t === null ? t = !1 : (f(t, !0, b, a, n), a = v, v = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = C(r, a, S), t === null ? t = !1 : (f(t, !0, x, a, r), a = v, y = v = null, t = a !== null)), t) : !1;}- function sm(e, t) {+ function om(e, t) {var n = e.ownerDocument.createRange();n.selectNodeContents(e), e = n.getBoundingClientRect(), window.scrollTo(window.scrollX + e.left, t ? window.scrollY + e.top : window.scrollY + e.bottom - window.innerHeight);}- Gp.prototype.scrollIntoView = function(e) {+ Wp.prototype.scrollIntoView = function(e) {if (typeof e == "object") throw Error(i(566));var t = [];- f(this._fragmentFiber.child, !1, Qp, t, void 0, void 0);+ f(this._fragmentFiber.child, !1, Zp, t, void 0, void 0);var n = !1 !== e;if (t.length === 0) {var r = h(this._fragmentFiber);if (r = n ? r[1] || r[0] || p(this._fragmentFiber) : r[0] || r[1], r === null) return;if (r.tag === 6) {- e = _(r), sm(e, n);+ e = _(r), om(e, n);return;}if (r = _(r), r.nodeType !== 9) {@@ -8214,40 +8214,40 @@ var k = /* @__PURE__ */ o(((e) => {}for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {var a = t[r];- a.tag === 6 ? (a = _(a), sm(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;+ a.tag === 6 ? (a = _(a), om(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;}};- function cm(e, t) {- return e = _(e), lm(e, t), !1;+ function sm(e, t) {+ return e = _(e), cm(e, t), !1;}- function lm(e, t) {+ function cm(e, t) {e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);}- function um(e, t) {+ function lm(e, t) {var n = t._eventListeners;if (n !== null) for (var r = 0; r < n.length; r++) {var i = n[r];- e.addEventListener(i.type, i.attachedListener, Jp(i.optionsOrUseCapture));+ e.addEventListener(i.type, i.attachedListener, qp(i.optionsOrUseCapture));}e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- for (var r = 0, i = 0; i < nm.length; i++) {- var a = nm[i];- (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (nm[r++] = a);+ for (var r = 0, i = 0; i < tm.length; i++) {+ var a = tm[i];+ (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (tm[r++] = a);}- nm.length = r, n.observe(e);- }), lm(e, t));+ tm.length = r, n.observe(e);+ }), cm(e, t));}- function dm(e, t) {+ function um(e, t) {var n = t._eventListeners;if (n !== null) for (var r = 0; r < n.length; r++) {var i = n[r];- e.removeEventListener(i.type, i.attachedListener, Jp(i.optionsOrUseCapture));+ e.removeEventListener(i.type, i.attachedListener, qp(i.optionsOrUseCapture));}e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- typeof n.rootMargin == "string" ? im(t, n, e) : n.unobserve(e);+ typeof n.rootMargin == "string" ? rm(t, n, e) : n.unobserve(e);}), e.reactFragments != null && e.reactFragments.delete(t));}- function fm(e) {+ function dm(e) {var t = e.firstChild;for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {var n = t;@@ -8255,7 +8255,7 @@ var k = /* @__PURE__ */ o(((e) => {case "HTML":case "HEAD":case "BODY":- fm(n), Nt(n);+ dm(n), Nt(n);continue;case "SCRIPT":case "STYLE": continue;@@ -8264,7 +8264,7 @@ var k = /* @__PURE__ */ o(((e) => {e.removeChild(n);}}- function pm(e, t, n, r) {+ function fm(e, t, n, r) {for (; e.nodeType === 1;) {var i = n;if (e.nodeName.toLowerCase() !== t.toLowerCase()) {@@ -8289,26 +8289,26 @@ var k = /* @__PURE__ */ o(((e) => {return e;default: return e;}- if (e = ym(e.nextSibling), e === null) break;+ if (e = vm(e.nextSibling), e === null) break;}return null;}- function mm(e, t, n) {+ function pm(e, t, n) {if (t === "") return null;- for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = ym(e.nextSibling), e === null)) return null;+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = vm(e.nextSibling), e === null)) return null;return e;}- function hm(e, t) {- for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = ym(e.nextSibling), e === null)) return null;+ function mm(e, t) {+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = vm(e.nextSibling), e === null)) return null;return e;}- function gm(e) {+ function hm(e) {return e.data === "$?" || e.data === "$~";}- function _m(e) {+ function gm(e) {return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";}- function vm(e, t) {+ function _m(e, t) {var n = e.ownerDocument;if (e.data === "$~") e._reactRetry = t;else if (e.data !== "$?" || n.readyState !== "loading") t();@@ -8319,7 +8319,7 @@ var k = /* @__PURE__ */ o(((e) => {n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;}}- function ym(e) {+ function vm(e) {for (; e != null; e = e.nextSibling) {var t = e.nodeType;if (t === 1 || t === 3) break;@@ -8330,14 +8330,14 @@ var k = /* @__PURE__ */ o(((e) => {}return e;}- var bm = null;- function xm(e) {+ var ym = null;+ function bm(e) {e = e.nextSibling;for (var t = 0; e;) {if (e.nodeType === 8) {var n = e.data;if (n === "/$" || n === "/&") {- if (t === 0) return ym(e.nextSibling);+ if (t === 0) return vm(e.nextSibling);t--;} else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;}@@ -8345,7 +8345,7 @@ var k = /* @__PURE__ */ o(((e) => {}return null;}- function Sm(e) {+ function xm(e) {e = e.previousSibling;for (var t = 0; e;) {if (e.nodeType === 8) {@@ -8359,7 +8359,7 @@ var k = /* @__PURE__ */ o(((e) => {}return null;}- function Cm(e, t) {+ function Sm(e, t) {function n() {r = !0;}@@ -8372,14 +8372,14 @@ var k = /* @__PURE__ */ o(((e) => {}return r;}- function wm(e) {+ function Cm(e) {kp(function() {kp(function(t) {return e(t);});});}- function Tm(e, t, n) {+ function wm(e, t, n) {switch (t = yp(n), e) {case "html":if (e = t.documentElement, !e) throw Error(i(452));@@ -8393,81 +8393,81 @@ var k = /* @__PURE__ */ o(((e) => {default: throw Error(i(451));}}- function Em(e, t, n) {+ function Tm(e, t, n) {for (var r in n) {var i = n[r];n.hasOwnProperty(r) && i != null && up(e, t, r, null, pp, i);}n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === xn && (e.onclick = null), Nt(e);}- function Dm(e) {+ function Em(e) {for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);Nt(e);}- var Om = /* @__PURE__ */ new Map(), km = /* @__PURE__ */ new Set();- function Am(e) {+ var Dm = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();+ function km(e) {if (typeof e.getRootNode == "function") {var t = e.getRootNode();if (t.nodeType === 9 || t.nodeType === 11) return t;}return e.nodeType === 9 ? e : e.ownerDocument;}- var jm = he.d;+ var Am = he.d;he.d = {- f: Mm,- r: Nm,- D: Im,- C: Lm,- L: Rm,- m: zm,- X: Vm,- S: Bm,- M: Hm- };- function Mm() {- var e = jm.f(), t = Kd();+ f: jm,+ r: Mm,+ D: Fm,+ C: Im,+ L: Lm,+ m: Rm,+ X: Bm,+ S: zm,+ M: Vm+ };+ function jm() {+ var e = Am.f(), t = Kd();return e || t;}- function Nm(e) {+ function Mm(e) {var t = Ft(e);- t !== null && t.tag === 5 && t.type === "form" ? rc(t) : jm.r(e);+ t !== null && t.tag === 5 && t.type === "form" ? rc(t) : Am.r(e);}- var Pm = typeof document > "u" ? null : document;- function Fm(e, t, n) {- var r = Pm;+ var Nm = typeof document > "u" ? null : document;+ function Pm(e, t, n) {+ var r = Nm;if (r && typeof t == "string" && t) {var i = on(t);- i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), km.has(i) || (km.add(i), e = {+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Om.has(i) || (Om.add(i), e = {rel: e,crossOrigin: n,href: t}, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), Rt(t), r.head.appendChild(t)));}}- function Im(e) {- jm.D(e), Fm("dns-prefetch", e, null);+ function Fm(e) {+ Am.D(e), Pm("dns-prefetch", e, null);}- function Lm(e, t) {- jm.C(e, t), Fm("preconnect", e, t);+ function Im(e, t) {+ Am.C(e, t), Pm("preconnect", e, t);}- function Rm(e, t, n) {- jm.L(e, t, n);- var r = Pm;+ function Lm(e, t, n) {+ Am.L(e, t, n);+ var r = Nm;if (r && e && t) {var i = "link[rel=\"preload\"][as=\"" + on(t) + "\"]";t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + on(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + on(n.imageSizes) + "\"]")) : i += "[href=\"" + on(e) + "\"]";var a = i;switch (t) {case "style":- a = Wm(e);+ a = Um(e);break;- case "script": a = Jm(e);+ case "script": a = qm(e);}- if (!(Om.has(a) || (e = w({+ if (!(Dm.has(a) || (e = w({rel: "preload",href: t === "image" && n && n.imageSrcSet ? void 0 : e,as: t- }, n), Om.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Gm(a)) || t === "script" && r.querySelector(Ym(a))))) {+ }, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Jm(a))))) {var o = r.createElement("link");fp(o, "link", e), t === "style" && (o[Mt] = !0, o.onload = o.onerror = function() {zt(o);@@ -8475,9 +8475,9 @@ var k = /* @__PURE__ */ o(((e) => {}}}- function zm(e, t) {- jm.m(e, t);- var n = Pm;+ function Rm(e, t) {+ Am.m(e, t);+ var n = Nm;if (n && e) {var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + on(r) + "\"][href=\"" + on(e) + "\"]", a = i;switch (r) {@@ -8486,29 +8486,29 @@ var k = /* @__PURE__ */ o(((e) => {case "serviceworker":case "sharedworker":case "worker":- case "script": a = Jm(e);+ case "script": a = qm(e);}- if (!Om.has(a) && (e = w({+ if (!Dm.has(a) && (e = w({rel: "modulepreload",href: e- }, t), Om.set(a, e), n.querySelector(i) === null)) {+ }, t), Dm.set(a, e), n.querySelector(i) === null)) {switch (r) {case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":- case "script": if (n.querySelector(Ym(a))) return;+ case "script": if (n.querySelector(Jm(a))) return;}r = n.createElement("link"), fp(r, "link", e), Rt(r), n.head.appendChild(r);}}}- function Bm(e, t, n) {- jm.S(e, t, n);- var r = Pm;+ function zm(e, t, n) {+ Am.S(e, t, n);+ var r = Nm;if (r && e) {- var i = Lt(r).hoistableStyles, a = Wm(e);+ var i = Lt(r).hoistableStyles, a = Um(e);t ||= "default";var o = i.get(a);if (!o) {@@ -8516,13 +8516,13 @@ var k = /* @__PURE__ */ o(((e) => {loading: 0,preload: null};- if (o = r.querySelector(Gm(a))) s.loading = 5;+ if (o = r.querySelector(Wm(a))) s.loading = 5;else {e = w({rel: "stylesheet",href: e,"data-precedence": t- }, n), (n = Om.get(a)) && Qm(e, n);+ }, n), (n = Dm.get(a)) && Zm(e, n);var c = o = r.createElement("link");Rt(c), fp(c, "link", e), c._p = new Promise(function(e, t) {c.onload = e, c.onerror = t;@@ -8530,7 +8530,7 @@ var k = /* @__PURE__ */ o(((e) => {s.loading |= 1;}), c.addEventListener("error", function() {s.loading |= 2;- }), s.loading |= 4, Zm(o, t, r);+ }), s.loading |= 4, Xm(o, t, r);}o = {type: "stylesheet",@@ -8541,15 +8541,15 @@ var k = /* @__PURE__ */ o(((e) => {}}}- function Vm(e, t) {- jm.X(e, t);- var n = Pm;+ function Bm(e, t) {+ Am.X(e, t);+ var n = Nm;if (n && e) {- var r = Lt(n).hoistableScripts, i = Jm(e), a = r.get(i);- a || (a = n.querySelector(Ym(i)), a || (e = w({+ var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);+ a || (a = n.querySelector(Jm(i)), a || (e = w({src: e,async: !0- }, t), (t = Om.get(i)) && $m(e, t), a = n.createElement("script"), Rt(a), fp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), fp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -8557,16 +8557,16 @@ var k = /* @__PURE__ */ o(((e) => {}, r.set(i, a));}}- function Hm(e, t) {- jm.M(e, t);- var n = Pm;+ function Vm(e, t) {+ Am.M(e, t);+ var n = Nm;if (n && e) {- var r = Lt(n).hoistableScripts, i = Jm(e), a = r.get(i);- a || (a = n.querySelector(Ym(i)), a || (e = w({+ var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);+ a || (a = n.querySelector(Jm(i)), a || (e = w({src: e,async: !0,type: "module"- }, t), (t = Om.get(i)) && $m(e, t), a = n.createElement("script"), Rt(a), fp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), fp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -8574,13 +8574,13 @@ var k = /* @__PURE__ */ o(((e) => {}, r.set(i, a));}}- function Um(e, t, n, r) {- var a = (a = we.current) ? Am(a) : null;+ function Hm(e, t, n, r) {+ var a = (a = we.current) ? km(a) : null;if (!a) throw Error(i(446));switch (e) {case "meta":case "title": return null;- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Wm(n.href), t = Lt(a).hoistableStyles, r = t.get(n), r || (r = {+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Um(n.href), t = Lt(a).hoistableStyles, r = t.get(n), r || (r = {type: "style",instance: null,count: 0,@@ -8593,7 +8593,7 @@ var k = /* @__PURE__ */ o(((e) => {};case "link":if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {- e = Wm(n.href);+ e = Um(n.href);var o = Lt(a).hoistableStyles, s = o.get(e);if (s || (a = a.ownerDocument || a, s = {type: "stylesheet",@@ -8603,7 +8603,7 @@ var k = /* @__PURE__ */ o(((e) => {loading: 0,preload: null}- }, o.set(e, s), (o = a.querySelector(Gm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Om.get(e), o || (o = {+ }, o.set(e, s), (o = a.querySelector(Wm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Dm.get(e), o || (o = {rel: "preload",as: "style",href: n.href,@@ -8612,12 +8612,12 @@ var k = /* @__PURE__ */ o(((e) => {media: n.media,hrefLang: n.hrefLang,referrerPolicy: n.referrerPolicy- }, Om.set(e, o)), qm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));+ }, Dm.set(e, o)), Km(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));return s;}if (t && r !== null) throw Error(i(529, ""));return null;- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Jm(n), t = Lt(a).hoistableScripts, r = t.get(n), r || (r = {+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = qm(n), t = Lt(a).hoistableScripts, r = t.get(n), r || (r = {type: "script",instance: null,count: 0,@@ -8631,19 +8631,19 @@ var k = /* @__PURE__ */ o(((e) => {default: throw Error(i(444, e));}}- function Wm(e) {+ function Um(e) {return "href=\"" + on(e) + "\"";}- function Gm(e) {+ function Wm(e) {return "link[rel=\"stylesheet\"][" + e + "]";}- function Km(e) {+ function Gm(e) {return w({}, e, {"data-precedence": e.precedence,precedence: null});}- function qm(e, t, n, r) {+ function Km(e, t, n, r) {if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {if (!0 !== t[Mt]) {r.loading = 1;@@ -8656,13 +8656,13 @@ var k = /* @__PURE__ */ o(((e) => {return r.loading |= 2;});}- function Jm(e) {+ function qm(e) {return "[src=\"" + on(e) + "\"]";}- function Ym(e) {+ function Jm(e) {return "script[async]" + e;}- function Xm(e, t, n) {+ function Ym(e, t, n) {if (t.count++, t.instance === null) switch (t.type) {case "style":var r = e.querySelector("style[data-href~=\"" + on(n.href) + "\"]");@@ -8673,24 +8673,24 @@ var k = /* @__PURE__ */ o(((e) => {href: null,precedence: null});- return r = (e.ownerDocument || e).createElement("style"), Rt(r), fp(r, "style", a), Zm(r, n.precedence, e), t.instance = r;+ return r = (e.ownerDocument || e).createElement("style"), Rt(r), fp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;case "stylesheet":- a = Wm(n.href);- var o = e.querySelector(Gm(a));+ a = Um(n.href);+ var o = e.querySelector(Wm(a));if (o) return t.state.loading |= 4, t.instance = o, Rt(o), o;- r = Km(n), (a = Om.get(a)) && Qm(r, a), o = (e.ownerDocument || e).createElement("link"), Rt(o);+ r = Gm(n), (a = Dm.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Rt(o);var s = o;return s._p = new Promise(function(e, t) {s.onload = e, s.onerror = t;- }), fp(o, "link", r), t.state.loading |= 4, Zm(o, n.precedence, e), t.instance = o;- case "script": return o = Jm(n.src), (a = e.querySelector(Ym(o))) ? (t.instance = a, Rt(a), a) : (r = n, (a = Om.get(o)) && (r = w({}, n), $m(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Rt(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);+ }), fp(o, "link", r), t.state.loading |= 4, Xm(o, n.precedence, e), t.instance = o;+ case "script": return o = qm(n.src), (a = e.querySelector(Jm(o))) ? (t.instance = a, Rt(a), a) : (r = n, (a = Dm.get(o)) && (r = w({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Rt(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);case "void": return null;default: throw Error(i(443, t.type));}- else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Zm(r, n.precedence, e));+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Xm(r, n.precedence, e));return t.instance;}- function Zm(e, t, n) {+ function Xm(e, t, n) {for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {var s = r[o];if (s.dataset.precedence === t) a = s;@@ -8698,18 +8698,18 @@ var k = /* @__PURE__ */ o(((e) => {}a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));}- function Qm(e, t) {+ function Zm(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;}- function $m(e, t) {+ function Qm(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;}- var eh = null;- function th(e, t, n) {- if (eh === null) {- var r = /* @__PURE__ */ new Map(), i = eh = /* @__PURE__ */ new Map();+ var $m = null;+ function eh(e, t, n) {+ if ($m === null) {+ var r = /* @__PURE__ */ new Map(), i = $m = /* @__PURE__ */ new Map();i.set(n, r);- } else i = eh, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));+ } else i = $m, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));if (r.has(e)) return r;for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {var a = n[i];@@ -8722,10 +8722,10 @@ var k = /* @__PURE__ */ o(((e) => {}return r;}- function nh(e, t, n) {+ function th(e, t, n) {e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);}- function rh(e, t, n) {+ function nh(e, t, n) {if (n === 1 || t.itemProp != null) return !1;switch (e) {case "meta":@@ -8743,91 +8743,91 @@ var k = /* @__PURE__ */ o(((e) => {}return !1;}- function ih(e, t) {+ function rh(e, t) {return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";}- function ah(e) {+ function ih(e) {return !(e.type === "stylesheet" && !(e.state.loading & 3));}- function oh(e) {+ function ah(e) {return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;}- function sh(e, t) {- typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += oh(t), e.suspenseyImages.push(t)), e = ph.bind(e), t.decode().then(e, e));+ function oh(e, t) {+ typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += ah(t), e.suspenseyImages.push(t)), e = fh.bind(e), t.decode().then(e, e));}- function ch(e, t, n, r) {+ function sh(e, t, n, r) {if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {if (n.instance === null) {- var i = Wm(r.href), a = t.querySelector(Gm(i));+ var i = Um(r.href), a = t.querySelector(Wm(i));if (a) {- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = fh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Rt(a);+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = dh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Rt(a);return;}- a = t.ownerDocument || t, r = Km(r), (i = Om.get(i)) && Qm(r, i), a = a.createElement("link"), Rt(a);+ a = t.ownerDocument || t, r = Gm(r), (i = Dm.get(i)) && Zm(r, i), a = a.createElement("link"), Rt(a);var o = a;o._p = new Promise(function(e, t) {o.onload = e, o.onerror = t;}), fp(a, "link", r), n.instance = a;}- e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = fh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));+ e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = dh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));}}- var lh = 0;- function uh(e, t) {- return e.stylesheets && e.count === 0 && hh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {+ var ch = 0;+ function lh(e, t) {+ return e.stylesheets && e.count === 0 && mh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {var r = setTimeout(function() {- if (e.stylesheets && hh(e, e.stylesheets), e.unsuspend) {+ if (e.stylesheets && mh(e, e.stylesheets), e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}, 6e4 + t);- 0 < e.imgBytes && lh === 0 && (lh = 62500 * gp());+ 0 < e.imgBytes && ch === 0 && (ch = 62500 * gp());var i = setTimeout(function() {- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && hh(e, e.stylesheets), e.unsuspend)) {+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && mh(e, e.stylesheets), e.unsuspend)) {var t = e.unsuspend;e.unsuspend = null, t();}- }, (e.imgBytes > lh ? 50 : 800) + t);+ }, (e.imgBytes > ch ? 50 : 800) + t);return e.unsuspend = n, function() {e.unsuspend = null, clearTimeout(r), clearTimeout(i);};} : null;}- function dh(e) {+ function uh(e) {if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {- if (e.stylesheets) hh(e, e.stylesheets);+ if (e.stylesheets) mh(e, e.stylesheets);else if (e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}}+ function dh() {+ this.count--, uh(this);+ }function fh() {- this.count--, dh(this);+ this.imgCount--, uh(this);}- function ph() {- this.imgCount--, dh(this);+ var ph = null;+ function mh(e, t) {+ e.stylesheets = null, e.unsuspend !== null && (e.count++, ph = /* @__PURE__ */ new Map(), t.forEach(hh, e), ph = null, dh.call(e));}- var mh = null;function hh(e, t) {- e.stylesheets = null, e.unsuspend !== null && (e.count++, mh = /* @__PURE__ */ new Map(), t.forEach(gh, e), mh = null, fh.call(e));- }- function gh(e, t) {if (!(t.state.loading & 4)) {- var n = mh.get(e);+ var n = ph.get(e);if (n) var r = n.get(null);else {- n = /* @__PURE__ */ new Map(), mh.set(e, n);+ n = /* @__PURE__ */ new Map(), ph.set(e, n);for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {var o = i[a];(o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);}r && n.set(null, r);}- i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = fh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;+ i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = dh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;}}- var _h = {+ var gh = {$$typeof: te,Provider: null,Consumer: null,@@ -8835,72 +8835,72 @@ var k = /* @__PURE__ */ o(((e) => {_currentValue2: ge,_threadCount: 0};- function vh(e, t, n, r, i, a, o, s, c) {+ function _h(e, t, n, r, i, a, o, s, c) {this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = pt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = pt(0), this.hiddenUpdates = pt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();}- function yh(e, t, n, r, i, a, o, s, c, l, u, d) {- return e = new vh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ki(3, null, null, t), e.current = a, a.stateNode = e, t = Aa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {+ function vh(e, t, n, r, i, a, o, s, c, l, u, d) {+ return e = new _h(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ki(3, null, null, t), e.current = a, a.stateNode = e, t = Aa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {element: r,isDehydrated: n,cache: t}, po(a), e;}- function bh(e) {+ function yh(e) {return e ? (e = Di, e) : Di;}- function xh(e, t, n, r, i, a) {- i = bh(i), r.context === null ? r.context = i : r.pendingContext = i, r = ho(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = go(e, r, t), n !== null && (Vd(n, e, t), _o(n, e, t));+ function bh(e, t, n, r, i, a) {+ i = yh(i), r.context === null ? r.context = i : r.pendingContext = i, r = ho(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = go(e, r, t), n !== null && (Vd(n, e, t), _o(n, e, t));}- function Sh(e, t) {+ function xh(e, t) {if (e = e.memoizedState, e !== null && e.dehydrated !== null) {var n = e.retryLane;e.retryLane = n !== 0 && n < t ? n : t;}}- function Ch(e, t) {- Sh(e, t), (e = e.alternate) && Sh(e, t);+ function Sh(e, t) {+ xh(e, t), (e = e.alternate) && xh(e, t);}- function wh(e) {+ function Ch(e) {if (e.tag === 13 || e.tag === 31) {var t = wi(e, 67108864);- t !== null && Vd(t, e, 67108864), Ch(e, 67108864);+ t !== null && Vd(t, e, 67108864), Sh(e, 67108864);}}- function Th(e) {+ function wh(e) {if (e.tag === 13 || e.tag === 31) {var t = Rd();t = yt(t);var n = wi(e, t);- n !== null && Vd(n, e, t), Ch(e, t);+ n !== null && Vd(n, e, t), Sh(e, t);}}- var Eh = !0;- function Dh(e, t, n, r) {+ var Th = !0;+ function Eh(e, t, n, r) {var i = me.T;me.T = null;var a = he.p;try {- he.p = 2, kh(e, t, n, r);+ he.p = 2, Oh(e, t, n, r);} finally {he.p = a, me.T = i;}}- function Oh(e, t, n, r) {+ function Dh(e, t, n, r) {var i = me.T;me.T = null;var a = he.p;try {- he.p = 8, kh(e, t, n, r);+ he.p = 8, Oh(e, t, n, r);} finally {he.p = a, me.T = i;}}- function kh(e, t, n, r) {- if (Eh) {- var i = Ah(r);- if (i === null) tp(e, t, r, jh, n), Vh(e, r);- else if (Uh(i, e, t, n, r)) r.stopPropagation();- else if (Vh(e, r), t & 4 && -1 < Bh.indexOf(e)) {+ function Oh(e, t, n, r) {+ if (Th) {+ var i = kh(r);+ if (i === null) tp(e, t, r, Ah, n), Bh(e, r);+ else if (Hh(i, e, t, n, r)) r.stopPropagation();+ else if (Bh(e, r), t & 4 && -1 < zh.indexOf(e)) {for (; i !== null;) {var a = Ft(i);if (a !== null) switch (a.tag) {@@ -8918,21 +8918,21 @@ var k = /* @__PURE__ */ o(((e) => {}break;case 31:- case 13: s = wi(a, 2), s !== null && Vd(s, a, 2), Kd(), Ch(a, 2);+ case 13: s = wi(a, 2), s !== null && Vd(s, a, 2), Kd(), Sh(a, 2);}- if (a = Ah(r), a === null && tp(e, t, r, jh, n), a === i) break;+ if (a = kh(r), a === null && tp(e, t, r, Ah, n), a === i) break;i = a;}i !== null && r.stopPropagation();} else tp(e, t, r, null, n);}}- function Ah(e) {- return e = Cn(e), Mh(e);+ function kh(e) {+ return e = Cn(e), jh(e);}- var jh = null;- function Mh(e) {- if (jh = null, e = Pt(e), e !== null) {+ var Ah = null;+ function jh(e) {+ if (Ah = null, e = Pt(e), e !== null) {var t = o(e);if (t === null) e = null;else {@@ -8949,9 +8949,9 @@ var k = /* @__PURE__ */ o(((e) => {} else t !== e && (e = null);}}- return jh = e, null;+ return Ah = e, null;}- function Nh(e) {+ function Mh(e) {switch (e) {case "beforetoggle":case "cancel":@@ -9036,51 +9036,51 @@ var k = /* @__PURE__ */ o(((e) => {default: return 32;}}- var Ph = !1, Fh = null, Ih = null, Lh = null, Rh = /* @__PURE__ */ new Map(), zh = /* @__PURE__ */ new Map(), W = [], Bh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");- function Vh(e, t) {+ var Nh = !1, Ph = null, Fh = null, Ih = null, Lh = /* @__PURE__ */ new Map(), Rh = /* @__PURE__ */ new Map(), G = [], zh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");+ function Bh(e, t) {switch (e) {case "focusin":case "focusout":- Fh = null;+ Ph = null;break;case "dragenter":case "dragleave":- Ih = null;+ Fh = null;break;case "mouseover":case "mouseout":- Lh = null;+ Ih = null;break;case "pointerover":case "pointerout":- Rh.delete(t.pointerId);+ Lh.delete(t.pointerId);break;case "gotpointercapture":- case "lostpointercapture": zh.delete(t.pointerId);+ case "lostpointercapture": Rh.delete(t.pointerId);}}- function Hh(e, t, n, r, i, a) {+ function Vh(e, t, n, r, i, a) {return e === null || e.nativeEvent !== a ? (e = {blockedOn: t,domEventName: n,eventSystemFlags: r,nativeEvent: a,targetContainers: [i]- }, t !== null && (t = Ft(t), t !== null && wh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }, t !== null && (t = Ft(t), t !== null && Ch(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);}- function Uh(e, t, n, r, i) {+ function Hh(e, t, n, r, i) {switch (t) {- case "focusin": return Fh = Hh(Fh, e, t, n, r, i), !0;- case "dragenter": return Ih = Hh(Ih, e, t, n, r, i), !0;- case "mouseover": return Lh = Hh(Lh, e, t, n, r, i), !0;+ case "focusin": return Ph = Vh(Ph, e, t, n, r, i), !0;+ case "dragenter": return Fh = Vh(Fh, e, t, n, r, i), !0;+ case "mouseover": return Ih = Vh(Ih, e, t, n, r, i), !0;case "pointerover":var a = i.pointerId;- return Rh.set(a, Hh(Rh.get(a) || null, e, t, n, r, i)), !0;- case "gotpointercapture": return a = i.pointerId, zh.set(a, Hh(zh.get(a) || null, e, t, n, r, i)), !0;+ return Lh.set(a, Vh(Lh.get(a) || null, e, t, n, r, i)), !0;+ case "gotpointercapture": return a = i.pointerId, Rh.set(a, Vh(Rh.get(a) || null, e, t, n, r, i)), !0;}return !1;}- function Wh(e) {+ function Uh(e) {var t = Pt(e.target);if (t !== null) {var n = o(t);@@ -9088,14 +9088,14 @@ var k = /* @__PURE__ */ o(((e) => {if (t = n.tag, t === 13) {if (t = s(n), t !== null) {e.blockedOn = t, St(e.priority, function() {- Th(n);+ wh(n);});return;}} else if (t === 31) {if (t = c(n), t !== null) {e.blockedOn = t, St(e.priority, function() {- Th(n);+ wh(n);});return;}@@ -9107,36 +9107,36 @@ var k = /* @__PURE__ */ o(((e) => {}e.blockedOn = null;}- function Gh(e) {+ function Wh(e) {if (e.blockedOn !== null) return !1;for (var t = e.targetContainers; 0 < t.length;) {- var n = Ah(e.nativeEvent);+ var n = kh(e.nativeEvent);if (n === null) {n = e.nativeEvent;var r = new n.constructor(n.type, n);Sn = r, n.target.dispatchEvent(r), Sn = null;- } else return t = Ft(n), t !== null && wh(t), e.blockedOn = n, !1;+ } else return t = Ft(n), t !== null && Ch(t), e.blockedOn = n, !1;t.shift();}return !0;}- function Kh(e, t, n) {- Gh(e) && n.delete(t);+ function Gh(e, t, n) {+ Wh(e) && n.delete(t);}- function qh() {- Ph = !1, Fh !== null && Gh(Fh) && (Fh = null), Ih !== null && Gh(Ih) && (Ih = null), Lh !== null && Gh(Lh) && (Lh = null), Rh.forEach(Kh), zh.forEach(Kh);+ function Kh() {+ Nh = !1, Ph !== null && Wh(Ph) && (Ph = null), Fh !== null && Wh(Fh) && (Fh = null), Ih !== null && Wh(Ih) && (Ih = null), Lh.forEach(Gh), Rh.forEach(Gh);}- function Jh(e, n) {- e.blockedOn === n && (e.blockedOn = null, Ph || (Ph = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, qh)));+ function qh(e, n) {+ e.blockedOn === n && (e.blockedOn = null, Nh || (Nh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Kh)));}- var Yh = null;- function Xh(e) {- Yh !== e && (Yh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {- Yh === e && (Yh = null);+ var Jh = null;+ function Yh(e) {+ Jh !== e && (Jh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {+ Jh === e && (Jh = null);for (var t = 0; t < e.length; t += 3) {var n = e[t], r = e[t + 1], i = e[t + 2];if (typeof r != "function") {- if (Mh(r || n) === null) continue;+ if (jh(r || n) === null) continue;break;}var a = Ft(n);@@ -9149,30 +9149,30 @@ var k = /* @__PURE__ */ o(((e) => {}}));}- function Zh(e) {+ function Xh(e) {function t(t) {- return Jh(t, e);+ return qh(t, e);}- Fh !== null && Jh(Fh, e), Ih !== null && Jh(Ih, e), Lh !== null && Jh(Lh, e), Rh.forEach(t), zh.forEach(t);- for (var n = 0; n < W.length; n++) {- var r = W[n];+ Ph !== null && qh(Ph, e), Fh !== null && qh(Fh, e), Ih !== null && qh(Ih, e), Lh.forEach(t), Rh.forEach(t);+ for (var n = 0; n < G.length; n++) {+ var r = G[n];r.blockedOn === e && (r.blockedOn = null);}- for (; 0 < W.length && (n = W[0], n.blockedOn === null);) Wh(n), n.blockedOn === null && W.shift();+ for (; 0 < G.length && (n = G[0], n.blockedOn === null);) Uh(n), n.blockedOn === null && G.shift();if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {var i = n[r], a = n[r + 1], o = i[Tt] || null;- if (typeof a == "function") o || Xh(n);+ if (typeof a == "function") o || Yh(n);else if (o) {var s = null;if (a && a.hasAttribute("formAction")) {if (i = a, o = a[Tt] || null) s = o.formAction;- else if (Mh(i) !== null) continue;+ else if (jh(i) !== null) continue;} else s = o.action;- typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Xh(n);+ typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Yh(n);}}}- function Qh() {+ function Zh() {function e(e) {e.canIntercept && e.info === "react-transition" && e.intercept({handler: function() {@@ -9204,26 +9204,26 @@ var k = /* @__PURE__ */ o(((e) => {};}}- function $h(e) {+ function Qh(e) {this._internalRoot = e;}- eg.prototype.render = $h.prototype.render = function(e) {+ $h.prototype.render = Qh.prototype.render = function(e) {var t = this._internalRoot;if (t === null) throw Error(i(409));var n = t.current;- xh(n, Rd(), e, t, null, null);- }, eg.prototype.unmount = $h.prototype.unmount = function() {+ bh(n, Rd(), e, t, null, null);+ }, $h.prototype.unmount = Qh.prototype.unmount = function() {var e = this._internalRoot;if (e !== null) {this._internalRoot = null;var t = e.containerInfo;- xh(e.current, 2, null, e, null, null), Kd(), t[Et] = null;+ bh(e.current, 2, null, e, null, null), Kd(), t[Et] = null;}};- function eg(e) {+ function $h(e) {this._internalRoot = e;}- eg.prototype.unstable_scheduleHydration = function(e) {+ $h.prototype.unstable_scheduleHydration = function(e) {if (e) {var t = xt();e = {@@ -9231,18 +9231,18 @@ var k = /* @__PURE__ */ o(((e) => {target: e,priority: t};- for (var n = 0; n < W.length && t !== 0 && t < W[n].priority; n++);- W.splice(n, 0, e), n === 0 && Wh(e);+ for (var n = 0; n < G.length && t !== 0 && t < G[n].priority; n++);+ G.splice(n, 0, e), n === 0 && Uh(e);}};- var tg = n.version;- if (tg !== "19.3.1") throw Error(i(527, tg, "19.3.1"));+ var eg = n.version;+ if (eg !== "19.3.1") throw Error(i(527, eg, "19.3.1"));he.findDOMNode = function(e) {var t = e._reactInternals;if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));return e = u(t), e = e === null ? null : d(e), e = e === null ? null : e.stateNode, e;};- var ng = {+ var tg = {bundleType: 0,version: "19.3.1",rendererPackageName: "react-dom",@@ -9250,15 +9250,15 @@ var k = /* @__PURE__ */ o(((e) => {reconcilerVersion: "19.3.1"};if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {- var rg = __REACT_DEVTOOLS_GLOBAL_HOOK__;- if (!rg.isDisabled && rg.supportsFiber) try {- Ze = rg.inject(ng), Qe = rg;+ var ng = __REACT_DEVTOOLS_GLOBAL_HOOK__;+ if (!ng.isDisabled && ng.supportsFiber) try {+ Ze = ng.inject(tg), Qe = ng;} catch {}}e.createRoot = function(e, t) {if (!a(e)) throw Error(i(299));var n = !1, r = "", o = wc, s = Tc, c = Ec;- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = yh(e, 1, !1, null, null, n, r, null, o, s, c, Qh), e[Et] = t.current, $f(e), new $h(t);+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = vh(e, 1, !1, null, null, n, r, null, o, s, c, Zh), e[Et] = t.current, $f(e), new Qh(t);};})), P = /* @__PURE__ */ o(((e, t) => {function n() {@@ -15599,7 +15599,7 @@ async function Ep(e, t, n) {...i,path: e,props: t- }), Tp(!0), e.startsWith("/") && xm(`managed:${e}`, !0), !0;+ }), Tp(!0), e.startsWith("/") && bm(`managed:${e}`, !0), !0;pp += 1;let a = {revision: pp,@@ -15612,7 +15612,7 @@ async function Ep(e, t, n) {let s = await lp;if (fp.get(r) !== a) return !1;try {- e.startsWith("/") && Sm(`managed:${e}`) || await s(e, t, a.controller.signal);+ e.startsWith("/") && xm(`managed:${e}`) || await s(e, t, a.controller.signal);} catch {if (a.controller.signal.aborted) return !1;}@@ -15626,7 +15626,7 @@ async function Ep(e, t, n) {container: r,host: c,resident: !!n.resident- }), Tp(!0), e.startsWith("/") && xm(`managed:${e}`, !0), !0;+ }), Tp(!0), e.startsWith("/") && bm(`managed:${e}`, !0), !0;}function Dp(e) {let t = e.ownerDocument.createElement("div");@@ -15696,7 +15696,7 @@ function zp(e) {hash: r.hash};}-var Bp = {+var W = {get navigation() {return Fp;},@@ -15712,7 +15712,7 @@ var Bp = {push: (e, t) => Mp.push(zp(e), t),replace: (e, t) => Mp.replace(zp(e), t)};-function Vp(e, { replace: t = !1, state: n } = {}) {+function Bp(e, { replace: t = !1, state: n } = {}) {let r = new URL(e, window.location.href), i = ap(`${r.pathname}${r.search}${r.hash}`);Lp = !0;try {@@ -15721,8 +15721,8 @@ function Vp(e, { replace: t = !1, state: n } = {}) {Lp = !1;}}-var Hp = () => Rp;-function Up() {+var Vp = () => Rp;+function Hp() {if (zf(Fp.location.pathname)) {let e = Rp ? null : Hf(Fp.location.state);return e ? Jf(e.state) || e : null;@@ -15730,8 +15730,8 @@ function Up() {return Rp ? null : Jf(Fp.location.state);}// src/ui-kit/anchor-scroll.ts-var Wp = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function Gp(e, t) {+var Up = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function Wp(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -15746,49 +15746,49 @@ async function Gp(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: Wp()+ behavior: Up()});}// src/history/page-navigation.ts-var Kp = /* @__PURE__ */ new Map(), qp = /* @__PURE__ */ new Map(), Jp = /* @__PURE__ */ new Map(), Yp, Xp, Zp = {+var Gp = /* @__PURE__ */ new Map(), Kp = /* @__PURE__ */ new Map(), qp = /* @__PURE__ */ new Map(), Jp, Yp, Xp = {left: window.scrollX,top: window.scrollY-}, Qp, $p = -1, em = -1, tm = !1, nm = !1, rm, im, am = !1, om = !1;-function sm() {+}, Zp, Qp = -1, $p = -1, em = !1, tm = !1, nm, rm, im = !1, am = !1;+function om() {let e = document.documentElement;- rm ??= e.style.overflowAnchor, im ??= e.style.minHeight, e.style.minHeight = `${e.scrollHeight}px`, am = !1, om = !1, e.style.overflowAnchor = "none", e.setAttribute("data-page-navigation-pending", ""), window.scrollTo({+ nm ??= e.style.overflowAnchor, rm ??= e.style.minHeight, e.style.minHeight = `${e.scrollHeight}px`, im = !1, am = !1, e.style.overflowAnchor = "none", e.setAttribute("data-page-navigation-pending", ""), window.scrollTo({left: window.scrollX,top: window.scrollY,behavior: "instant"});}-function cm(e) {- am && !om && rm !== void 0 && requestAnimationFrame(() => requestAnimationFrame(() => {- if (Bp.navigation.seq !== e || !am || om || rm === void 0) return;+function sm(e) {+ im && !am && nm !== void 0 && requestAnimationFrame(() => requestAnimationFrame(() => {+ if (W.navigation.seq !== e || !im || am || nm === void 0) return;let t = document.documentElement;- t.style.minHeight = im, t.style.overflowAnchor = rm, t.removeAttribute("data-page-navigation-pending"), im = void 0, rm = void 0;+ t.style.minHeight = rm, t.style.overflowAnchor = nm, t.removeAttribute("data-page-navigation-pending"), rm = void 0, nm = void 0;}));}-function lm(e) {- om = e.behavior === "smooth" && (Math.abs((e.top ?? window.scrollY) - window.scrollY) > .5 || Math.abs((e.left ?? window.scrollX) - window.scrollX) > .5), window.scrollTo(e);+function cm(e) {+ am = e.behavior === "smooth" && (Math.abs((e.top ?? window.scrollY) - window.scrollY) > .5 || Math.abs((e.left ?? window.scrollX) - window.scrollX) > .5), window.scrollTo(e);}-function um(e) {+function lm(e) {if (!e?.getClientRects().length) {- om = !1;+ am = !1;return;}let t = parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop) || 0, n = parseFloat(getComputedStyle(e).scrollMarginTop) || 0, r = Math.max(0, Math.min(e.getBoundingClientRect().top + window.scrollY - t - n, document.documentElement.scrollHeight - window.innerHeight));- om = Wp() === "smooth" && Math.abs(r - window.scrollY) > .5;+ am = Up() === "smooth" && Math.abs(r - window.scrollY) > .5;}-var dm = (e) => !qf(e) && !zf(e) && e !== "/immerse" && e !== "/wall", fm = (e) => {+var um = (e) => !qf(e) && !zf(e) && e !== "/immerse" && e !== "/wall", dm = (e) => {let t = new URLSearchParams(e.search);return `${e.pathname}:${t.get("jav") === "1"}:${t.get("orient") === "竖屏"}`;-}, pm = (e) => {+}, fm = (e) => {let t = new URLSearchParams(e.search);return t.delete("edit"), t.sort(), e.pathname + (t.size ? `?${t}` : "") + e.hash;-}, mm = (e) => `${e.key}:${pm(e)}`;-function hm(e) {- if (!dm(e.pathname)) return [];+}, pm = (e) => `${e.key}:${fm(e)}`;+function mm(e) {+ if (!um(e.pathname)) return [];if (e.pathname === "/") {let t = new URLSearchParams(e.search);return [t.get("jav") === "1" ? "jav" : t.get("orient") === "竖屏" ? "shorts" : ""];@@ -15796,74 +15796,74 @@ function hm(e) {let t = sp(e.pathname);return [...t?.nav ? [t.nav] : [], ...t?.section ? ["manage", t.section] : []];}-function gm(e) {+function hm(e) {let t = e.pathname + e.search + e.hash;if (e.pathname !== "/") return t;let n = new URLSearchParams(e.search);return n.has("q") ? (n.delete("q"), "/" + (n.size ? `?${n}` : "") + e.hash) : t;}-function _m() {- let e = Yp.location;- for (let t of hm(e)) Jp.set(t, gm(e));+function gm() {+ let e = Jp.location;+ for (let t of mm(e)) qp.set(t, hm(e));}-function vm(e) {- return bm(), hm(Yp.location).includes(e) ? gm(Yp.location) : Jp.get(e);+function _m(e) {+ return ym(), mm(Jp.location).includes(e) ? hm(Jp.location) : qp.get(e);}-function ym() {- bm(), tm = !0;+function vm() {+ ym(), em = !0;}-function bm() {- nm || (nm = !0, Yp = Bp.navigation, Xp = Yp.location, window.history.scrollRestoration = "manual", document.addEventListener("scrollend", (e) => {- e.target === document && (om = !1, cm(Bp.navigation.seq));- }), Bp.listen((e) => {- if (Xp = Yp.location, Zp = {+function ym() {+ tm || (tm = !0, Jp = W.navigation, Yp = Jp.location, window.history.scrollRestoration = "manual", document.addEventListener("scrollend", (e) => {+ e.target === document && (am = !1, sm(W.navigation.seq));+ }), W.listen((e) => {+ if (Yp = Jp.location, Xp = {left: window.scrollX,top: window.scrollY- }, dm(e.location.pathname) ? sm() : (am = !0, om = !1, cm(e.seq)), dm(Xp.pathname)) {- let e = Kp.get(mm(Xp)) ?? {- ...Zp,+ }, um(e.location.pathname) ? om() : (im = !0, am = !1, sm(e.seq)), um(Yp.pathname)) {+ let e = Gp.get(pm(Yp)) ?? {+ ...Xp,state: /* @__PURE__ */ new Map()};- Object.assign(e, Zp), Kp.set(mm(Xp), e), qp.set(pm(Xp), e), _m();+ Object.assign(e, Xp), Gp.set(pm(Yp), e), Kp.set(fm(Yp), e), gm();}if (e.action === "REPLACE") {- let t = Kp.get(mm(Xp));- t && Kp.set(mm(e.location), {+ let t = Gp.get(pm(Yp));+ t && Gp.set(pm(e.location), {...t,state: new Map(t.state)- }), Qp &&= Kp.get(mm(e.location));- } else Qp = e.action === "POP" ? Kp.get(mm(e.location)) : qp.get(pm(e.location));- tm && (Qp = void 0), tm = !1, Qp && (Qp = {- ...Qp,- state: new Map(Qp.state)- }, Kp.set(mm(e.location), Qp)), Yp = e;+ }), Zp &&= Gp.get(pm(e.location));+ } else Zp = e.action === "POP" ? Gp.get(pm(e.location)) : Kp.get(fm(e.location));+ em && (Zp = void 0), em = !1, Zp && (Zp = {+ ...Zp,+ state: new Map(Zp.state)+ }, Gp.set(pm(e.location), Zp)), Jp = e;}));}-function xm(e, t) {- if (bm(), !dm(Yp.location.pathname)) return;- let n = Kp.get(mm(Yp.location)) ?? {+function bm(e, t) {+ if (ym(), !um(Jp.location.pathname)) return;+ let n = Gp.get(pm(Jp.location)) ?? {left: window.scrollX,top: window.scrollY,state: /* @__PURE__ */ new Map()};- n.state.set(e, t), Kp.set(mm(Yp.location), n), _m();+ n.state.set(e, t), Gp.set(pm(Jp.location), n), gm();}-function Sm(e) {- return bm(), Qp?.state.get(e);+function xm(e) {+ return ym(), Zp?.state.get(e);}-var Cm = () => (bm(), !!Qp);-function wm() {- bm(), em = Bp.navigation.seq, $p === em && (em = -1, lm({+var Sm = () => (ym(), !!Zp);+function Cm() {+ ym(), $p = W.navigation.seq, Qp === $p && ($p = -1, cm({top: 0,- behavior: Wp()+ behavior: Up()}));}-async function Tm(e, t, { pending: n = !1 } = {}) {- bm();- let r = Bp.navigation, i = r.seq, a = () => e() && Bp.navigation.seq === i;- if (dm(r.location.pathname) && a() && (_m(), !(!n && Qp && (await document.fonts?.ready, await new Promise((e) => requestAnimationFrame(() => e())), !a())))) {- if (n || (am = !0), $p === i) cm(i);- else if (!(n && Qp)) {+async function wm(e, t, { pending: n = !1 } = {}) {+ ym();+ let r = W.navigation, i = r.seq, a = () => e() && W.navigation.seq === i;+ if (um(r.location.pathname) && a() && (gm(), !(!n && Zp && (await document.fonts?.ready, await new Promise((e) => requestAnimationFrame(() => e())), !a())))) {+ if (n || (im = !0), Qp === i) sm(i);+ else if (!(n && Zp)) {if (n && r.location.hash) {let e;try {@@ -15873,83 +15873,83 @@ async function Tm(e, t, { pending: n = !1 } = {}) {}if (!e?.getClientRects().length || e.closest("[data-skeleton], [data-content-skeleton]")) return;}- if ($p = i, em === i) em = -1, Qp = void 0, lm({+ if (Qp = i, $p === i) $p = -1, Zp = void 0, cm({top: 0,- behavior: Wp()+ behavior: Up()});- else if (Qp) {- let e = Wp();+ else if (Zp) {+ let e = Up();e === "smooth" && window.scrollTo({- ...Zp,+ ...Xp,behavior: "instant"- }), lm({- left: Qp.left,- top: Qp.top,+ }), cm({+ left: Zp.left,+ top: Zp.top,behavior: e- }), Qp = void 0;+ }), Zp = void 0;} else if (r.location.hash) {- if (await Gp(r.location.hash, a), !a()) return;+ if (await Wp(r.location.hash, a), !a()) return;let e = null;try {e = document.getElementById(decodeURIComponent(r.location.hash.slice(1)));} catch {}- um(e);- } else if (r.action === "REPLACE" && fm(Xp) === fm(r.location)) window.scrollTo({- ...Zp,+ lm(e);+ } else if (r.action === "REPLACE" && dm(Yp) === dm(r.location)) window.scrollTo({+ ...Xp,behavior: "instant"});- else if (t?.getClientRects().length && fm(Xp) === fm(r.location) && Xp.search !== r.location.search) {+ else if (t?.getClientRects().length && dm(Yp) === dm(r.location) && Yp.search !== r.location.search) {let e = parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop) || 0;- t.getBoundingClientRect().top < e && (um(t), t.scrollIntoView({+ t.getBoundingClientRect().top < e && (lm(t), t.scrollIntoView({block: "start",- behavior: Wp()+ behavior: Up()}));- } else i > 0 && lm({+ } else i > 0 && cm({top: 0,- behavior: Wp()+ behavior: Up()});- cm(i);+ sm(i);}}}// node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs-var Em = /* @__PURE__ */ (0, F.createContext)({});+var Tm = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/utils/use-constant.mjs-function Dm(e) {+function Em(e) {let t = (0, F.useRef)(null);return t.current === null && (t.current = e()), t.current;}// node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs-var Om = typeof window < "u" ? F.useLayoutEffect : F.useEffect, km = /* @__PURE__ */ (0, F.createContext)(null);+var Dm = typeof window < "u" ? F.useLayoutEffect : F.useEffect, Om = /* @__PURE__ */ (0, F.createContext)(null);// node_modules/motion-utils/dist/es/array.mjs-function Am(e, t) {+function km(e, t) {e.indexOf(t) === -1 && e.push(t);}-function jm(e, t) {+function Am(e, t) {let n = e.indexOf(t);n > -1 && e.splice(n, 1);}// node_modules/motion-utils/dist/es/clamp.mjs-var Mm = (e, t, n) => n > t ? t : n < e ? e : n, Nm = {}, Pm = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Fm = (e) => typeof e == "object" && !!e, Im = (e) => /^0[^.\s]+$/u.test(e);+var jm = (e, t, n) => n > t ? t : n < e ? e : n, Mm = {}, Nm = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Pm = (e) => typeof e == "object" && !!e, Fm = (e) => /^0[^.\s]+$/u.test(e);// node_modules/motion-utils/dist/es/memo.mjs/*#__NO_SIDE_EFFECTS__*/-function Lm(e) {+function Im(e) {let t;return () => (t === void 0 && (t = e()), t);}// node_modules/motion-utils/dist/es/noop.mjs-var Rm = /* @__NO_SIDE_EFFECTS__ */ (e) => e, zm = (...e) => e.reduce((e, t) => (n) => t(e(n))), Bm = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {+var Lm = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Rm = (...e) => e.reduce((e, t) => (n) => t(e(n))), zm = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {let r = t - e;return r ? (n - e) / r : 1;-}, Vm = class {+}, Bm = class {constructor() {this.subscriptions = [];}add(e) {- return Am(this.subscriptions, e), () => this.remove(e);+ return km(this.subscriptions, e), () => this.remove(e);}remove(e) {- jm(this.subscriptions, e);+ Am(this.subscriptions, e);}notify(e, t, n) {let r = this.subscriptions.length;@@ -15967,146 +15967,146 @@ var Rm = /* @__NO_SIDE_EFFECTS__ */ (e) => e, zm = (...e) => e.reduce((e, t) =>clear() {this.subscriptions.length = 0;}-}, Hm = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Um = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Wm = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Gm = (e, t, n) => {+}, Vm = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Hm = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Um = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Wm = (e, t, n) => {let r = t - e;return ((n - e) % r + r) % r + e;-}, Km = (e, t, n) => e * (3 * (1 - e) * ((1 - e) * t + e * n) + e * e);+}, Gm = (e, t, n) => e * (3 * (1 - e) * ((1 - e) * t + e * n) + e * e);/*#__NO_SIDE_EFFECTS__*/-function qm(e, t, n, r) {- return e === t && n === r ? Rm : (i) => {+function Km(e, t, n, r) {+ return e === t && n === r ? Lm : (i) => {let a = 0, o = 1, s = i;for (let t = 0;; t++) {s >= a && s <= o || (s = (a + o) / 2);- let r = Km(s, e, n) - i;+ let r = Gm(s, e, n) - i;if (r * r < 1e-28 || t === 40) break;- r > 0 ? o = s : a = s, s -= r * 1e-7 / (Km(s + 1e-7, e, n) - i - r);+ r > 0 ? o = s : a = s, s -= r * 1e-7 / (Gm(s + 1e-7, e, n) - i - r);}- return Km(s, t, r);+ return Gm(s, t, r);};}// node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs-var Jm = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Ym = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Xm = /*@__PURE__*/ qm(.33, 1.53, .69, .99), Zm = /*@__PURE__*/ Ym(Xm), Qm = /*@__PURE__*/ Jm(Zm), $m = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Zm(e) : .5 * (2 - 2 ** (-10 * (e - 1))), eh = (e) => 1 - Math.sin(Math.acos(e)), th = /* @__PURE__ */ Ym(eh), nh = /* @__PURE__ */ Jm(eh), rh = /*@__PURE__*/ qm(.42, 0, 1, 1), ih = /*@__PURE__*/ qm(0, 0, .58, 1), ah = /*@__PURE__*/ qm(.42, 0, .58, 1), oh = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number";+var qm = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Jm = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Ym = /*@__PURE__*/ Km(.33, 1.53, .69, .99), Xm = /*@__PURE__*/ Jm(Ym), Zm = /*@__PURE__*/ qm(Xm), Qm = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Xm(e) : .5 * (2 - 2 ** (-10 * (e - 1))), $m = (e) => 1 - Math.sin(Math.acos(e)), eh = /* @__PURE__ */ Jm($m), th = /* @__PURE__ */ qm($m), nh = /*@__PURE__*/ Km(.42, 0, 1, 1), rh = /*@__PURE__*/ Km(0, 0, .58, 1), ih = /*@__PURE__*/ Km(.42, 0, .58, 1), ah = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number";// node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs/*#__NO_SIDE_EFFECTS__*/-function sh(e, t) {- return /* @__PURE__ */ oh(e) ? e[Gm(0, e.length, t)] : e;+function oh(e, t) {+ return /* @__PURE__ */ ah(e) ? e[Wm(0, e.length, t)] : e;}// node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs-var ch = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", lh = {- linear: Rm,- easeIn: rh,- easeInOut: ah,- easeOut: ih,- circIn: eh,- circInOut: nh,- circOut: th,- backIn: Zm,- backInOut: Qm,- backOut: Xm,- anticipate: $m-}, uh = (e) => typeof e == "string", dh = (e) => {- if (/* @__PURE__ */ ch(e)) {+var sh = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", ch = {+ linear: Lm,+ easeIn: nh,+ easeInOut: ih,+ easeOut: rh,+ circIn: $m,+ circInOut: th,+ circOut: eh,+ backIn: Xm,+ backInOut: Zm,+ backOut: Ym,+ anticipate: Qm+}, lh = (e) => typeof e == "string", uh = (e) => {+ if (/* @__PURE__ */ sh(e)) {let [t, n, r, i] = e;- return /* @__PURE__ */ qm(t, n, r, i);+ return /* @__PURE__ */ Km(t, n, r, i);}- return uh(e) ? lh[e] : e;-}, fh = {+ return lh(e) ? ch[e] : e;+}, dh = {delta: 0,timestamp: 0,isProcessing: !1-}, ph;-function mh() {- ph = void 0;+}, fh;+function ph() {+ fh = void 0;}-var hh = {- now: () => (ph === void 0 && hh.set(fh.isProcessing || Nm.useManualTiming ? fh.timestamp : performance.now()), ph),+var mh = {+ now: () => (fh === void 0 && mh.set(dh.isProcessing || Mm.useManualTiming ? dh.timestamp : performance.now()), fh),set: (e) => {- ph = e, queueMicrotask(mh);+ fh = e, queueMicrotask(ph);}-}, gh = (e) => Math.round(e * 1e5) / 1e5, _h = (e) => (t) => typeof t == "string" && t.startsWith(e), vh = /*@__PURE__*/ _h("--"), yh = /*@__PURE__*/ _h("var(--"), bh = (e) => yh(e) ? xh.test(e.split("/*")[0].trim()) : !1, xh = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;-function Sh(e) {+}, hh = (e) => Math.round(e * 1e5) / 1e5, gh = (e) => (t) => typeof t == "string" && t.startsWith(e), _h = /*@__PURE__*/ gh("--"), vh = /*@__PURE__*/ gh("var(--"), yh = (e) => vh(e) ? bh.test(e.split("/*")[0].trim()) : !1, bh = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;+function xh(e) {return typeof e == "string" && e.split("/*")[0].includes("var(--");}// node_modules/motion-dom/dist/es/value/types/numbers/index.mjs-var Ch = {+var Sh = {test: (e) => typeof e == "number",parse: parseFloat,transform: (e) => e+}, Ch = {+ ...Sh,+ transform: (e) => jm(0, 1, e)}, wh = {- ...Ch,- transform: (e) => Mm(0, 1, e)-}, Th = {- ...Ch,+ ...Sh,default: 1-}, Eh = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;+}, Th = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;// node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs-function Dh(e) {+function Eh(e) {return e == null;}// node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs-var Oh = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, kh = (e, t) => (n) => !!(typeof n == "string" && Oh.test(n) && n.startsWith(e) || t && !Dh(n) && Object.prototype.hasOwnProperty.call(n, t)), Ah = (e, t, n) => (r) => {+var Dh = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Oh = (e, t) => (n) => !!(typeof n == "string" && Dh.test(n) && n.startsWith(e) || t && !Eh(n) && Object.prototype.hasOwnProperty.call(n, t)), kh = (e, t, n) => (r) => {if (typeof r != "string") return r;- let [i, a, o, s] = r.match(Eh);+ let [i, a, o, s] = r.match(Th);return {[e]: parseFloat(i),[t]: parseFloat(a),[n]: parseFloat(o),alpha: s === void 0 ? 1 : parseFloat(s)};-}, jh = (e) => Mm(0, 255, e), Mh = {- ...Ch,- transform: (e) => Math.round(jh(e))-}, Nh = {- test: /*@__PURE__*/ kh("rgb", "red"),- parse: /*@__PURE__*/ Ah("red", "green", "blue"),- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Mh.transform(e) + ", " + Mh.transform(t) + ", " + Mh.transform(n) + ", " + gh(wh.transform(r)) + ")"-}, Ph = (e, t, n) => {+}, Ah = (e) => jm(0, 255, e), jh = {+ ...Sh,+ transform: (e) => Math.round(Ah(e))+}, Mh = {+ test: /*@__PURE__*/ Oh("rgb", "red"),+ parse: /*@__PURE__*/ kh("red", "green", "blue"),+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + jh.transform(e) + ", " + jh.transform(t) + ", " + jh.transform(n) + ", " + hh(Ch.transform(r)) + ")"+}, Nh = (e, t, n) => {let r = e.substring(1 + t * n, 1 + (t + 1) * n);return n > 1 ? r : r + r;};-function Fh(e) {- let t = e.length > 5 ? 2 : 1, n = Ph(e, 3, t);+function Ph(e) {+ let t = e.length > 5 ? 2 : 1, n = Nh(e, 3, t);return {- red: parseInt(Ph(e, 0, t), 16),- green: parseInt(Ph(e, 1, t), 16),- blue: parseInt(Ph(e, 2, t), 16),+ red: parseInt(Nh(e, 0, t), 16),+ green: parseInt(Nh(e, 1, t), 16),+ blue: parseInt(Nh(e, 2, t), 16),alpha: n ? parseInt(n, 16) / 255 : 1};}-var Ih = {- test: /*@__PURE__*/ kh("#"),- parse: Fh,- transform: Nh.transform-}, Lh = /* @__NO_SIDE_EFFECTS__ */ (e) => ({+var Fh = {+ test: /*@__PURE__*/ Oh("#"),+ parse: Ph,+ transform: Mh.transform+}, Ih = /* @__NO_SIDE_EFFECTS__ */ (e) => ({test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,parse: parseFloat,transform: (t) => `${t}${e}`-}), Rh = /*@__PURE__*/ Lh("deg"), zh = /*@__PURE__*/ Lh("%"), W = /*@__PURE__*/ Lh("px"), Bh = /*@__PURE__*/ Lh("vh"), Vh = /*@__PURE__*/ Lh("vw"), Hh = {- ...zh,- parse: (e) => zh.parse(e) / 100,- transform: (e) => zh.transform(e * 100)+}), Lh = /*@__PURE__*/ Ih("deg"), Rh = /*@__PURE__*/ Ih("%"), G = /*@__PURE__*/ Ih("px"), zh = /*@__PURE__*/ Ih("vh"), Bh = /*@__PURE__*/ Ih("vw"), Vh = {+ ...Rh,+ parse: (e) => Rh.parse(e) / 100,+ transform: (e) => Rh.transform(e * 100)+}, Hh = {+ test: /*@__PURE__*/ Oh("hsl", "hue"),+ parse: /*@__PURE__*/ kh("hue", "saturation", "lightness"),+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Rh.transform(hh(t)) + ", " + Rh.transform(hh(n)) + ", " + hh(Ch.transform(r)) + ")"}, Uh = {- test: /*@__PURE__*/ kh("hsl", "hue"),- parse: /*@__PURE__*/ Ah("hue", "saturation", "lightness"),- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + zh.transform(gh(t)) + ", " + zh.transform(gh(n)) + ", " + gh(wh.transform(r)) + ")"-}, Wh = {- test: (e) => Nh.test(e) || Ih.test(e) || Uh.test(e),- parse: (e) => Nh.test(e) ? Nh.parse(e) : Uh.test(e) ? Uh.parse(e) : Ih.parse(e),- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Nh.transform(e) : Uh.transform(e),+ test: (e) => Mh.test(e) || Fh.test(e) || Hh.test(e),+ parse: (e) => Mh.test(e) ? Mh.parse(e) : Hh.test(e) ? Hh.parse(e) : Fh.parse(e),+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Mh.transform(e) : Hh.transform(e),getAnimatableNone: (e) => {- let t = Wh.parse(e);- return t.alpha = 0, Wh.transform(t);+ let t = Uh.parse(e);+ return t.alpha = 0, Uh.transform(t);}-}, Gh = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Kh = /*@__PURE__*/ new RegExp(Eh.source), qh = /*@__PURE__*/ new RegExp(Gh.source, "i");-function Jh(e) {- return isNaN(e) && typeof e == "string" && (Kh.test(e) || qh.test(e));+}, Wh = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Gh = /*@__PURE__*/ new RegExp(Th.source), Kh = /*@__PURE__*/ new RegExp(Wh.source, "i");+function qh(e) {+ return isNaN(e) && typeof e == "string" && (Gh.test(e) || Kh.test(e));}-var Yh = "number", Xh = "color", Zh = "var", Qh = "var(", $h = "${}", eg = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;-function tg(e) {+var Jh = "number", Yh = "color", Xh = "var", Zh = "var(", Qh = "${}", $h = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;+function eg(e) {let t = e.toString();- return Kh.test(t) || qh.test(t);+ return Gh.test(t) || Kh.test(t);}-function ng(e) {+function tg(e) {let t = e.toString(), n = [], r = {color: [],number: [],@@ -16114,41 +16114,41 @@ function ng(e) {}, i = [], a = 0;return {values: n,- split: t.replace(eg, (e) => (Wh.test(e) ? (r.color.push(a), i.push(Xh), n.push(Wh.parse(e))) : e.startsWith(Qh) ? (r.var.push(a), i.push(Zh), n.push(e)) : (r.number.push(a), i.push(Yh), n.push(parseFloat(e))), ++a, $h)).split($h),+ split: t.replace($h, (e) => (Uh.test(e) ? (r.color.push(a), i.push(Yh), n.push(Uh.parse(e))) : e.startsWith(Zh) ? (r.var.push(a), i.push(Xh), n.push(e)) : (r.number.push(a), i.push(Jh), n.push(parseFloat(e))), ++a, Qh)).split(Qh),indexes: r,types: i};}-function rg(e) {- return ng(e).values;+function ng(e) {+ return tg(e).values;}-function ig({ split: e, types: t }) {+function rg({ split: e, types: t }) {let n = e.length;return (r) => {let i = "";for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {let e = t[a];- i += e === Yh ? gh(r[a]) : e === Xh ? Wh.transform(r[a]) : r[a];+ i += e === Jh ? hh(r[a]) : e === Yh ? Uh.transform(r[a]) : r[a];}return i;};}function eee(e) {- return ig(ng(e));+ return rg(tg(e));}-var tee = (e) => typeof e == "number" ? 0 : Wh.test(e) ? Wh.getAnimatableNone(e) : e, nee = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : tee(e);+var tee = (e) => typeof e == "number" ? 0 : Uh.test(e) ? Uh.getAnimatableNone(e) : e, nee = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : tee(e);function ree(e) {- let t = ng(e);- return ig(t)(t.values.map((e, n) => nee(e, t.split[n])));+ let t = tg(e);+ return rg(t)(t.values.map((e, n) => nee(e, t.split[n])));}-var ag = {- test: Jh,- parse: rg,+var ig = {+ test: qh,+ parse: ng,createTransformer: eee,getAnimatableNone: ree};// node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs-function og(e, t, n) {+function ag(e, t, n) {return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;}function iee({ hue: e, saturation: t, lightness: n, alpha: r }) {@@ -16157,7 +16157,7 @@ function iee({ hue: e, saturation: t, lightness: n, alpha: r }) {if (!t) i = a = o = n;else {let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;- i = og(s, r, e + 1 / 3), a = og(s, r, e), o = og(s, r, e - 1 / 3);+ i = ag(s, r, e + 1 / 3), a = ag(s, r, e), o = ag(s, r, e - 1 / 3);}return {red: Math.round(i * 255),@@ -16167,42 +16167,42 @@ function iee({ hue: e, saturation: t, lightness: n, alpha: r }) {};}// node_modules/motion-dom/dist/es/utils/mix/immediate.mjs-function sg(e, t) {+function og(e, t) {return (n) => n > 0 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/number.mjs-var cg = (e, t, n) => e + (t - e) * n, lg = (e, t, n) => {+var sg = (e, t, n) => e + (t - e) * n, cg = (e, t, n) => {let r = e * e, i = n * (t * t - r) + r;return i < 0 ? 0 : Math.sqrt(i);}, aee = [- Ih,- Nh,- Uh+ Fh,+ Mh,+ Hh], oee = (e) => aee.find((t) => t.test(e));-function ug(e) {+function lg(e) {let t = oee(e);if (!t) return !1;let n = t.parse(e);- return t === Uh && (n = iee(n)), n;+ return t === Hh && (n = iee(n)), n;}-var dg = (e, t) => {- let n = ug(e), r = ug(t);- if (!n || !r) return sg(e, t);+var ug = (e, t) => {+ let n = lg(e), r = lg(t);+ if (!n || !r) return og(e, t);let i = { ...n };- return (e) => (i.red = lg(n.red, r.red, e), i.green = lg(n.green, r.green, e), i.blue = lg(n.blue, r.blue, e), i.alpha = cg(n.alpha, r.alpha, e), Nh.transform(i));-}, fg = /* @__PURE__ */ new Set(["none", "hidden"]);+ return (e) => (i.red = cg(n.red, r.red, e), i.green = cg(n.green, r.green, e), i.blue = cg(n.blue, r.blue, e), i.alpha = sg(n.alpha, r.alpha, e), Mh.transform(i));+}, dg = /* @__PURE__ */ new Set(["none", "hidden"]);function see(e, t) {- return fg.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;+ return dg.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/complex.mjsfunction cee(e, t) {- return (n) => cg(e, t, n);+ return (n) => sg(e, t, n);}-function pg(e) {- return typeof e == "number" ? cee : typeof e == "string" ? bh(e) ? sg : Wh.test(e) ? dg : dee : Array.isArray(e) ? mg : typeof e == "object" ? Wh.test(e) ? dg : lee : sg;+function fg(e) {+ return typeof e == "number" ? cee : typeof e == "string" ? yh(e) ? og : Uh.test(e) ? ug : dee : Array.isArray(e) ? pg : typeof e == "object" ? Uh.test(e) ? ug : lee : og;}-function mg(e, t) {- let n = [...e], r = n.length, i = e.map((e, n) => pg(e)(e, t[n]));+function pg(e, t) {+ let n = [...e], r = n.length, i = e.map((e, n) => fg(e)(e, t[n]));return (e) => {for (let t = 0; t < r; t++) n[t] = i[t](e);return n;@@ -16213,7 +16213,7 @@ function lee(e, t) {...e,...t}, r = {};- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = pg(e[i])(e[i], t[i]));+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = fg(e[i])(e[i], t[i]));return (e) => {for (let t in r) n[t] = r[t](e);return n;@@ -16232,27 +16232,27 @@ function uee(e, t) {return n;}var dee = (e, t) => {- let n = ng(e), r = ng(t);- return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? fg.has(e) && !r.values.length || fg.has(t) && !n.values.length ? see(e, t) : zm(mg(uee(n, r), r.values), ig(r)) : sg(e, t);-}, hg = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;+ let n = tg(e), r = tg(t);+ return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? dg.has(e) && !r.values.length || dg.has(t) && !n.values.length ? see(e, t) : Rm(pg(uee(n, r), r.values), rg(r)) : og(e, t);+}, mg = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function fee(e, t) {- let n = hg.exec(e);+ let n = mg.exec(e);if (!n) return;- let r = hg.exec(t);+ let r = mg.exec(t);if (!r || n[2] !== r[2]) return;let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);- return (e) => gh(cg(a, o, e)) + i;+ return (e) => hh(sg(a, o, e)) + i;}-function gg(e, t, n) {- if (typeof e == "number" && typeof t == "number" && typeof n == "number") return cg(e, t, n);+function hg(e, t, n) {+ if (typeof e == "number" && typeof t == "number" && typeof n == "number") return sg(e, t, n);if (typeof e == "string" && typeof t == "string") {let n = fee(e, t);if (n) return n;}- return pg(e)(e, t);+ return fg(e)(e, t);}// node_modules/motion-dom/dist/es/frameloop/order.mjs-var _g = [+var gg = ["setup","read","resolveKeyframes",@@ -16294,116 +16294,116 @@ function pee(e) {}// node_modules/motion-dom/dist/es/frameloop/batcher.mjsvar mee = 40;-function vg(e, t, n = {+function _g(e, t, n = {delta: 0,timestamp: 0,isProcessing: !1}) {- let r = !1, i = !0, a = () => r = !0, o = _g.reduce((e, t) => (e[t] = pee(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {- let a = Nm.useManualTiming, o = a ? n.timestamp : performance.now();+ let r = !1, i = !0, a = () => r = !0, o = gg.reduce((e, t) => (e[t] = pee(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let a = Mm.useManualTiming, o = a ? n.timestamp : performance.now();r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, mee), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));}, g = () => {r = !0, i = !0, n.isProcessing || e(h);};return {- schedule: _g.reduce((e, t) => {+ schedule: gg.reduce((e, t) => {let n = o[t];return e[t] = (e, t = !1, i = !1) => (r || g(), n.schedule(e, t, i)), e;}, {}),cancel: (e) => {- for (let t = 0; t < _g.length; t++) o[_g[t]].cancel(e);+ for (let t = 0; t < gg.length; t++) o[gg[t]].cancel(e);},state: n,steps: o};}// node_modules/motion-dom/dist/es/frameloop/frame.mjs-var { schedule: yg, cancel: bg, steps: xg } = /* @__PURE__ */ vg(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Rm, !0, fh), Sg = (e) => {+var { schedule: vg, cancel: yg, steps: bg } = /* @__PURE__ */ _g(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Lm, !0, dh), xg = (e) => {let t = ({ timestamp: t }) => e(t);return {- start: (e = !0) => yg.update(t, e),- stop: () => bg(t),- now: () => fh.isProcessing ? fh.timestamp : hh.now()+ start: (e = !0) => vg.update(t, e),+ stop: () => yg(t),+ now: () => dh.isProcessing ? dh.timestamp : mh.now()};-}, Cg = (e, t, n = 10) => {+}, Sg = (e, t, n = 10) => {let r = "", i = Math.max(Math.round(t / n), 2);for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";return `linear(${r.substring(0, r.length - 2)})`;-}, wg = 2e4;-function Tg(e, t = 50, n = wg, r) {+}, Cg = 2e4;+function wg(e, t = 50, n = Cg, r) {let i = 0, a = e.next(i);for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);return i >= n ? Infinity : i;}// node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function Eg(e, t = 100, n) {+function Tg(e, t = 100, n) {let { keyframes: r, velocity: i } = e, a = r && r[r.length - 1] - r[0], o = n({...e,velocity: i && a ? i * t / a : i,keyframes: [0, t]- }), s = Math.min(Tg(o), wg);+ }), s = Math.min(wg(o), Cg);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,- duration: /* @__PURE__ */ Um(s)+ duration: /* @__PURE__ */ Hm(s)};}// node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var Dg = 100, Og = 10, hee = 1, gee = 800, kg = .3, _ee = .3, vee = .01, yee = 2, bee = .005, xee = .5, See = .01, Cee = 10, Ag = .05, jg = (e) => e < 0 ? 1 / Math.max(1 + e, Ag) : Math.max(1 - e, Ag);-function Mg(e, t) {+var Eg = 100, Dg = 10, hee = 1, gee = 800, Og = .3, _ee = .3, vee = .01, yee = 2, bee = .005, xee = .5, See = .01, Cee = 10, kg = .05, Ag = (e) => e < 0 ? 1 / Math.max(1 + e, kg) : Math.max(1 - e, kg);+function jg(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return Pg((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return Ng((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function Ng(e, t) {+function Mg(e, t) {return e * Math.sqrt(1 - t * t);}var wee = 12;-function Pg(e, t, n) {+function Ng(e, t, n) {let r = n;for (let n = 1; n < wee; n++) r -= e(r) / t(r);return r;}-var Fg = .001;-function Tee({ duration: e = gee, bounce: t = kg }) {- let n, r, i = jg(t);- e = Mm(See, Cee, /* @__PURE__ */ Um(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = Ng(t, i), o = Math.exp(-r);- return Fg - n / a * o;+var Pg = .001;+function Tee({ duration: e = gee, bounce: t = Og }) {+ let n, r, i = Ag(t);+ e = jm(See, Cee, /* @__PURE__ */ Hm(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = Mg(t, i), o = Math.exp(-r);+ return Pg - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Ng(t * t, i);- return (-n(t) + Fg > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Mg(t * t, i);+ return (-n(t) + Pg > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = Pg(n, r, a), s = o * Mg(i, o * e), c = s * s;+ let a = 5 / e, o = Ng(n, r, a), s = o * jg(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),- duration: /* @__PURE__ */ Hm(e)+ duration: /* @__PURE__ */ Vm(e)};}-var Ig = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Lg(e, t) {- if (Ig(e, t)) return e;+var Fg = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function Ig(e, t) {+ if (Fg(e, t)) return e;}function Eee(e) {- let t = Lg(e.stiffness), n = Lg(e.damping, !0), r = Lg(e.mass), i = {+ let t = Ig(e.stiffness), n = Ig(e.damping, !0), r = Ig(e.mass), i = {...e,- stiffness: t ?? Dg,- damping: n ?? Og,+ stiffness: t ?? Eg,+ damping: n ?? Dg,mass: r ?? hee,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = jg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Mg(t, 2 * Math.PI / 1.2);+ let t = Ag(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * jg(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);} else Object.assign(i, Tee(i)), i.isResolvedFromDuration = !0;- Ig(i.stiffness) && Ig(i.damping, !0) || (i.stiffness = Dg, i.damping = Og);+ Fg(i.stiffness) && Fg(i.damping, !0) || (i.stiffness = Eg, i.damping = Dg);}return i;}-function Rg(e = _ee, t = kg) {+function Lg(e = _ee, t = Og) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -16411,7 +16411,7 @@ function Rg(e = _ee, t = kg) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Eee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Um(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Um(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Eee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Hm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Hm(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -16424,7 +16424,7 @@ function Rg(e = _ee, t = kg) {_();let v, y, b;if (p < 1) {- let e = Ng(m, p), t = {+ let e = Mg(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -16462,30 +16462,30 @@ function Rg(e = _ee, t = kg) {retarget: (e, t) => {g.target = e[e.length - 1], g.delta = g.target - e[0], g.velocity = f(t), n.restSpeed && n.restDelta || _(), S.calculatedDuration = x, a.done = !1, b();},- velocity: (e) => /* @__PURE__ */ Hm(y(e)),+ velocity: (e) => /* @__PURE__ */ Vm(y(e)),next: (e) => {let t = v(e);if (u) a.done = e >= l;else {- let n = /* @__PURE__ */ Hm(y(e));+ let n = /* @__PURE__ */ Vm(y(e));a.done = Math.abs(n) <= g.restSpeed && Math.abs(g.target - t) <= g.restDelta;}return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(Tg(S), wg), t = Cg((t) => S.next(e * t).value, e, 30);+ let e = Math.min(wg(S), Cg), t = Sg((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-var zg = /* @__PURE__ */ Object.assign(Rg, { applyToOptions: (e) => {- let t = Eg(e, 100, Rg);- return e.ease = t.ease, e.duration = /* @__PURE__ */ Hm(t.duration), e.type = "keyframes", e;+var Rg = /* @__PURE__ */ Object.assign(Lg, { applyToOptions: (e) => {+ let t = Tg(e, 100, Lg);+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Vm(t.duration), e.type = "keyframes", e;} });// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function Bg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {+function zg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {let d = e[0], f = {done: !1,value: d@@ -16495,7 +16495,7 @@ function Bg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32let t = v(e);f.done = Math.abs(t) <= l, f.value = f.done ? _ : e ? _ + t : d;}, b, x, S = (e) => {- p(f.value) && (b = e, x = zg({+ p(f.value) && (b = e, x = Rg({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -16514,14 +16514,14 @@ function Bg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32}// node_modules/motion-dom/dist/es/utils/interpolate.mjsfunction Dee(e, t, n) {- let r = [], i = Nm.mix || gg, a = e.length - 1;+ let r = [], i = Mm.mix || hg, a = e.length - 1;for (let o = 0; o < a; o++) {let a = n?.(e[o], e[o + 1]) || i(e[o], e[o + 1]);- t && (a = zm(Array.isArray(t) ? t[o] || Rm : t, a)), r.push(a);+ t && (a = Rm(Array.isArray(t) ? t[o] || Lm : t, a)), r.push(a);}return r;}-function Vg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function Bg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {let a = e.length;if (a === 1) return () => t[0];if (a === 2 && t[0] === t[1]) return () => t[1];@@ -16531,23 +16531,23 @@ function Vg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {if (o && n < e[0]) return t[0];let r = 0;if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);- let i = /* @__PURE__ */ Bm(e[r], e[r + 1], n);+ let i = /* @__PURE__ */ zm(e[r], e[r + 1], n);return s[r](i);};- return n ? (t) => l(Mm(e[0], e[a - 1], t)) : l;+ return n ? (t) => l(jm(e[0], e[a - 1], t)) : l;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function Hg(e, t) {+function Vg(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {- let i = /* @__PURE__ */ Bm(0, t, r);- e.push(cg(n, 1, i));+ let i = /* @__PURE__ */ zm(0, t, r);+ e.push(sg(n, 1, i));}}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function Ug(e) {+function Hg(e) {let t = [0];- return Hg(t, e.length - 1), t;+ return Vg(t, e.length - 1), t;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjsfunction Oee(e, t) {@@ -16555,21 +16555,21 @@ function Oee(e, t) {}// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjsfunction kee(e, t) {- return e.map(() => t || ah).splice(0, e.length - 1);+ return e.map(() => t || ih).splice(0, e.length - 1);}-function Wg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {- let a = typeof t[0] == "number" ? void 0 : i, o = /* @__PURE__ */ oh(r) ? r.map(dh) : dh(r) || ah, s = {+function Ug({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {+ let a = typeof t[0] == "number" ? void 0 : i, o = /* @__PURE__ */ ah(r) ? r.map(uh) : uh(r) || ih, s = {done: !1,value: t[0]};if (!a && t.length === 2 && !Array.isArray(o) && (!n || n.length !== 2 || n[0] === 0 && n[1] === 1)) {- let [n, r] = t, i = n === r ? void 0 : (Nm.mix || gg)(n, r);+ let [n, r] = t, i = n === r ? void 0 : (Mm.mix || hg)(n, r);return {calculatedDuration: e,- next: (t) => (s.value = i ? i(o(e > 0 ? Mm(0, 1, t / e) : 1)) : r, s.done = t >= e, s)+ next: (t) => (s.value = i ? i(o(e > 0 ? jm(0, 1, t / e) : 1)) : r, s.done = t >= e, s)};}- let c = Vg(Oee(n && n.length === t.length ? n : Ug(t), e), t, {+ let c = Bg(Oee(n && n.length === t.length ? n : Hg(t), e), t, {ease: Array.isArray(o) ? o : kee(t, o),mixer: a});@@ -16582,45 +16582,45 @@ function Wg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",var Aee = 5;function jee(e, t, n) {let r = Math.max(t - Aee, 0);- return /* @__PURE__ */ Wm(n - e(r), t - r);+ return /* @__PURE__ */ Um(n - e(r), t - r);}-function Gg(e, t, n = 0) {+function Wg(e, t, n = 0) {return t <= 0 ? n : e.velocity ? e.velocity(t) : jee((t) => e.next(t).value, t, e.next(t).value);}// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjsvar Mee = (e) => e !== null;-function Kg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+function Gg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {let a = e.filter(Mee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}// node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjsvar Nee = {- decay: Bg,- inertia: Bg,- tween: Wg,- keyframes: Wg,- spring: zg+ decay: zg,+ inertia: zg,+ tween: Ug,+ keyframes: Ug,+ spring: Rg};-function qg(e) {+function Kg(e) {typeof e.type == "string" && (e.type = Nee[e.type]);}// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var Pee = 40, Jg = (e, t) => t - e > Pee && !Nm.useManualTiming ? t : e;+var Pee = 40, qg = (e, t) => t - e > Pee && !Mm.useManualTiming ? t : e;// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function Yg(e, t) {+function Jg(e, t) {return {kind: e,animation: t,- timestamp: hh.now(),- frameTimestamp: fh.timestamp,- frameIsProcessing: fh.isProcessing+ timestamp: mh.now(),+ frameTimestamp: dh.timestamp,+ frameIsProcessing: dh.isProcessing};}-function Xg(e, t, n) {+function Yg(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...Yg("animation-start", e),+ ...Jg("animation-start", e),options: n ? {...t,...n@@ -16632,13 +16632,13 @@ function Fee(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...Yg("layout-animation-start", e),+ ...Jg("layout-animation-start", e),node: t});} catch {}}// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var Zg = class {+var Xg = class {constructor() {this.isResolved = !1;}@@ -16656,21 +16656,21 @@ var Zg = class {then(e, t) {return this.finished.then(e, t);}-}, Iee = (e) => e / 100, Qg = (e) => Math.round(e * 1e4) / 1e4, $g = class extends Zg {+}, Iee = (e) => e / 100, Zg = (e) => Math.round(e * 1e4) / 1e4, Qg = class extends Xg {constructor(e) {super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {done: !1,value: void 0}, this.stop = () => {let { motionValue: e } = this.options;- e && e.updatedAt !== hh.now() && this.tick(hh.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Xg(this, this.options);+ e && e.updatedAt !== mh.now() && this.tick(mh.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Yg(this, this.options);}initAnimation() {let { options: e } = this;- qg(e);- let { type: t = Wg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Wg;- this.mixKeyframes = void 0, s !== Wg && typeof o[0] != "number" && (this.mixKeyframes = zm(Iee, e.mixer?.(o[0], o[1]) || gg(o[0], o[1])), o = [0, 100]);+ Kg(e);+ let { type: t = Ug, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Ug;+ this.mixKeyframes = void 0, s !== Ug && typeof o[0] != "number" && (this.mixKeyframes = Rm(Iee, e.mixer?.(o[0], o[1]) || hg(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -16679,7 +16679,7 @@ var Zg = class {...e,keyframes: [...o].reverse(),velocity: -a- })), c.calculatedDuration === null && (c.calculatedDuration = Tg(c));+ })), c.calculatedDuration === null && (c.calculatedDuration = wg(c));let { calculatedDuration: l } = c;this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;}@@ -16690,61 +16690,61 @@ var Zg = class {let { generator: n, totalDuration: r, calculatedDuration: i } = this;if (this.startTime === null) return n.next(0);let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;- this.startTime === this.pendingStartTime && (this.startTime = Jg(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);+ this.startTime === this.pendingStartTime && (this.startTime = qg(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);let f = this.generate(this.currentTime, d), { done: p } = f;d || (p = this.playbackSpeed >= 0 ? i < Infinity ? this.currentTime >= r : p : this.currentTime <= 0);let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);- return m && s !== Bg && (f.value = Kg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== zg && (f.value = Gg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? Qg((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? Zg((e - this.startTime) * this.playbackSpeed);}sampleAt(e, t) {let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);- return i >= r && n.type !== Bg ? Kg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== zg ? Gg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;}generate(e, t) {let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;if (c) {let t = Math.min(e, r) / o, n = Math.floor(t), i = t % 1;- !i && t >= 1 && (i = 1), i === 1 && n--, n = Math.min(n, c + 1), n % 2 && (l === "reverse" ? (i = 1 - i, u && (i -= u / o)) : l === "mirror" && (f = a)), d = Mm(0, 1, i) * o;+ !i && t >= 1 && (i = 1), i === 1 && n--, n = Math.min(n, c + 1), n % 2 && (l === "reverse" ? (i = 1 - i, u && (i -= u / o)) : l === "mirror" && (f = a)), d = jm(0, 1, i) * o;}let p;return t ? (this.delayState.value = s[0], p = this.delayState) : p = f.next(d), i && !t && (p.value = i(p.value)), p;}get duration() {- return /* @__PURE__ */ Um(this.calculatedDuration);+ return /* @__PURE__ */ Hm(this.calculatedDuration);}get iterationDuration() {- return this.duration + /* @__PURE__ */ Um(this.options.delay ?? 0);+ return this.duration + /* @__PURE__ */ Hm(this.options.delay ?? 0);}get time() {- return /* @__PURE__ */ Um(this.currentTime);+ return /* @__PURE__ */ Hm(this.currentTime);}set time(e) {- e = /* @__PURE__ */ Hm(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));+ e = /* @__PURE__ */ Vm(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));}getGeneratorVelocity() {- return Gg(this.generator, this.currentTime, this.options.velocity);+ return Wg(this.generator, this.currentTime, this.options.velocity);}get speed() {return this.playbackSpeed;}set speed(e) {let t = this.playbackSpeed !== e;- t && this.driver && this.updateTime(hh.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Um(this.currentTime));+ t && this.driver && this.updateTime(mh.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Hm(this.currentTime));}play() {if (this.isStopped) return;- let { driver: e = Sg, startTime: t } = this.options;+ let { driver: e = xg, startTime: t } = this.options;this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();let n = this.driver.now();this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? (this.pendingStartTime = n) : this.startTime = n - this.holdTime / (this.playbackSpeed || 1), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();}pause() {- this.state = "paused", this.updateTime(hh.now()), this.holdTime = this.currentTime;+ this.state = "paused", this.updateTime(mh.now()), this.holdTime = this.currentTime;}complete() {this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;@@ -16773,138 +16773,138 @@ var Zg = class {function Ree(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;- let [r] = n.match(Eh) || [];+ let [r] = n.match(Th) || [];if (!r) return e;let i = n.replace(r, ""), a = +!!Lee.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var zee = /\b([a-z-]*)\(.*?\)/gu, e_ = {- ...ag,+var zee = /\b([a-z-]*)\(.*?\)/gu, $g = {+ ...ig,getAnimatableNone: (e) => {let t = e.match(zee);return t ? t.map(Ree).join(" ") : e;}-}, t_ = {- ...ag,+}, e_ = {+ ...ig,getAnimatableNone: (e) => {- let t = ag.parse(e);- return ag.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {+ let t = ig.parse(e);+ return ig.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {...e,alpha: 1} : e));}-}, n_ = {- ...Ch,+}, t_ = {+ ...Sh,transform: Math.round+}, n_ = {+ rotate: Lh,+ pathRotation: Lh,+ rotateX: Lh,+ rotateY: Lh,+ rotateZ: Lh,+ scale: wh,+ scaleX: wh,+ scaleY: wh,+ scaleZ: wh,+ skew: Lh,+ skewX: Lh,+ skewY: Lh,+ distance: G,+ translateX: G,+ translateY: G,+ translateZ: G,+ x: G,+ y: G,+ z: G,+ perspective: G,+ transformPerspective: G,+ opacity: Ch,+ originX: Vh,+ originY: Vh,+ originZ: G}, r_ = {- rotate: Rh,- pathRotation: Rh,- rotateX: Rh,- rotateY: Rh,- rotateZ: Rh,- scale: Th,- scaleX: Th,- scaleY: Th,- scaleZ: Th,- skew: Rh,- skewX: Rh,- skewY: Rh,- distance: W,- translateX: W,- translateY: W,- translateZ: W,- x: W,- y: W,- z: W,- perspective: W,- transformPerspective: W,- opacity: wh,- originX: Hh,- originY: Hh,- originZ: W-}, i_ = {- borderWidth: W,- borderTopWidth: W,- borderRightWidth: W,- borderBottomWidth: W,- borderLeftWidth: W,- borderRadius: W,- borderTopLeftRadius: W,- borderTopRightRadius: W,- borderBottomRightRadius: W,- borderBottomLeftRadius: W,- width: W,- maxWidth: W,- height: W,- maxHeight: W,- top: W,- right: W,- bottom: W,- left: W,- inset: W,- insetBlock: W,- insetBlockStart: W,- insetBlockEnd: W,- insetInline: W,- insetInlineStart: W,- insetInlineEnd: W,- padding: W,- paddingTop: W,- paddingRight: W,- paddingBottom: W,- paddingLeft: W,- paddingBlock: W,- paddingBlockStart: W,- paddingBlockEnd: W,- paddingInline: W,- paddingInlineStart: W,- paddingInlineEnd: W,- margin: W,- marginTop: W,- marginRight: W,- marginBottom: W,- marginLeft: W,- marginBlock: W,- marginBlockStart: W,- marginBlockEnd: W,- marginInline: W,- marginInlineStart: W,- marginInlineEnd: W,- fontSize: W,- backgroundPositionX: W,- backgroundPositionY: W,- ...r_,- zIndex: n_,- fillOpacity: wh,- strokeOpacity: wh,- numOctaves: n_+ borderWidth: G,+ borderTopWidth: G,+ borderRightWidth: G,+ borderBottomWidth: G,+ borderLeftWidth: G,+ borderRadius: G,+ borderTopLeftRadius: G,+ borderTopRightRadius: G,+ borderBottomRightRadius: G,+ borderBottomLeftRadius: G,+ width: G,+ maxWidth: G,+ height: G,+ maxHeight: G,+ top: G,+ right: G,+ bottom: G,+ left: G,+ inset: G,+ insetBlock: G,+ insetBlockStart: G,+ insetBlockEnd: G,+ insetInline: G,+ insetInlineStart: G,+ insetInlineEnd: G,+ padding: G,+ paddingTop: G,+ paddingRight: G,+ paddingBottom: G,+ paddingLeft: G,+ paddingBlock: G,+ paddingBlockStart: G,+ paddingBlockEnd: G,+ paddingInline: G,+ paddingInlineStart: G,+ paddingInlineEnd: G,+ margin: G,+ marginTop: G,+ marginRight: G,+ marginBottom: G,+ marginLeft: G,+ marginBlock: G,+ marginBlockStart: G,+ marginBlockEnd: G,+ marginInline: G,+ marginInlineStart: G,+ marginInlineEnd: G,+ fontSize: G,+ backgroundPositionX: G,+ backgroundPositionY: G,+ ...n_,+ zIndex: t_,+ fillOpacity: Ch,+ strokeOpacity: Ch,+ numOctaves: t_}, Bee = {- ...i_,- color: Wh,- backgroundColor: Wh,- outlineColor: Wh,- fill: Wh,- stroke: Wh,- borderColor: Wh,- borderTopColor: Wh,- borderRightColor: Wh,- borderBottomColor: Wh,- borderLeftColor: Wh,- filter: e_,- WebkitFilter: e_,- mask: t_,- WebkitMask: t_-}, a_ = (e) => Bee[e], Vee = /*@__PURE__*/ new Set([e_, t_]);-function o_(e, t) {- let n = a_(e);- return Vee.has(n) || (n = ag), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+ ...r_,+ color: Uh,+ backgroundColor: Uh,+ outlineColor: Uh,+ fill: Uh,+ stroke: Uh,+ borderColor: Uh,+ borderTopColor: Uh,+ borderRightColor: Uh,+ borderBottomColor: Uh,+ borderLeftColor: Uh,+ filter: $g,+ WebkitFilter: $g,+ mask: e_,+ WebkitMask: e_+}, i_ = (e) => Bee[e], Vee = /*@__PURE__*/ new Set([$g, e_]);+function a_(e, t) {+ let n = i_(e);+ return Vee.has(n) || (n = ig), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function s_(e) {+function o_(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}// node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs-var c_ = (e) => e * 180 / Math.PI, l_ = (e) => u_(c_(Math.atan2(e[1], e[0]))), Hee = {+var s_ = (e) => e * 180 / Math.PI, c_ = (e) => l_(s_(Math.atan2(e[1], e[0]))), Hee = {x: 4,y: 5,translateX: 4,@@ -16913,44 +16913,44 @@ var c_ = (e) => e * 180 / Math.PI, l_ = (e) => u_(c_(Math.atan2(e[1], e[0]))), HscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: l_,- rotateZ: l_,- skewX: (e) => c_(Math.atan(e[1])),- skewY: (e) => c_(Math.atan(e[2])),+ rotate: c_,+ rotateZ: c_,+ skewX: (e) => s_(Math.atan(e[1])),+ skewY: (e) => s_(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, u_ = (e) => (e %= 360, e < 0 && (e += 360), e), d_ = l_, f_ = (e) => Math.hypot(e[0], e[1]), p_ = (e) => Math.hypot(e[4], e[5]), Uee = {+}, l_ = (e) => (e %= 360, e < 0 && (e += 360), e), u_ = c_, d_ = (e) => Math.hypot(e[0], e[1]), f_ = (e) => Math.hypot(e[4], e[5]), Uee = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: f_,- scaleY: p_,+ scaleX: d_,+ scaleY: f_,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (f_(e) + p_(e)) / 2,- rotateX: (e) => u_(c_(Math.atan2(e[6], e[5]))),- rotateY: (e) => u_(c_(Math.atan2(-e[2], e[0]))),- rotateZ: d_,- rotate: d_,- skewX: (e) => c_(Math.atan(e[4])),- skewY: (e) => c_(Math.atan(e[1])),+ scale: (e) => (d_(e) + f_(e)) / 2,+ rotateX: (e) => l_(s_(Math.atan2(e[6], e[5]))),+ rotateY: (e) => l_(s_(Math.atan2(-e[2], e[0]))),+ rotateZ: u_,+ rotate: u_,+ skewX: (e) => s_(Math.atan(e[4])),+ skewY: (e) => s_(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function m_(e) {+function p_(e) {return +!!e.includes("scale");}-function h_(e, t) {- if (!e || e === "none") return m_(t);+function m_(e, t) {+ if (!e || e === "none") return p_(t);let n = e.match(/^matrix(3d)?\(([-\d.e\s,]+)\)$/u);- if (!n) return m_(t);+ if (!n) return p_(t);let r = (n[1] ? Uee : Hee)[t], i = n[2].split(",").map((e) => parseFloat(e));return typeof r == "function" ? r(i) : i[r];}-var g_ = (e, t) => {+var h_ = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return h_(n, t);-}, __ = [+ return m_(n, t);+}, g_ = ["transformPerspective","x","y",@@ -16969,11 +16969,11 @@ var g_ = (e, t) => {"skew","skewX","skewY"-], v_ = /* @__PURE__ */ new Set([...__, "pathRotation"]), y_ = (e) => e === Ch || e === W, Wee = /* @__PURE__ */ new Set([+], __ = /* @__PURE__ */ new Set([...g_, "pathRotation"]), v_ = (e) => e === Sh || e === G, Wee = /* @__PURE__ */ new Set(["x","y","z"-]), Gee = /* @__PURE__ */ __.filter((e) => !Wee.has(e));+]), Gee = /* @__PURE__ */ g_.filter((e) => !Wee.has(e));function Kee(e) {let t = [];return Gee.forEach((n) => {@@ -16986,15 +16986,15 @@ function Kee(e) {}), t;}var qee = /* @__PURE__ */ new Set(["bottom", "right"]);-function b_(e, t, n, r, i, a) {+function y_(e, t, n, r, i, a) {let o = parseFloat(e);if (!isNaN(o)) return o;let { min: s, max: c } = t()[n], l = c - s;return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);}-var x_ = ({ transform: e }) => h_(e, "x"), S_ = ({ transform: e }) => h_(e, "y"), C_ = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => b_(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => b_(e, i, "y", t, n, r),+var b_ = ({ transform: e }) => m_(e, "x"), x_ = ({ transform: e }) => m_(e, "y"), S_ = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => y_(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => y_(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -17005,15 +17005,15 @@ var x_ = ({ transform: e }) => h_(e, "x"), S_ = ({ transform: e }) => h_(e, "y")let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: x_,- y: S_,- translateX: x_,- translateY: S_-}, w_ = /* @__PURE__ */ new Set(), T_ = !1, E_ = !1, D_ = !1;-function O_() {- if (E_) {+ x: b_,+ y: x_,+ translateX: b_,+ translateY: x_+}, C_ = /* @__PURE__ */ new Set(), w_ = !1, T_ = !1, E_ = !1;+function D_() {+ if (T_) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- w_.forEach((r) => {+ C_.forEach((r) => {r.needsMeasurement && (e.push(r), t.add(r.element), qee.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();@@ -17030,29 +17030,29 @@ function O_() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- E_ = !1, T_ = !1, w_.forEach((e) => e.complete(D_)), w_.clear();+ T_ = !1, w_ = !1, C_.forEach((e) => e.complete(E_)), C_.clear();}-function k_() {- w_.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (E_ = !0);+function O_() {+ C_.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (T_ = !0);});}function Jee() {- D_ = !0, k_(), O_(), D_ = !1;+ E_ = !0, O_(), D_(), E_ = !1;}function Yee(e, t, n) {if (typeof e == "string") {- if (Pm(e) || Im(e)) return parseFloat(e);- if (!ag.test(e) && ag.test(n)) return o_(t, n);+ if (Nm(e) || Fm(e)) return parseFloat(e);+ if (!ig.test(e) && ig.test(n)) return a_(t, n);}return e ?? void 0;}-var A_ = class {+var k_ = class {constructor(e, t, n, r, i, a = !1) {this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;}scheduleResolve() {- this.state = "scheduled", this.isAsync ? (w_.add(this), T_ || (T_ = !0, yg.read(k_), yg.resolveKeyframes(O_))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (C_.add(this), w_ || (w_ = !0, vg.read(O_), vg.resolveKeyframes(D_))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -17065,66 +17065,66 @@ var A_ = class {}e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);}- s_(e);+ o_(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), w_.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), C_.delete(this);}cancel() {- this.state === "scheduled" && (w_.delete(this), this.state = "pending");+ this.state === "scheduled" && (C_.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, j_ = (e) => e.startsWith("--");+}, A_ = (e) => e.startsWith("--");// node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function M_(e, t, n) {- j_(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function j_(e, t, n) {+ A_(t) ? e.style.setProperty(t, n) : e.style[t] = n;}// node_modules/motion-dom/dist/es/utils/supports/flags.mjsvar Xee = {};// node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function N_(e, t) {- let n = /* @__PURE__ */ Lm(e);+function M_(e, t) {+ let n = /* @__PURE__ */ Im(e);return () => Xee[t] ?? n();}// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var Zee = /* @__PURE__ */ N_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), P_ = /*@__PURE__*/ N_(() => {+var Zee = /* @__PURE__ */ M_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), N_ = /*@__PURE__*/ M_(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), F_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, I_ = {+}, "linearEasing"), P_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, F_ = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ F_([+ circIn: /*@__PURE__*/ P_([0,.65,.55,1]),- circOut: /*@__PURE__*/ F_([+ circOut: /*@__PURE__*/ P_([.55,0,1,.45]),- backIn: /*@__PURE__*/ F_([+ backIn: /*@__PURE__*/ P_([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ F_([+ backOut: /*@__PURE__*/ P_([.33,1.53,.69,@@ -17132,14 +17132,14 @@ var Zee = /* @__PURE__ */ N_(() => window.ScrollTimeline !== void 0, "scrollTime])};// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function L_(e, t) {- if (e) return typeof e == "function" ? P_() ? Cg(e, t) : "ease-out" : /* @__PURE__ */ ch(e) ? F_(e) : Array.isArray(e) ? e.map((e) => L_(e, t) || I_.easeOut) : I_[e];+function I_(e, t) {+ if (e) return typeof e == "function" ? N_() ? Sg(e, t) : "ease-out" : /* @__PURE__ */ sh(e) ? P_(e) : Array.isArray(e) ? e.map((e) => I_(e, t) || F_.easeOut) : F_[e];}// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjsfunction Qee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = L_(s, i);+ let d = I_(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -17152,15 +17152,15 @@ function Qee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyreturn l && (f.pseudoElement = l), e.animate(u, f);}// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function R_(e) {+function L_(e) {return typeof e == "function" && "applyToOptions" in e;}// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjsfunction $ee({ type: e, ...t }) {- return R_(e) && P_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+ return L_(e) && N_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var z_ = class extends Zg {+var R_ = class extends Xg {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;@@ -17168,11 +17168,11 @@ var z_ = class extends Zg {let c = $ee(e);this.animation = Qee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = this.onFinish = () => {if (this.animation.onfinish = null, this.finishedTime = this.time, !i) {- let e = Kg(r, this.options, o, this.speed);- this.updateMotionValue?.(e), M_(t, n, e), this.animation.cancel();+ let e = Gg(r, this.options, o, this.speed);+ this.updateMotionValue?.(e), j_(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, Xg(this, e, c);+ }, Yg(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.onfinish = this.onFinish, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -17198,18 +17198,18 @@ var z_ = class extends Zg {}get duration() {let e = this.animation.effect?.getComputedTiming?.().duration || 0;- return /* @__PURE__ */ Um(Number(e));+ return /* @__PURE__ */ Hm(Number(e));}get iterationDuration() {let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ Um(e);+ return this.duration + /* @__PURE__ */ Hm(e);}get time() {- return /* @__PURE__ */ Um(Number(this.animation.currentTime) || 0);+ return /* @__PURE__ */ Hm(Number(this.animation.currentTime) || 0);}set time(e) {let t = this.finishedTime !== null;- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Hm(e), t && this.animation.pause();+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Vm(e), t && this.animation.pause();}get speed() {return this.animation.playbackRate;@@ -17227,30 +17227,30 @@ var z_ = class extends Zg {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = this.onFinish = null, e && Zee() ? (this.animation.timeline = e, t?.(this.animation), Rm) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = this.onFinish = null, e && Zee() ? (this.animation.timeline = e, t?.(this.animation), Lm) : n(this);}-}, B_ = {- anticipate: $m,- backInOut: Qm,- circInOut: nh+}, z_ = {+ anticipate: Qm,+ backInOut: Zm,+ circInOut: th};function ete(e) {- return e in B_;+ return e in z_;}function tte(e) {- typeof e.ease == "string" && ete(e.ease) && (e.ease = B_[e.ease]);+ typeof e.ease == "string" && ete(e.ease) && (e.ease = z_[e.ease]);}-var nte = class extends z_ {+var nte = class extends R_ {constructor(e) {- tte(e), qg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ tte(e), Kg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {- return this.state === "running" ? (hh.now() - this.startTime) * this.speed : this.time * 1e3;+ return this.state === "running" ? (mh.now() - this.startTime) * this.speed : this.time * 1e3;}sample(e) {if (!this.sampler) {let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;- this.sampler = new $g({+ this.sampler = new Qg({...o,autoplay: !1}), this.sampler.stop();@@ -17268,10 +17268,10 @@ var nte = class extends z_ {t.set(e);return;}- let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? Mm(0, 10, a) : 0, s = this.sample(a);- n && r && M_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));+ let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? jm(0, 10, a) : 0, s = this.sample(a);+ n && r && j_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, V_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (ag.test(e) || e === "0") && !e.startsWith("url("));+}, B_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (ig.test(e) || e === "0") && !e.startsWith("url("));// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjsfunction rte(e) {let t = e[0];@@ -17282,15 +17282,15 @@ function ite(e, t, n, r) {let i = e[0];if (i === null) return !1;if (t === "display" || t === "visibility") return !0;- let a = e[e.length - 1], o = V_(i, t), s = V_(a, t);- return !o || !s ? !1 : rte(e) || (n === "spring" || R_(n)) && r;+ let a = e[e.length - 1], o = B_(i, t), s = B_(a, t);+ return !o || !s ? !1 : rte(e) || (n === "spring" || L_(n)) && r;}// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function H_(e) {+function V_(e) {e.duration = 0, e.type = "keyframes";}// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var U_ = /* @__PURE__ */ new Set([+var H_ = /* @__PURE__ */ new Set(["opacity","clipPath","filter",@@ -17301,7 +17301,7 @@ function ote(e) {return !1;}// node_modules/motion-dom/dist/es/animation/waapi/utils/needs-mixer.mjs-var W_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), G_ = /* @__PURE__ */ new Set([+var U_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), W_ = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -17312,54 +17312,54 @@ var W_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some("borderRightColor","borderBottomColor","borderLeftColor"-]), K_ = () => !Nm.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");+]), G_ = () => !Mm.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");function ste(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(U_.has(n) || G_.has(n))) return !1;+ if (!n || !(H_.has(n) || W_.has(n))) return !1;let c = t?.owner?.current;if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;let { onUpdate: l, transformTemplate: u } = t.owner.getProps();- return K_() && (U_.has(n) || G_.has(n) && ote(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !W_(e);+ return G_() && (H_.has(n) || W_.has(n) && ote(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !U_(e);}// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var q_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, cte = {+var K_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, cte = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, lte = __.length, J_ = {}, Y_ = (e, t, n = q_(t, r_[e])) => (J_[e] || (J_[e] = (cte[e] || e) + "(")) + n + ")", X_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");+}, lte = g_.length, q_ = {}, J_ = (e, t, n = K_(t, n_[e])) => (q_[e] || (q_[e] = (cte[e] || e) + "(")) + n + ")", Y_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");function ute(e, t, n) {let r = "";for (let i = 0; i < lte; i++) {- let a = __[i], o = e[a];+ let a = g_[i], o = e[a];if (o === void 0) continue;- let s = n && (t[a] = q_(o, i_[a]));- X_(a, o) || (r += Y_(a, o, s || void 0) + " ");+ let s = n && (t[a] = K_(o, r_[a]));+ Y_(a, o) || (r += J_(a, o, s || void 0) + " ");}let i = e.pathRotation;- return i && (r += Y_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";+ return i && (r += J_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";}// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var Z_ = /* @__PURE__ */ new WeakMap(), dte = 200, Q_ = .001, fte = .1, pte = .001, mte = 100, hte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), $_ = (e, t) => Math.abs(e - t) <= Q_, ev = (e, t) => e - t, tv = (e, t, n) => Ug(Array(n + 1)).map((n) => cg(e, t, n)), nv = (e) => e.motionValue.owner, rv = (e) => Z_.get(e), iv = ({ state: e }) => e === "idle" || e === "finished", av = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), gte = ({ name: e, motionValue: t }) => e && __.includes(e) && t?.owner?.current instanceof HTMLElement && K_() && P_();+var X_ = /* @__PURE__ */ new WeakMap(), dte = 200, Z_ = .001, fte = .1, pte = .001, mte = 100, hte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Q_ = (e, t) => Math.abs(e - t) <= Z_, $_ = (e, t) => e - t, ev = (e, t, n) => Hg(Array(n + 1)).map((n) => sg(e, t, n)), tv = (e) => e.motionValue.owner, nv = (e) => X_.get(e), rv = ({ state: e }) => e === "idle" || e === "finished", iv = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), gte = ({ name: e, motionValue: t }) => e && g_.includes(e) && t?.owner?.current instanceof HTMLElement && G_() && N_();function _te(e) {- let t = nv(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (av(t, "transform") || "none") === "none" && !av(t, "pathRotation") && !t.projection?.isProjecting() && !W_(e);+ let t = tv(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (iv(t, "transform") || "none") === "none" && !iv(t, "pathRotation") && !t.projection?.isProjecting() && !U_(e);}-var vte = class extends $g {+var vte = class extends Qg {constructor(e) {- let t = nv(e).current, { driver: n = Sg } = e, r, i = _te(e);+ let t = tv(e).current, { driver: n = xg } = e, r, i = _te(e);e.driver = (e) => {let i = n(e);return {js: i,now: i.now,start: (e = !0) => {- let n = rv(t);+ let n = nv(t);!n || n.isJS ? i.start(e) : n.schedule(!1, !e);},stop: () => {i.stop();- let e = rv(t);+ let e = nv(t);e && !e.isFinishing && e.release(r);}};@@ -17370,7 +17370,7 @@ var vte = class extends $g {};}get group() {- return rv(nv(this.options).current);+ return nv(tv(this.options).current);}get js() {return this.driver?.js;@@ -17387,11 +17387,11 @@ var vte = class extends $g {return e?.tracks.has(this) && !e.isJS && this.canAccelerate && (t === "running" || t === "paused");}liveValue() {- return this.isAccelerated() ? this.sampleAt(hh.now()) : void 0;+ return this.isAccelerated() ? this.sampleAt(mh.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ ch(n) ? F_(n) : hte(n) && I_[n];- if (o && !i && !r && e.length === 2 && t === Wg && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ sh(n) ? P_(n) : hte(n) && F_[n];+ if (o && !i && !r && e.length === 2 && t === Ug && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -17401,7 +17401,7 @@ var vte = class extends $g {}}boundaries(e, t) {- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Wg) === Wg ? u || Ug(d) : [0, 1], m = n + o / r, h = [];+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Ug) === Ug ? u || Hg(d) : [0, 1], m = n + o / r, h = [];if (this.holdTime !== null || !(i > 0)) return h;for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {let a = m + n * i / r;@@ -17417,11 +17417,11 @@ var vte = class extends $g {return parseFloat(this.sampleAt(e, !0));}sync() {- let e = hh.now();+ let e = mh.now();this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || yte(nv(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || yte(tv(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -17429,10 +17429,10 @@ var vte = class extends $g {complete() {super.complete();let { group: e } = this;- e && !e.isJS && this.tick(hh.now());+ e && !e.isJS && this.tick(mh.now());}get time() {- return this.isAccelerated() ? /* @__PURE__ */ Um(Mm(0, this.totalDuration, this.at(hh.now()) - (this.options.delay || 0))) : super.time;+ return this.isAccelerated() ? /* @__PURE__ */ Hm(jm(0, this.totalDuration, this.at(mh.now()) - (this.options.delay || 0))) : super.time;}set time(e) {super.time = e, this.isAccelerated() && this.sync();@@ -17446,8 +17446,8 @@ function yte(e) {for (let t of n) if (t.name === e) return !0;}, m = (t, n) => {let o = {};- for (let s of t === void 0 ? __ : a) {- let a = r.get(s), c = t === void 0 ? av(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? g_ : a) {+ let a = r.get(s), c = t === void 0 ? iv(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;@@ -17455,7 +17455,7 @@ function yte(e) {let n = "";for (let r in e) {let i = e[r];- t && X_(r, i) || (n += Y_(r, i) + " ");+ t && Y_(r, i) || (n += J_(r, i) + " ");}return (t ? n.trim() : n) || "none";}, g = (e, t) => h(m(e, t)), _ = (e = m()) => {@@ -17470,7 +17470,7 @@ function yte(e) {offset: t,end: n};- e.startTime = hh.now() + t, n < Infinity && (e.onfinish = () => {+ e.startTime = mh.now() + t, n < Infinity && (e.onfinish = () => {r.isDone = !0, s.some((e) => e.end === Infinity) && (v(e), s = s.filter((e) => e !== r)), j.schedule(!1);}), e.oncancel = () => s.includes(r) && j.demote(), s.push(r);}, S = (e, t, n) => {@@ -17483,14 +17483,14 @@ function yte(e) {}, C = (e, t, n, r) => {let i = Math.min(dte, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = tv(t, n, i).concat(r).sort(ev), o = (e) => /* @__PURE__ */ Bm(t, n, e), s, c;+ let a = ev(t, n, i).concat(r).sort($_), o = (e) => /* @__PURE__ */ zm(t, n, e), s, c;for (let n of e) {- let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Q_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);+ let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Z_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);if (o && !s) s = l, c = (t) => (n.numberAt(t) - e) / o;- else if (l.some((e, t) => !$_(e, o && s[t]))) return;+ else if (l.some((e, t) => !Q_(e, o && s[t]))) return;}- if (!s || s.every((e, t) => $_(e, o(a[t])))) return "linear";- let l = [], u = (e, t = c(e)) => l.push(Qg(t) + " " + Qg(o(e) * 100) + "%");+ if (!s || s.every((e, t) => Q_(e, o(a[t])))) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(Zg(t) + " " + Zg(o(e) * 100) + "%");return s.forEach((e, t) => {t && Math.abs(e - s[t - 1]) > .2 && S(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";@@ -17502,11 +17502,11 @@ function yte(e) {for (let r of e) i.push(...S((e) => r.numberAt(e), t, n));i.push(n);}- }, s = tv(t, n, Math.ceil((n - t) / 100));+ }, s = ev(t, n, Math.ceil((n - t) / 100));for (let e of r) s.push(e, Math.min(e + .01, n));let c = t;- for (let e of s.sort(ev)) e > c && o(c, e, 0), c = e;- return i.sort(ev);+ for (let e of s.sort($_)) e > c && o(c, e, 0), c = e;+ return i.sort($_);}, T = (e) => {let t;for (let n of e) {@@ -17517,7 +17517,7 @@ function yte(e) {return t;}, E = (e, t, n, r, i = { fill: "both" }, a) => {let o = e.flatMap((e) => e.boundaries(t, n)), s = r || C(e, t, n, o), c = s ? [t, n] : w(e, t, n, o), l = c.map((e) => g(e, a)), u = { transform: l };- return s || (u.offset = c.map((e) => /* @__PURE__ */ Bm(t, n, e))), l.every((e) => e === l[0]) && (_(m(t, a)), u = null), b(u, {+ return s || (u.offset = c.map((e) => /* @__PURE__ */ zm(t, n, e))), l.every((e) => e === l[0]) && (_(m(t, a)), u = null), b(u, {...i,duration: n - t,easing: s || "linear"@@ -17545,10 +17545,10 @@ function yte(e) {d.push(e), c = Math.max(c, n);}}- i = {}, a = __.filter((t) => {+ i = {}, a = g_.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = av(e, t);- return n !== void 0 && !X_(t, n);+ let n = i[t] = iv(e, t);+ return n !== void 0 && !Y_(t, n);}), y(!1);let m = !l && T(d);try {@@ -17594,12 +17594,12 @@ function yte(e) {r && n.updatePlaybackRate && n.playState === "running" && Math.abs(Number(n.currentTime) - o) < 20 ? n.playbackRate !== r && n.updatePlaybackRate(r) : r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.startTime = null, n.currentTime = o);}return !0;- }, k = () => !n.size && (u = !0, rv(t) === j && Z_.delete(t), j.isJS || y(), !0), A = () => {- let t = hh.now();+ }, k = () => !n.size && (u = !0, nv(t) === j && X_.delete(t), j.isJS || y(), !0), A = () => {+ let t = mh.now();if (j.isJS || (j.isFinishing = !0, n.forEach((n) => {let [r, a] = n.timing();- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = av(e, n.name), o.has(n) || (c = !0));- }), j.isFinishing = !1), l = !1, u || (n.forEach((e) => iv(e) && n.delete(e)), k())) return;+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = iv(e, n.name), o.has(n) || (c = !0));+ }), j.isFinishing = !1), l = !1, u || (n.forEach((e) => rv(e) && n.delete(e)), k())) return;for (let e of n) if (!e.canAccelerate) return j.demote(!0);j.isJS && (j.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));let r = c, a = d;@@ -17615,14 +17615,14 @@ function yte(e) {isJS: !1,isFinishing: !1,schedule(e, t) {- u || (c ||= e, d ||= !!t, l || (l = !0, fh.isProcessing ? yg.render(A, !1, !0) : queueMicrotask(A)));+ u || (c ||= e, d ||= !!t, l || (l = !0, dh.isProcessing ? vg.render(A, !1, !0) : queueMicrotask(A)));},release(e) {- iv(e) && n.delete(e), k() || j.schedule(!0);+ rv(e) && n.delete(e), k() || j.schedule(!0);},check() {if (!j.isJS) {- for (let t in i) if (av(e, t) !== i[t] && !p(t)) return j.schedule(!0, !0);+ for (let t in i) if (iv(e, t) !== i[t] && !p(t)) return j.schedule(!0, !0);}},demote(e) {@@ -17631,40 +17631,40 @@ function yte(e) {}), j.isJS = !0, o = /* @__PURE__ */ new Map(), y(), n.forEach((e) => e.state === "running" && e.js?.start()), !0;}};- return Z_.set(t, j), j;+ return X_.set(t, j), j;}// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var bte = class extends Zg {+var bte = class extends Xg {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();- }, this.createdAt = hh.now();+ }, this.createdAt = mh.now();let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";- let o = i?.KeyframeResolver || A_;+ let o = i?.KeyframeResolver || k_;this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();}onKeyframesResolved(e, t, n, r) {this.keyframeResolver = void 0;let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;- this.resolvedAt = hh.now();+ this.resolvedAt = mh.now();let u = ite(e, i, a, o);- u || ((Nm.instantAnimations || !s) && l?.(Kg(e, n, t)), e[0] = e[e.length - 1], H_(n), n.repeat = 0);+ u || ((Mm.instantAnimations || !s) && l?.(Gg(e, n, t)), e[0] = e[e.length - 1], V_(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};let f = u && !c && ste(n), p = !f && gte(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Jg(this.createdAt, this.resolvedAt));+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= qg(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {m = new nte(n);} catch {- m = new $g(n);+ m = new Qg(n);}- } else m = p ? new vte(n) : new $g(n);+ } else m = p ? new vte(n) : new Qg(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -17758,10 +17758,10 @@ var bte = class extends Zg {return this.getAll("startTime");}get duration() {- return ov(this.animations, "duration");+ return av(this.animations, "duration");}get iterationDuration() {- return ov(this.animations, "iterationDuration");+ return av(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -17779,7 +17779,7 @@ var bte = class extends Zg {this.runAll("complete");}};-function ov(e, t) {+function av(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -17788,30 +17788,30 @@ function ov(e, t) {return n;}// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var sv = class extends xte {+var ov = class extends xte {then(e, t) {return this.finished.finally(e).then(() => {});}-}, cv = /* @__PURE__ */ new WeakMap(), Ste = (e, t = "") => `${e}:${t}`;+}, sv = /* @__PURE__ */ new WeakMap(), Ste = (e, t = "") => `${e}:${t}`;function Cte(e) {- let t = cv.get(e);- return t || (t = /* @__PURE__ */ new Map(), cv.set(e, t)), t;+ let t = sv.get(e);+ return t || (t = /* @__PURE__ */ new Map(), sv.set(e, t)), t;}// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function lv(e, t, n, r = 0, i = 1) {+function cv(e, t, n, r = 0, i = 1) {let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;}// node_modules/motion-dom/dist/es/value/index.mjs-var uv = 30, wte = (e) => !isNaN(parseFloat(e)), dv = { current: void 0 }, fv = class {+var lv = 30, wte = (e) => !isNaN(parseFloat(e)), uv = { current: void 0 }, dv = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {- let t = hh.now();+ let t = mh.now();if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.dirty(), this.dependents)) for (let e of this.dependents) e.dirty();}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;}setCurrent(e) {- this.current = e, this.updatedAt = hh.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = wte(this.current));+ this.current = e, this.updatedAt = mh.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = wte(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -17821,16 +17821,16 @@ var uv = 30, wte = (e) => !isNaN(parseFloat(e)), dv = { current: void 0 }, fv =}on(e, t) {var n;- return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new Vm())).add(t);+ return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new Bm())).add(t);}onChangeSubscribe(e) {let { events: t } = this;- return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new Vm(), t.change.add(this.changeSubscriber), this.changeSubscriber = void 0), t.change.add(e)), () => {+ return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new Bm(), t.change.add(this.changeSubscriber), this.changeSubscriber = void 0), t.change.add(e)), () => {this.changeSubscriber === e ? this.changeSubscriber = void 0 : t.change?.remove(e), this.stopIfUnobserved();};}stopIfUnobserved() {- yg.read(() => {+ vg.read(() => {!this.changeSubscriber && !this.events.change?.getSize() && this.stop();});}@@ -17848,7 +17848,7 @@ var uv = 30, wte = (e) => !isNaN(parseFloat(e)), dv = { current: void 0 }, fv =this.set(t), this.prev = void 0, this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt - n;}jump(e, t = !0) {- t && (this.updatedAt = hh.now(), this.stop()), this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, this.stopPassiveEffect?.();+ t && (this.updatedAt = mh.now(), this.stop()), this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, this.stopPassiveEffect?.();}dirty() {let { current: e, changeSubscriber: t } = this;@@ -17861,7 +17861,7 @@ var uv = 30, wte = (e) => !isNaN(parseFloat(e)), dv = { current: void 0 }, fv =this.dependents?.delete(e);}get() {- dv.current?.push(this);+ uv.current?.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -17872,10 +17872,10 @@ var uv = 30, wte = (e) => !isNaN(parseFloat(e)), dv = { current: void 0 }, fv =return this.prev;}getVelocity() {- let e = hh.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > uv) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, uv);- return /* @__PURE__ */ Wm(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);+ let e = mh.now();+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > lv) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, lv);+ return /* @__PURE__ */ Um(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {return this.stop(), new Promise((t) => {@@ -17896,11 +17896,11 @@ var uv = 30, wte = (e) => !isNaN(parseFloat(e)), dv = { current: void 0 }, fv =this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect?.();}};-function pv(e, t) {- return new fv(e, t);+function fv(e, t) {+ return new dv(e, t);}// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function mv(e, t) {+function pv(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -17911,9 +17911,9 @@ function mv(e, t) {return e;}// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function hv(e, t) {+function mv(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : mv(n, e);+ return n === e ? n : pv(n, e);}// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjsvar Tte = {@@ -17938,7 +17938,7 @@ var Tte = {1],duration: .3-}, kte = (e, { keyframes: t }) => t.length > 2 ? Dte : v_.has(e) ? e.startsWith("scale") ? Ete(t[1]) : Tte : Ote, Ate = /* @__PURE__ */ new Set([+}, kte = (e, { keyframes: t }) => t.length > 2 ? Dte : __.has(e) ? e.startsWith("scale") ? Ete(t[1]) : Tte : Ote, Ate = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -17957,9 +17957,9 @@ function jte(e) {return !1;}// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var gv = (e, t, n, r = {}, i, a) => (o) => {- let s = hv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;- l -= /* @__PURE__ */ Hm(c);+var hv = (e, t, n, r = {}, i, a) => (o) => {+ let s = mv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+ l -= /* @__PURE__ */ Vm(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],ease: "easeOut",@@ -17977,18 +17977,18 @@ var gv = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- jte(s) || Object.assign(u, kte(e, u)), u.duration &&= /* @__PURE__ */ Hm(u.duration), u.repeatDelay &&= /* @__PURE__ */ Hm(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ jte(s) || Object.assign(u, kte(e, u)), u.duration &&= /* @__PURE__ */ Vm(u.duration), u.repeatDelay &&= /* @__PURE__ */ Vm(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (H_(u), u.delay === 0 && (d = !0)), (Nm.instantAnimations || Nm.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, H_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = Kg(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (V_(u), u.delay === 0 && (d = !0)), (Mm.instantAnimations || Mm.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, V_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = Gg(u.keyframes, s);if (e !== void 0) {- yg.update(() => {+ vg.update(() => {u.onUpdate(e), u.onComplete();});return;}}- return s.isSync ? new $g(u) : new bte(u);+ return s.isSync ? new Qg(u) : new bte(u);}, Mte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Nte(e) {let t = Mte.exec(e);@@ -17996,15 +17996,15 @@ function Nte(e) {let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function _v(e, t, n = 1) {+function gv(e, t, n = 1) {let [r, i] = Nte(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();- return Pm(e) ? parseFloat(e) : e;+ return Nm(e) ? parseFloat(e) : e;}- return bh(i) ? _v(i, t, n + 1) : i;+ return yh(i) ? gv(i, t, n + 1) : i;}// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjsfunction Pte(e) {@@ -18013,32 +18013,32 @@ function Pte(e) {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function vv(e, t, n, r) {+function _v(e, t, n, r) {let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Pte(r)) : t;return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);}// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs-function yv(e, t, n) {- return vv(e.getProps(), t, n, e);+function vv(e, t, n) {+ return _v(e.getProps(), t, n, e);}-var bv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, xv = /* @__PURE__ */ new Set([+var yv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, bv = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...__+ ...g_]), Fte = (e) => Array.isArray(e);// node_modules/motion-dom/dist/es/render/utils/setters.mjsfunction Ite(e, t, n) {- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, pv(n));+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, fv(n));}function Lte(e) {return Fte(e) ? e[e.length - 1] || 0 : e;}function Rte(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = yv(e, t) || {};+ let { transitionEnd: n = {}, transition: r = {}, ...i } = vv(e, t) || {};i = {...i,...n@@ -18046,25 +18046,25 @@ function Rte(e, t) {for (let t in i) Ite(e, t, Lte(i[t]));}// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var Sv = (e) => !!(e && e.getVelocity);+var xv = (e) => !!(e && e.getVelocity);// node_modules/motion-dom/dist/es/value/will-change/is.mjsfunction zte(e) {- return !!(Sv(e) && e.add);+ return !!(xv(e) && e.add);}// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function Cv(e, t) {+function Sv(e, t) {let n = e.getValue("willChange");if (zte(n)) return n.add(t);- if (!n && Nm.WillChange) {- let n = new Nm.WillChange("auto");+ if (!n && Mm.WillChange) {+ let n = new Mm.WillChange("auto");e.addValue("willChange", n), n.add(t);}}// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs-var wv = "data-framer-appear-id";+var Cv = "data-framer-appear-id";// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function Tv(e) {- return e.props[wv];+function wv(e) {+ return e.props[Cv];}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjsvar Bte = typeof window < "u";@@ -18072,9 +18072,9 @@ function Vte({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function Ev(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function Tv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? mv(a, c) : c;+ a = a ? pv(a, c) : c;let l = a?.reduceMotion, u = a?.skipAnimations;r && (a = r);let d = [], f = i && e.animationState?.getState()[i], p = a?.path;@@ -18084,30 +18084,30 @@ function Ev(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {if (i === void 0 || f && Vte(f, t)) continue;let o = {delay: n,- ...hv(f?.out[t] || a || {}, t)+ ...mv(f?.out[t] || a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {- yg.update(() => r.set(i));+ vg.update(() => r.set(i));continue;}let p = !1;if (Bte && window.MotionHandoffAnimation) {- let n = Tv(e);+ let n = wv(e);if (n) {- let e = window.MotionHandoffAnimation(n, t, yg);+ let e = window.MotionHandoffAnimation(n, t, vg);e !== null && (o.startTime = e, p = !0);}}- Cv(e, t);+ Sv(e, t);let m = l ?? e.shouldReduceMotion;- r.start(gv(t, r, i, m && xv.has(t) ? { type: !1 } : o, e, p));+ r.start(hv(t, r, i, m && bv.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {- let t = () => yg.update(() => {+ let t = () => vg.update(() => {o && Rte(e, o);});d.length ? Promise.all(d).then(t) : t();@@ -18115,13 +18115,13 @@ function Ev(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {return d;}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function Dv(e, t, n = {}) {- let r = yv(e, t, bv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Ev(e, r, n) : []), o = (r = 0) => {+function Ev(e, t, n = {}) {+ let r = vv(e, t, yv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Tv(e, r, n) : []), o = (r = 0) => {let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];return a?.forEach((e) => {- e.notify("AnimationStart", t), l.push(Dv(e, t, {+ e.notify("AnimationStart", t), l.push(Ev(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + lv(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + cv(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;@@ -18129,7 +18129,7 @@ function Dv(e, t, n = {}) {}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjsfunction Hte(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Dv(e, t, n))) : typeof t == "string" ? Dv(e, t, n) : Promise.all(Ev(e, yv(e, t, n.custom), n))).then(() => {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Ev(e, t, n))) : typeof t == "string" ? Ev(e, t, n) : Promise.all(Tv(e, vv(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}@@ -18138,17 +18138,17 @@ var Ute = {test: (e) => e === "auto",parse: (e) => e}, Wte = (e) => (t) => t.test(e), Gte = [- Ch,- W,- zh,+ Sh,+ G,Rh,- Vh,+ Lh,Bh,+ zh,Ute-], Ov = (e) => Gte.find(Wte(e));+], Dv = (e) => Gte.find(Wte(e));// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjsfunction Kte(e) {- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Im(e);+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Fm(e);}// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjsvar qte = /* @__PURE__ */ new Set([@@ -18160,12 +18160,12 @@ function Jte(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !qte.has(t) && tg(t) && (i = e[r]), r++;+ typeof t == "string" && !qte.has(t) && eg(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = o_(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = a_(n, i));}// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var kv = class extends A_ {+var Ov = class extends k_ {constructor() {super(...arguments), this.isAsync = !0;}@@ -18176,7 +18176,7 @@ var kv = class extends A_ {canReadNow() {let { unresolvedKeyframes: e, element: t, motionValue: n } = this, r = e[0] ?? n?.get();if (!t?.current || r === void 0) return !1;- for (let t = 0; t < e.length; t++) if (Sh(t ? e[t] : r)) return !1;+ for (let t = 0; t < e.length; t++) if (xh(t ? e[t] : r)) return !1;return !0;}readKeyframes() {@@ -18185,22 +18185,22 @@ var kv = class extends A_ {super.readKeyframes();for (let n = 0; n < e.length; n++) {let r = e[n];- if (typeof r == "string" && (r = r.trim(), bh(r))) {- let i = _v(r, t.current);+ if (typeof r == "string" && (r = r.trim(), yh(r))) {+ let i = gv(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !xv.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !bv.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = Ov(r), o = Ov(i);- if (Sh(r) !== Sh(i) && C_[n]) this.needsMeasurement = !0;+ let a = Dv(r), o = Dv(i);+ if (xh(r) !== xh(i) && S_[n]) this.needsMeasurement = !0;else if (a !== o) {- if (y_(a) && y_(o)) for (let t = 0; t < e.length; t++) {+ if (v_(a) && v_(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else C_[n] && (this.needsMeasurement = !0);+ else S_[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {@@ -18210,7 +18210,7 @@ var kv = class extends A_ {}measure() {let { element: e, name: t } = this;- return C_[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return S_[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;@@ -18226,7 +18226,7 @@ var kv = class extends A_ {let n = t.length - 1, r = t[n];t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.resolveNoneKeyframes();}-}, Av = [+}, kv = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",@@ -18238,7 +18238,7 @@ var kv = class extends A_ {"borderBottomWidth","borderLeftWidth","borderRadius",- ...Av,+ ...kv,"width","maxWidth","height",@@ -18285,17 +18285,17 @@ function Xte(e, t) {for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Yte.has(t) && (e[n] = e[n] + "px");}// node_modules/motion-dom/dist/es/animation/animate/effects.mjs-var jv = [];+var Av = [];function Zte(e) {- Mv(e), jv.unshift(e);+ jv(e), Av.unshift(e);}-function Mv(e) {- jm(jv, e);+function jv(e) {+ Am(Av, e);}function Qte(e) {- return jv.find((t) => t.test(e));+ return Av.find((t) => t.test(e));}-function Nv(e, t, n = {}, r) {+function Mv(e, t, n = {}, r) {let i = [], { velocity: a, path: o } = n, s = n.reduceMotion ?? r?.shouldReduceMotion;o?.animateValues && r && (t = { ...t }, o.animateValues(e, t, n, 0, i));for (let o in t) {@@ -18303,19 +18303,19 @@ function Nv(e, t, n = {}, r) {let c = t[o];if (c === void 0) continue;let l = e(o), u = l.get();- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? yg.update(() => l.set(c)) : (l.start(gv(o, l, c, s && xv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? vg.update(() => l.set(c)) : (l.start(hv(o, l, c, s && bv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: c } = t;if (c) {- let t = () => yg.update(() => {+ let t = () => vg.update(() => {for (let t in c) e(t).set(c[t]);});i.length ? Promise.all(i).then(t) : t();}return i;}-function Pv(e, t, n, r, i) {- return Nv((r) => {+function Nv(e, t, n, r, i) {+ return Mv((r) => {let a = e.get(t, r);if (!a) {let o;@@ -18323,7 +18323,7 @@ function Pv(e, t, n, r, i) {let i = n[r];o = $te(i) ?? e.read(t, r, i);}- a = pv(o, { owner: i }), e(t, { [r]: a });+ a = fv(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);@@ -18333,32 +18333,32 @@ function $te(e) {return t === null ? void 0 : t;}// node_modules/motion-dom/dist/es/utils/is-html-element.mjs-function Fv(e) {- return Fm(e) && "offsetHeight" in e && !("ownerSVGElement" in e);+function Pv(e) {+ return Pm(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs-function Iv(e) {- return Fm(e) && "ownerSVGElement" in e;+function Fv(e) {+ return Pm(e) && "ownerSVGElement" in e;}// node_modules/motion-dom/dist/es/scope/active.mjs-var Lv = {};-function Rv(e) {- return Lv.current?.add(e), e;+var Iv = {};+function Lv(e) {+ return Iv.current?.add(e), e;}-var zv = (e) => Lv.current ? Lv.current.bind(e) : e;+var Rv = (e) => Iv.current ? Iv.current.bind(e) : e;// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function Bv(e, t, n) {+function zv(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {- let r = t ? t.current : Lv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);+ let r = t ? t.current : Iv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);return i ? Array.from(i) : [];}return Array.from(e).filter((e) => e != null);}// node_modules/motion-dom/dist/es/effects/MotionValueState.mjsvar ene = class {- constructor(e = yg.render) {+ constructor(e = vg.render) {this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {let { pending: e, numPending: t } = this;this.numPending = 0;@@ -18401,7 +18401,7 @@ var ene = class {}};// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs-function Vv(e, { step: t, ...n } = {}) {+function Bv(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {let a = r.get(n) ?? new ene(t);@@ -18425,56 +18425,56 @@ function tne(e) {let t = "", { transformKeys: n = [], transformValues: r = {} } = e;for (let e = 0; e < n.length; e++) {let i = n[e], a = r[i].getCurrent();- a !== void 0 && (X_(i, a) || (t += (t && " ") + Y_(i, a)));+ a !== void 0 && (Y_(i, a) || (t += (t && " ") + J_(i, a)));}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + Y_("rotate", i)), t || "none";+ return i && (t += (t && " ") + J_("rotate", i)), t || "none";}// node_modules/motion-dom/dist/es/effects/style/index.mjs-var Hv = /* @__PURE__ */ new Set([+var Vv = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), Uv = (e, t) => q_(e.get(t)?.get(), i_[t]), Wv = (e, t, n, r) => {+]), Hv = (e, t) => K_(e.get(t)?.get(), r_[t]), Uv = (e, t, n, r) => {let i, a;- if (v_.has(n)) {+ if (__.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => __.indexOf(e) - __.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => g_.indexOf(e) - g_.indexOf(t)));}- t.get("transform") || (!Fv(e) && !t.get("transformBox") && Wv(e, t, "transformBox", new fv("fill-box")), t.set("transform", new fv("none"), () => {- Z_.get(e)?.check(), e.style.transform = tne(t);+ t.get("transform") || (!Pv(e) && !t.get("transformBox") && Uv(e, t, "transformBox", new dv("fill-box")), t.set("transform", new dv("none"), () => {+ X_.get(e)?.check(), e.style.transform = tne(t);})), a = t.get("transform");- } else Hv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new fv(""), () => {- let n = Uv(t, "originX") ?? "50%", r = Uv(t, "originY") ?? "50%", i = Uv(t, "originZ") ?? 0;+ } else Vv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new dv(""), () => {+ let n = Hv(t, "originX") ?? "50%", r = Hv(t, "originY") ?? "50%", i = Hv(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = j_(n) ? () => {+ }), a = t.get("transformOrigin")) : i = A_(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = q_(r.getCurrent(), i_[n]);+ e.style[n] = K_(r.getCurrent(), r_[n]);};return t.set(n, r, i, a);-}, nne = (e) => Fv(e) || Iv(e), Gv = (e, t) => {- if (v_.has(t)) return g_(e, t);- let n = getComputedStyle(e), r = j_(t) ? n.getPropertyValue(t) : n[t];+}, nne = (e) => Pv(e) || Fv(e), Wv = (e, t) => {+ if (__.has(t)) return h_(e, t);+ let n = getComputedStyle(e), r = A_(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, rne = /*@__PURE__*/ Vv(Wv, {+}, rne = /*@__PURE__*/ Bv(Uv, {test: nne,- read: Gv+ read: Wv});// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function Kv(e) {+function Gv(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function qv(e, t, n) {+function Kv(e, t, n) {let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;for (let e in t) {let n = t[e];- if (v_.has(e)) o = !0;- else if (vh(e)) i[e] = n;+ if (__.has(e)) o = !0;+ else if (_h(e)) i[e] = n;else {- let t = q_(n, i_[e]);+ let t = K_(n, r_[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}@@ -18497,7 +18497,7 @@ function one(e, t, n = 1, r = 0, i = !0) {e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;}// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs-var Jv = [+var qv = ["transform","opacity","clipPath",@@ -18507,14 +18507,14 @@ var Jv = ["offsetRotate","offsetAnchor"];-function Yv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (qv(e, s, l), c) {+function Jv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (Kv(e, s, l), c) {e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);return;}e.attrs = e.style, e.style = {};let { attrs: d, style: f } = e;- for (let e of Jv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);+ for (let e of qv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);(f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && one(d, i, a, o, !1);}// node_modules/motion-dom/dist/es/effects/attr/index.mjs@@ -18523,39 +18523,39 @@ function sne(e, t) {let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}-var Xv = (e, t, n, r, i = n) => {+var Yv = (e, t, n, r, i = n) => {let a = sne(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Kv(i));- let o = i_[n] || i_[i], s = a ? () => {- e[i] = q_(r.get(), i_[n]);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Gv(i));+ let o = r_[n] || r_[i], s = a ? () => {+ e[i] = K_(r.get(), r_[n]);} : () => {- let t = q_(r.get(), o);+ let t = K_(r.get(), o);t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));};return t.set(n, r, s);};// node_modules/motion-dom/dist/es/effects/svg/index.mjsfunction cne(e, t, n, r) {- return yg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {+ return vg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {let t = r.get();e.setAttribute("stroke-dashoffset", `${-t}`);- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new fv("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new dv("1 1"), () => {let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);}), t.set(n, r, void 0, t.get("stroke-dasharray")));}-var lne = /*@__PURE__*/ Vv((e, t, n, r) => n.startsWith("path") && !v_.has(n) ? cne(e, t, n, r) : n.startsWith("attr") ? Xv(e, t, n, r, Zv(n)) : n === "d" ? t.set(n, r, () => {+var lne = /*@__PURE__*/ Bv((e, t, n, r) => n.startsWith("path") && !__.has(n) ? cne(e, t, n, r) : n.startsWith("attr") ? Yv(e, t, n, r, Xv(n)) : n === "d" ? t.set(n, r, () => {let t = r.get()?.replace(/path\(|["')]/g, "");t === void 0 ? e.removeAttribute(n) : e.setAttribute(n, t);-}) : (v_.has(n) || Hv.has(n) || j_(n) || n in e.style ? Wv : Xv)(e, t, n, r), {- test: Iv,- read: (e, t) => v_.has(t) ? i_[t]?.default || 0 : j_(t) || Jv.includes(t) ? Gv(e, t) || e.getAttribute(Kv(t)) || 0 : (t = Zv(t), e.getAttribute(Kv(t)) ?? e.getAttribute(t) ?? void 0)+}) : (__.has(n) || Vv.has(n) || A_(n) || n in e.style ? Uv : Yv)(e, t, n, r), {+ test: Fv,+ read: (e, t) => __.has(t) ? r_[t]?.default || 0 : A_(t) || qv.includes(t) ? Wv(e, t) || e.getAttribute(Gv(t)) || 0 : (t = Xv(t), e.getAttribute(Gv(t)) ?? e.getAttribute(t) ?? void 0)});-function Zv(e) {+function Xv(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());}// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs-function Qv({ top: e, left: t, right: n, bottom: r }) {+function Zv({ top: e, left: t, right: n, bottom: r }) {return {x: {min: t,@@ -18592,13 +18592,13 @@ function dne(e, t) {};}// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs-function $v(e) {+function Qv(e) {return e === void 0 || e === 1;}-function ey({ scale: e, scaleX: t, scaleY: n }) {- return !$v(e) || !$v(t) || !$v(n);+function $v({ scale: e, scaleX: t, scaleY: n }) {+ return !Qv(e) || !Qv(t) || !Qv(n);}-var ty = [+var ey = ["rotate","rotateX","rotateY",@@ -18606,67 +18606,67 @@ var ty = ["skewX","skewY"];+function ty(e) {+ return $v(e) || ry(e) || ny(e);+}function ny(e) {- return ey(e) || iy(e) || ry(e);+ return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;}function ry(e) {- return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;+ return iy(e.x) || iy(e.y);}function iy(e) {- return ay(e.x) || ay(e.y);-}-function ay(e) {return e && e !== "0%";}// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs-function oy(e, t, n) {+function ay(e, t, n) {return n + t * (e - n);}-function sy(e, t, n, r, i) {- return i !== void 0 && (e = oy(e, i, r)), oy(e, n, r) + t;+function oy(e, t, n, r, i) {+ return i !== void 0 && (e = ay(e, i, r)), ay(e, n, r) + t;}-function cy(e, t = 0, n = 1, r, i) {- e.min = sy(e.min, t, n, r, i), e.max = sy(e.max, t, n, r, i);+function sy(e, t = 0, n = 1, r, i) {+ e.min = oy(e.min, t, n, r, i), e.max = oy(e.max, t, n, r, i);}-function ly(e, { x: t, y: n }) {- cy(e.x, t.translate, t.scale, t.originPoint), cy(e.y, n.translate, n.scale, n.originPoint);+function cy(e, { x: t, y: n }) {+ sy(e.x, t.translate, t.scale, t.originPoint), sy(e.y, n.translate, n.scale, n.originPoint);}-var uy = .999999999999, dy = 1.0000000000001;+var ly = .999999999999, uy = 1.0000000000001;function fne(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;let a, o;- for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (fy(e.x, -a.scroll.offset.x), fy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, ly(e, o)), r && (r.path?.[s] || r) !== a && ny(a.latestValues) && py(e, a.latestValues, a.layout?.layoutBox));- t.x < dy && t.x > uy && (t.x = 1), t.y < dy && t.y > uy && (t.y = 1);+ for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (dy(e.x, -a.scroll.offset.x), dy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, cy(e, o)), r && (r.path?.[s] || r) !== a && ty(a.latestValues) && fy(e, a.latestValues, a.layout?.layoutBox));+ t.x < uy && t.x > ly && (t.x = 1), t.y < uy && t.y > ly && (t.y = 1);}-function fy(e, t) {+function dy(e, t) {e.min += t, e.max += t;}function pne(e, t, n, r, i = .5) {- cy(e, t, n, cg(e.min, e.max, i), r);+ sy(e, t, n, sg(e.min, e.max, i), r);}function mne(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;}-function py(e, t, n) {+function fy(e, t, n) {let r = n ?? e;pne(e.x, mne(t.x, r.x), t.scaleX, t.scale, t.originX), pne(e.y, mne(t.y, r.y), t.scaleY, t.scale, t.originY);}// node_modules/motion-dom/dist/es/projection/utils/measure.mjs-function my(e, t) {- return Qv(dne(e.getBoundingClientRect(), t));+function py(e, t) {+ return Zv(dne(e.getBoundingClientRect(), t));}function hne(e, t, n) {- let r = my(e, n), { scroll: i } = t;- return i && (fy(r.x, i.offset.x), fy(r.y, i.offset.y)), r;+ let r = py(e, n), { scroll: i } = t;+ return i && (dy(r.x, i.offset.x), dy(r.y, i.offset.y)), r;}var gne = () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0-}), _ne = {}, vne = (e) => Iv(e) ? lne : rne, yne = class {+}), _ne = {}, vne = (e) => Fv(e) ? lne : rne, yne = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = kv;+ this.effect = e, this.current = t, this.KeyframeResolver = Ov;}getValue(e) {return this.effect.get(this.current, e);@@ -18678,47 +18678,47 @@ var gne = () => ({this.effect.flush(this.current);}measureViewportBox() {- return my(this.current);+ return py(this.current);}getProps() {return _ne;}};function bne(e, t, n, r) {- if (Lv.current?.track(e), r) return Nv((e) => r.getValue(e, null), t, n, r);+ if (Iv.current?.track(e), r) return Mv((e) => r.getValue(e, null), t, n, r);let i = vne(e);- return Pv(i, e, t, n, new yne(i, e));+ return Nv(i, e, t, n, new yne(i, e));}// node_modules/motion-dom/dist/es/effects/prop/index.mjs-var xne = /*@__PURE__*/ Vv((e, t, n, r) => t.set(n, r, () => {+var xne = /*@__PURE__*/ Bv((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {- test: (e) => Fm(e),+ test: (e) => Pm(e),read: (e, t) => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: hy, cancel: Sne } = /* @__PURE__ */ vg(queueMicrotask, !1);+}), { schedule: my, cancel: Sne } = /* @__PURE__ */ _g(queueMicrotask, !1);// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs-function gy(e, t, n) {- let r = Sv(e) ? e : pv(e);- return r.start(gv("", r, t, n)), r.animation;+function hy(e, t, n) {+ let r = xv(e) ? e : fv(e);+ return r.start(hv("", r, t, n)), r.animation;}// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs-var _y = {}, vy = {+var gy = {}, _y = {value: null,addProjectionMetrics: null,countProjection: void 0};// node_modules/motion-dom/dist/es/utils/delay.mjsfunction Cne(e, t) {- let n = hh.now();- e = zv(e);+ let n = mh.now();+ e = Rv(e);let r = ({ timestamp: i }) => {let a = i - n;- a >= t && (bg(r), e(a - t));+ a >= t && (yg(r), e(a - t));};- return yg.setup(r, !0), Rv(() => bg(r));+ return vg.setup(r, !0), Lv(() => yg(r));}// node_modules/motion-dom/dist/es/utils/is-ref-object.mjsfunction wne(e) {@@ -18726,79 +18726,79 @@ function wne(e) {}// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjsfunction Tne(e) {- return Iv(e) && e.tagName === "svg";+ return Fv(e) && e.tagName === "svg";}// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs-function yy(e) {- return Sv(e) ? e.get() : e;+function vy(e) {+ return xv(e) ? e.get() : e;}// node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var by = (e) => typeof e == "number" ? e : parseFloat(e), Ene = Av.length, xy = (e) => typeof e == "number" || W.test(e);+var yy = (e) => typeof e == "number" ? e : parseFloat(e), Ene = kv.length, by = (e) => typeof e == "number" || G.test(e);function Dne(e, t, n, r, i, a) {- i ? (e.opacity = cg(0, n.opacity ?? 1, One(r)), e.opacityExit = cg(t.opacity ?? 1, 0, kne(r))) : a && (e.opacity = cg(t.opacity ?? 1, n.opacity ?? 1, r));+ i ? (e.opacity = sg(0, n.opacity ?? 1, One(r)), e.opacityExit = sg(t.opacity ?? 1, 0, kne(r))) : a && (e.opacity = sg(t.opacity ?? 1, n.opacity ?? 1, r));for (let i = 0; i < Ene; i++) {- let a = Av[i], o = Sy(t, a), s = Sy(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || xy(o) === xy(s) ? (e[a] = Math.max(cg(by(o), by(s), r), 0), (zh.test(s) || zh.test(o)) && (e[a] += "%")) : e[a] = s);+ let a = kv[i], o = xy(t, a), s = xy(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || by(o) === by(s) ? (e[a] = Math.max(sg(yy(o), yy(s), r), 0), (Rh.test(s) || Rh.test(o)) && (e[a] += "%")) : e[a] = s);}- for (let i = 0; i < ty.length; i++) {- let a = ty[i];- (t[a] || n[a]) && (e[a] = cg(t[a] || 0, n[a] || 0, r));+ for (let i = 0; i < ey.length; i++) {+ let a = ey[i];+ (t[a] || n[a]) && (e[a] = sg(t[a] || 0, n[a] || 0, r));}}-function Sy(e, t) {+function xy(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var One = /*@__PURE__*/ Cy(0, .5, th), kne = /*@__PURE__*/ Cy(.5, .95, Rm);-function Cy(e, t, n) {- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Bm(e, t, r));+var One = /*@__PURE__*/ Sy(0, .5, eh), kne = /*@__PURE__*/ Sy(.5, .95, Lm);+function Sy(e, t, n) {+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ zm(e, t, r));}// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs-function wy(e, t) {+function Cy(e, t) {e.min = t.min, e.max = t.max;}-function Ty(e, t) {- wy(e.x, t.x), wy(e.y, t.y);+function wy(e, t) {+ Cy(e.x, t.x), Cy(e.y, t.y);}-function Ey(e, t) {+function Ty(e, t) {e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjsvar Ane = .9999, jne = 1.0001, Mne = -.01, Nne = .01;-function Dy(e) {+function Ey(e) {return e.max - e.min;}function Pne(e, t, n) {return Math.abs(e - t) <= n;}-function Oy(e, t, n, r = .5) {- e.origin = r, e.originPoint = cg(t.min, t.max, e.origin), e.scale = Dy(n) / Dy(t), e.translate = cg(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ane && e.scale <= jne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Mne && e.translate <= Nne || isNaN(e.translate)) && (e.translate = 0);+function Dy(e, t, n, r = .5) {+ e.origin = r, e.originPoint = sg(t.min, t.max, e.origin), e.scale = Ey(n) / Ey(t), e.translate = sg(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ane && e.scale <= jne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Mne && e.translate <= Nne || isNaN(e.translate)) && (e.translate = 0);}-function ky(e, t, n, r) {- Oy(e.x, t.x, n.x, r?.originX), Oy(e.y, t.y, n.y, r?.originY);+function Oy(e, t, n, r) {+ Dy(e.x, t.x, n.x, r?.originX), Dy(e.y, t.y, n.y, r?.originY);}-function Ay(e, t, n, r = 0) {- e.min = (r ? cg(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Dy(t);+function ky(e, t, n, r = 0) {+ e.min = (r ? sg(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Ey(t);}function Fne(e, t, n, r) {- Ay(e.x, t.x, n.x, r?.x), Ay(e.y, t.y, n.y, r?.y);+ ky(e.x, t.x, n.x, r?.x), ky(e.y, t.y, n.y, r?.y);}-function jy(e, t, n, r = 0) {- let i = r ? cg(n.min, n.max, r) : n.min;- e.min = t.min - i, e.max = e.min + Dy(t);+function Ay(e, t, n, r = 0) {+ let i = r ? sg(n.min, n.max, r) : n.min;+ e.min = t.min - i, e.max = e.min + Ey(t);}-function My(e, t, n, r) {- jy(e.x, t.x, n.x, r?.x), jy(e.y, t.y, n.y, r?.y);+function jy(e, t, n, r) {+ Ay(e.x, t.x, n.x, r?.x), Ay(e.y, t.y, n.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function Ny(e, t, n, r, i) {- return e -= t, e = oy(e, 1 / n, r), i !== void 0 && (e = oy(e, 1 / i, r)), e;+function My(e, t, n, r, i) {+ return e -= t, e = ay(e, 1 / n, r), i !== void 0 && (e = ay(e, 1 / i, r)), e;}function Ine(e, t = 0, n = 1, r = .5, i, a = e, o = e) {- if (zh.test(t) && (t = parseFloat(t), t = cg(o.min, o.max, t / 100) - o.min), typeof t != "number") return;- let s = cg(a.min, a.max, r);- e === a && (s -= t), e.min = Ny(e.min, t, n, s, i), e.max = Ny(e.max, t, n, s, i);+ if (Rh.test(t) && (t = parseFloat(t), t = sg(o.min, o.max, t / 100) - o.min), typeof t != "number") return;+ let s = sg(a.min, a.max, r);+ e === a && (s -= t), e.min = My(e.min, t, n, s, i), e.max = My(e.max, t, n, s, i);}-function Py(e, t, [n, r, i], a, o) {+function Ny(e, t, [n, r, i], a, o) {Ine(e, t[n], t[r], t[i], t.scale, a, o);}var Lne = [@@ -18810,56 +18810,56 @@ var Lne = ["scaleY","originY"];-function Fy(e, t, n, r) {- Py(e.x, t, Lne, n?.x, r?.x), Py(e.y, t, Rne, n?.y, r?.y);+function Py(e, t, n, r) {+ Ny(e.x, t, Lne, n?.x, r?.x), Ny(e.y, t, Rne, n?.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/round.mjs-var Iy = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Ly = Iy("applewebkit/") && !Iy("chrome/") ? Math.round : Rm;-function Ry(e) {- e.min = Ly(e.min), e.max = Ly(e.max);+var Fy = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Iy = Fy("applewebkit/") && !Fy("chrome/") ? Math.round : Lm;+function Ly(e) {+ e.min = Iy(e.min), e.max = Iy(e.max);}function zne(e) {- Ry(e.x), Ry(e.y);+ Ly(e.x), Ly(e.y);}// node_modules/motion-dom/dist/es/projection/geometry/models.mjs-var zy = () => ({+var Ry = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0+}), zy = () => ({+ x: Ry(),+ y: Ry()}), By = () => ({- x: zy(),- y: zy()-}), Vy = () => ({min: 0,max: 0-}), Hy = () => ({- x: Vy(),- y: Vy()+}), Vy = () => ({+ x: By(),+ y: By()});// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function Uy(e) {+function Hy(e) {return e.translate === 0 && e.scale === 1;}-function Wy(e) {- return Uy(e.x) && Uy(e.y);+function Uy(e) {+ return Hy(e.x) && Hy(e.y);}-function Gy(e, t) {+function Wy(e, t) {return e.min === t.min && e.max === t.max;}function Bne(e, t) {- return Gy(e.x, t.x) && Gy(e.y, t.y);+ return Wy(e.x, t.x) && Wy(e.y, t.y);}-function Ky(e, t) {+function Gy(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function qy(e, t) {- return Ky(e.x, t.x) && Ky(e.y, t.y);+function Ky(e, t) {+ return Gy(e.x, t.x) && Gy(e.y, t.y);}-function Jy(e) {- return Dy(e.x) / Dy(e.y);+function qy(e) {+ return Ey(e.x) / Ey(e.y);}-function Yy(e, t) {+function Jy(e, t) {return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}// node_modules/motion-dom/dist/es/projection/shared/stack.mjs@@ -18868,17 +18868,17 @@ var Vne = class {this.members = [];}add(e) {- Am(this.members, e);+ km(this.members, e);for (let t = this.members.length - 1; t >= 0; t--) {let n = this.members[t];if (n === e || n === this.lead || n === this.prevLead) continue;let r = n.instance;- r && r.isConnected !== !1 || n.snapshot || (jm(this.members, n), n.unmount());+ r && r.isConnected !== !1 || n.snapshot || (Am(this.members, n), n.unmount());}e.scheduleRender();}remove(e) {- if (jm(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {+ if (Am(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {let e = this.members[this.members.length - 1];e && this.promote(e);}@@ -18911,28 +18911,28 @@ var Vne = class {}};// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function Xy(e, t) {+function Yy(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var Zy = { correct: (e, t) => {+var Xy = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {- if (W.test(e)) e = parseFloat(e);+ if (G.test(e)) e = parseFloat(e);else return e;}- return `${Xy(e, t.target.x)}% ${Xy(e, t.target.y)}%`;+ return `${Yy(e, t.target.x)}% ${Yy(e, t.target.y)}%`;} }, Hne = {- borderRadius: /* @__PURE__ */ Object.assign({}, Zy, { applyTo: /* @__PURE__ */ Av.slice() }),- borderTopLeftRadius: Zy,- borderTopRightRadius: Zy,- borderBottomLeftRadius: Zy,- borderBottomRightRadius: Zy,+ borderRadius: /* @__PURE__ */ Object.assign({}, Xy, { applyTo: /* @__PURE__ */ kv.slice() }),+ borderTopLeftRadius: Xy,+ borderTopRightRadius: Xy,+ borderBottomLeftRadius: Xy,+ borderBottomRightRadius: Xy,boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {- let r = e, i = ag.parse(e);+ let r = e, i = ig.parse(e);if (i.length > 5) return r;- let a = ag.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;+ let a = ig.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;i[0 + o] /= s, i[1 + o] /= c;- let l = cg(s, c, .5);+ let l = sg(s, c, .5);return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);} }};@@ -18942,8 +18942,8 @@ function Une(e, t, n) {if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {let { transformPerspective: e } = n;e && (r = `perspective(${e}px) ${r}`);- for (let e = 0; e < ty.length; e++) {- let t = ty[e], i = n[t];+ for (let e = 0; e < ey.length; e++) {+ let t = ey[e], i = n[t];i && (r += `${t}(${i}deg) `), !e && n.pathRotation && (r += `rotate(${n.pathRotation}deg) `);}}@@ -18951,7 +18951,7 @@ function Une(e, t, n) {return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";}// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function Qy(e) {+function Zy(e) {return [e("x"), e("y")];}// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs@@ -18960,49 +18960,49 @@ var Wne = (e, t) => e.depth - t.depth, Gne = class {this.children = [], this.isDirty = !1;}add(e) {- Am(this.children, e), this.isDirty = !0;+ km(this.children, e), this.isDirty = !0;}remove(e) {- jm(this.children, e), this.isDirty = !0;+ Am(this.children, e), this.isDirty = !0;}forEach(e) {this.isDirty && this.children.sort(Wne), this.isDirty = !1, this.children.forEach(e);}-}, $y = {+}, Qy = {hasAnimatedSinceResize: !0,hasEverUpdated: !1-}, eb = [+}, $y = ["z","skew","skewZ"], Kne = 1e3, qne = 0;-function tb(e, t, n, r) {+function eb(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var nb = (e) => e.instance && Z_.get(e.instance)?.demote() && e.resetSkewAndRotation();-function rb(e) {+var tb = (e) => e.instance && X_.get(e.instance)?.demote() && e.resetSkewAndRotation();+function nb(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = Tv(t);+ let n = wv(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;- window.MotionCancelOptimisedAnimation(n, "transform", yg, !(t || r));+ window.MotionCancelOptimisedAnimation(n, "transform", vg, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && rb(r);+ r && !r.hasCheckedOptimisedAppear && nb(r);}-function ib(e) {- if (e) return e.options.allowProjection === !1 ? ib(e.parent) : e.projection;+function rb(e) {+ if (e) return e.options.allowProjection === !1 ? rb(e.parent) : e.projection;}-function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {- return Object.assign(_y, {+function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+ return Object.assign(gy, {...Hne,- ..._y+ ...gy}), class {static create(e, t, n) {- let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : ib(e.parent));+ let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : rb(e.parent));d.setOptions({layoutId: r,layout: i,@@ -19025,13 +19025,13 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());}, this.updateProjection = () => {- this.projectionUpdateScheduled = !1, this.nodes.forEach(Xne), this.nodes.forEach(ire), this.nodes.forEach(are), this.nodes.forEach(Zne), vy.countProjection?.();+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Xne), this.nodes.forEach(ire), this.nodes.forEach(are), this.nodes.forEach(Zne), _y.countProjection?.();}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;this.root === this && (this.nodes = new Gne());}addEventListener(e, t) {- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Vm()), this.eventHandlers.get(e).add(t);+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Bm()), this.eventHandlers.get(e).add(t);}notifyListeners(e, ...t) {this.eventHandlers.get(e)?.notify(...t);@@ -19041,15 +19041,15 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}mount(t) {if (this.instance) return;- this.isSVG = Iv(t) && !Tne(t), this.instance = t;+ this.isSVG = Fv(t) && !Tne(t), this.instance = t;let { layoutId: n, layout: r, visualElement: i } = this.options;if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {let n, r = 0, i = () => this.root.updateBlockedByResize = !1;- yg.read(() => {+ vg.read(() => {r = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = Cne(i, 250), $y.hasAnimatedSinceResize && ($y.hasAnimatedSinceResize = !1, this.nodes.forEach(cb)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = Cne(i, 250), Qy.hasAnimatedSinceResize && (Qy.hasAnimatedSinceResize = !1, this.nodes.forEach(sb)));});}n && this.root.registerSharedNode(n, this), this.addLayoutListener();@@ -19061,21 +19061,21 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || n.getDefaultTransition() || lre, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !qy(this.targetLayout, i), l = !t && r;+ let a = this.options.transition || n.getDefaultTransition() || lre, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Ky(this.targetLayout, i), l = !t && r;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ...hv(a, "layout"),+ ...mv(a, "layout"),onPlay: o,onComplete: s};(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || cb(this), this.isLead() && this.options.onExitComplete?.();+ } else t || sb(this), this.isLead() && this.options.onExitComplete?.();this.targetLayout = i;}));}unmount() {- this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), this.getStack()?.remove(this), this.parent?.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, bg(this.updateProjection);+ this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), this.getStack()?.remove(this), this.parent?.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, yg(this.updateProjection);}blockUpdate() {this.updateManuallyBlocked = !0;@@ -19098,11 +19098,11 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete?.();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && rb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- nb(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && nb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ tb(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, nb(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);+ t.shouldResetTransform = !0, tb(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -19112,39 +19112,39 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkupdate() {if (this.updateScheduled = !1, this.isUpdateBlocked()) {let e = this.updateBlockedByResize;- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach($ne), this.nodes.forEach(ob);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach($ne), this.nodes.forEach(ab);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(sb);+ this.nodes.forEach(ob);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(tre), this.nodes.forEach(nre), this.nodes.forEach(rre), this.nodes.forEach(Jne), this.nodes.forEach(Yne)) : this.nodes.forEach(sb), this.clearAllSnapshots();- let e = hh.now();- fh.delta = Mm(0, 1e3 / 60, e - fh.timestamp), fh.timestamp = e, fh.isProcessing = !0, xg.update.process(fh), xg.preRender.process(fh), xg.render.process(fh), fh.isProcessing = !1;+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(tre), this.nodes.forEach(nre), this.nodes.forEach(rre), this.nodes.forEach(Jne), this.nodes.forEach(Yne)) : this.nodes.forEach(ob), this.clearAllSnapshots();+ let e = mh.now();+ dh.delta = jm(0, 1e3 / 60, e - dh.timestamp), dh.timestamp = e, dh.isProcessing = !0, bg.update.process(dh), bg.preRender.process(dh), bg.render.process(dh), dh.isProcessing = !1;}didUpdate() {- this.updateScheduled || (this.updateScheduled = !0, hy.read(this.scheduleUpdate));+ this.updateScheduled || (this.updateScheduled = !0, my.read(this.scheduleUpdate));}clearAllSnapshots() {this.nodes.forEach(Qne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));}scheduleUpdateProjection() {- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, yg.preRender(this.updateProjection, !1, !0));+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, vg.preRender(this.updateProjection, !1, !0));}scheduleCheckAfterUnmount() {- yg.postRender(() => {+ vg.postRender(() => {this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});}updateSnapshot() {- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Dy(this.snapshot.measuredBox.x) && !Dy(this.snapshot.measuredBox.y) && (this.snapshot = void 0));+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Ey(this.snapshot.measuredBox.x) && !Ey(this.snapshot.measuredBox.y) && (this.snapshot = void 0));}updateLayout() {if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();let e = this.layout;- this.layout = this.measure(!1), this.layoutCorrected ||= Hy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= Vy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);let { visualElement: t } = this.options;t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);}@@ -19164,9 +19164,9 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && nb(this);- let t = this.projectionDelta && !Wy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;- e && this.instance && (t || ny(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());+ e && tb(this);+ let t = this.projectionDelta && !Uy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && this.instance && (t || ty(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);@@ -19180,42 +19180,42 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return Hy();+ if (!e) return Vy();let t = e.measureViewportBox();if (!(this.scroll?.wasRoot || this.path.some(ure))) {let { scroll: e } = this.root;- e && (fy(t.x, e.offset.x), fy(t.y, e.offset.y));+ e && (dy(t.x, e.offset.x), dy(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = Hy();- if (Ty(t, e), this.scroll?.wasRoot) return t;+ let t = Vy();+ if (wy(t, e), this.scroll?.wasRoot) return t;for (let n = 0; n < this.path.length; n++) {let r = this.path[n], { scroll: i, options: a } = r;- r !== this.root && i && a.layoutScroll && (i.wasRoot && Ty(t, e), fy(t.x, i.offset.x), fy(t.y, i.offset.y));+ r !== this.root && i && a.layoutScroll && (i.wasRoot && wy(t, e), dy(t.x, i.offset.x), dy(t.y, i.offset.y));}return t;}applyTransform(e, t = !1, n, r, i = 0) {- let a = n || Hy();- Ty(a, e);+ let a = n || Vy();+ wy(a, e);for (let e = i; e < this.path.length; e++) {let n = this.path[e];- !t && n.options.layoutScroll && n.scroll && n !== n.root && (fy(a.x, -n.scroll.offset.x), fy(a.y, -n.scroll.offset.y)), ny(n.latestValues) && py(a, n.latestValues, n.layout?.layoutBox);+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (dy(a.x, -n.scroll.offset.x), dy(a.y, -n.scroll.offset.y)), ty(n.latestValues) && fy(a, n.latestValues, n.layout?.layoutBox);}- return !r && ny(this.latestValues) && py(a, this.latestValues, this.layout?.layoutBox), a;+ return !r && ty(this.latestValues) && fy(a, this.latestValues, this.layout?.layoutBox), a;}removeTransform(e) {- let t = Hy();- Ty(t, e);+ let t = Vy();+ wy(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- if (!ny(n.latestValues)) continue;+ if (!ty(n.latestValues)) continue;let r;- n.instance && (ey(n.latestValues) && n.updateSnapshot(), r = Hy(), Ty(r, n.measurePageBox())), Fy(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && ($v(n.latestValues) && n.updateSnapshot(), r = Vy(), wy(r, n.measurePageBox())), Py(t, n.latestValues, n.snapshot?.layoutBox, r);}- return ny(this.latestValues) && Fy(t, this.latestValues), t;+ return ty(this.latestValues) && Py(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -19231,7 +19231,7 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;}forceRelativeParentToResolveTarget() {- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== fh.timestamp && this.relativeParent.resolveTargetDelta(!0);+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== dh.timestamp && this.relativeParent.resolveTargetDelta(!0);}resolveTargetDelta(e = !1) {let t = this.getLead();@@ -19240,32 +19240,32 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;let { layout: r, layoutId: i } = this.options;if (!this.layout || !(r || i)) return;- this.resolvedRelativeTargetAt = fh.timestamp;+ this.resolvedRelativeTargetAt = dh.timestamp;let a = this.getClosestProjectingParent();- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Hy(), this.targetWithTransforms = Hy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Fne(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Ty(this.target, this.layout.layoutBox), ly(this.target, this.targetDelta)) : Ty(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), vy.countProjection?.(1));+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Vy(), this.targetWithTransforms = Vy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Fne(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : wy(this.target, this.layout.layoutBox), cy(this.target, this.targetDelta)) : wy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), _y.countProjection?.(1));}getClosestProjectingParent() {- if (!(!this.parent || ey(this.parent.latestValues) || iy(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();+ if (!(!this.parent || $v(this.parent.latestValues) || ry(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();}isProjecting() {return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Hy(), this.relativeTargetOrigin = Hy(), My(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Ty(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Vy(), this.relativeTargetOrigin = Vy(), jy(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), wy(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;}calcProjection() {let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === fh.timestamp && (n = !1), n) return;+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === dh.timestamp && (n = !1), n) return;let { layout: r, layoutId: i } = this.options;if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;- Ty(this.layoutCorrected, this.layout.layoutBox);+ wy(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- fne(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Hy());+ fne(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Vy());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Ey(this.prevProjectionDelta.x, this.projectionDelta.x), Ey(this.prevProjectionDelta.y, this.projectionDelta.y)), ky(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Yy(this.projectionDelta.x, this.prevProjectionDelta.x) && Yy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), vy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Ty(this.prevProjectionDelta.x, this.projectionDelta.x), Ty(this.prevProjectionDelta.y, this.projectionDelta.y)), Oy(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Jy(this.projectionDelta.x, this.prevProjectionDelta.x) && Jy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), _y.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -19277,22 +19277,22 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = By(), this.projectionDelta = By(), this.projectionDeltaWithTransform = By();+ this.prevProjectionDelta = zy(), this.projectionDelta = zy(), this.projectionDeltaWithTransform = zy();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = By();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = zy();this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = Hy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(cre));+ let s = Vy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(cre));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- lb(o.x, e.x, n), lb(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (My(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), sre(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Bne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Hy(), Ty(f, this.relativeTarget)), c && (this.animationValues = a, Dne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ cb(o.x, e.x, n), cb(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (jy(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), sre(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Bne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Vy(), wy(f, this.relativeTarget)), c && (this.animationValues = a, Dne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (bg(this.pendingAnimation), void 0), this.pendingAnimation = yg.update(() => {- $y.hasAnimatedSinceResize = !0, this.motionValue ||= pv(0), this.motionValue.jump(0, !1), this.currentAnimation = gy(this.motionValue, [0, 1e3], {+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (yg(this.pendingAnimation), void 0), this.pendingAnimation = vg.update(() => {+ Qy.hasAnimatedSinceResize = !0, this.motionValue ||= fv(0), this.motionValue.jump(0, !1), this.currentAnimation = hy(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -19316,11 +19316,11 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkapplyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;if (t && i && n) {- if (this !== e && this.layout && n && fb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ if (this !== e && this.layout && n && db(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {let { layoutBox: e } = this.layout, t = i;- i = this.target || Hy(), db(i.x, t.x, e.x), db(i.y, t.y, e.y);+ i = this.target || Vy(), ub(i.x, t.x, e.x), ub(i.y, t.y, e.y);}- Ty(t, i), py(t, r), ky(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ wy(t, i), fy(t, r), Oy(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {@@ -19357,10 +19357,10 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet { visualElement: e } = this.options;if (!e) return;let { latestValues: t } = e;- if (!ry(t)) return;+ if (!ny(t)) return;let n = {};- for (let t = 0; t < eb.length; t++) tb(eb[t], e, n, this.animationValues);- for (let t = 0; t < ty.length; t++) tb(ty[t], e, n, this.animationValues);+ for (let t = 0; t < $y.length; t++) eb($y[t], e, n, this.animationValues);+ for (let t = 0; t < ey.length; t++) eb(ey[t], e, n, this.animationValues);e.render();for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);e.scheduleRender();@@ -19374,11 +19374,11 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}let r = this.getTransformTemplate();if (this.needsReset) {- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = yy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = vy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";return;}if (!this.projectionDelta || !this.layout || !n.target) {- (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = yy(t?.pointerEvents) || ""), this.hasProjected && !ny(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = vy(t?.pointerEvents) || ""), this.hasProjected && !ty(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);return;}e.visibility = "";@@ -19388,21 +19388,21 @@ function ab({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkr && (a = r(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;- for (let t in _y) {+ for (let t in gy) {if (i[t] === void 0) continue;- let { correct: r, applyTo: o, isCSSVariable: s } = _y[t], c = a === "none" ? i[t] : r(i[t], n);+ let { correct: r, applyTo: o, isCSSVariable: s } = gy[t], c = a === "none" ? i[t] : r(i[t], n);if (o) {let t = o.length;for (let n = 0; n < t; n++) e[o[n]] = c;} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;}- this.options.layoutId && (e.pointerEvents = n === this ? yy(t?.pointerEvents) || "" : "none");+ this.options.layoutId && (e.pointerEvents = n === this ? vy(t?.pointerEvents) || "" : "none");}clearSnapshot() {this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ob), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ab), this.root.sharedNodes.clear();}};}@@ -19413,31 +19413,31 @@ function Yne(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {- if (i === "size") Qy((e) => {- let t = Dy(r[e]);+ if (i === "size") Zy((e) => {+ let t = Ey(r[e]);r[e].min = a[e].min, r[e].max = r[e].min + t;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";- wy(r[e], a[e]);- } else fb(i, t.layoutBox, n) && Qy((t) => {- let n = Dy(a[t]);+ Cy(r[e], a[e]);+ } else db(i, t.layoutBox, n) && Zy((t) => {+ let n = Ey(a[t]);r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);});}, s = a ? t.measuredBox : t.layoutBox;o(s, n);- let c = By();- ky(c, n, t.layoutBox);- let l = By();- ky(l, a ? e.applyTransform(r, !0) : n, s);- let u = !Wy(c), d = !1, f = e.getClosestProjectingParent();+ let c = zy();+ Oy(c, n, t.layoutBox);+ let l = zy();+ Oy(l, a ? e.applyTransform(r, !0) : n, s);+ let u = !Uy(c), d = !1, f = e.getClosestProjectingParent();if ((!a || f?.options.layoutRoot && e.resumeFrom?.path.includes(f)) && f && !f.resumeFrom) {let { snapshot: r, layout: i } = f;if (r && i) {- let s = e.options.layoutAnchor || void 0, c = Hy();- My(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);- let l = Hy();- My(l, n, i.layoutBox, s), a && o(c, l), qy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);+ let s = e.options.layoutAnchor || void 0, c = Vy();+ jy(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);+ let l = Vy();+ jy(l, n, i.layoutBox, s), a && o(c, l), Ky(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);}}e.notifyListeners("didUpdate", {@@ -19452,7 +19452,7 @@ function Yne(e) {e.options.transition = void 0;}function Xne(e) {- vy.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);+ _y.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}function Zne(e) {e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;@@ -19460,20 +19460,20 @@ function Zne(e) {function Qne(e) {e.clearSnapshot();}-function ob(e) {+function ab(e) {e.clearMeasurements();}function $ne(e) {e.isLayoutDirty = !0, e.updateLayout();}-function sb(e) {+function ob(e) {e.isLayoutDirty = !1;}function ere(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- Qy((e) => fy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ Zy((e) => dy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}function tre(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);@@ -19485,7 +19485,7 @@ function rre(e) {let { visualElement: t } = e.options;t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function cb(e) {+function sb(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}function ire(e) {@@ -19497,14 +19497,14 @@ function are(e) {function ore(e) {e.resetSkewAndRotation();}-function lb(e, t, n) {- e.translate = cg(t.translate, 0, n), e.scale = cg(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;+function cb(e, t, n) {+ e.translate = sg(t.translate, 0, n), e.scale = sg(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function ub(e, t, n, r) {- e.min = cg(t.min, n.min, r), e.max = cg(t.max, n.max, r);+function lb(e, t, n, r) {+ e.min = sg(t.min, n.min, r), e.max = sg(t.max, n.max, r);}function sre(e, t, n, r) {- ub(e.x, t.x, n.x, r), ub(e.y, t.y, n.y, r);+ lb(e.x, t.x, n.x, r), lb(e.y, t.y, n.y, r);}function cre(e) {return e.animationValues?.opacityExit !== void 0;@@ -19518,51 +19518,51 @@ var lre = {1]};-function db(e, t, n) {- e.max = Dy(n) + (e.min = t.min);+function ub(e, t, n) {+ e.max = Ey(n) + (e.min = t.min);}-function fb(e, t, n) {- return e === "position" || e === "preserve-aspect" && !Pne(Jy(t), Jy(n), .2);+function db(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !Pne(qy(t), qy(n), .2);}function ure(e) {return e !== e.root && e.scroll?.wasRoot;}// node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function pb(e, t, n, r = { passive: !0 }) {+function fb(e, t, n, r = { passive: !0 }) {return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);}// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var dre = /* @__PURE__ */ ab({- attachResizeListener: (e, t) => pb(e, "resize", t),+var dre = /* @__PURE__ */ ib({+ attachResizeListener: (e, t) => fb(e, "resize", t),measureScroll: gne,checkIsScrollRoot: () => !0-}), mb = { current: void 0 }, hb = /* @__PURE__ */ ab({+}), pb = { current: void 0 }, mb = /* @__PURE__ */ ib({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!mb.current) {+ if (!pb.current) {let e = new dre({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), mb.current = e;+ e.mount(window), e.setOptions({ layoutScroll: !0 }), pb.current = e;}- return mb.current;+ return pb.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), gb = /* @__PURE__ */ new WeakMap();+}), hb = /* @__PURE__ */ new WeakMap();// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function _b(e) {+function gb(e) {return typeof e == "object" && !!e && typeof e.start == "function";}// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function vb(e) {+function _b(e) {return typeof e == "string" || Array.isArray(e);}// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var yb = [+var vb = ["animate","whileInView","whileFocus",@@ -19570,29 +19570,29 @@ var yb = ["whileTap","whileDrag","exit"-], bb = /* @__PURE__ */ ["initial"].concat(yb);+], yb = /* @__PURE__ */ ["initial"].concat(vb);// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function xb(e) {- if (_b(e.animate)) return !0;- for (let t = 0; t < bb.length; t++) if (vb(e[bb[t]])) return !0;+function bb(e) {+ if (gb(e.animate)) return !0;+ for (let t = 0; t < yb.length; t++) if (_b(e[yb[t]])) return !0;return !1;}-function Sb(e) {- return !!(xb(e) || e.variants);+function xb(e) {+ return !!(bb(e) || e.variants);}// node_modules/motion-dom/dist/es/render/utils/motion-values.mjsfunction fre(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (Sv(i)) e.addValue(r, i);- else if (Sv(a)) e.addValue(r, pv(i, { owner: e }));+ if (xv(i)) e.addValue(r, i);+ else if (xv(a)) e.addValue(r, fv(i, { owner: e }));else if (a !== i) {if (e.hasValue(r)) {let t = e.getValue(r);t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);} else {let t = e.getStaticValue(r);- e.addValue(r, pv(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, fv(t === void 0 ? i : t, { owner: e }));}}}@@ -19600,17 +19600,17 @@ function fre(e, t, n) {return t;}// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var Cb = { current: null }, wb = { current: !1 }, pre = typeof window < "u";-function Tb() {- if (wb.current = !0, pre) {+var Sb = { current: null }, Cb = { current: !1 }, pre = typeof window < "u";+function wb() {+ if (Cb.current = !0, pre) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Cb.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Sb.current = e.matches;e.addEventListener("change", t), t();- } else Cb.current = !1;+ } else Sb.current = !1;}}// node_modules/motion-dom/dist/es/render/VisualElement.mjs-var Eb = [+var Tb = ["AnimationStart","AnimationComplete","Update",@@ -19618,36 +19618,36 @@ var Eb = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], Db = {};-function Ob(e) {- Db = e;+], Eb = {};+function Db(e) {+ Eb = e;}function mre() {- return Db;+ return Eb;}var hre = class {scrapeMotionValuesFromProps(e, t, n) {return {};}constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = A_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = k_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));}, this.renderScheduledAt = 0, this.scheduleRender = () => {- let e = hh.now();- this.renderScheduledAt < e && (this.renderScheduledAt = e, yg.render(this.render, !1, !0));+ let e = mh.now();+ this.renderScheduledAt < e && (this.renderScheduledAt = e, vg.render(this.render, !1, !0));};let { latestValues: c, renderState: l } = o;- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = xb(t), this.isVariantNode = Sb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = bb(t), this.isVariantNode = xb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);for (let e in d) {let t = d[e];- c[e] !== void 0 && Sv(t) && t.set(c[e]);+ c[e] !== void 0 && xv(t) && t.set(c[e]);}}mount(e) {let t = this.presenceContext;if (this.hasBeenMounted && t?.isPresent !== !1 && !t?.keepValuesOnRemount) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];- if (this.current = e, gb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, hb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {let e = this;doe = e.props.inherit !== !1 && e.parent;@@ -19657,10 +19657,10 @@ var hre = class {t.add(this), this.removeFromVariantTree = () => t.delete(this);}}- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (wb.current || Tb(), this.shouldReduceMotion = Cb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Cb.current || wb(), this.shouldReduceMotion = Sb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {- this.projection?.unmount(), bg(this.notifyUpdate), bg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);+ this.projection?.unmount(), yg(this.notifyUpdate), yg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);for (let e in this.events) this.events[e].clear();for (let e in this.features) {let t = this.features[e];@@ -19675,24 +19675,24 @@ var hre = class {this.children.delete(e), this.enteringChildren?.delete(e);}bindToMotionValue(e, t) {- if (this.valueSubscriptions.get(e)?.(), t.accelerate && U_.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new z_({+ if (this.valueSubscriptions.get(e)?.(), t.accelerate && H_.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new R_({element: this.current,name: e,keyframes: r,times: i,ease: a,- duration: /* @__PURE__ */ Hm(o)+ duration: /* @__PURE__ */ Vm(o)}), c = n(s);this.valueSubscriptions.set(e, () => {c(), s.cancel();});return;}- let n = v_.has(e);+ let n = __.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && yg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), Z_.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && vg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), X_.get(this.current)?.check()), this.scheduleRender();}), i;typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {r(), i?.();@@ -19703,8 +19703,8 @@ var hre = class {}updateFeatures() {let e = "animation";- for (e in Db) {- let t = Db[e];+ for (e in Eb) {+ let t = Eb[e];if (!t) continue;let { isEnabled: n, Feature: r } = t;if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {@@ -19717,7 +19717,7 @@ var hre = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Hy();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Vy();}getStaticValue(e) {return this.latestValues[e];@@ -19727,9 +19727,9 @@ var hre = class {}update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Z_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;- for (let t = 0; t < Eb.length; t++) {- let n = Eb[t];+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && X_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ for (let t = 0; t < Tb.length; t++) {+ let n = Tb[t];this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));@@ -19764,27 +19764,27 @@ var hre = class {}getValue(e, t) {let n = this.props.values?.[e];- return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = pv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);+ return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = fv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);}readValue(e, t) {let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);- return n != null && (typeof n == "string" && (Pm(n) || Im(n)) ? n = parseFloat(n) : typeof n != "number" && !ag.test(n) && ag.test(t) && (n = o_(e, t)), this.setBaseTarget(e, Sv(n) ? n.get() : n)), Sv(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (Nm(n) || Fm(n)) ? n = parseFloat(n) : typeof n != "number" && !ig.test(n) && ig.test(t) && (n = a_(e, t)), this.setBaseTarget(e, xv(n) ? n.get() : n)), xv(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;}on(e, t) {- return (this.events[e] || (this.events[e] = new Vm())).add(t);+ return (this.events[e] || (this.events[e] = new Bm())).add(t);}notify(e, ...t) {this.events[e]?.notify(...t);}scheduleRenderMicrotask() {- hy.render(this.render);+ my.render(this.render);}-}, kb = class extends hre {+}, Ob = class extends hre {constructor() {- super(...arguments), this.KeyframeResolver = kv;+ super(...arguments), this.KeyframeResolver = Ov;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -19799,72 +19799,72 @@ var hre = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- Sv(e) && (this.childSubscription = e.on("change", (e) => {+ xv(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}};// node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function Ab(e, { style: t, vars: n }, r, i) {+function kb(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function jb(e, { layout: t, layoutId: n }) {- return v_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!_y[e] || e === "opacity");+function Ab(e, { layout: t, layoutId: n }) {+ return __.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!gy[e] || e === "opacity");}// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function Mb(e, t, n) {+function jb(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (Sv(r[t]) || i && Sv(i[t]) || jb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (xv(r[t]) || i && xv(i[t]) || Ab(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjsfunction gre(e) {return window.getComputedStyle(e);}-var _re = class extends kb {+var _re = class extends Ob {constructor() {- super(...arguments), this.type = "html", this.renderInstance = Ab;+ super(...arguments), this.type = "html", this.renderInstance = kb;}mount(e) {super.mount(e);}readValueFromInstance(e, t) {- if (v_.has(t)) return this.projection?.isProjecting ? m_(t) : g_(e, t);+ if (__.has(t)) return this.projection?.isProjecting ? p_(t) : h_(e, t);{- let n = gre(e), r = (vh(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = gre(e), r = (_h(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}measureInstanceViewportBox(e, { transformPagePoint: t }) {- return my(e, t);+ return py(e, t);}build(e, t, n) {- qv(e, t, n.transformTemplate);+ Kv(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return Mb(e, t, n);+ return jb(e, t, n);}-}, Nb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;+}, Mb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;// node_modules/motion-dom/dist/es/events/event-info.mjs-function Pb(e) {+function Nb(e) {return { point: {x: e.pageX,y: e.pageY} };}-var vre = (e) => (t) => Nb(t) && e(t, Pb(t));+var vre = (e) => (t) => Mb(t) && e(t, Nb(t));// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs-function Fb(e, t, n, r) {- return pb(e, t, vre(n), r);+function Pb(e, t, n, r) {+ return fb(e, t, vre(n), r);}// node_modules/motion-dom/dist/es/resize/handle-element.mjs-var Ib = /* @__PURE__ */ new WeakMap(), Lb, Rb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Iv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], yre = /*@__PURE__*/ Rb("inline", "width", "offsetWidth"), bre = /*@__PURE__*/ Rb("block", "height", "offsetHeight");+var Fb = /* @__PURE__ */ new WeakMap(), Ib, Lb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Fv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], yre = /*@__PURE__*/ Lb("inline", "width", "offsetWidth"), bre = /*@__PURE__*/ Lb("block", "height", "offsetHeight");function xre({ target: e, borderBoxSize: t }) {- Ib.get(e)?.forEach((n) => {+ Fb.get(e)?.forEach((n) => {n(e, {get width() {return yre(e, t);@@ -19879,25 +19879,25 @@ function Sre(e) {e.forEach(xre);}function Cre() {- typeof ResizeObserver < "u" && (Lb = new ResizeObserver(Sre));+ typeof ResizeObserver < "u" && (Ib = new ResizeObserver(Sre));}function wre(e, t) {- Lb || Cre();- let n = Bv(e);+ Ib || Cre();+ let n = zv(e);return n.forEach((e) => {- let n = Ib.get(e);- n || (n = /* @__PURE__ */ new Set(), Ib.set(e, n)), n.add(t), Lb?.observe(e);+ let n = Fb.get(e);+ n || (n = /* @__PURE__ */ new Set(), Fb.set(e, n)), n.add(t), Ib?.observe(e);}), () => {n.forEach((e) => {- let n = Ib.get(e);- n?.delete(t), n?.size || Lb?.unobserve(e);+ let n = Fb.get(e);+ n?.delete(t), n?.size || Ib?.unobserve(e);});};}// node_modules/motion-dom/dist/es/resize/handle-window.mjs-var zb = /* @__PURE__ */ new Set(), Bb;+var Rb = /* @__PURE__ */ new Set(), zb;function Tre() {- Bb = () => {+ zb = () => {let e = {get width() {return window.innerWidth;@@ -19906,26 +19906,26 @@ function Tre() {return window.innerHeight;}};- zb.forEach((t) => t(e));- }, window.addEventListener("resize", Bb);+ Rb.forEach((t) => t(e));+ }, window.addEventListener("resize", zb);}function Ere(e) {- return zb.add(e), Bb || Tre(), () => {- zb.delete(e), !zb.size && typeof Bb == "function" && (window.removeEventListener("resize", Bb), Bb = void 0);+ return Rb.add(e), zb || Tre(), () => {+ Rb.delete(e), !Rb.size && typeof zb == "function" && (window.removeEventListener("resize", zb), zb = void 0);};}// node_modules/motion-dom/dist/es/resize/index.mjs-function Vb(e, t) {- return Rv(typeof e == "function" ? Ere(e) : wre(e, t));+function Bb(e, t) {+ return Lv(typeof e == "function" ? Ere(e) : wre(e, t));}// node_modules/motion-dom/dist/es/utils/distance.mjs-var Hb = (e, t) => Math.abs(e - t);+var Vb = (e, t) => Math.abs(e - t);function Dre(e, t) {- let n = Hb(e.x, t.x), r = Hb(e.y, t.y);+ let n = Vb(e.x, t.x), r = Vb(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs-var Ub = /*#__PURE__*/ new Set(["auto", "scroll"]), Wb = class {+var Hb = /*#__PURE__*/ new Set(["auto", "scroll"]), Ub = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {this.handleScroll(e.target);@@ -19933,8 +19933,8 @@ var Ub = /*#__PURE__*/ new Set(["auto", "scroll"]), Wb = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Kb(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = Jb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Dre(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Gb(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = qb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Dre(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19942,84 +19942,84 @@ var Ub = /*#__PURE__*/ new Set(["auto", "scroll"]), Wb = class {let { point: r } = e;this.history.push({...r,- timestamp: hh.now()+ timestamp: mh.now()});let { onStart: i, onMove: a } = this.handlers;t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Kb(t, this.transformPagePoint), this.hasPendingMove = !0, yg.update(this.updatePoint, !0);+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Gb(t, this.transformPagePoint), this.hasPendingMove = !0, vg.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = Jb(e.type === "pointercancel" ? this.lastMoveEventInfo : Kb(t, this.transformPagePoint), this.history);+ let a = qb(e.type === "pointercancel" ? this.lastMoveEventInfo : Gb(t, this.transformPagePoint), this.history);this.startEvent && n?.(e, a), r?.(e, a);- }, !Nb(e)) return;+ }, !Mb(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = Kb(Pb(e), this.transformPagePoint), { point: c } = s;+ let s = Gb(Nb(e), this.transformPagePoint), { point: c } = s;this.history = [{...c,- timestamp: hh.now()+ timestamp: mh.now()}];let { onSessionStart: l } = t;- l && l(e, Jb(s, this.history));+ l && l(e, qb(s, this.history));let u = {passive: !0,capture: !0};- this.removeListeners = zm(Fb(this.contextWindow, "pointermove", this.handlePointerMove, u), Fb(this.contextWindow, "pointerup", this.handlePointerUp, u), Fb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);+ this.removeListeners = Rm(Pb(this.contextWindow, "pointermove", this.handlePointerMove, u), Pb(this.contextWindow, "pointerup", this.handlePointerUp, u), Pb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (Ub.has(e.overflowX) || Ub.has(e.overflowY)) && this.scrollPositions.set(t, Gb(t)), t = t.parentElement;+ (Hb.has(e.overflowX) || Hb.has(e.overflowY)) && this.scrollPositions.set(t, Wb(t)), t = t.parentElement;}- this.scrollPositions.set(window, Gb(window)), this.removeScrollListeners = zm(pb(window, "scroll", this.onElementScroll, { capture: !0 }), pb(window, "scroll", this.onWindowScroll, {}));+ this.scrollPositions.set(window, Wb(window)), this.removeScrollListeners = Rm(fb(window, "scroll", this.onElementScroll, { capture: !0 }), fb(window, "scroll", this.onWindowScroll, {}));}handleScroll(e) {let t = this.scrollPositions.get(e);if (!t) return;- let n = e === window, r = Gb(e), i = {+ let n = e === window, r = Wb(e), i = {x: r.x - t.x,y: r.y - t.y};- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), yg.update(this.updatePoint, !0));+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), vg.update(this.updatePoint, !0));}updateHandlers(e) {this.handlers = e;}end() {- this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), bg(this.updatePoint);+ this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), yg(this.updatePoint);}-}, Gb = (e) => e === window ? {+}, Wb = (e) => e === window ? {x: window.scrollX,y: window.scrollY} : {x: e.scrollLeft,y: e.scrollTop};-function Kb(e, t) {+function Gb(e, t) {return t ? { point: t(e.point) } : e;}-function qb(e, t) {+function Kb(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function Jb({ point: e }, t) {+function qb({ point: e }, t) {return {point: e,- delta: qb(e, Yb(t)),- offset: qb(e, Ore(t)),+ delta: Kb(e, Jb(t)),+ offset: Kb(e, Ore(t)),velocity: kre(t, .1)};}function Ore(e) {return e[0];}-function Yb(e) {+function Jb(e) {return e[e.length - 1];}function kre(e, t) {@@ -20027,14 +20027,14 @@ function kre(e, t) {x: 0,y: 0};- let n = e.length - 1, r = null, i = Yb(e);- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Hm(t)));) n--;+ let n = e.length - 1, r = null, i = Jb(e);+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Vm(t)));) n--;if (!r) return {x: 0,y: 0};- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Hm(t) * 2 && (r = e[1]);- let a = /* @__PURE__ */ Um(i.timestamp - r.timestamp);+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Vm(t) * 2 && (r = e[1]);+ let a = /* @__PURE__ */ Hm(i.timestamp - r.timestamp);if (a === 0) return {x: 0,y: 0@@ -20065,26 +20065,26 @@ function Nre(e) {return Mre.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs-var Xb = {+var Yb = {x: !1,y: !1};-function Zb() {- return Xb.x || Xb.y;+function Xb() {+ return Yb.x || Yb.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjsfunction Pre(e) {- return e === "x" || e === "y" ? Xb[e] ? null : (Xb[e] = !0, () => {- Xb[e] = !1;- }) : Xb.x || Xb.y ? null : (Xb.x = Xb.y = !0, () => {- Xb.x = Xb.y = !1;+ return e === "x" || e === "y" ? Yb[e] ? null : (Yb[e] = !0, () => {+ Yb[e] = !1;+ }) : Yb.x || Yb.y ? null : (Yb.x = Yb.y = !0, () => {+ Yb.x = Yb.y = !1;});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjsfunction Fre(e, { min: t, max: n }, r) {- return t !== void 0 && e < t ? e = r ? cg(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? cg(n, e, r.max) : Math.min(e, n)), e;+ return t !== void 0 && e < t ? e = r ? sg(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? sg(n, e, r.max) : Math.min(e, n)), e;}-function Qb(e, t, n) {+function Zb(e, t, n) {return {min: t === void 0 ? void 0 : e.min + t,max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)@@ -20092,11 +20092,11 @@ function Qb(e, t, n) {}function Ire(e, { top: t, left: n, bottom: r, right: i }) {return {- x: Qb(e.x, n, i),- y: Qb(e.y, t, r)+ x: Zb(e.x, n, i),+ y: Zb(e.y, t, r)};}-function $b(e, t) {+function Qb(e, t) {let n = t.min - e.min, r = t.max - e.max;return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {min: n,@@ -20105,36 +20105,36 @@ function $b(e, t) {}function Lre(e, t) {return {- x: $b(e.x, t.x),- y: $b(e.y, t.y)+ x: Qb(e.x, t.x),+ y: Qb(e.y, t.y)};}function Rre(e, t) {- let n = .5, r = Dy(e), i = Dy(t);- return i > r ? n = /* @__PURE__ */ Bm(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Bm(e.min, e.max - i, t.min)), Mm(0, 1, n);+ let n = .5, r = Ey(e), i = Ey(t);+ return i > r ? n = /* @__PURE__ */ zm(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ zm(e.min, e.max - i, t.min)), jm(0, 1, n);}function zre(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 ex = .35;-function Bre(e = ex) {- return e === !1 ? e = 0 : e === !0 && (e = ex), {- x: tx(e, "left", "right"),- y: tx(e, "top", "bottom")+var $b = .35;+function Bre(e = $b) {+ return e === !1 ? e = 0 : e === !0 && (e = $b), {+ x: ex(e, "left", "right"),+ y: ex(e, "top", "bottom")};}-function tx(e, t, n) {+function ex(e, t, n) {return {- min: nx(e, t),- max: nx(e, n)+ min: tx(e, t),+ max: tx(e, n)};}-function nx(e, t) {+function tx(e, t) {return typeof e == "number" ? e : e[t] || 0;}// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs-function rx(e) {+function nx(e) {let t = "";for (let n of e.path) {n.scroll = void 0, n.updateScroll();@@ -20148,7 +20148,7 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Hy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Vy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {if (this.visualElement.presenceContext?.isPresent === !1) return;@@ -20159,15 +20159,15 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {if (n && !i && (this.openDragLock?.(), this.openDragLock = Pre(n), !this.openDragLock)) return;this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();let { projection: o } = this.visualElement;- o && (o.isAnimationBlocked = !0, o.target = void 0), Qy((e) => {+ o && (o.isAnimationBlocked = !0, o.target = void 0), Zy((e) => {let t = this.getAxisMotionValue(e).get() || 0;- if (bh(t) && (t = _v(t, this.visualElement.current) || 0), W.test(t)) t = parseFloat(t);- else if (zh.test(t)) {+ if (yh(t) && (t = gv(t, this.visualElement.current) || 0), G.test(t)) t = parseFloat(t);+ else if (Rh.test(t)) {let n = o?.layout?.layoutBox[e];- n && (t = Dy(n) * (parseFloat(t) / 100));+ n && (t = Ey(n) * (parseFloat(t) / 100));}this.originPoint[e] = t;- }), this.point = typeof r == "function" && r(this), a && yg.update(() => a(e, t), !1, !0), Cv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);+ }), this.point = typeof r == "function" && r(this), a && vg.update(() => a(e, t), !1, !0), Sv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);}, a = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t;let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();@@ -20177,7 +20177,7 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {if (this.currentDirection = Wre(o), this.currentDirection === null) return;i && i(this.currentDirection);}- this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && yg.update(() => a(e, t), !1, !0);+ this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && vg.update(() => a(e, t), !1, !0);}, o = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;}, s = () => {@@ -20187,7 +20187,7 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {y: 0});}, { dragSnapToOrigin: c } = this.getProps();- this.panSession = new Wb(e, {+ this.panSession = new Ub(e, {onSessionStart: r,onStart: i,onMove: a,@@ -20207,7 +20207,7 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {let { velocity: o } = i;this.startAnimation(o, n);let { onDragEnd: s } = this.getProps();- s && yg.postRender(() => s(r, i));+ s && vg.postRender(() => s(r, i));}cancel() {this.isDragging = !1;@@ -20219,26 +20219,26 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {}updateAxis(e, t) {let { drag: n } = this.readProps();- if (!t || !sx(e, n, this.currentDirection)) return;+ if (!t || !ox(e, n, this.currentDirection)) return;let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];a && (i = Fre(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;- ix(e) ? this.constraints && this.scroll === rx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Ire(r.layoutBox, e) : !1, this.elastic = Bre(t), i !== this.constraints && !ix(e) && r && this.constraints && !this.hasMutatedConstraints && Qy((e) => {+ rx(e) ? this.constraints && this.scroll === nx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Ire(r.layoutBox, e) : !1, this.elastic = Bre(t), i !== this.constraints && !rx(e) && r && this.constraints && !this.hasMutatedConstraints && Zy((e) => {this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = zre(r.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!ix(e)) return !1;- let n = ax(e), { projection: r } = this.visualElement;+ if (!rx(e)) return !1;+ let n = ix(e), { projection: r } = this.visualElement;if (!r || !r.layout) return !1;- this.scroll = rx(r);+ this.scroll = nx(r);let i = hne(n, r.root, this.visualElement.getTransformPagePoint()), a = Lre(r.layout.layoutBox, r.removeElementScroll(i));if (t) {let e = t(une(a));- this.hasMutatedConstraints = !!e, e && (a = Qv(e));+ this.hasMutatedConstraints = !!e, e && (a = Zv(e));}return a;}@@ -20250,13 +20250,13 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {restDelta: 1,restSpeed: 10,...a- }, l = (i) => r && !(this.point && o) && sx(i, t || n, this.currentDirection) ? e[i] : 0;+ }, l = (i) => r && !(this.point && o) && ox(i, t || n, this.currentDirection) ? e[i] : 0;if (this.point && !o) return this.point.release({x: l("x"),y: l("y")}, c).then(s);- let u = this.constraints || {}, d = Qy((e) => {- if (!sx(e, t || n, this.currentDirection)) return;+ let u = this.constraints || {}, d = Zy((e) => {+ if (!ox(e, t || n, this.currentDirection)) return;let r = u[e] || {};(o === !0 || o === e) && (r = {min: 0,@@ -20274,10 +20274,10 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return Cv(this.visualElement, e), n.start(gv(e, n, 0, t, this.visualElement, !1));+ return Sv(this.visualElement, e), n.start(hv(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- Qy((e) => this.getAxisMotionValue(e).stop());+ Zy((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -20288,22 +20288,22 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- Qy((e) => {- if (!sx(e, n, this.currentDirection)) return;+ Zy((e) => {+ if (!ox(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];- t.set((t.get() || 0) + i[e] - cg(r, o, .5));+ t.set((t.get() || 0) + i[e] - sg(r, o, .5));});}scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!ix(t) || !n || !this.constraints) return;+ if (!rx(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- Qy((e) => {+ Zy((e) => {let t = this.getAxisMotionValue(e).get();i[e] = Rre({min: t,@@ -20311,27 +20311,27 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Qy((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Zy((t) => {let n = this.getAxisMotionValue(t);- if (!sx(t, e, null) || !n.get()) return;+ if (!ox(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];- n.set(cg(r, a, i[t]));+ n.set(sg(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;Vre.set(this.visualElement, this);- let e = this.visualElement.current, t = Fb(e, "pointerdown", (t) => {+ let e = this.visualElement.current, t = Pb(e, "pointerdown", (t) => {let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Nre(i);n && r && !a && this.start(t);}), n, r = () => {- let { dragConstraints: t } = this.getProps(), r = ix(t) && ax(t);+ let { dragConstraints: t } = this.getProps(), r = rx(t) && ix(t);r && (this.constraints = this.resolveRefConstraints(), n ||= Ure(e, r, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);- i.layout || (i.root?.updateScroll(), i.updateLayout()), yg.read(r);- let o = pb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && (Qy((t) => {- if (!sx(t, this.getProps().drag, this.currentDirection)) return;+ i.layout || (i.root?.updateScroll(), i.updateLayout()), vg.read(r);+ let o = fb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (Zy((t) => {+ if (!ox(t, this.getProps().drag, this.currentDirection)) return;let n = this.getAxisMotionValue(t);this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);}), this.visualElement.render());@@ -20341,7 +20341,7 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {};}getProps() {- let e = this.readProps(), { dragElastic: t = ex, dragMomentum: n = !0 } = e;+ let e = this.readProps(), { dragElastic: t = $b, dragMomentum: n = !0 } = e;return {...e,dragElastic: t,@@ -20349,23 +20349,23 @@ var Vre = /* @__PURE__ */ new WeakMap(), Hre = class {};}};-function ix(e) {+function rx(e) {return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);}-var ax = (e) => "current" in e ? e.current : e;-function ox(e) {+var ix = (e) => "current" in e ? e.current : e;+function ax(e) {let t = !0;return () => {t ? t = !1 : e();};}function Ure(e, t, n) {- let r = Vb(e, ox(n)), i = Vb(t, ox(n));+ let r = Bb(e, ax(n)), i = Bb(t, ax(n));return () => {r(), i();};}-function sx(e, t, n) {+function ox(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}function Wre(e, t = 10) {@@ -20373,8 +20373,8 @@ function Wre(e, t = 10) {return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs-function cx(e, t) {- let n = Bv(e), r = new AbortController();+function sx(e, t) {+ let n = zv(e), r = new AbortController();return [n,{@@ -20382,16 +20382,16 @@ function cx(e, t) {...t,signal: r.signal},- Rv(() => r.abort())+ Lv(() => r.abort())];}// node_modules/motion-dom/dist/es/gestures/hover.mjsfunction Gre(e) {- return !(e.pointerType === "touch" || Zb());+ return !(e.pointerType === "touch" || Xb());}function Kre(e, t, n = {}) {- t = zv(t);- let [r, i, a] = cx(e, n);+ t = Rv(t);+ let [r, i, a] = sx(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -20413,71 +20413,71 @@ function Kre(e, t, n = {}) {}), a;}// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var lx = (e, t) => t ? e === t || lx(e, t.parentElement) : !1, ux = /* @__PURE__ */ new WeakSet();+var cx = (e, t) => t ? e === t || cx(e, t.parentElement) : !1, lx = /* @__PURE__ */ new WeakSet();// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function dx(e) {+function ux(e) {return (t) => {t.key === "Enter" && e(t);};}-function fx(e, t) {+function dx(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}var qre = (e, t) => {- let n = !1, r = dx(() => {- ux.has(e) || (n = !0, fx(e, "down"));- }), i = dx(() => {- n && (n = !1, fx(e, "up"));+ let n = !1, r = ux(() => {+ lx.has(e) || (n = !0, dx(e, "down"));+ }), i = ux(() => {+ n && (n = !1, dx(e, "up"));});e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && fx(e, "cancel");+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && dx(e, "cancel");}, {...t,once: !0});};// node_modules/motion-dom/dist/es/gestures/press/index.mjs-function px(e) {- return Nb(e) && !Zb();+function fx(e) {+ return Mb(e) && !Xb();}-var mx = /* @__PURE__ */ new WeakSet();+var px = /* @__PURE__ */ new WeakSet();function Jre(e, t, n = {}) {- t = zv(t);- let [r, i, a] = cx(e, n), o = (e) => {+ t = Rv(t);+ let [r, i, a] = sx(e, n), o = (e) => {let r = e.currentTarget;- if (!px(e) || mx.has(e)) return;- ux.add(r), n.stopPropagation && mx.add(e);+ if (!fx(e) || px.has(e)) return;+ lx.add(r), n.stopPropagation && px.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ux.has(r) && ux.delete(r), px(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), lx.has(r) && lx.delete(r), fx(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || lx(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || cx(r, e.target));}, l = (e) => {s(e, !1);};window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);};return r.forEach((e) => {- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Fv(e) && (e.addEventListener("focus", () => qre(e, i), i), !jre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Pv(e) && (e.addEventListener("focus", () => qre(e, i), i), !jre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function hx(e, t) {+function mx(e, t) {let n = window.getComputedStyle(e);- return j_(t) ? n.getPropertyValue(t) : n[t];+ return A_(t) ? n.getPropertyValue(t) : n[t];}// node_modules/motion-dom/dist/es/render/Feature.mjs-var gx = class {+var hx = class {constructor(e) {this.isMounted = !1, this.node = e;}update() {}-}, _x = /* @__PURE__ */ new Set([+}, gx = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -20501,58 +20501,58 @@ var gx = class {"startOffset","textLength","lengthAdjust"-]), vx = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), _x = (e) => typeof e == "string" && e.toLowerCase() === "svg";// node_modules/motion-dom/dist/es/render/svg/utils/render.mjsfunction Yre(e, t, n, r) {- Ab(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(_x.has(n) ? n : Kv(n), t.attrs[n]);+ kb(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(gx.has(n) ? n : Gv(n), t.attrs[n]);}// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function yx(e, t, n) {- let r = Mb(e, t, n);- for (let n in e) if (n !== "children" && (Sv(e[n]) || Sv(t[n]))) {- let t = __.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+function vx(e, t, n) {+ let r = jb(e, t, n);+ for (let n in e) if (n !== "children" && (xv(e[n]) || xv(t[n]))) {+ let t = g_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];}return r;}// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var Xre = class extends kb {+var Xre = class extends Ob {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Hy;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Vy;}getBaseTargetFromProps(e, t) {- return v_.has(t) ? super.getBaseTargetFromProps(e, t) ?? m_(t) : e[t];+ return __.has(t) ? super.getBaseTargetFromProps(e, t) ?? p_(t) : e[t];}getDefaultValue(e) {- return v_.has(e) ? this.latestValues[e] ?? m_(e) : void 0;+ return __.has(e) ? this.latestValues[e] ?? p_(e) : void 0;}readValueFromInstance(e, t) {- if (v_.has(t)) {- let e = a_(t);+ if (__.has(t)) {+ let e = i_(t);return e && e.default || 0;}- if (Jv.includes(t)) {+ if (qv.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = _x.has(t) ? t : Kv(t), e.getAttribute(t);+ return t = gx.has(t) ? t : Gv(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return yx(e, t, n);+ return vx(e, t, n);}build(e, t, n) {- Yv(e, t, this.isSVGTag, n.transformTemplate, n.style);+ Jv(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {Yre(e, t, n, r);}mount(e) {- this.isSVGTag = vx(e.tagName), super.mount(e);+ this.isSVGTag = _x(e.tagName), super.mount(e);}};// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function bx(e, t) {+function yx(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -20560,18 +20560,18 @@ function bx(e, t) {return !0;}// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var Zre = [...yb].reverse(), xx = (e) => e?.out === !0 ? e : e?.out;+var Zre = [...vb].reverse(), bx = (e) => e?.out === !0 ? e : e?.out;function Qre(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Hte(e, t, n))), n = Sx(), r = !0, i = !1;+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Hte(e, t, n))), n = xx(), r = !0, i = !1;function a(a) {- let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && yv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;+ let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && vv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;dog = g.props.inherit !== !1 && g.parent;while (g && !g.isControllingVariants);- let _ = u && xx(f(l ?? (g && g.props.initial))?.transition);+ let _ = u && bx(f(l ?? (g && g.props.initial))?.transition);if (Zre.forEach((t, r) => {- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? vb(f) || f === !1 ? f : void 0 : l, y = vb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || _b(v) || typeof v == "boolean") return;+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? _b(f) || f === !1 ? f : void 0 : l, y = _b(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || gb(v) || typeof v == "boolean") return;if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {m = {...m,@@ -20581,12 +20581,12 @@ function Qre(e) {}let S = $re(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;if (b !== !1) for (let n of T) {- let { transition: r, transitionEnd: i, ...a } = yv(e, n, bv(e, t)) || {};+ let { transition: r, transitionEnd: i, ...a } = vv(e, n, yv(e, t)) || {};E = {...E,...a,...i- }, D = xx(r) || D;+ }, D = bx(r) || D;}let { prevResolvedValues: O } = i;for (let t in {@@ -20594,7 +20594,7 @@ function Qre(e) {...E}) {if (t in m) continue;- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !bx(n, r) || S : n !== r, o;+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !yx(n, r) || S : n !== r, o;if (a && n == null) p.has(t) || p.set(t, i.prevOut);else if (a || n !== void 0 && p.has(t)) {C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;@@ -20609,8 +20609,8 @@ function Qre(e) {}), C && (!(x && S) || w)) for (let n of T) {let r = { type: t };if (typeof n == "string" && u && c && s?.enteringChildren) {- let t = yv(s, n)?.transition?.delayChildren;- r.delay = lv(s.enteringChildren, e, t);+ let t = vv(s, n)?.transition?.delayChildren;+ r.delay = cv(s.enteringChildren, e, t);}d.push({animation: n,@@ -20627,7 +20627,7 @@ function Qre(e) {let s = e.getValue(a);s && (s.liveStyle = !0);let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);- t[a] = (c === void 0 ? u !== void 0 && !Sv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;+ t[a] = (c === void 0 ? u !== void 0 && !xv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;}), r && (t.transition = r), d.push({ animation: t });}let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);@@ -20648,16 +20648,16 @@ function Qre(e) {},getState: () => n,reset: () => {- n = Sx(), i = !0;+ n = xx(), i = !0;}};}function $re(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !bx(t, e) : !1;+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !yx(t, e) : !1;}-function Sx() {+function xx() {let e = {};- for (let t of yb) e[t] = {+ for (let t of vb) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},@@ -20667,26 +20667,26 @@ function Sx() {return e;}// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var Cx = /* @__PURE__ */ (0, F.createContext)({+var Sx = /* @__PURE__ */ (0, F.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function wx(e, t) {+function Cx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}function eie(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = wx(e, t);+ let r = Cx(e, t);return !n && typeof r == "function" && (n = !0), r;});if (n) return () => {for (let t = 0; t < r.length; t++) {let n = r[t];- typeof n == "function" ? n() : wx(e[t], null);+ typeof n == "function" ? n() : Cx(e[t], null);}};};@@ -20695,27 +20695,27 @@ function tie(...e) {return F.useCallback(eie(...e), e);}// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var Tx = (e) => {+var wx = (e) => {let { width: t, height: n } = e?.getBoundingClientRect() || {};return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];-}, Ex = (e) => {+}, Tx = (e) => {let { left: t, top: n } = e.getBoundingClientRect(), r = e;for (; r = r.parentElement || r.parentNode?.host;) {let { scrollLeft: e, scrollTop: i } = r;if (e || i) {- let [a, o] = Tx(r);+ let [a, o] = wx(r);t += e * a, n += i * o;}if (getComputedStyle(r).position === "fixed") break;}- let [i, a] = Tx(e.offsetParent);+ let [i, a] = wx(e.offsetParent);return [t / i, n / a];}, nie = class extends F.Component {getSnapshotBeforeUpdate(e) {let t = this.props.getElement();- if (Fv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {- let e = t.offsetParent, n = Fv(e) && e.offsetWidth || 0, r = Fv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Ex(t);+ if (Pv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {+ let e = t.offsetParent, n = Pv(e) && e.offsetWidth || 0, r = Pv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Tx(t);}return null;}@@ -20733,7 +20733,7 @@ function rie({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: u } = (0, F.useContext)(Cx), d = tie(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {+ }), { nonce: u } = (0, F.useContext)(Sx), d = tie(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);};@@ -20746,10 +20746,10 @@ function rie({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:let d = i ?? o.head;d.appendChild(c), p(c.sheet);let m = 0, h = 0;- return hy.setup(() => {- let [e, t] = Ex(r);+ return my.setup(() => {+ let [e, t] = Tx(r);m = l.current.point[0] - e, h = l.current.point[1] - t;- }), hy.read(() => {+ }), my.read(() => {let { sheet: e } = c;if (!e || !m && !h) return;let t = l.current;@@ -20767,8 +20767,8 @@ function rie({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:}// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjsvar iie = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = Dm(aie), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);- Om(() => {+ let u = Em(aie), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);+ Dm(() => {p.current = n, m.current = r;});let h = !0, g = (0, F.useMemo)(() => (h = !1, {@@ -20801,7 +20801,7 @@ var iie = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iroot: l,popNode: f,children: e- }), (0, I.jsx)(km.Provider, {+ }), (0, I.jsx)(Om.Provider, {value: g,children: e});@@ -20810,8 +20810,8 @@ function aie() {return /* @__PURE__ */ new Map();}// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function Dx(e = !0) {- let t = (0, F.useContext)(km);+function Ex(e = !0) {+ let t = (0, F.useContext)(Om);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, F.useId)();(0, F.useEffect)(() => {@@ -20824,24 +20824,24 @@ function Dx(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function Ox() {- return oie((0, F.useContext)(km));+function Dx() {+ return oie((0, F.useContext)(Om));}function oie(e) {return e === null || e.isPresent;}// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var kx = (e) => e.key || "";-function Ax(e) {+var Ox = (e) => e.key || "";+function kx(e) {let t = [];return F.Children.forEach(e, (e) => {(0, F.isValidElement)(e) && t.push(e);}), t;}// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {- let [u, d] = Dx(o), f = (0, F.useMemo)(() => Ax(e), [e]), p = o && !u ? [] : f.map(kx), m = (0, F.useRef)(!0), h = Dm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);- Om(() => {+var Ax = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {+ let [u, d] = Ex(o), f = (0, F.useMemo)(() => kx(e), [e]), p = o && !u ? [] : f.map(Ox), m = (0, F.useRef)(!0), h = Em(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);+ Dm(() => {o && !u && !y.length && d?.();}, [u,@@ -20853,10 +20853,10 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence(0, F.useEffect)(() => () => {let e = x.current;x.current = void 0, e?.();- }, [y]), Om(() => {+ }, [y]), Dm(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = kx(y[e]);+ let t = Ox(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -20868,14 +20868,14 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceif (f !== _) {let e = [...f], t = 0;for (let n of y) {- let r = p.indexOf(kx(n));+ let r = p.indexOf(Ox(n));r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;}- return S.every((e) => h.get(kx(e))) ? e = f : a === "wait" && (e = S), b(Ax(e)), v(f), null;+ return S.every((e) => h.get(Ox(e))) ? e = f : a === "wait" && (e = S), b(kx(e)), v(f), null;}- let { forceRender: C } = (0, F.useContext)(Em);+ let { forceRender: C } = (0, F.useContext)(Tm);return (0, I.jsx)(I.Fragment, { children: y.map((e) => {- let _ = kx(e), b = o && !u ? !1 : f === y || p.includes(_);+ let _ = Ox(e), b = o && !u ? !1 : f === y || p.includes(_);return (0, I.jsx)(iie, {isPresent: b,initial: !m.current || n ? void 0 : !1,@@ -20897,8 +20897,8 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, Mx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Nx = {- animation: ["variants", ...yb],+}, jx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Mx = {+ animation: ["variants", ...vb],exit: ["exit"],drag: ["drag", "dragControls"],focus: ["whileFocus"],@@ -20925,32 +20925,32 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Px = !1;+}, Nx = !1;function sie() {- if (Px) return;+ if (Nx) return;let e = {};- for (let t in Nx) e[t] = { isEnabled: (e) => Nx[t].some((t) => !!e[t]) };- Ob(e), Px = !0;+ for (let t in Mx) e[t] = { isEnabled: (e) => Mx[t].some((t) => !!e[t]) };+ Db(e), Nx = !0;}-function Fx() {+function Px() {return sie(), mre();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjsfunction cie(e) {- let t = Fx();+ let t = Px();for (let n in e) t[n] = {...t[n],...e[n]};- Ob(t);+ Db(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjsfunction lie({ children: e, ...t }) {- let n = (0, F.useContext)(Cx);+ let n = (0, F.useContext)(Sx);t = {...n,...t- }, t.transition = mv(t.transition, n.transition), t.isStatic = Dm(() => t.isStatic);+ }, t.transition = pv(t.transition, n.transition), t.isStatic = Em(() => t.isStatic);let r = (0, F.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -20958,77 +20958,77 @@ function lie({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, I.jsx)(Cx.Provider, {+ return (0, I.jsx)(Sx.Provider, {value: r,children: e});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var Ix = /* @__PURE__ */ (0, F.createContext)({});+var Fx = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjsfunction uie(e, t) {- if (xb(e)) {+ if (bb(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || vb(t) ? t : void 0,- animate: vb(n) ? n : void 0+ initial: t === !1 || _b(t) ? t : void 0,+ animate: _b(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjsfunction die(e) {- let { initial: t, animate: n } = uie(e, (0, F.useContext)(Ix));+ let { initial: t, animate: n } = uie(e, (0, F.useContext)(Fx));return (0, F.useMemo)(() => ({initial: t,animate: n- }), [Lx(t), Lx(n)]);+ }), [Ix(t), Ix(n)]);}-function Lx(e) {+function Ix(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var Rx = () => ({+var Lx = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function zx(e, t, n) {- for (let r in t) !Sv(t[r]) && !jb(r, n) && (e[r] = t[r]);+function Rx(e, t, n) {+ for (let r in t) !xv(t[r]) && !Ab(r, n) && (e[r] = t[r]);}function fie({ transformTemplate: e }, t) {return (0, F.useMemo)(() => {- let n = Rx();- return qv(n, t, e), Object.assign({}, n.vars, n.style);+ let n = Lx();+ return Kv(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}function pie(e, t) {let n = e.style || {}, r = {};- return zx(r, n, e), Object.assign(r, fie(e, t)), r;+ return Rx(r, n, e), Object.assign(r, fie(e, t)), r;}function mie(e, t) {let n = {}, r = pie(e, t);return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;}// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs-var Bx = () => ({- ...Rx(),+var zx = () => ({+ ...Lx(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjsfunction hie(e, t, n, r) {let i = (0, F.useMemo)(() => {- let n = Bx();- return Yv(n, t, vx(r), e.transformTemplate, e.style), {+ let n = zx();+ return Jv(n, t, _x(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- return zx(t, e.style, e), {+ return Rx(t, e.style, e), {...i,style: {...t,@@ -21040,16 +21040,16 @@ function hie(e, t, n, r) {}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjsvar gie = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));-function Vx(e) {+function Bx(e) {return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || gie.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjsfunction _ie(e, t) {- return e.startsWith("on") ? !Vx(e) : t?.(e) ?? !Vx(e);+ return e.startsWith("on") ? !Bx(e) : t?.(e) ?? !Bx(e);}function vie(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || Sv(e[a]) || (_ie(a, r) || n === !0 && Vx(a) || !t && !Vx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || xv(e[a]) || (_ie(a, r) || n === !0 && Bx(a) || !t && !Bx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs@@ -21081,16 +21081,16 @@ var yie = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Hx(e) {+function Vx(e) {return typeof e != "string" || e.includes("-") ? !1 : !!(yie.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjsfunction bie(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Hx(e) ? hie : mie)(t, r, i, e), l = vie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {+ let c = (o ?? Vx(e) ? hie : mie)(t, r, i, e), l = vie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, F.useMemo)(() => Sv(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, F.useMemo)(() => xv(d) ? d.get() : d, [d]);return (0, F.createElement)(e, {...u,children: f@@ -21105,16 +21105,16 @@ function xie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i)}function Sie(e, t, n, r) {let i = {}, a = r(e, {});- for (let e in a) i[e] = yy(a[e]);- let { initial: o, animate: s } = e, c = xb(e), l = Sb(e);+ for (let e in a) i[e] = vy(a[e]);+ let { initial: o, animate: s } = e, c = bb(e), l = xb(e);t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));let u = n ? n.initial === !1 : !1;u ||= o === !1;let d = u ? s : o;- if (d && typeof d != "boolean" && !_b(d)) {+ if (d && typeof d != "boolean" && !gb(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = vv(e, t[n]);+ let r = _v(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -21131,15 +21131,15 @@ function Sie(e, t, n, r) {}return i;}-var Ux = (e) => (t, n) => {- let r = (0, F.useContext)(Ix), i = (0, F.useContext)(km), a = () => xie(e, t, r, i);- return n ? a() : Dm(a);-}, Cie = /*@__PURE__*/ Ux({- scrapeMotionValuesFromProps: Mb,- createRenderState: Rx-}), wie = /*@__PURE__*/ Ux({- scrapeMotionValuesFromProps: yx,- createRenderState: Bx+var Hx = (e) => (t, n) => {+ let r = (0, F.useContext)(Fx), i = (0, F.useContext)(Om), a = () => xie(e, t, r, i);+ return n ? a() : Em(a);+}, Cie = /*@__PURE__*/ Hx({+ scrapeMotionValuesFromProps: jb,+ createRenderState: Lx+}), wie = /*@__PURE__*/ Hx({+ scrapeMotionValuesFromProps: vx,+ createRenderState: zx}), Tie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjsfunction Eie(e, t, n) {@@ -21160,10 +21160,10 @@ function Eie(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Wx = /* @__PURE__ */ (0, F.createContext)({});+var Ux = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjsfunction Die(e, t, n, r, i, a) {- let { visualElement: o } = (0, F.useContext)(Ix), s = (0, F.useContext)(Mx), c = (0, F.useContext)(km), l = (0, F.useContext)(Cx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);+ let { visualElement: o } = (0, F.useContext)(Fx), s = (0, F.useContext)(jx), c = (0, F.useContext)(Om), l = (0, F.useContext)(Sx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -21174,14 +21174,14 @@ function Die(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, F.useContext)(Wx);+ let m = f.current, h = (0, F.useContext)(Ux);m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, F.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});- let g = n[wv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));- return Om(() => {+ let g = n[Cv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));+ return Dm(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);- }, []), Om(() => {+ }, []), Dm(() => {p.current = !0, m && (window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), _.current && m.animationState && m.animationState.animateChanges());}), (0, F.useEffect)(() => {m && (!_.current && m.animationState && m.animationState.animateChanges(), _.current &&= (queueMicrotask(() => {@@ -21190,17 +21190,17 @@ function Die(e, t, n, r, i, a) {}), m;}// node_modules/framer-motion/dist/es/motion/index.mjs-function Gx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+function Wx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {r && cie(r);- let a = n ? n === "svg" : Hx(e), o = a ? wie : Cie;+ let a = n ? n === "svg" : Vx(e), o = a ? wie : Cie;function s(n, s) {let c, l = Oie(n);- Dm(() => !!mb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {+ Em(() => !!pb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1});let u = {- ...(0, F.useContext)(Cx),+ ...(0, F.useContext)(Sx),...n,layoutId: l}, { isStatic: d, isValidProp: f } = u, p = die(n), m = o(n, d);@@ -21209,7 +21209,7 @@ function Gx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {let t = Aie(u);p.visualElement = Die(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);}- return (0, I.jsxs)(Ix.Provider, {+ return (0, I.jsxs)(Fx.Provider, {value: p,children: [c && p.visualElement ? (0, I.jsx)(c, {visualElement: p.visualElement,@@ -21222,14 +21222,14 @@ function Gx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {return c[Tie] = e, c;}function Oie({ layoutId: e }) {- let t = (0, F.useContext)(Em).id;+ let t = (0, F.useContext)(Tm).id;return t && e !== void 0 ? t + "-" + e : e;}function kie(e, t) {- (0, F.useContext)(Mx).strict;+ (0, F.useContext)(jx).strict;}function Aie(e) {- let { drag: t, layout: n } = Fx();+ let { drag: t, layout: n } = Px();if (!t && !n) return {};let r = {...t,@@ -21243,18 +21243,18 @@ function Aie(e) {}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjsfunction jie(e, t) {- if (typeof Proxy > "u") return Gx;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Gx(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Gx(a, void 0, e, t)), n.get(a)) });+ if (typeof Proxy > "u") return Wx;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Wx(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Wx(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjection: e !== F.Fragment }), Nie = class extends gx {+var Mie = (e, t) => t.isSVG ?? Vx(e) ? new Xre(t) : new _re(t, { allowProjection: e !== F.Fragment }), Nie = class extends hx {constructor(e) {super(e), e.animationState ||= Qre(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- _b(e) && (this.unmountControls = e.subscribe(this.node));+ gb(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();@@ -21267,7 +21267,7 @@ var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjection}}, Pie = 0, Fie = {animation: { Feature: Nie },- exit: { Feature: class extends gx {+ exit: { Feature: class extends hx {constructor() {super(...arguments), this.id = Pie++;}@@ -21280,7 +21280,7 @@ var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjectionif (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = yv(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = vv(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, t.reset(), t.animateChanges();@@ -21299,13 +21299,13 @@ var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjection}unmount() {}} }-}, Iie = class extends gx {+}, Iie = class extends hx {constructor(e) {- super(e), this.removeGroupControls = Rm, this.removeListeners = Rm, this.controls = new Hre(e);+ super(e), this.removeGroupControls = Lm, this.removeListeners = Lm, this.controls = new Hre(e);}mount() {let { dragControls: e } = this.node.getProps();- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Rm;+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Lm;}update() {let { dragControls: e, drag: t } = this.node.getProps(), { dragControls: n, drag: r } = this.node.prevProps || {};@@ -21314,14 +21314,14 @@ var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjectionunmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Kx = (e) => (t, n) => {- e && yg.update(() => e(t, n), !1, !0);-}, Lie = class extends gx {+}, Gx = (e) => (t, n) => {+ e && vg.update(() => e(t, n), !1, !0);+}, Lie = class extends hx {constructor() {- super(...arguments), this.removePointerDownListener = Rm;+ super(...arguments), this.removePointerDownListener = Lm;}onPointerDown(e) {- this.session = new Wb(e, this.createPanHandlers(), {+ this.session = new Ub(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),contextWindow: this.node.current?.ownerDocument.defaultView});@@ -21329,16 +21329,16 @@ var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjectioncreatePanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: Kx(e),- onStart: Kx(t),- onMove: Kx(n),+ onSessionStart: Gx(e),+ onStart: Gx(t),+ onMove: Gx(n),onEnd: (e, t) => {- delete this.session, r && yg.postRender(() => r(e, t));+ delete this.session, r && vg.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = Fb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Pb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session?.updateHandlers(this.createPanHandlers());@@ -21346,12 +21346,12 @@ var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjectionunmount() {this.removePointerDownListener(), this.session?.end();}-}, qx = !1, Jx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({+}, Kx = !1, qx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({layout: e,layoutDependency: t,layoutAnchor: n,animationType: typeof e == "string" ? e : "both"-}), Yx = (e, t) => {+}), Jx = (e, t) => {let { snapshot: n } = e, r = e.getStack();r?.remove(e);let i = r?.lead;@@ -21363,30 +21363,30 @@ var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjection}, Rie = class extends F.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group?.add(i), r && n?.register?.(i), qx && i.root.didUpdate(), i.options.layoutId !== r && Yx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({+ i && (t.group?.add(i), r && n?.register?.(i), Kx && i.root.didUpdate(), i.options.layoutId !== r && Jx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({...i.options,- ...Jx(this.props),+ ...qx(this.props),onExitComplete: () => this.safeToRemove()- })), $y.hasEverUpdated = !0;+ })), Qy.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Yx(o, n)), o.setOptions({+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Jx(o, n)), o.setOptions({...o.options,- ...Jx(this.props)- }), qx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || yg.postRender(() => {+ ...qx(this.props)+ }), Kx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || vg.postRender(() => {o.getStack()?.members.length || this.safeToRemove();}))), null;}componentDidUpdate() {let { projection: e } = this.props.visualElement;- e && (this.takeOver?.(), e.root.didUpdate(), hy.postRender(() => {+ e && (this.takeOver?.(), e.root.didUpdate(), my.postRender(() => {!e.currentAnimation && e.isLead() && this.safeToRemove();}));}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- qx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));+ Kx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));}safeToRemove() {this.props.safeToRemove?.();@@ -21395,12 +21395,12 @@ var Mie = (e, t) => t.isSVG ?? Hx(e) ? new Xre(t) : new _re(t, { allowProjectionreturn null;}};-function Xx(e) {- let [t, n] = Dx(), r = (0, F.useContext)(Em);+function Yx(e) {+ let [t, n] = Ex(), r = (0, F.useContext)(Tm);return (0, I.jsx)(Rie, {...e,layoutGroup: r,- switchLayoutGroup: (0, F.useContext)(Wx),+ switchLayoutGroup: (0, F.useContext)(Ux),isPresent: t,safeToRemove: n});@@ -21410,24 +21410,24 @@ var zie = {pan: { Feature: Lie },drag: {Feature: Iie,- ProjectionNode: hb,- MeasureLayout: Xx+ ProjectionNode: mb,+ MeasureLayout: Yx}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function Zx(e, t, n, r) {+function Xx(e, t, n, r) {let { props: i } = e, a = "while" + n;e.animationState && i[a] && e.animationState.setActive(a, r === "Start");let o = i["on" + n + r];- o && yg.postRender(() => o(t, Pb(t)));+ o && vg.postRender(() => o(t, Nb(t)));}-var Bie = class extends gx {+var Bie = class extends hx {mount() {let { current: e } = this.node;- e && (this.unmount = Kre(e, (e, t) => (Zx(this.node, t, "Hover", "Start"), (e) => Zx(this.node, e, "Hover", "End"))));+ e && (this.unmount = Kre(e, (e, t) => (Xx(this.node, t, "Hover", "Start"), (e) => Xx(this.node, e, "Hover", "End"))));}unmount() {}-}, Vie = class extends gx {+}, Vie = class extends hx {constructor() {super(...arguments), this.isActive = !1;}@@ -21444,35 +21444,35 @@ var Bie = class extends gx {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = zm(pb(this.node.current, "focus", () => this.onFocus()), pb(this.node.current, "blur", () => this.onBlur()));+ this.unmount = Rm(fb(this.node.current, "focus", () => this.onFocus()), fb(this.node.current, "blur", () => this.onBlur()));}unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function Qx(e, t, n) {- e.current instanceof HTMLButtonElement && e.current.disabled || Zx(e, t, "Tap", n);+function Zx(e, t, n) {+ e.current instanceof HTMLButtonElement && e.current.disabled || Xx(e, t, "Tap", n);}-var Hie = class extends gx {+var Hie = class extends hx {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = Jre(e, (e, t) => (Qx(this.node, t, "Start"), (e, { success: t }) => Qx(this.node, e, t ? "" : "Cancel")), {+ this.unmount = Jre(e, (e, t) => (Zx(this.node, t, "Start"), (e, { success: t }) => Zx(this.node, e, t ? "" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, $x = /* @__PURE__ */ new WeakMap(), eS = /* @__PURE__ */ new WeakMap(), Uie = (e) => {- let t = $x.get(e.target);+}, Qx = /* @__PURE__ */ new WeakMap(), $x = /* @__PURE__ */ new WeakMap(), Uie = (e) => {+ let t = Qx.get(e.target);t && t(e);}, Wie = (e) => {e.forEach(Uie);};function Gie({ root: e, ...t }) {let n = e || document;- eS.has(n) || eS.set(n, {});- let r = eS.get(n), i = JSON.stringify(t);+ $x.has(n) || $x.set(n, {});+ let r = $x.get(n), i = JSON.stringify(t);return r[i] || (r[i] = new IntersectionObserver(Wie, {root: e,...t@@ -21480,15 +21480,15 @@ function Gie({ root: e, ...t }) {}function Kie(e, t, n) {let r = Gie(t);- return $x.set(e, n), r.observe(e), () => {- $x.delete(e), r.unobserve(e);+ return Qx.set(e, n), r.observe(e), () => {+ Qx.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjsvar qie = {some: 0,all: 1-}, Jie = class extends gx {+}, Jie = class extends hx {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -21533,49 +21533,49 @@ var Xie = /*@__PURE__*/ jie(/* @__PURE__ */ Object.assign({}, Fie, {focus: { Feature: Vie },hover: { Feature: Bie }}, zie, { layout: {- ProjectionNode: hb,- MeasureLayout: Xx+ ProjectionNode: mb,+ MeasureLayout: Yx} }), Mie);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function tS() {- !wb.current && Tb();- let [e] = (0, F.useState)(Cb.current);+function eS() {+ !Cb.current && wb();+ let [e] = (0, F.useState)(Sb.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function nS(e) {+function tS(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function rS(e, t, n, r) {- return e == null ? [] : typeof e == "string" && nS(t) ? Bv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function nS(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && tS(t) ? zv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjsfunction Zie(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function iS(e, t) {+function rS(e, t) {if (t.has(e)) return t.get(e);let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;}function Qie(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))) : iS(t, r) ?? e;+ 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))) : rS(t, r) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjsfunction $ie(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];- i.at > t && i.at < n && (jm(e, i), r--);+ i.at > t && i.at < n && (Am(e, i), r--);}}function eae(e, t, n, r, i, a) {$ie(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],- at: cg(i, a, r[o]),- easing: /* @__PURE__ */ sh(n, o)+ at: sg(i, a, r[o]),+ easing: /* @__PURE__ */ oh(n, o)});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs@@ -21606,9 +21606,9 @@ function aae(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let [g, _, v = {}] = h;v.at !== void 0 && (f = s(v.at));let y = 0, b = (e, n, r, a = 0, s = 0) => {- let c = oae(e), { delay: l = 0, times: u = Ug(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;+ let c = oae(e), { delay: l = 0, times: u = Hg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;r.mixer ||= n.mixer;- let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = R_(d) ? d : i?.[d || "keyframes"];+ let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = L_(d) ? d : i?.[d || "keyframes"];if (S <= 2 && C) {let e = 100;if (S === 2 && lae(c)) {@@ -21619,40 +21619,40 @@ function aae(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {...t,..._};- b !== void 0 && (n.duration = /* @__PURE__ */ Hm(b));- let r = Eg(n, e, C);+ b !== void 0 && (n.duration = /* @__PURE__ */ Vm(b));+ let r = Tg(n, e, C);v = r.ease, b = r.duration;}b ??= o;let w = f + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Hg(u, T), c.length === 1 && c.unshift(null), m && m < iae) {+ if (T > 0 && Vg(u, T), c.length === 1 && c.unshift(null), m && m < iae) {let e = b > 0 ? g / b : 0;b = Zie(b, m, g);let t = [...c], n = [...u];v = Array.isArray(v) ? [...v] : [v];let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;- i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Ym(e) : e)));+ i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Jm(e) : e)));for (let s = 0; s < m; s++) {let l = i && s % 2 == 0, d = l ? a : t, f = l ? o : r, p = (s + 1) * (1 + e);e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);- for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ sh(f, e - 1));+ for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ oh(f, e - 1));}tae(u, m, e);}let E = w + b;eae(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);};- if (Sv(g)) {- let e = aS(g, c);- b(_, v, oS("default", e));+ if (xv(g)) {+ let e = iS(g, c);+ b(_, v, aS("default", e));} else {- let e = rS(g, _, r, l), t = e.length;+ let e = nS(g, _, r, l), t = e.length;for (let n = 0; n < t; n++) {_ = _, v = v;- let r = e[n], i = aS(r, c);- for (let e in _) b(_[e], sae(v, e), oS(e, i), n, t);+ let r = e[n], i = iS(r, c);+ for (let e in _) b(_[e], sae(v, e), aS(e, i), n, t);}}d = f, f += y, a = Math.max(a, f);@@ -21666,7 +21666,7 @@ function aae(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let o = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];- o.push(n), c.push(/* @__PURE__ */ Bm(0, p, t)), l.push(r || "easeOut");+ o.push(n), c.push(/* @__PURE__ */ zm(0, p, t)), l.push(r || "easeOut");}c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(rae)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {keyframes: {},@@ -21686,10 +21686,10 @@ function aae(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {}}), s;}-function aS(e, t) {+function iS(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function oS(e, t) {+function aS(e, t) {return t[e] || (t[e] = []), t[e];}function oae(e) {@@ -21704,17 +21704,17 @@ function sae(e, t) {var cae = (e) => typeof e == "number", lae = (e) => e.every(cae);// node_modules/framer-motion/dist/es/animation/animate/subject.mjsfunction uae(e, t) {- return Sv(e) || typeof e == "number" || typeof e == "string" && !nS(t);+ return xv(e) || typeof e == "number" || typeof e == "string" && !tS(t);}-function sS(e, t, n, r) {+function oS(e, t, n, r) {let i = [];- if (uae(e, t)) i.push(gy(e, nS(t) && t.default || t, n && (n.default || n)));+ if (uae(e, t)) i.push(hy(e, tS(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = rS(e, t, r), o = a.length;+ let a = nS(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(...bne(r, t, s, gb.get(r))) : i.push(...Pv(Qte(r) ?? xne, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...bne(r, t, s, hb.get(r))) : i.push(...Nv(Qte(r) ?? xne, r, t, s));}}return i;@@ -21724,7 +21724,7 @@ function dae(e, t, n, r) {let i = [];return aae(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = pv(0);+ let t = e[0], n = fv(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -21736,12 +21736,12 @@ function dae(e, t, n, r) {];}return e;- }), t, n, { spring: zg }, r).forEach(({ keyframes: e, transition: t }, n) => {- i.push(...sS(n, e, t));+ }), t, n, { spring: Rg }, r).forEach(({ keyframes: e, transition: t }, n) => {+ i.push(...oS(n, e, t));}), i;}// node_modules/framer-motion/dist/es/animation/timeline/index.mjs-var cS = 0;+var sS = 0;function fae(e, t) {let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;return n[r] = {@@ -21749,20 +21749,20 @@ function fae(e, t) {at: t}, n;}-var lS = (e, t) => t === void 0 ? e : {+var cS = (e, t) => t === void 0 ? e : {name: e,at: t};-function uS(e) {+function lS(e) {e.pause(), e.time = 0, e.stop();}-var dS = class e {+var uS = class e {constructor(e = [], t = {}, n) {- this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Lv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {+ this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Iv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {this.flush(), this.group?.stop();- }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new sv(n), this.watch()) : (this.invalidate(), this.flush());+ }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new ov(n), this.watch()) : (this.invalidate(), this.flush());let { scope: r } = t;- r && (r.animations.push(this), this.finished.then(() => jm(r.animations, this)));+ r && (r.animations.push(this), this.finished.then(() => Am(r.animations, this)));}add(t, n) {return t instanceof e && t.adopt(this), this.push({@@ -21775,7 +21775,7 @@ var dS = class e {item: e,at: t,marker: {- name: "_m" + cS++,+ name: "_m" + sS++,time: 0,callback: e}@@ -21786,7 +21786,7 @@ var dS = class e {item: t || {},at: e,marker: {- name: "_m" + cS++,+ name: "_m" + sS++,time: 0,callback: t,pause: !0@@ -21880,16 +21880,16 @@ var dS = class e {this.isDirty && !this.parent && !this.isKilled && this.build();}adopt(e) {- this.group &&= (uS(this.group), void 0), this.isDirty = !1, this.parent = e;+ this.group &&= (lS(this.group), void 0), this.isDirty = !1, this.parent = e;}build() {this.isDirty = !1, this.isWrapped = !1;let e = this.group, t = 0;- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, uS(e)), this.isRebuilding = !1);+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, lS(e)), this.isRebuilding = !1);let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);- let d = /* @__PURE__ */ new Map(), f = {}, p = Lv.current;- Lv.current = this.motionScope;+ let d = /* @__PURE__ */ new Map(), f = {}, p = Iv.current;+ Iv.current = this.motionScope;let m;try {m = dae(this.toSequence(d), {@@ -21897,33 +21897,33 @@ var dS = class e {...u}, c, f);} finally {- Lv.current = p;+ Iv.current = p;}let h = f.labels, g = u.duration ?? f.duration, _ = f.duration ? g / f.duration : 1;if (h.forEach((e, t) => h.set(t, e * _)), this.markers = [], d.forEach((e, t) => {e.time = h.get(t), h.delete(t), g = Math.max(g, e.time), this.markers.push(e);}), this.markers.sort((e, t) => e.time - t.time), this.labels = h, this.totalDuration = g, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {- let e = this.clock = pv(0);- e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = gy(e, [0, g], {+ let e = this.clock = fv(0);+ e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = hy(e, [0, g], {...u,duration: g,ease: "linear"}));}- let v = this.group = new sv(m);+ let v = this.group = new ov(m);t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();}toSequence(t) {- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), lS(i.name, r)) : n instanceof e ? {+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), cS(i.name, r)) : n instanceof e ? {sequence: n.toSequence(t),at: r- } : typeof n == "string" ? lS(n, r) : r === void 0 ? n : Array.isArray(n) ? fae(n, r) : {+ } : typeof n == "string" ? cS(n, r) : r === void 0 ? n : Array.isArray(n) ? fae(n, r) : {...n,at: r});}resolve(e) {- return this.flush(), typeof e == "number" ? e : iS(e, this.labels) ?? this.time;+ return this.flush(), typeof e == "number" ? e : rS(e, this.labels) ?? this.time;}currentRepeat() {let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;@@ -21977,7 +21977,7 @@ function pae(e) {function mae(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {- let o = Lv.current?.transition, s = {};+ let o = Iv.current?.transition, s = {};n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);let c;if (pae(e)) {@@ -21989,14 +21989,14 @@ function mae(e = {}) {o && (n.defaultTransition = {...o,...n.defaultTransition- }), c = new dS(e, n);+ }), c = new uS(e, n);} else {let { onComplete: n, ...r } = a || {}, l = {...s,...o,...r}, { onUpdate: u } = r;- c = new dS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [+ c = new uS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [u || (() => {}),Array.isArray(i) ? i : [e, i],{@@ -22011,28 +22011,28 @@ function mae(e = {}) {...s,onComplete: n,scope: t- }, sS(e, i, l, t));+ }, oS(e, i, l, t));}return c;}return i;}-var fS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ mae(), {+var dS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ mae(), {addEffect: Zte,- removeEffect: Mv+ removeEffect: jv});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjsfunction hae(e, t, n, r) {if (e == null) return [];- let i = Bv(e, r), a = i.length, o = [];+ let i = zv(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...hv(s, e) };- i.duration &&= /* @__PURE__ */ Hm(i.duration), i.delay &&= /* @__PURE__ */ Hm(i.delay);+ let i = { ...mv(s, e) };+ i.duration &&= /* @__PURE__ */ Vm(i.duration), i.delay &&= /* @__PURE__ */ Vm(i.delay);let a = Cte(r), c = Ste(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,@@ -22049,21 +22049,21 @@ function hae(e, t, n, r) {}for (let e = 0; e < o.length; e++) {let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;- !a && t[0] === null && (t[0] = hx(r, i)), s_(t), Xte(t, i), !a && t.length < 2 && t.unshift(hx(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = mx(r, i)), o_(t), Xte(t, i), !a && t.length < 2 && t.unshift(mx(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new z_(r);+ let { map: t, key: n, options: r } = o[e], i = new R_(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}var gae = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new sv(hae(t, n, r, e));+ return new ov(hae(t, n, r, e));}return t;-})(), pS = Xie, mS = class {+})(), fS = Xie, pS = 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;}@@ -22078,22 +22078,22 @@ var gae = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, hS = class extends mS {+}, mS = class extends pS {filter(e, t, n) {- let [r, i] = yS(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = vS(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends mS {+(class extends pS {static {this.type = "header";}});-var gS = class extends mS {+var hS = class extends pS {static {this.type = "loader";}-}, _S = class extends hS {+}, gS = class extends mS {static {this.type = "item";}@@ -22104,7 +22104,7 @@ var gS = class extends mS {}return null;}-}, _ae = class extends hS {+}, _ae = class extends mS {static {this.type = "section";}@@ -22116,7 +22116,7 @@ var gS = class extends mS {}return null;}-}, vS = class {+}, _S = class {get size() {return this.itemCount;}@@ -22191,14 +22191,14 @@ var gS = class extends mS {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = yS(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = vS(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 yS(e, t, n, r) {+function vS(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -22212,7 +22212,7 @@ function yS(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var bS = class {+var yS = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -22293,7 +22293,7 @@ var bS = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, xS = class e extends bS {+}, bS = class e extends yS {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -22344,7 +22344,7 @@ var bS = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, vae = class extends bS {+}, vae = class extends yS {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;}@@ -22352,7 +22352,7 @@ var bS = class {return !0;}createElement(e) {- return new xS(e, this);+ return new bS(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -22374,8 +22374,8 @@ var bS = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof xS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof xS ? (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 bS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof bS ? (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() {@@ -22393,7 +22393,7 @@ var bS = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function SS(e) {+function xS(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, F.useMemo)(() => void 0, [t]), s = (0, F.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, F.useMemo)(() => {if (n && typeof t == "function") {@@ -22433,24 +22433,24 @@ function yae(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function CS(e) {+function SS(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var wS = (e) => bae(e) ? e.document : xae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), TS = (e) => wS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function ES(e) {+var CS = (e) => bae(e) ? e.document : xae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), wS = (e) => CS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function TS(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}function bae(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}function xae(e) {- return ES(e) && e.nodeType === 9;+ return TS(e) && e.nodeType === 9;}-function DS(e) {- return ES(e) && e.nodeType === 11 && "host" in e;+function ES(e) {+ return TS(e) && e.nodeType === 11 && "host" in e;}-function OS(e, t, n, r) {+function DS(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);@@ -22458,7 +22458,7 @@ function OS(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function kS(e, t, n, r) {+function OS(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -22473,45 +22473,45 @@ function kS(e, t, n, r) {}// node_modules/react-stately/dist/private/flags/flags.mjsvar Sae = !1;-function AS() {+function kS() {return Sae;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function jS(e, t) {- if (!AS()) return t && e ? e.contains(t) : !1;+function AS(e, t) {+ if (!kS()) 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 : DS(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : ES(n) ? n.host : n.parentNode;}return !1;}-var MS = (e = document) => {- if (!AS()) return e.activeElement;+var jS = (e = document) => {+ if (!kS()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};-function G(e) {- if (AS() && e.target instanceof Element && e.target.shadowRoot) {+function K(e) {+ if (kS() && 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 NS(e, t) {+function MS(e, t) {if (t === null) return [];- t ??= TS(e);+ t ??= wS(e);let n = [t];- if (!AS() || !e || e === t) return n;+ if (!kS() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; DS(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; ES(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function PS(e) {+function NS(e) {if (!e) return !1;- let t = e.getRootNode(), n = TS(e);+ let t = e.getRootNode(), n = wS(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);@@ -22519,11 +22519,11 @@ function PS(e) {// node_modules/react-aria/dist/private/utils/isElementVisible.mjsvar Cae = typeof Element < "u" && "checkVisibility" in Element.prototype;function wae(e) {- let t = TS(e);+ let t = wS(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 } = TS(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = wS(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;@@ -22531,11 +22531,11 @@ function wae(e) {function Tae(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 FS(e, t) {- return Cae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && wae(e) && Tae(e, t) && (!e.parentElement || FS(e.parentElement, e));+function PS(e, t) {+ return Cae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && wae(e) && Tae(e, t) && (!e.parentElement || PS(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var IS = [+var FS = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -22550,58 +22550,58 @@ var IS = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], Eae = IS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-IS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var Dae = IS.join(":not([hidden]):not([tabindex=\"-1\"]),");-function LS(e, t) {- return e.matches(Eae) && !zS(e) && (t?.skipVisibilityCheck || FS(e));+], Eae = FS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+FS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var Dae = FS.join(":not([hidden]):not([tabindex=\"-1\"]),");+function IS(e, t) {+ return e.matches(Eae) && !RS(e) && (t?.skipVisibilityCheck || PS(e));}-function RS(e) {- return e.matches(Dae) && FS(e) && !zS(e);+function LS(e) {+ return e.matches(Dae) && PS(e) && !RS(e);}-function zS(e) {+function RS(e) {let t = e;for (; t != null;) {- if (t instanceof TS(t).HTMLElement && t.inert) return !0;+ if (t instanceof wS(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var BS = typeof document < "u" ? F.useLayoutEffect : () => {};+var zS = typeof document < "u" ? F.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function VS(e) {+function BS(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function HS(e, t) {+function VS(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function US(e) {+function HS(e) {let t = (0, F.useRef)({isFocused: !1,observer: null});- return BS(() => {+ return zS(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);};}, []), (0, F.useCallback)((n) => {- let r = G(n);+ let r = K(n);if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {t.current.isFocused = !0;let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = VS(r);+ let t = BS(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 === MS() ? null : MS();+ let e = n === jS() ? null : jS();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -22614,64 +22614,64 @@ function US(e) {}}, [e]);}-var WS = !1;+var US = !1;function Oae(e) {- for (; e && !LS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = MS(TS(e).document);+ for (; e && !IS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = jS(wS(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && DS(n) ? n : TS(e), i = (t) => t === e || ES(t) && jS(e, t), a = (e) => e === t || t != null && ES(e) && jS(t, e);- WS = !0;+ let n = e?.getRootNode(), r = n != null && ES(n) ? n : wS(e), i = (t) => t === e || TS(t) && AS(e, t), a = (e) => e === t || t != null && TS(e) && AS(t, e);+ US = !0;let o = !1, s = (e) => {- (a(G(e)) || o) && e.stopImmediatePropagation();+ (a(K(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, CS(t), d()));+ (a(K(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, SS(t), d()));}, l = (e) => {- (i(G(e)) || o) && e.stopImmediatePropagation();+ (i(K(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, CS(t), d()));+ (i(K(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, SS(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), WS = !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), US = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function GS(e) {+function WS(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 KS(e) {+function GS(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function qS(e) {+function KS(e) {let t = null;return () => (t ??= e(), t);}-var JS = qS(function() {- return KS(/^Mac/i);-}), kae = qS(function() {- return KS(/^iPhone/i);-}), YS = qS(function() {- return KS(/^iPad/i) || JS() && navigator.maxTouchPoints > 1;-}), XS = qS(function() {- return kae() || YS();-}), Aae = qS(function() {- return JS() || XS();-}), ZS = qS(function() {- return GS(/AppleWebKit/i) && (XS() || !QS());-}), QS = qS(function() {- return GS(/Chrome|CriOS|CrMo/i);-}), $S = qS(function() {- return GS(/Android/i);+var qS = KS(function() {+ return GS(/^Mac/i);+}), kae = KS(function() {+ return GS(/^iPhone/i);+}), JS = KS(function() {+ return GS(/^iPad/i) || qS() && navigator.maxTouchPoints > 1;+}), YS = KS(function() {+ return kae() || JS();+}), Aae = KS(function() {+ return qS() || YS();+}), XS = KS(function() {+ return WS(/AppleWebKit/i) && (YS() || !ZS());+}), ZS = KS(function() {+ return WS(/Chrome|CriOS|CrMo/i);+}), QS = KS(function() {+ return WS(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function eC(e) {- return e.pointerType === "" && e.isTrusted ? !0 : $S() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function $S(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : QS() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}function jae(e) {- return !$S() && e.width === 0 && e.height === 0 || $S() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+ return !QS() && e.width === 0 && e.height === 0 || QS() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}// node_modules/react-aria/dist/private/utils/openLink.mjsvar Mae = /*#__PURE__*/ (0, F.createContext)({@@ -22679,15 +22679,15 @@ var Mae = /*#__PURE__*/ (0, F.createContext)({open: Fae,useHref: (e) => e});-function tC() {+function eC() {return (0, F.useContext)(Mae);}function Nae(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 nC(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = ZS() && JS() && !YS() ? new KeyboardEvent("keydown", {+function tC(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = XS() && qS() && !JS() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -22702,9 +22702,9 @@ function nC(e, t, n = !0) {bubbles: !0,cancelable: !0});- nC.isOpening = n, CS(e), e.dispatchEvent(s), nC.isOpening = !1;+ tC.isOpening = n, SS(e), e.dispatchEvent(s), tC.isOpening = !1;}-nC.isOpening = !1;+tC.isOpening = !1;function Pae(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {@@ -22713,10 +22713,10 @@ function Pae(e, t) {}}function Fae(e, t) {- Pae(e, (e) => nC(e, t));+ Pae(e, (e) => tC(e, t));}-function rC(e) {- let t = tC().useHref(e.href ?? "");+function nC(e) {+ let t = eC().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -22726,8 +22726,8 @@ function rC(e) {"data-referrer-policy": e.referrerPolicy};}-function iC(e) {- let t = tC().useHref(e?.href ?? ""), n = {};+function rC(e) {+ let t = eC().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -22742,33 +22742,33 @@ function Iae(e, t, n, r) {!t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Nae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var aC = {+var iC = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, oC = /*#__PURE__*/ F.createContext(aC), Lae = /*#__PURE__*/ F.createContext(!1);+}, aC = /*#__PURE__*/ F.createContext(iC), Lae = /*#__PURE__*/ F.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var sC = /* @__PURE__ */ new WeakMap();+var oC = /* @__PURE__ */ new WeakMap();function Rae(e = !1) {- let t = (0, F.useContext)(oC), n = (0, F.useRef)(null);+ let t = (0, F.useContext)(aC), n = (0, F.useRef)(null);if (n.current === null && !e) {let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = sC.get(e);- n == null ? sC.set(e, {+ let n = oC.get(e);+ n == null ? oC.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, sC.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, oC.delete(e));}n.current = ++t.current;}return n.current;}function zae(e) {- let t = (0, F.useContext)(oC), n = Rae(!!e), r = `react-aria${t.prefix}`;+ let t = (0, F.useContext)(aC), n = Rae(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}function Bae(e) {- let t = F.useId(), [n] = (0, F.useState)(cC()), r = n ? "react-aria" : `react-aria${aC.prefix}`;+ let t = F.useId(), [n] = (0, F.useState)(sC()), r = n ? "react-aria" : `react-aria${iC.prefix}`;return e || `${r}-${t}`;}var Vae = typeof F.useId == "function" ? Bae : zae;@@ -22781,93 +22781,93 @@ function Uae() {function Wae(e) {return () => {};}-function cC() {+function sC() {return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(Wae, Hae, Uae) : (0, F.useContext)(Lae);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var lC = null, uC = /* @__PURE__ */ new Set(), dC = /* @__PURE__ */ new Map(), fC = !1, pC = !1, Gae = {+var cC = null, lC = /* @__PURE__ */ new Set(), uC = /* @__PURE__ */ new Map(), dC = !1, fC = !1, Gae = {Tab: !0,Escape: !0};-function mC(e, t) {- for (let n of uC) n(e, t);+function pC(e, t) {+ for (let n of lC) n(e, t);}function Kae(e) {- return !(e.metaKey || !JS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+ return !(e.metaKey || !qS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+}+function mC(e) {+ dC = !0, !tC.isOpening && Kae(e) && (cC = "keyboard", pC("keyboard", e));}function hC(e) {- fC = !0, !nC.isOpening && Kae(e) && (lC = "keyboard", mC("keyboard", e));+ cC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (dC = !0, pC("pointer", e));}function gC(e) {- lC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (fC = !0, mC("pointer", e));+ !tC.isOpening && $S(e) && (dC = !0, cC = "virtual");}function _C(e) {- !nC.isOpening && eC(e) && (fC = !0, lC = "virtual");+ if (US) return;+ let t = K(e), n = wS(t), r = CS(t);+ t === n ? fC = !0 : t !== r && e.isTrusted && (!dC && !fC && (cC = "virtual", pC("virtual", e)), dC = !1, fC = !1);}-function vC(e) {- if (WS) return;- let t = G(e), n = TS(t), r = wS(t);- t === n ? pC = !0 : t !== r && e.isTrusted && (!fC && !pC && (lC = "virtual", mC("virtual", e)), fC = !1, pC = !1);+function vC() {+ US || (dC = !1, fC = !0);}-function yC() {- WS || (fC = !1, pC = !0);-}-function bC(e) {- let t = MS(wS(G(e)));+function yC(e) {+ let t = jS(CS(K(e)));queueMicrotask(() => {- MS(wS(G(e))) !== t && TC("keyboard");+ jS(CS(K(e))) !== t && wC("keyboard");});}-function xC(e) {+function bC(e) {if (typeof window > "u" || typeof document > "u") return;- let t = TS(e), n = wS(e);- if (dC.get(t)) return;+ let t = wS(e), n = CS(e);+ if (uC.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- fC = !0, r.apply(this, arguments);+ dC = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", hC, !0), n.addEventListener("keyup", hC, !0), n.addEventListener("click", _C, !0), n.addEventListener("invalid", bC, !0), t.addEventListener("focus", vC, !0), t.addEventListener("blur", yC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", gC, !0), n.addEventListener("pointermove", gC, !0), n.addEventListener("pointerup", gC, !0)), t.addEventListener("beforeunload", () => {- SC(e);- }, { once: !0 }), dC.set(t, { focus: r });+ }), n.addEventListener("keydown", mC, !0), n.addEventListener("keyup", mC, !0), n.addEventListener("click", gC, !0), n.addEventListener("invalid", yC, !0), t.addEventListener("focus", _C, !0), t.addEventListener("blur", vC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", hC, !0), n.addEventListener("pointermove", hC, !0), n.addEventListener("pointerup", hC, !0)), t.addEventListener("beforeunload", () => {+ xC(e);+ }, { once: !0 }), uC.set(t, { focus: r });}-var SC = (e, t) => {- let n = TS(e), r = wS(e);- t && r.removeEventListener("DOMContentLoaded", t), dC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var xC = (e, t) => {+ let n = wS(e), r = CS(e);+ t && r.removeEventListener("DOMContentLoaded", t), uC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: dC.get(n).focus- }), r.removeEventListener("keydown", hC, !0), r.removeEventListener("keyup", hC, !0), r.removeEventListener("click", _C, !0), r.removeEventListener("invalid", bC, !0), n.removeEventListener("focus", vC, !0), n.removeEventListener("blur", yC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", gC, !0), r.removeEventListener("pointermove", gC, !0), r.removeEventListener("pointerup", gC, !0)), dC.delete(n));+ value: uC.get(n).focus+ }), r.removeEventListener("keydown", mC, !0), r.removeEventListener("keyup", mC, !0), r.removeEventListener("click", gC, !0), r.removeEventListener("invalid", yC, !0), n.removeEventListener("focus", _C, !0), n.removeEventListener("blur", vC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", hC, !0), r.removeEventListener("pointermove", hC, !0), r.removeEventListener("pointerup", hC, !0)), uC.delete(n));};function qae(e) {- let t = wS(e), n;+ let t = CS(e), n;return t.readyState === "loading" ? (n = () => {- xC(e);- }, t.addEventListener("DOMContentLoaded", n)) : xC(e), () => SC(e, n);+ bC(e);+ }, t.addEventListener("DOMContentLoaded", n)) : bC(e), () => xC(e, n);}typeof document < "u" && qae();-function CC() {- return lC !== "pointer";+function SC() {+ return cC !== "pointer";}-function wC() {- return lC;+function CC() {+ return cC;}-function TC(e) {- lC = e, mC(e, null);+function wC(e) {+ cC = e, pC(e, null);}-function EC() {- xC();- let [e, t] = (0, F.useState)(lC);+function TC() {+ bC();+ let [e, t] = (0, F.useState)(cC);return (0, F.useEffect)(() => {let e = () => {- t(lC);+ t(cC);};- return uC.add(e), () => {- uC.delete(e);+ return lC.add(e), () => {+ lC.delete(e);};- }, []), cC() ? null : e;+ }, []), sC() ? null : e;}var Jae = /* @__PURE__ */ new Set(["checkbox",@@ -22881,73 +22881,73 @@ var Jae = /* @__PURE__ */ new Set(["reset"]);function Yae(e, t, n) {- let r = n ? G(n) : void 0, i = wS(r), a = TS(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 = MS(i);+ let r = n ? K(n) : void 0, i = CS(r), a = wS(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 = jS(i);return e = e || u instanceof o && !Jae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Gae[n.key]);}-function DC(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || CC());- return OC((e) => {+function EC(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || SC());+ return DC((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function OC(e, t, n) {- xC(), (0, F.useEffect)(() => {+function DC(e, t, n) {+ bC(), (0, F.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- Yae(!!n?.isTextInput, t, r) && e(CC());+ Yae(!!n?.isTextInput, t, r) && e(SC());};- return uC.add(t), () => {- uC.delete(t);+ return lC.add(t), () => {+ lC.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var kC = /* @__PURE__ */ new Map(), AC = /* @__PURE__ */ new Set();-function jC(e) {+var OC = /* @__PURE__ */ new Map(), kC = /* @__PURE__ */ new Set();+function AC(e) {return "propertyName" in e;}function Xae(e) {- let t = G(e);- if (!jC(e) || !t) return;- let n = kC.get(t);- n || (n = /* @__PURE__ */ new Set(), kC.set(t, n), t.addEventListener("transitioncancel", MC, { once: !0 })), n.add(e.propertyName);+ let t = K(e);+ if (!AC(e) || !t) return;+ let n = OC.get(t);+ n || (n = /* @__PURE__ */ new Set(), OC.set(t, n), t.addEventListener("transitioncancel", jC, { once: !0 })), n.add(e.propertyName);}-function MC(e) {- let t = G(e);- if (!jC(e) || !t) return;- let n = kC.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", MC), kC.delete(t)), kC.size === 0)) for (let e of AC) e(!0), AC.delete(e);+function jC(e) {+ let t = K(e);+ if (!AC(e) || !t) return;+ let n = OC.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", jC), OC.delete(t)), OC.size === 0)) for (let e of kC) e(!0), kC.delete(e);}-function NC() {- OS(document, "transitionrun", Xae), OS(document, "transitionend", MC);+function MC() {+ DS(document, "transitionrun", Xae), DS(document, "transitionend", jC);}function Zae() {- for (let [e] of kC) "isConnected" in e && !e.isConnected && kC.delete(e);+ for (let [e] of OC) "isConnected" in e && !e.isConnected && OC.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? OS(document, "DOMContentLoaded", NC) : NC());-function PC(e) {+typeof document < "u" && (document.readyState === "loading" ? DS(document, "DOMContentLoaded", MC) : MC());+function NC(e) {let t = window.requestAnimationFrame(() => {- if (Zae(), kC.size === 0) return e(!1);- AC.add(e);+ if (Zae(), OC.size === 0) return e(!1);+ kC.add(e);});return () => {- window.cancelAnimationFrame(t), AC.delete(e);+ window.cancelAnimationFrame(t), kC.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function FC(e) {+function PC(e) {if (!e.isConnected) return;- let t = wS(e);- if (wC() === "virtual") {- let n = MS(t);- PC(() => {- let r = MS(t);- (r === n || r === t.body) && e.isConnected && CS(e);+ let t = CS(e);+ if (CC() === "virtual") {+ let n = jS(t);+ NC(() => {+ let r = jS(t);+ (r === n || r === t.body) && e.isConnected && SS(e);});- } else CS(e);+ } else SS(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function IC(...e) {+function FC(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};@@ -22959,28 +22959,28 @@ function Qae(e) {let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return BS(() => {+ return zS(() => {r.current = t, i.current && a.current();}), [t, (0, F.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}// node_modules/react-aria/dist/private/utils/useId.mjs-var $ae = !!(typeof window < "u" && window.document && window.document.createElement), LC = /* @__PURE__ */ new Map(), RC;-typeof FinalizationRegistry < "u" && (RC = new FinalizationRegistry((e) => {- LC.delete(e);+var $ae = !!(typeof window < "u" && window.document && window.document.createElement), IC = /* @__PURE__ */ new Map(), LC;+typeof FinalizationRegistry < "u" && (LC = new FinalizationRegistry((e) => {+ IC.delete(e);}));-var zC = /* @__PURE__ */ new WeakMap();-function BC(e) {- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Vae(t), a = (0, F.useRef)(null), o = zC.get(a);- if (RC && o !== i && (o != null && RC.unregister(a), RC.register(a, i, a), zC.set(a, i)), $ae) {- let e = LC.get(i);- e && !e.includes(r) ? e.push(r) : LC.set(i, [r]);- }- return BS(() => {+var RC = /* @__PURE__ */ new WeakMap();+function zC(e) {+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Vae(t), a = (0, F.useRef)(null), o = RC.get(a);+ if (LC && o !== i && (o != null && LC.unregister(a), LC.register(a, i, a), RC.set(a, i)), $ae) {+ let e = IC.get(i);+ e && !e.includes(r) ? e.push(r) : IC.set(i, [r]);+ }+ return zS(() => {let e = i;return () => {- RC && (RC.unregister(a), zC.delete(a)), LC.delete(e);+ LC && (LC.unregister(a), RC.delete(a)), IC.delete(e);};}, [i]), (0, F.useEffect)(() => {let e = r.current;@@ -22991,75 +22991,75 @@ function BC(e) {}function eoe(e, t) {if (e === t) return e;- let n = LC.get(e);+ let n = IC.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = LC.get(t);+ let r = IC.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function VC(e = []) {- let t = BC(), [n, r] = Qae(t), i = (0, F.useCallback)(() => {+function BC(e = []) {+ let t = zC(), [n, r] = Qae(t), i = (0, F.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return BS(i, [+ return zS(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function HC(...e) {+function VC(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = UC(e, t);+ let r = HC(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : UC(e[n], null);+ typeof t == "function" ? t() : HC(e[n], null);});};};}-function UC(e, t) {+function HC(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function WC(e) {+function UC(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 = WC(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = UC(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function GC() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = WC(e)) && (r && (r += " "), r += t);+function WC() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = UC(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs-function K(...e) {+function q(...e) {let t = { ...e[0] };for (let n = 1; n < e.length; n++) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = IC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = GC(n, i) : e === "id" && n && i ? t.id = eoe(n, i) : e === "ref" && n && i ? t.ref = HC(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] = FC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = WC(n, i) : e === "id" && n && i ? t.id = eoe(n, i) : e === "ref" && n && i ? t.ref = VC(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function KC(e) {+function GC(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, F.useCallback)((e) => {- if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = US(a), s = (0, F.useCallback)((e) => {- let t = G(e), r = wS(t), a = r ? MS(r) : MS();+ if (K(e) === e.currentTarget) return r && r(e), i && i(!1), !0;+ }, [r, i]), o = HS(a), s = (0, F.useCallback)((e) => {+ let t = K(e), r = CS(t), a = r ? jS(r) : jS();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -23072,7 +23072,7 @@ function KC(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function qC(e) {+function KC(e) {if (e) return (t) => {let n = !0;e({@@ -23110,13 +23110,13 @@ var toe = /* @__PURE__ */ new Set([];function roe(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(JS() ? "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(qS() ? "Meta" : "Control"), t;}function ioe(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 JC(e) {+function qC(e) {return noe.filter((t) => e.has(t));}function aoe(e) {@@ -23134,7 +23134,7 @@ function aoe(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 YC(e) {+function JC(e) {return e.toLowerCase();}var ooe = {@@ -23150,15 +23150,15 @@ var ooe = {pagedown: "pagedown"};function soe(e) {- let t = YC(e);+ let t = JC(e);return ooe[t] ?? t;}function coe(e) {- let t = JC(roe(e)), n = soe(e.key);+ let t = qC(roe(e)), n = soe(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}function loe(e) {- let t = JC(ioe(e)), n = YC(e.key);+ let t = qC(ioe(e)), n = JC(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}function uoe(e) {@@ -23179,23 +23179,23 @@ function uoe(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function XC(e) {+function YC(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = uoe(t), s = qC((e) => {- jS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = qC((e) => {- jS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = uoe(t), s = KC((e) => {+ AS(e.currentTarget, K(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = KC((e) => {+ AS(e.currentTarget, K(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? IC(e.onKeyDown, s) : s, a = e.onKeyUp ? IC(e.onKeyUp, c) : c;- } else i = qC(e.onKeyDown), a = qC(e.onKeyUp);+ i = e.onKeyDown ? FC(e.onKeyDown, s) : s, a = e.onKeyUp ? FC(e.onKeyUp, c) : c;+ } else i = KC(e.onKeyDown), a = KC(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function ZC(e) {+function XC(e) {let t = (0, F.useRef)(null), n = (0, F.useRef)(void 0), r = (0, F.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -23217,28 +23217,28 @@ function ZC(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function QC(e, t) {- BS(() => {+function ZC(e, t) {+ zS(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};});}// node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var $C = /*#__PURE__*/ F.createContext(null);+var QC = /*#__PURE__*/ F.createContext(null);function doe(e) {- let t = (0, F.useContext)($C) || {};- QC(t, e);+ let t = (0, F.useContext)(QC) || {};+ ZC(t, e);let { ref: n, ...r } = t;return r;}-function ew(e, t) {- let { focusProps: n } = KC(e), { keyboardProps: r } = XC(e), i = K(n, r), a = doe(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);+function $C(e, t) {+ let { focusProps: n } = GC(e), { keyboardProps: r } = YC(e), i = q(n, r), a = doe(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);(0, F.useEffect)(() => {- s.current && t.current && FC(t.current), s.current = !1;+ s.current && t.current && PC(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;- return e.isDisabled && (c = void 0), { focusableProps: K({+ return e.isDisabled && (c = void 0), { focusableProps: q({...i,tabIndex: c}, o) };@@ -23269,18 +23269,18 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var tw = /*#__PURE__*/ (0, F.createContext)(!1);+var ew = /*#__PURE__*/ (0, F.createContext)(!1);function foe(e) {- if ((0, F.useContext)(tw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);- let t = /*#__PURE__*/ F.createElement(tw.Provider, { value: !0 }, e.children);+ if ((0, F.useContext)(ew)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);+ let t = /*#__PURE__*/ F.createElement(ew.Provider, { value: !0 }, e.children);return /*#__PURE__*/ F.createElement("template", null, t);}-function nw(e) {- let t = (t, n) => (0, F.useContext)(tw) ? null : e(t, n);+function tw(e) {+ let t = (t, n) => (0, F.useContext)(ew) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);}-function rw() {- return (0, F.useContext)(tw);+function nw() {+ return (0, F.useContext)(ew);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.jsvar poe = /* @__PURE__ */ o(((e) => {@@ -23321,13 +23321,13 @@ var poe = /* @__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;-})), iw = /* @__PURE__ */ o(((e, t) => {+})), rw = /* @__PURE__ */ o(((e, t) => {t.exports = poe();-})), moe = iw(), aw = /*#__PURE__*/ (0, F.createContext)(!1), ow = /*#__PURE__*/ (0, F.createContext)(null);-function sw(e) {- if ((0, F.useContext)(ow)) return e.content;+})), moe = rw(), iw = /*#__PURE__*/ (0, F.createContext)(!1), aw = /*#__PURE__*/ (0, F.createContext)(null);+function ow(e) {+ if ((0, F.useContext)(aw)) return e.content;let { collection: t, document: n } = voe(e.createCollection);- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(foe, null, /*#__PURE__*/ F.createElement(ow.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(hoe, {+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(foe, null, /*#__PURE__*/ F.createElement(aw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(hoe, {render: e.children,collection: t}));@@ -23336,14 +23336,14 @@ function hoe({ collection: e, render: t }) {return t(e);}function goe(e, t, n) {- let r = cC(), i = (0, F.useRef)(r);+ let r = sC(), i = (0, F.useRef)(r);i.current = r;let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);return (0, moe.useSyncExternalStore)(e, a);}var _oe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : goe;function voe(e) {- let [t] = (0, F.useState)(() => new vae(e?.() || new vS()));+ let [t] = (0, F.useState)(() => new vae(e?.() || new _S()));return {collection: _oe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {let e = t.getCollection();@@ -23352,15 +23352,15 @@ function voe(e) {document: t};}-var cw = /*#__PURE__*/ (0, F.createContext)(null);+var sw = /*#__PURE__*/ (0, F.createContext)(null);function yoe(e) {- return class extends mS {+ return class extends pS {static {this.type = e;}};}-function lw(e, t, n, r, i, a) {+function cw(e, t, n, r, i, a) {typeof e == "string" && (e = yoe(e));let o = (0, F.useCallback)((i) => {i?.setProps(t, n, e, r, a);@@ -23370,56 +23370,56 @@ function lw(e, t, n, r, i, a) {r,a,e- ]), s = (0, F.useContext)(cw);+ ]), s = (0, F.useContext)(sw);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__*/ F.createElement(cw.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__*/ F.createElement(sw.Provider, { value: o }, i) : null;}return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);}-function uw(e, t) {+function lw(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {- let a = (0, F.useContext)($C);- if (!(0, F.useContext)(aw)) {+ let a = (0, F.useContext)(QC);+ if (!(0, F.useContext)(iw)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return lw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement($C.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));+ return cw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(QC.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function dw(e, t, n = fw) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => lw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));+function uw(e, t, n = dw) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => cw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));return i.displayName = t.name, i;}-function fw(e) {- return SS({+function dw(e) {+ return xS({...e,addIdAndValue: !0});}-var pw = /*#__PURE__*/ (0, F.createContext)(null);-function mw(e) {- let t = (0, F.useContext)(pw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = fw({+var fw = /*#__PURE__*/ (0, F.createContext)(null);+function pw(e) {+ let t = (0, F.useContext)(fw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = dw({...e,idScope: r,dependencies: n});- return (0, F.useContext)(ow) && (i = /*#__PURE__*/ F.createElement(boe, null, i)), t = (0, F.useMemo)(() => ({+ return (0, F.useContext)(aw) && (i = /*#__PURE__*/ F.createElement(boe, null, i)), t = (0, F.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ F.createElement(pw.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ F.createElement(fw.Provider, { value: t }, i);}function boe({ children: e }) {- let t = (0, F.useContext)(ow), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(ow.Provider, { value: null }, /*#__PURE__*/ F.createElement(aw.Provider, { value: !0 }, e)), [e]);- return cC() ? /*#__PURE__*/ F.createElement(cw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);+ let t = (0, F.useContext)(aw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(aw.Provider, { value: null }, /*#__PURE__*/ F.createElement(iw.Provider, { value: !0 }, e)), [e]);+ return sC() ? /*#__PURE__*/ F.createElement(sw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjsvar xoe = "react-aria-clear-focus", Soe = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function hw(e) {- let t = woe(wS(e));- t !== e && (t && Coe(t, e), e && gw(e, t));+function mw(e) {+ let t = woe(CS(e));+ t !== e && (t && Coe(t, e), e && hw(e, t));}function Coe(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {@@ -23427,25 +23427,25 @@ function Coe(e, t) {relatedTarget: t}));}-function gw(e, t) {+function hw(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}function woe(e) {- let t = MS(e), n = t?.getAttribute("aria-activedescendant");+ let t = jS(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function _w(e, t) {- let n = TS(t), r = wS(t);+function gw(e, t) {+ let n = wS(t), r = CS(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;}// node_modules/react-aria/dist/private/utils/keyboard.mjs-var vw = 100, yw = 600, bw = {+var _w = 100, vw = 600, yw = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -23466,7 +23466,7 @@ var vw = 100, yw = 600, bw = {"submit","reset"]);-function xw() {+function bw() {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,@@ -23475,55 +23475,55 @@ function xw() {};}function Eoe(e) {- bw.resizeTimeStamp <= e.timeStamp + 50 && (bw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(bw.resizeTimeout), bw.resizeTimeout = window.setTimeout(Sw, 150));+ yw.resizeTimeStamp <= e.timeStamp + 50 && (yw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(yw.resizeTimeout), yw.resizeTimeout = window.setTimeout(xw, 150));}-function Sw() {- let e = _w("viewport");- if ($S() && e?.includes("overlays-content")) return;- let t = performance.now(), n = xw(), r = t - bw.startTimeStamp, i = bw.screenHeight - n.height, a = bw.screenAngle - n.angle;- Math.abs(a) % 180 && bw.screenWidth - n.height < vw && (bw.screenWidth = n.width, bw.screenHeight = n.height, bw.screenAngle = n.angle, i = 0), r > yw && (window.clearTimeout(bw.screenTimeout), bw.screenTimeout = window.setTimeout(() => {- let e = Tw(document.hasFocus() ? MS() : null), t = xw();- Math.abs(bw.screenAngle - t.angle) % 180 || bw.isOpen && e || (bw.screenWidth = t.width, bw.screenHeight = t.height, bw.screenAngle = t.angle, bw.isOpen = !1);- }, yw)), r <= yw && i >= vw && (bw.endTimeStamp = t), bw.isOpen = i >= vw;+function xw() {+ let e = gw("viewport");+ if (QS() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = bw(), r = t - yw.startTimeStamp, i = yw.screenHeight - n.height, a = yw.screenAngle - n.angle;+ Math.abs(a) % 180 && yw.screenWidth - n.height < _w && (yw.screenWidth = n.width, yw.screenHeight = n.height, yw.screenAngle = n.angle, i = 0), r > vw && (window.clearTimeout(yw.screenTimeout), yw.screenTimeout = window.setTimeout(() => {+ let e = ww(document.hasFocus() ? jS() : null), t = bw();+ Math.abs(yw.screenAngle - t.angle) % 180 || yw.isOpen && e || (yw.screenWidth = t.width, yw.screenHeight = t.height, yw.screenAngle = t.angle, yw.isOpen = !1);+ }, vw)), r <= vw && i >= _w && (yw.endTimeStamp = t), yw.isOpen = i >= _w;}function Doe() {- let e = xw(), t = bw.screenAngle - e.angle;- if (Math.abs(t) % 180 && !bw.isOpen) {- let e = bw.screenWidth;- bw.screenWidth = bw.screenHeight, bw.screenHeight = e;+ let e = bw(), t = yw.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !yw.isOpen) {+ let e = yw.screenWidth;+ yw.screenWidth = yw.screenHeight, yw.screenHeight = e;}- bw.isOpen || (bw.screenAngle = e.angle);+ yw.isOpen || (yw.screenAngle = e.angle);}function Ooe(e) {- let t = Tw(G(e)), n = performance.now(), r = xw(), i = bw.screenHeight - r.height;- i < vw && t && (bw.screenWidth = r.width, bw.screenHeight = r.height, bw.screenAngle = r.angle, bw.startTimeStamp = n), t && window.clearTimeout(bw.screenTimeout), i >= vw && t && (bw.endTimeStamp = n);+ let t = ww(K(e)), n = performance.now(), r = bw(), i = yw.screenHeight - r.height;+ i < _w && t && (yw.screenWidth = r.width, yw.screenHeight = r.height, yw.screenAngle = r.angle, yw.startTimeStamp = n), t && window.clearTimeout(yw.screenTimeout), i >= _w && t && (yw.endTimeStamp = n);}-function Cw() {- let e = xw();- OS(window.visualViewport, "resize", ZS() ? Sw : Eoe), OS(window.screen.orientation, "change", Doe), OS(window, "focus", Ooe, {+function Sw() {+ let e = bw();+ DS(window.visualViewport, "resize", XS() ? xw : Eoe), DS(window.screen.orientation, "change", Doe), DS(window, "focus", Ooe, {capture: !0,passive: !0- }), bw.screenWidth = e.width, bw.screenHeight = e.height, bw.screenAngle = e.angle;+ }), yw.screenWidth = e.width, yw.screenHeight = e.height, yw.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? OS(document, "DOMContentLoaded", Cw) : Cw());-function ww() {- let e = _w("viewport");- return $S() && e?.includes("overlays-content") ? !1 : bw.isOpen ? !0 : bw.startTimeStamp ? bw.endTimeStamp >= bw.startTimeStamp ? !0 : performance.now() - bw.startTimeStamp <= yw ? bw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? DS(document, "DOMContentLoaded", Sw) : Sw());+function Cw() {+ let e = gw("viewport");+ return QS() && e?.includes("overlays-content") ? !1 : yw.isOpen ? !0 : yw.startTimeStamp ? yw.endTimeStamp >= yw.startTimeStamp ? !0 : performance.now() - yw.startTimeStamp <= vw ? yw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function Tw(e) {- if (!(e instanceof Element) || !LS(e)) return !1;+function ww(e) {+ if (!(e instanceof Element) || !IS(e)) return !1;let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Toe.has(e.type);return t || n || r;}-function Ew(e) {- return JS() ? e.metaKey : e.ctrlKey;+function Tw(e) {+ return qS() ? e.metaKey : e.ctrlKey;}-function Dw() {- return bw.isOpen;+function Ew() {+ return yw.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var koe = F.useInsertionEffect ?? BS;-function Ow(e) {+var koe = F.useInsertionEffect ?? zS;+function Dw(e) {let t = (0, F.useRef)(null);return koe(() => {t.current = e;@@ -23533,10 +23533,10 @@ function Ow(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function kw(e, t, n, r) {- let i = Ow(n), a = n == null;+function Ow(e, t, n, r) {+ let i = Dw(n), a = n == null;(0, F.useEffect)(() => {- if (!(a || e.current == null)) return OS(e.current, t, i, r);+ if (!(a || e.current == null)) return DS(e.current, t, i, r);}, [e,t,@@ -23545,9 +23545,9 @@ function kw(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function Aw(e, t) {+function kw(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = BC(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 = zC(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@@ -23596,9 +23596,9 @@ function Moe(e) {return joe.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var jw = Symbol.for("react-aria.i18n.locale");-function Mw() {- let e = typeof window < "u" && window[jw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var Aw = Symbol.for("react-aria.i18n.locale");+function jw() {+ let e = typeof window < "u" && window[Aw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -23609,28 +23609,28 @@ function Mw() {direction: Moe(e) ? "rtl" : "ltr"};}-var Nw = Mw(), Pw = /* @__PURE__ */ new Set();-function Fw() {- Nw = Mw();- for (let e of Pw) e(Nw);+var Mw = jw(), Nw = /* @__PURE__ */ new Set();+function Pw() {+ Mw = jw();+ for (let e of Nw) e(Mw);}function Noe() {- let e = cC(), [t, n] = (0, F.useState)(Nw);- return (0, F.useEffect)(() => (Pw.size === 0 && window.addEventListener("languagechange", Fw), Pw.add(n), () => {- Pw.delete(n), Pw.size === 0 && window.removeEventListener("languagechange", Fw);+ let e = sC(), [t, n] = (0, F.useState)(Mw);+ return (0, F.useEffect)(() => (Nw.size === 0 && window.addEventListener("languagechange", Pw), Nw.add(n), () => {+ Nw.delete(n), Nw.size === 0 && window.removeEventListener("languagechange", Pw);}), []), e ? {- locale: typeof window < "u" && window[jw] || "en-US",+ locale: typeof window < "u" && window[Aw] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjsvar Poe = /*#__PURE__*/ F.createContext(null);-function Iw() {+function Fw() {let e = Noe();return (0, F.useContext)(Poe) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Foe = Symbol.for("react-aria.i18n.locale"), Ioe = Symbol.for("react-aria.i18n.strings"), Lw = void 0, Rw = class e {+var Foe = Symbol.for("react-aria.i18n.locale"), Ioe = Symbol.for("react-aria.i18n.strings"), Iw = void 0, Lw = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -23646,13 +23646,13 @@ var Foe = Symbol.for("react-aria.i18n.locale"), Ioe = Symbol.for("react-aria.i18static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;let n = window[Foe];- if (Lw === void 0) {+ if (Iw === void 0) {let t = window[Ioe];if (!t) return null;- Lw = {};- for (let r in t) Lw[r] = new e({ [n]: t[r] }, n);+ Iw = {};+ for (let r in t) Iw[r] = new e({ [n]: t[r] }, n);}- let r = Lw?.[t];+ let r = Iw?.[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;}@@ -23672,7 +23672,7 @@ function zoe(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var zw = /* @__PURE__ */ new Map(), Bw = /* @__PURE__ */ new Map(), Boe = class {+var Rw = /* @__PURE__ */ new Map(), zw = /* @__PURE__ */ new Map(), Boe = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -23683,27 +23683,27 @@ var zw = /* @__PURE__ */ new Map(), Bw = /* @__PURE__ */ new Map(), Boe = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = zw.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), zw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Rw.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Rw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = Bw.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), Bw.set(this.locale, t)), t.format(e);+ let t = zw.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), zw.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, Vw = /* @__PURE__ */ new WeakMap();+}, Bw = /* @__PURE__ */ new WeakMap();function Voe(e) {- let t = Vw.get(e);- return t || (t = new Rw(e), Vw.set(e, t)), t;+ let t = Bw.get(e);+ return t || (t = new Lw(e), Bw.set(e, t)), t;}function Hoe(e, t) {- return t && Rw.getGlobalDictionaryForPackage(t) || Voe(e);+ return t && Lw.getGlobalDictionaryForPackage(t) || Voe(e);}-function Hw(e, t) {- let { locale: n } = Iw(), r = Hoe(e, t);+function Vw(e, t) {+ let { locale: n } = Fw(), r = Hoe(e, t);return (0, F.useMemo)(() => new Boe(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs@@ -23727,53 +23727,53 @@ var Uoe = /* @__PURE__ */ new Set(["id"]), Woe = /* @__PURE__ */ new Set(["inert","translate","suppressHydrationWarning"-]), Uw = /* @__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(".")), qoe = /^(data-.*)$/;-function Ww(e, t = {}) {+]), Hw = /* @__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(".")), qoe = /^(data-.*)$/;+function Uw(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) && (Uoe.has(t) || n && Woe.has(t) || r && Goe.has(t) || i && Koe.has(t) || a && (Uw.has(t) || t.endsWith("Capture") && Uw.has(t.slice(0, -7))) || o?.has(t) || qoe.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Uoe.has(t) || n && Woe.has(t) || r && Goe.has(t) || i && Koe.has(t) || a && (Hw.has(t) || t.endsWith("Capture") && Hw.has(t.slice(0, -7))) || o?.has(t) || qoe.test(t)) && (s[t] = e[t]);return s;}// node_modules/react-aria/dist/private/interactions/textSelection.mjs-var Gw = "default", Kw = "", qw = /* @__PURE__ */ new WeakMap();-function Jw(e) {- if (XS() && ZS()) {- if (Gw === "default") {- let t = wS(e);- Kw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- Gw = "disabled";+var Ww = "default", Gw = "", Kw = /* @__PURE__ */ new WeakMap();+function qw(e) {+ if (YS() && XS()) {+ if (Ww === "default") {+ let t = CS(e);+ Gw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ Ww = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- qw.set(e, e.style[t]), e.style[t] = "none";+ Kw.set(e, e.style[t]), e.style[t] = "none";}}-function Yw(e) {- if (XS() && ZS()) {- if (Gw !== "disabled") return;- Gw = "restoring", setTimeout(() => {- PC(() => {- if (Gw === "restoring") {- let t = wS(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Kw || ""), Kw = "", Gw = "default";+function Jw(e) {+ if (YS() && XS()) {+ if (Ww !== "disabled") return;+ Ww = "restoring", setTimeout(() => {+ NC(() => {+ if (Ww === "restoring") {+ let t = CS(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Gw || ""), Gw = "", Ww = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && qw.has(e)) {- let t = qw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), qw.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Kw.has(e)) {+ let t = Kw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Kw.delete(e);}}// node_modules/react-aria/dist/private/utils/getNonce.mjs-var Xw = /* @__PURE__ */ new WeakMap();-function Zw(e) {- let t = wS(e), n = Xw.get(t);- return n ??= _w("csp-nonce", t), n !== void 0 && Xw.set(t, n), n;+var Yw = /* @__PURE__ */ new WeakMap();+function Xw(e) {+ let t = CS(e), n = Yw.get(t);+ return n ??= gw("csp-nonce", t), n !== void 0 && Yw.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjs-var Qw = F.createContext({ register: () => {} });-Qw.displayName = "PressResponderContext";+var Zw = F.createContext({ register: () => {} });+Zw.displayName = "PressResponderContext";// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function $w() {+function Qw() {let e = (0, F.useRef)(/* @__PURE__ */ new Map()), t = (0, F.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -23800,14 +23800,14 @@ function $w() {}// node_modules/react-aria/dist/private/interactions/usePress.mjsfunction Joe(e) {- let t = (0, F.useContext)(Qw);+ let t = (0, F.useContext)(Zw);if (t) {let { register: n, ref: r, ...i } = t;- e = K(i, e), n();+ e = q(i, e), n();}- return QC(t, e.ref), e;+ return ZC(t, e.ref), e;}-var eT = class {+var $w = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -23820,8 +23820,8 @@ var eT = class {get shouldStopPropagation() {return this.#e;}-}, tT = Symbol("linkClicked"), nT = "react-aria-pressable-style", rT = "data-react-aria-pressable";-function iT(e) {+}, eT = Symbol("linkClicked"), tT = "react-aria-pressable-style", nT = "data-react-aria-pressable";+function rT(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 } = Joe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,@@ -23832,12 +23832,12 @@ function iT(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = $w(), y = (0, F.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = Qw(), y = (0, F.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new eT("pressstart", t, e);+ let n = new $w("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -23851,11 +23851,11 @@ function iT(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new eT("pressend", r, e);+ let t = new $w("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new eT("press", r, e);+ let n = new $w("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -23864,19 +23864,19 @@ function iT(e) {i,n,t- ]), x = Ow(b), S = Ow((0, F.useCallback)((e, t) => {+ ]), x = Dw(b), S = Dw((0, F.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new eT("pressup", t, e);+ let r = new $w("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, F.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(sT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Yw(t.target);+ t.didFirePressStart && t.pointerType != null && b(oT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Jw(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -23884,7 +23884,7 @@ function iT(e) {d,v,b- ]), w = Ow(C);+ ]), w = Dw(C);(0, F.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -23901,39 +23901,39 @@ function iT(e) {}, [s, o]), D = (0, F.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- HS(n, t), o(VS(n));+ VS(n, t), o(BS(n));}}, [s, o]), O = (0, F.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (oT(t.nativeEvent, t.currentTarget) && jS(t.currentTarget, G(t))) {- cT(G(t), t.key) && t.preventDefault();+ if (aT(t.nativeEvent, t.currentTarget) && AS(t.currentTarget, K(t))) {+ sT(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;- _(wS(t.currentTarget), "keyup", IC((t) => {- oT(t, i) && !t.repeat && jS(i, G(t)) && e.target && S(sT(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && JS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(CS(t.currentTarget), "keyup", FC((t) => {+ aT(t, i) && !t.repeat && AS(i, K(t)) && e.target && S(oT(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && qS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || jS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !nC.isOpening) {+ if ((!t || AS(t.currentTarget, K(t))) && t && t.button === 0 && !e.isTriggeringEvent && !tC.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || eC(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || $S(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(sT(t.currentTarget, t), r), a = x(sT(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(oT(t.currentTarget, t), r), a = x(oT(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 && oT(t, e.target)) {- cT(G(t), t.key) && t.preventDefault();- let n = G(t), r = jS(e.target, n);- x(sT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && aT(e.target) && jS(e.target, n) && !t[tT] && (t[tT] = !0, nC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && aT(t, e.target)) {+ sT(K(t), t.key) && t.preventDefault();+ let n = K(t), r = AS(e.target, n);+ x(oT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && iT(e.target) && AS(e.target, n) && !t[eT] && (t[eT] = !0, tC(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;@@ -23942,7 +23942,7 @@ function iT(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !jS(t.currentTarget, G(t))) return;+ if (t.button !== 0 || !AS(t.currentTarget, K(t))) return;if (jae(t.nativeEvent)) {e.pointerType = "virtual";return;@@ -23950,13 +23950,13 @@ function iT(e) {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 || Jw(e.target), i = y(t, e.pointerType);- let a = G(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(wS(t.currentTarget), "pointerup", n, !1), _(wS(t.currentTarget), "pointercancel", r, !1);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || qw(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)), _(CS(t.currentTarget), "pointerup", n, !1), _(CS(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (jS(t.currentTarget, G(t)) && t.button === 0) {+ if (AS(t.currentTarget, K(t)) && t.button === 0) {if (l) {let n = Oae(t.target);n && e.disposables.push(n);@@ -23964,17 +23964,17 @@ function iT(e) {t.stopPropagation();}}, t.onPointerUp = (t) => {- jS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ AS(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(sT(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(oT(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(sT(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(oT(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (jS(e.target, G(t)) && e.pointerType != null) {+ if (AS(e.target, K(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (CS(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (SS(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -23984,7 +23984,7 @@ function iT(e) {w(e);};t.onDragStart = (e) => {- jS(e.currentTarget, G(e)) && w(e);+ AS(e.currentTarget, K(e)) && w(e);};}return t;@@ -24001,14 +24001,14 @@ function iT(e) {]);return (0, F.useEffect)(() => {if (!f) return;- let e = wS(f.current);- if (!e || !e.head || e.getElementById(nT)) return;+ let e = CS(f.current);+ if (!e || !e.head || e.getElementById(tT)) return;let t = e.createElement("style");- t.id = nT;- let n = Zw(e);+ t.id = tT;+ let n = Xw(e);n && (t.nonce = n), t.textContent = `@layer {- [${rT}] {+ [${nT}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -24016,23 +24016,23 @@ function iT(e) {}, [f]), (0, F.useEffect)(() => {let e = g.current;return () => {- d || Yw(e.target ?? void 0);+ d || Jw(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, O, { [rT]: !0 })+ pressProps: q(p, O, { [nT]: !0 })};}-function aT(e) {+function iT(e) {return e.tagName === "A" && e.hasAttribute("href");}-function oT(e, t) {+function aT(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof TS(i).HTMLInputElement && !lT(i, n) || i instanceof TS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && aT(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof wS(i).HTMLInputElement && !cT(i, n) || i instanceof wS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && iT(i)) && n !== "Enter");}-function sT(e, t) {+function oT(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -24046,10 +24046,10 @@ function sT(e, t) {};}function Yoe(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !aT(e);+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !iT(e);}-function cT(e, t) {- return JS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !lT(e, t) : Yoe(e);+function sT(e, t) {+ return qS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !cT(e, t) : Yoe(e);}var Xoe = /* @__PURE__ */ new Set(["checkbox",@@ -24062,7 +24062,7 @@ var Xoe = /* @__PURE__ */ new Set(["submit","reset"]);-function lT(e, t) {+function cT(e, t) {return e.type === "checkbox" || e.type === "radio" ? t === " " : Xoe.has(e.type);}// node_modules/react-aria/dist/private/button/useButton.mjs@@ -24088,7 +24088,7 @@ function Zoe(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = iT({+ let { pressProps: _, isPressed: v } = rT({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -24098,12 +24098,12 @@ function Zoe(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = ew(e, t);+ }), { focusableProps: y } = $C(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, Ww(e, { labelable: !0 }));+ let b = q(y, _, Uw(e, { labelable: !0 }));return {isPressed: v,- buttonProps: K(g, b, {+ buttonProps: q(g, b, {"aria-haspopup": e["aria-haspopup"],"aria-expanded": e["aria-expanded"],"aria-controls": e["aria-controls"],@@ -24139,7 +24139,7 @@ var Qoe = class {return this._currentNode;}set currentNode(e) {- if (!jS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!AS(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 });@@ -24153,7 +24153,7 @@ var Qoe = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return jS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return AS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -24217,44 +24217,44 @@ var Qoe = class {return null;}};-function uT(e, t, n, r) {- return AS() ? new Qoe(e, t, n, r) : e.createTreeWalker(t, n, r);+function lT(e, t, n, r) {+ return kS() ? new Qoe(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjs-var dT = /*#__PURE__*/ F.createContext(null), fT = "react-aria-focus-scope-restore", pT = null;-function mT(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(dT) || {}, l = (0, F.useMemo)(() => new DT({ scopeRef: s }), [s]);- BS(() => {- let e = c || OT.root;- if (OT.getTreeNode(e.scopeRef) && pT && !bT(pT, e.scopeRef)) {- let t = OT.getTreeNode(pT);+var uT = /*#__PURE__*/ F.createContext(null), dT = "react-aria-focus-scope-restore", fT = null;+function pT(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(uT) || {}, l = (0, F.useMemo)(() => new ET({ scopeRef: s }), [s]);+ zS(() => {+ let e = c || DT.root;+ if (DT.getTreeNode(e.scopeRef) && fT && !yT(fT, e.scopeRef)) {+ let t = DT.getTreeNode(fT);t && (e = t);}- e.addChild(l), OT.addNode(l);- }, [l, c]), BS(() => {- let e = OT.getTreeNode(s);+ e.addChild(l), DT.addNode(l);+ }, [l, c]), zS(() => {+ let e = DT.getTreeNode(s);e && (e.contain = !!n);- }, [n]), BS(() => {+ }, [n]), zS(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(fT, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(dT, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(fT, n);+ for (let e of t) e.removeEventListener(dT, n);};}, [t]), ase(s, r, n), nse(s, n), ose(s, r, n), ise(s, i), (0, F.useEffect)(() => {- let e = MS(wS(s.current ? s.current[0] : void 0)), t = null;- if (vT(e, s.current)) {- for (let n of OT.traverse()) n.scopeRef && vT(e, n.scopeRef.current) && (t = n);- t === OT.getTreeNode(s) && (pT = t.scopeRef);- }- }, [s]), BS(() => () => {- let e = OT.getTreeNode(s)?.parent?.scopeRef ?? null;- s !== pT && !bT(s, pT) || e && !OT.getTreeNode(e) || (pT = e), OT.removeTreeNode(s);+ let e = jS(CS(s.current ? s.current[0] : void 0)), t = null;+ if (_T(e, s.current)) {+ for (let n of DT.traverse()) n.scopeRef && _T(e, n.scopeRef.current) && (t = n);+ t === DT.getTreeNode(s) && (fT = t.scopeRef);+ }+ }, [s]), zS(() => () => {+ let e = DT.getTreeNode(s)?.parent?.scopeRef ?? null;+ s !== fT && !yT(s, fT) || e && !DT.getTreeNode(e) || (fT = e), DT.removeTreeNode(s);}, [s]);let u = (0, F.useMemo)(() => $oe(s), []), d = (0, F.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ F.createElement(dT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {+ return /*#__PURE__*/ F.createElement(uT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -24267,48 +24267,48 @@ function mT(e) {function $oe(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || MS(wS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = ET(hT(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jS(CS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = TT(mT(n), {tabbable: i,accept: o}, n);- l.currentNode = vT(s, n) ? s : c;+ l.currentNode = _T(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && xT(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && bT(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || MS(wS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = ET(hT(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jS(CS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = TT(mT(n), {tabbable: i,accept: o}, n);- l.currentNode = vT(s, n) ? s : c;+ l.currentNode = _T(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && xT(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && bT(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = ET(hT(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = TT(mT(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && xT(o, !0), o;+ return o && bT(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = ET(hT(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = TT(mT(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && xT(o, !0), o;+ return o && bT(o, !0), o;}};}-function hT(e) {+function mT(e) {return e[0].parentElement;}-function gT(e) {- let t = OT.getTreeNode(pT);+function hT(e) {+ let t = DT.getTreeNode(fT);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;@@ -24316,8 +24316,8 @@ function gT(e) {return !0;}function ese(e) {- if (!e.form) return Array.from(wS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = TS(e);+ if (!e.form) return Array.from(CS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = wS(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}function tse(e) {@@ -24327,91 +24327,91 @@ function tse(e) {}function nse(e, t) {let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);- BS(() => {+ zS(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = wS(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !gT(e) || t.isComposing) return;- let n = MS(a), r = e.current;- if (!r || !vT(n, r)) return;- let i = ET(hT(r), { tabbable: !0 }, r);+ let a = CS(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !hT(e) || t.isComposing) return;+ let n = jS(a), r = e.current;+ if (!r || !_T(n, r)) return;+ let i = TT(mT(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 && (xT(o, !0), o instanceof TS(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 && (bT(o, !0), o instanceof wS(o).HTMLInputElement && o.select());}, s = (t) => {- (!pT || bT(pT, e)) && vT(G(t), e.current) ? (pT = e, n.current = G(t)) : gT(e) && !yT(G(t), e) ? n.current ? xT(n.current) : pT && pT.current && CT(pT.current) : gT(e) && (n.current = G(t));+ (!fT || yT(fT, e)) && _T(K(t), e.current) ? (fT = e, n.current = K(t)) : hT(e) && !vT(K(t), e) ? n.current ? bT(n.current) : fT && fT.current && ST(fT.current) : hT(e) && (n.current = K(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = wC(), i = (r === "virtual" || r === null) && $S() && QS(), o = MS(a);- if (!i && o && gT(e) && !yT(o, e)) {- pT = e;- let r = G(t);- r && r.isConnected ? (n.current = r, xT(n.current)) : pT.current && CT(pT.current);+ let r = CC(), i = (r === "virtual" || r === null) && QS() && ZS(), o = jS(a);+ if (!i && o && hT(e) && !vT(o, e)) {+ fT = e;+ let r = K(t);+ r && r.isConnected ? (n.current = r, bT(n.current)) : fT.current && ST(fT.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]), BS(() => () => {+ }, [e, t]), zS(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function _T(e) {- return yT(e);+function gT(e) {+ return vT(e);}-function vT(e, t) {- return !e || !t ? !1 : t.some((t) => jS(t, e));+function _T(e, t) {+ return !e || !t ? !1 : t.some((t) => AS(t, e));}-function yT(e, t = null) {+function vT(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of OT.traverse(OT.getTreeNode(t))) if (n && vT(e, n.current)) return !0;+ for (let { scopeRef: n } of DT.traverse(DT.getTreeNode(t))) if (n && _T(e, n.current)) return !0;return !1;}function rse(e) {- return yT(e, pT);+ return vT(e, fT);}-function bT(e, t) {- let n = OT.getTreeNode(t)?.parent;+function yT(e, t) {+ let n = DT.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function xT(e, t = !1) {+function bT(e, t = !1) {if (e != null && !t) try {- FC(e);+ PC(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function ST(e, t = !0) {- let n = e[0].previousElementSibling, r = hT(e), i = ET(r, { tabbable: t }, e);+function xT(e, t = !0) {+ let n = e[0].previousElementSibling, r = mT(e), i = TT(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = hT(e), i = ET(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = mT(e), i = TT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function CT(e, t = !0) {- xT(ST(e, t));+function ST(e, t = !0) {+ bT(xT(e, t));}function ise(e, t) {let n = F.useRef(t);(0, F.useEffect)(() => {- n.current && (pT = e, !vT(MS(wS(e.current ? e.current[0] : void 0)), pT.current) && e.current && CT(e.current)), n.current = !1;+ n.current && (fT = e, !_T(jS(CS(e.current ? e.current[0] : void 0)), fT.current) && e.current && ST(e.current)), n.current = !1;}, [e]);}function ase(e, t, n) {- BS(() => {+ zS(() => {if (t || n) return;- let r = e.current, i = wS(r ? r[0] : void 0), a = (t) => {- let n = G(t);- vT(n, e.current) ? pT = e : _T(n) || (pT = null);+ let r = e.current, i = CS(r ? r[0] : void 0), a = (t) => {+ let n = K(t);+ _T(n, e.current) ? fT = e : gT(n) || (fT = 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));@@ -24422,8 +24422,8 @@ function ase(e, t, n) {n]);}-function wT(e) {- let t = OT.getTreeNode(pT);+function CT(e) {+ let t = DT.getTreeNode(fT);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;@@ -24431,34 +24431,34 @@ function wT(e) {return t?.scopeRef === e;}function ose(e, t, n) {- let r = (0, F.useRef)(typeof document < "u" ? MS(wS(e.current ? e.current[0] : void 0)) : null);- BS(() => {- let r = e.current, i = wS(r ? r[0] : void 0);+ let r = (0, F.useRef)(typeof document < "u" ? jS(CS(e.current ? e.current[0] : void 0)) : null);+ zS(() => {+ let r = e.current, i = CS(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!pT || bT(pT, e)) && vT(MS(i), e.current) && (pT = e);+ (!fT || yT(fT, e)) && _T(jS(i), e.current) && (fT = 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]), BS(() => {- let r = wS(e.current ? e.current[0] : void 0);+ }, [e, n]), zS(() => {+ let r = CS(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !gT(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !hT(e) || t.isComposing) return;let n = r.activeElement;- if (!yT(n, e) || !wT(e)) return;- let i = OT.getTreeNode(e);+ if (!vT(n, e) || !CT(e)) return;+ let i = DT.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = ET(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = TT(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 || !yT(s, e)) && a) {+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !vT(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (yT(s, e));- t.preventDefault(), t.stopPropagation(), s ? xT(s, !0) : _T(a) ? xT(a, !0) : n.blur();+ while (vT(s, e));+ t.preventDefault(), t.stopPropagation(), s ? bT(s, !0) : gT(a) ? bT(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -24468,31 +24468,31 @@ function ose(e, t, n) {e,t,n- ]), BS(() => {- let n = wS(e.current ? e.current[0] : void 0);+ ]), zS(() => {+ let n = CS(e.current ? e.current[0] : void 0);if (!t) return;- let i = OT.getTreeNode(e);+ let i = DT.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = OT.getTreeNode(e);+ let r = DT.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = MS(n);- if (t && i && (a && yT(a, e) || a === n.body && wT(e))) {- let t = OT.clone();+ let i = r.nodeToRestore, a = jS(n);+ if (t && i && (a && vT(a, e) || a === n.body && CT(e))) {+ let t = DT.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- TT(n.nodeToRestore);+ wT(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && OT.getTreeNode(n.scopeRef)) {- let e = ST(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && DT.getTreeNode(n.scopeRef)) {+ let e = xT(n.scopeRef.current, !0);if (e) {- TT(e);+ wT(e);return;}}@@ -24504,21 +24504,21 @@ function ose(e, t, n) {};}, [e, t]);}-function TT(e) {- e.dispatchEvent(new CustomEvent(fT, {+function wT(e) {+ e.dispatchEvent(new CustomEvent(dT, {bubbles: !0,cancelable: !0- })) && xT(e);+ })) && bT(e);}-function ET(e, t, n) {- let r = t?.tabbable ? RS : LS, i = wS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = uT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return jS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!tse(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || vT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function TT(e, t, n) {+ let r = t?.tabbable ? LS : IS, i = CS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = lT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return AS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!tse(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || _T(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}var sse = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new DT({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new ET({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -24529,7 +24529,7 @@ var sse = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new DT({ scopeRef: e });+ let i = new ET({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -24540,7 +24540,7 @@ var sse = 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 && vT(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 && _T(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);}@@ -24552,7 +24552,7 @@ var sse = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, DT = class {+}, ET = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -24562,10 +24562,10 @@ var sse = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, OT = new sse(), kT = 7e3, AT = null;-function jT(e, t = "assertive", n = kT) {- AT ? AT.announce(e, t, n) : (AT = new cse(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? AT.announce(e, t, n) : setTimeout(() => {- AT?.isAttached() && AT?.announce(e, t, n);+}, DT = new sse(), OT = 7e3, kT = null;+function AT(e, t = "assertive", n = OT) {+ kT ? kT.announce(e, t, n) : (kT = new cse(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? kT.announce(e, t, n) : setTimeout(() => {+ kT?.isAttached() && kT?.announce(e, t, n);}, 100));}var cse = class {@@ -24593,7 +24593,7 @@ var cse = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = kT) {+ announce(e, t = "assertive", n = OT) {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(() => {@@ -24605,8 +24605,8 @@ var cse = class {}};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function MT(e, t) {- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Ow(e);+function jT(e, t) {+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Dw(e);(0, F.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, F.useEffect)(() => {@@ -24615,30 +24615,30 @@ function MT(e, t) {}, t);}// node_modules/react-aria/dist/private/utils/isScrollable.mjs-function NT(e, t) {+function MT(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;}// node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function PT(e, t) {+function NT(e, t) {let n = e;- for (NT(n, t) && (n = n.parentElement); n && !NT(n, t);) n = n.parentElement;+ for (MT(n, t) && (n = n.parentElement); n && !MT(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}// node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function FT(e, t) {+function PT(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (NT(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (MT(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function IT(e, t, n = {}) {+function FT(e, t, n = {}) {e !== t && lse(e, t, t.getBoundingClientRect(), n);}function lse(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;- XS() && ZS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);+ YS() && XS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);let ie = k < ne || A > re, ae = j < F || M > I;if (ie && i === "start") o += k - ne;else if (ie && i === "center") o += (k + A) / 2 - (ne + re) / 2;@@ -24659,7 +24659,7 @@ function lse(e, t, n, r = {}) {top: o});}-function LT(e, t = {}) {+function IT(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -24672,27 +24672,27 @@ function LT(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = FT(e, !0);- for (let t of i) IT(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = PT(e, !0);+ for (let t of i) FT(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? FT(n, !0) : [];- for (let e of i) IT(e, n, {+ i = n ? PT(n, !0) : [];+ for (let e of i) FT(e, n, {block: "center",inline: "center"});- for (let t of FT(e, !0)) IT(t, e);+ for (let t of PT(e, !0)) FT(t, e);}}}}// node_modules/react-aria/dist/private/utils/useDescription.mjs-var use = 0, RT = /* @__PURE__ */ new Map();-function zT(e) {+var use = 0, LT = /* @__PURE__ */ new Map();+function RT(e) {let [t, n] = (0, F.useState)();- return BS(() => {+ return zS(() => {if (!e) return;- let t = RT.get(e);+ let t = LT.get(e);if (t) n(t.element.id);else {let r = `react-aria-description-${use++}`;@@ -24701,16 +24701,16 @@ function zT(e) {i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, RT.set(e, t);+ }, LT.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), RT.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), LT.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}// node_modules/react-aria/dist/private/utils/useFormReset.mjs-function BT(e, t, n) {- let r = Ow((e) => {+function zT(e, t, n) {+ let r = Dw((e) => {n && !e.defaultPrevented && n(t);});(0, F.useEffect)(() => {@@ -24721,21 +24721,21 @@ function BT(e, t, n) {}, [e]);}// node_modules/react-aria/dist/private/form/useFormValidation.mjs-function VT(e, t, n) {+function BT(e, t, n) {let { validationBehavior: r, focus: i } = e;- BS(() => {+ zS(() => {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(fse(n.current));}});- let a = (0, F.useRef)(!1), o = Ow(() => {+ let a = (0, F.useRef)(!1), o = Dw(() => {a.current || t.resetValidation();- }), s = Ow((e) => {+ }), s = Dw((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && pse(r) === n.current && (i ? i() : n.current?.focus(), TC("keyboard")), e.preventDefault();- }), c = Ow(() => {+ !e.defaultPrevented && n && r && pse(r) === n.current && (i ? i() : n.current?.focus(), wC("keyboard")), e.preventDefault();+ }), c = Dw(() => {t.commitValidation();});(0, F.useEffect)(() => {@@ -24743,7 +24743,7 @@ function VT(e, t, n) {if (!e) return;let t = e.form, r = t?.reset;return t && (t.reset = () => {- a.current = !window.event || window.event.type === "message" && G(window.event) instanceof MessagePort, r?.call(t), a.current = !1;+ a.current = !window.event || window.event.type === "message" && K(window.event) instanceof MessagePort, r?.call(t), a.current = !1;}), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);};@@ -24784,19 +24784,19 @@ function mse(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return BS(() => {+ return zS(() => {r.current || n(!1);}, []), [i, t];}-function HT(e = !0) {- let t = BC(), [n, r] = mse(e);+function VT(e = !0) {+ let t = zC(), [n, r] = mse(e);return {id: r ? t : void 0,ref: n};}// node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var UT = {+var HT = {badInput: !1,customError: !1,patternMismatch: !1,@@ -24808,18 +24808,18 @@ var UT = {typeMismatch: !1,valueMissing: !1,valid: !0-}, WT = {- ...UT,+}, UT = {+ ...HT,customError: !0,valid: !1-}, GT = {+}, WT = {isInvalid: !1,- validationDetails: UT,+ validationDetails: HT,validationErrors: []-}, hse = (0, F.createContext)({}), KT = "__reactAriaFormValidationState";-function qT(e) {+}, hse = (0, F.createContext)({}), GT = "__reactAriaFormValidationState";+function KT(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[KT];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[GT];return {realtimeValidation: t,displayValidation: n,@@ -24836,62 +24836,62 @@ function gse(e) {let c = t === void 0 ? null : {isInvalid: t,validationErrors: [],- validationDetails: WT- }, l = (0, F.useMemo)(() => !o || i == null ? null : YT(_se(o, i)), [o, i]);+ validationDetails: UT+ }, l = (0, F.useMemo)(() => !o || i == null ? null : JT(_se(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, F.useContext)(hse), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => JT(u[e])) : JT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);+ let u = (0, F.useContext)(hse), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => qT(u[e])) : qT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, F.useMemo)(() => YT(m ? [] : d), [m, d]), _ = (0, F.useRef)(GT), [v, y] = (0, F.useState)(GT), b = (0, F.useRef)(GT), x = () => {+ let g = (0, F.useMemo)(() => JT(m ? [] : d), [m, d]), _ = (0, F.useRef)(WT), [v, y] = (0, F.useState)(WT), b = (0, F.useRef)(WT), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- XT(e, b.current) || (b.current = e, y(e));+ YT(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, F.useState)(!1);return (0, F.useEffect)(x), {- realtimeValidation: c || g || l || a || GT,+ realtimeValidation: c || g || l || a || WT,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !XT(v, e) ? y(e) : _.current = e;+ s === "aria" && !YT(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = GT;- XT(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = WT;+ YT(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function JT(e) {+function qT(e) {return e ? Array.isArray(e) ? e : [e] : [];}function _se(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return JT(n);+ if (n && typeof n != "boolean") return qT(n);}return [];}-function YT(e) {+function JT(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: WT+ validationDetails: UT} : null;}-function XT(e, t) {+function YT(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);}// node_modules/react-aria/dist/private/toggle/useToggle.mjs-function ZT(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 = qT({+function XT(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 = KT({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- VT(e, b, n);+ BT(e, b, n);let w = (e) => {- e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = iT({+ e.stopPropagation(), t.setSelected(K(e).checked);+ }, { pressProps: T, isPressed: E } = rT({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -24899,7 +24899,7 @@ function ZT(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [D, O] = (0, F.useState)(!1), { pressProps: k } = iT({+ }), [D, O] = (0, F.useState)(!1), { pressProps: k } = rT({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));},@@ -24916,16 +24916,16 @@ function ZT(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [KT]: i } = e, { commitValidation: a } = i || b;+ let { [GT]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: A } = ew(e, n), j = K(T, A), M = Ww(e, { labelable: !0 });- BT(n, t.defaultSelected, t.setSelected);- let ee = HT(), N = HT();+ }), { focusableProps: A } = $C(e, n), j = q(T, A), M = Uw(e, { labelable: !0 });+ zT(n, t.defaultSelected, t.setSelected);+ let ee = VT(), N = VT();return {- labelProps: K(k, { onClick: (e) => e.preventDefault() }),- inputProps: K(M, {+ labelProps: q(k, { onClick: (e) => e.preventDefault() }),+ inputProps: q(M, {checked: t.isSelected,"aria-required": l && u === "aria" || void 0,required: l && u === "native",@@ -24958,12 +24958,12 @@ function ZT(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function QT(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 } = ZT(e, t, n), { isIndeterminate: m } = e;+function ZT(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 } = XT(e, t, n), { isIndeterminate: m } = e;return (0, F.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {- labelProps: K(r, (0, F.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),+ labelProps: q(r, (0, F.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),inputProps: i,descriptionProps: a,errorMessageProps: o,@@ -24979,15 +24979,15 @@ function QT(e, t, n) {// node_modules/react-aria/dist/private/checkbox/utils.mjsvar vse = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjs-function $T(e) {+function QT(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = BC(t);- let o = BC(), s = {};+ t = zC(t);+ let o = zC(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = Aw({+ let c = kw({id: t,"aria-label": i,"aria-labelledby": r@@ -24998,19 +24998,19 @@ function $T(e) {};}// node_modules/react-aria/dist/private/label/useField.mjs-function eE(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = $T(e), s = VC([+function $T(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = QT(e), s = BC([!!t,!!n,r,i- ]), c = VC([+ ]), c = BC([!!t,!!n,r,i]);- return o = K(o, { "aria-describedby": [+ return o = q(o, { "aria-describedby": [s,c,e["aria-describedby"]@@ -25022,26 +25022,26 @@ function eE(e) {};}// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function tE(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = $w(), c = (0, F.useCallback)((e) => {- jS(e.currentTarget, G(e)) && a.current.isFocusWithin && !jS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function eE(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Qw(), c = (0, F.useCallback)((e) => {+ AS(e.currentTarget, K(e)) && a.current.isFocusWithin && !AS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = US(c), u = (0, F.useCallback)((e) => {- if (!jS(e.currentTarget, G(e))) return;- let t = G(e), n = wS(t), s = MS(n);+ ]), l = HS(c), u = (0, F.useCallback)((e) => {+ if (!AS(e.currentTarget, K(e))) return;+ let t = K(e), n = CS(t), s = jS(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 = G(e);- if (a.current.isFocusWithin && !jS(t, r)) {+ let r = K(e);+ if (a.current.isFocusWithin && !AS(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- HS(e, t);- let i = VS(e);+ VS(e, t);+ let i = BS(e);c(i);}}, { capture: !0 });@@ -25063,7 +25063,7 @@ function tE(e) {}// node_modules/react-stately/dist/private/utils/useControlledState.mjsvar yse = F.useInsertionEffect ?? F.useLayoutEffect;-function nE(e, t, n) {+function tE(e, t, n) {let [r, i] = (0, F.useState)(e || t), a = (0, F.useRef)(r), o = (0, F.useRef)(e !== void 0), s = e !== void 0;(0, F.useEffect)(() => {o.current, o.current = s;@@ -25079,8 +25079,8 @@ function nE(e, t, n) {}, [n])];}// node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function rE(e = {}) {- let { isReadOnly: t } = e, [n, r] = nE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);+function nE(e = {}) {+ let { isReadOnly: t } = e, [n, r] = tE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);function a(e) {t || r(e);}@@ -25096,7 +25096,7 @@ function rE(e = {}) {}// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjsfunction bse(e, t, n) {- let r = rE({+ let r = nE({isReadOnly: e.isReadOnly || t.isReadOnly,isSelected: t.isSelected(e.value),defaultSelected: t.defaultValue.includes(e.value),@@ -25105,16 +25105,16 @@ function bse(e, t, n) {}}), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = vse.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = qT({+ let { realtimeValidation: l } = KT({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, F.useRef)(GT), d = () => {+ }), u = (0, F.useRef)(WT), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, F.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = QT({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = ZT({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -25122,7 +25122,7 @@ function bse(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [KT]: {+ [GT]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -25145,10 +25145,10 @@ function bse(e, t, n) {};}// node_modules/react-stately/dist/private/utils/number.mjs-function iE(e, t = -Infinity, n = Infinity) {+function rE(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function aE(e, t) {+function iE(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 {@@ -25161,15 +25161,15 @@ function aE(e, t) {}return n;}-function oE(e, t, n, r) {+function aE(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = aE(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(aE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(aE((n - t) / r, r)) * r), a = aE(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = iE(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(iE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(iE((n - t) / r, r)) * r), a = iE(a, r), a;}// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var sE = /* @__PURE__ */ new Map(), cE = !1;+var oE = /* @__PURE__ */ new Map(), sE = !1;try {- cE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ sE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}var xse = class {constructor(e, t = {}) {@@ -25177,7 +25177,7 @@ var xse = class {}format(e) {let t = "";- return t = !cE && this.options.signDisplay != null ? Cse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !sE && this.options.signDisplay != null ? Cse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -25209,7 +25209,7 @@ var xse = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !cE && this.options.signDisplay != null && (e = {+ return !sE && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;@@ -25219,9 +25219,9 @@ function Sse(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 (sE.has(r)) return sE.get(r);+ if (oE.has(r)) return oE.get(r);let i = new Intl.NumberFormat(e, t);- return sE.set(r, i), i;+ return oE.set(r, i), i;}function Cse(e, t, n) {if (t === "auto") return e.format(n);@@ -25236,12 +25236,12 @@ function Cse(e, t, n) {}}// node_modules/react-aria/dist/private/interactions/useMove.mjs-function lE(e) {+function cE(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, F.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = $w(), s = Ow((0, F.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = Qw(), s = Dw((0, F.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -25263,8 +25263,8 @@ function lE(e) {t,n,i- ])), c = Ow((0, F.useCallback)((e, t) => {- Yw(), i.current.didMove && r?.({+ ])), c = Dw((0, F.useCallback)((e, t) => {+ Jw(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -25275,7 +25275,7 @@ function lE(e) {}, [r, i]));return { moveProps: (0, F.useMemo)(() => {let e = {}, t = () => {- Jw(), i.current.didMove = !1;+ qw(), i.current.didMove = !1;};{let n = (e) => {@@ -25290,7 +25290,7 @@ function lE(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = TS(G(e));+ let a = wS(K(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -25300,7 +25300,7 @@ function lE(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = TS(G(e));+ let o = wS(K(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -25333,7 +25333,7 @@ function lE(e) {]) };}// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var uE = {+var lE = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -25345,39 +25345,39 @@ var uE = {width: "1px",whiteSpace: "nowrap"};-function dE(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = tE({+function uE(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = eE({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, F.useMemo)(() => r ? t : t ? {- ...uE,+ ...lE,...t- } : uE, [r]);+ } : lE, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function fE(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = dE(e);- return /*#__PURE__*/ F.createElement(n, K(a, o), t);+function dE(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = uE(e);+ return /*#__PURE__*/ F.createElement(n, q(a, o), t);}// node_modules/react-aria/dist/private/textfield/useTextField.mjsfunction wse(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = nE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = ew(e, t), d = qT({+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = tE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = $C(e, t), d = KT({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = eE({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = $T({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = Ww(e, { labelable: !0 }), b = {+ }), y = Uw(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, F.useState)(c);- return BT(t, e.defaultValue ?? x, l), VT(e, d, t), {+ return zT(t, e.defaultValue ?? x, l), BT(e, d, t), {labelProps: h,- inputProps: K(y, n === "input" ? b : void 0, {+ inputProps: q(y, n === "input" ? b : void 0, {disabled: r,readOnly: a,required: i && s === "native",@@ -25389,7 +25389,7 @@ function wse(e, t) {"aria-haspopup": e["aria-haspopup"],"aria-controls": e["aria-controls"],value: c,- onChange: (e) => l(G(e).value),+ onChange: (e) => l(K(e).value),autoComplete: e.autoComplete,autoCapitalize: e.autoCapitalize,maxLength: e.maxLength,@@ -25422,25 +25422,25 @@ function wse(e, t) {}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjsfunction Tse(e = {}) {- let { locale: t } = Iw();+ let { locale: t } = Fw();return (0, F.useMemo)(() => new xse(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjs-var pE = /* @__PURE__ */ new WeakMap();-function mE(e, t) {- let n = pE.get(e);+var fE = /* @__PURE__ */ new WeakMap();+function pE(e, t) {+ let n = fE.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}// node_modules/react-aria/dist/private/slider/useSlider.mjsfunction Ese(e, t, n) {- let { labelProps: r, fieldProps: i } = $T(e), a = e.orientation === "vertical";- pE.set(t, {+ let { labelProps: r, fieldProps: i } = QT(e), a = e.orientation === "vertical";+ fE.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = Iw(), { addGlobalListener: s, removeGlobalListener: c } = $w(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = lE({+ let { direction: o } = Fw(), { addGlobalListener: s, removeGlobalListener: c } = Qw(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = cE({onMoveStart() {d.current = null;},@@ -25450,7 +25450,7 @@ function Ese(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 = iE(d.current / s, 0, 1);+ let e = rE(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -25474,14 +25474,14 @@ function Ese(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(mE(t, 0))?.focus(), TC("keyboard");+ document.getElementById(pE(t, 0))?.focus(), wC("keyboard");}), {labelProps: r,groupProps: {role: "group",...i},- trackProps: K({+ trackProps: q({onMouseDown(e) {e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || m(e, void 0, e.clientX, e.clientY);},@@ -25497,26 +25497,26 @@ function Ese(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => mE(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => pE(t, n)).join(" "),"aria-live": "off"}};}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjsfunction Dse(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 } = Iw(), { addGlobalListener: m, removeGlobalListener: h } = $w(), g = pE.get(t), { labelProps: _, fieldProps: v } = $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 } = Fw(), { addGlobalListener: m, removeGlobalListener: h } = Qw(), g = fE.get(t), { labelProps: _, fieldProps: v } = QT({...e,- id: mE(t, n),+ id: pE(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, F.useCallback)(() => {- s.current && CS(s.current);+ s.current && SS(s.current);}, [s]), x = t.focusedThumb === n;(0, F.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, F.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = XC({+ }, { keyboardProps: T } = YC({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -25532,7 +25532,7 @@ function Dse(e, t) {})},allowRepeats: !0- }), { moveProps: E } = lE({+ }), { moveProps: E } = cE({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -25543,7 +25543,7 @@ function Dse(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, iE(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, rE(C.current / g, 0, 1));}},onMoveEnd() {@@ -25551,7 +25551,7 @@ function Dse(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = ew(K(e, {+ let { focusableProps: D } = $C(q(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, F.useRef)(void 0), k = (e) => {@@ -25560,7 +25560,7 @@ function Dse(e, t) {(e.pointerId ?? e.changedTouches?.[0].identifier) === O.current && (b(), t.setThumbDragging(n, !1), h(window, "mouseup", A, !1), h(window, "touchend", A, !1), h(window, "pointerup", A, !1));}, j = t.getThumbPercent(n);(f || p === "rtl") && (j = 1 - j);- let M = d ? {} : K(T, E, {+ let M = d ? {} : q(T, E, {onMouseDown: (e) => {e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || k();},@@ -25571,10 +25571,10 @@ function Dse(e, t) {k(e.changedTouches[0].identifier);}});- return BT(s, t.defaultValues[n], (e) => {+ return zT(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {- inputProps: K(D, v, {+ inputProps: q(D, v, {type: "range",tabIndex: d ? void 0 : 0,min: t.getThumbMinValue(n),@@ -25592,7 +25592,7 @@ function Dse(e, t) {"aria-describedby": [g["aria-describedby"], e["aria-describedby"]].filter(Boolean).join(" "),"aria-details": [g["aria-details"], e["aria-details"]].filter(Boolean).join(" "),onChange: (e) => {- t.setThumbValue(n, parseFloat(G(e).value));+ t.setThumbValue(n, parseFloat(K(e).value));}}),thumbProps: {@@ -25612,41 +25612,41 @@ function Dse(e, t) {}// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjsvar Ose = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function hE(e) {+function mE(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var gE = /* @__PURE__ */ new WeakMap(), _E = [];-function vE(e, t) {- let n = TS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Ose, 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 hE = /* @__PURE__ */ new WeakMap(), gE = [];+function _E(e, t) {+ let n = wS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Ose, 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 (AS()) {+ if (kS()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; DS(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; ES(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 (jS(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (AS(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = uT(wS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = lT(CS(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 = gE.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), gE.set(e, t + 1));+ let t = hE.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), hE.set(e, t + 1));};- _E.length && _E[_E.length - 1].disconnect(), d(i);+ gE.length && gE[gE.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) => jS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && hE(e) ? o.add(e) : e instanceof Element && d(e);- if (AS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => AS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && mE(e) ? o.add(e) : e instanceof Element && d(e);+ if (kS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25659,11 +25659,11 @@ function vE(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (AS()) for (let e of u) {+ if (kS()) 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) => jS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && hE(e) ? o.add(e) : e instanceof Element && d(e);- if (AS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => AS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && mE(e) ? o.add(e) : e instanceof Element && d(e);+ if (kS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25689,56 +25689,56 @@ function vE(e, t) {p.disconnect();}};- return _E.push(h), () => {- if (p.disconnect(), AS()) for (let e of m) e.disconnect();+ return gE.push(h), () => {+ if (p.disconnect(), kS()) for (let e of m) e.disconnect();for (let e of s) {- let t = gE.get(e);- t != null && (t === 1 ? (l(e, !1), gE.delete(e)) : gE.set(e, t - 1));+ let t = hE.get(e);+ t != null && (t === 1 ? (l(e, !1), hE.delete(e)) : hE.set(e, t - 1));}- h === _E[_E.length - 1] ? (_E.pop(), _E.length && _E[_E.length - 1].observe()) : _E.splice(_E.indexOf(h), 1);+ h === gE[gE.length - 1] ? (gE.pop(), gE.length && gE[gE.length - 1].observe()) : gE.splice(gE.indexOf(h), 1);};}-function yE(e) {- let t = _E[_E.length - 1];+function vE(e) {+ let t = gE[gE.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}// node_modules/react-aria/dist/private/listbox/utils.mjs-var bE = /* @__PURE__ */ new WeakMap();+var yE = /* @__PURE__ */ new WeakMap();function kse(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}function Ase(e, t) {- let n = bE.get(e);+ let n = yE.get(e);if (!n) throw Error("Unknown list");return `${n.id}-option-${kse(t)}`;}// node_modules/react-aria/dist/private/selection/utils.mjs-function xE(e) {+function bE(e) {return Aae() ? e.altKey : e.ctrlKey;}-function SE(e, t) {+function xE(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 CE = /* @__PURE__ */ new WeakMap();+var SE = /* @__PURE__ */ new WeakMap();function jse(e) {- let t = BC();- return CE.set(e, t), t;+ let t = zC();+ return SE.set(e, t), t;}function Mse(e) {- return CE.get(e);+ return SE.get(e);}// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var wE = class {+var CE = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : SE(this.ref, e);+ let n = e == null ? null : xE(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -25764,12 +25764,12 @@ var wE = class {height: e?.clientHeight ?? 0};}-}, TE = class {+}, wE = 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 wE(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 wE(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 CE(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 CE(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -25809,14 +25809,14 @@ var wE = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = SE(this.ref, e);+ let t = this.getNextKey(e), n = xE(this.ref, e);if (t != null) {- let e = SE(this.ref, t);+ let e = xE(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = SE(this.ref, r);+ let e = xE(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -25850,7 +25850,7 @@ var wE = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !NT(t)) return this.getFirstKey();+ if (t && !MT(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -25865,7 +25865,7 @@ var wE = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !NT(t)) return this.getLastKey();+ if (t && !MT(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);@@ -25888,149 +25888,149 @@ var wE = class {}return null;}-}, EE = {};-EE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, TE = {};+TE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var DE = {};-DE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var EE = {};+EE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var OE = {};-OE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var DE = {};+DE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };// node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var kE = {};-kE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var OE = {};+OE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var AE = {};-AE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var kE = {};+kE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };// node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var jE = {};-jE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var AE = {};+AE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };// node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var ME = {};-ME = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var jE = {};+jE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var NE = {};-NE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var ME = {};+ME = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var PE = {};-PE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var NE = {};+NE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var FE = {};-FE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var PE = {};+PE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var IE = {};-IE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var FE = {};+FE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };// node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var LE = {};-LE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var IE = {};+IE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var RE = {};-RE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var LE = {};+LE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var zE = {};-zE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var RE = {};+RE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };// node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var BE = {};-BE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var zE = {};+zE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var VE = {};-VE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var BE = {};+BE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var HE = {};-HE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var VE = {};+VE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var UE = {};-UE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var HE = {};+HE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var WE = {};-WE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var UE = {};+UE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };// node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var GE = {};-GE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var WE = {};+WE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var KE = {};-KE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var GE = {};+GE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };// node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var qE = {};-qE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var KE = {};+KE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };// node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var JE = {};-JE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var qE = {};+qE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var YE = {};-YE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var JE = {};+JE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var XE = {};-XE = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var YE = {};+YE = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };// node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var ZE = {};-ZE = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var XE = {};+XE = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var QE = {};-QE = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var ZE = {};+ZE = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };// node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var $E = {};-$E = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var QE = {};+QE = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };// node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var eD = {};-eD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var $E = {};+$E = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var tD = {};-tD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var eD = {};+eD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };// node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var nD = {};-nD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var tD = {};+tD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };// node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var rD = {};-rD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var nD = {};+nD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var iD = {};-iD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var rD = {};+rD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var aD = {};-aD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var iD = {};+iD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };// node_modules/react-aria/dist/private/menu/intlStrings.mjs-var oD = {};-oD = {- "ar-AE": EE,- "bg-BG": DE,- "cs-CZ": OE,- "da-DK": kE,- "de-DE": AE,- "el-GR": jE,- "en-US": ME,- "es-ES": NE,- "et-EE": PE,- "fi-FI": FE,- "fr-FR": IE,- "he-IL": LE,- "hr-HR": RE,- "hu-HU": zE,- "it-IT": BE,- "ja-JP": VE,- "ko-KR": HE,- "lt-LT": UE,- "lv-LV": WE,- "nb-NO": GE,- "nl-NL": KE,- "pl-PL": qE,- "pt-BR": JE,- "pt-PT": YE,- "ro-RO": XE,- "ru-RU": ZE,- "sk-SK": QE,- "sl-SI": $E,- "sr-SP": eD,- "sv-SE": tD,- "tr-TR": nD,- "uk-UA": rD,- "zh-CN": iD,- "zh-TW": aD+var aD = {};+aD = {+ "ar-AE": TE,+ "bg-BG": EE,+ "cs-CZ": DE,+ "da-DK": OE,+ "de-DE": kE,+ "el-GR": AE,+ "en-US": jE,+ "es-ES": ME,+ "et-EE": NE,+ "fi-FI": PE,+ "fr-FR": FE,+ "he-IL": IE,+ "hr-HR": LE,+ "hu-HU": RE,+ "it-IT": zE,+ "ja-JP": BE,+ "ko-KR": VE,+ "lt-LT": HE,+ "lv-LV": UE,+ "nb-NO": WE,+ "nl-NL": GE,+ "pl-PL": KE,+ "pt-BR": qE,+ "pt-PT": JE,+ "ro-RO": YE,+ "ru-RU": XE,+ "sk-SK": ZE,+ "sl-SI": QE,+ "sr-SP": $E,+ "sv-SE": eD,+ "tr-TR": tD,+ "uk-UA": nD,+ "zh-CN": rD,+ "zh-TW": iD};// node_modules/react-aria/dist/private/interactions/useLongPress.mjsvar Nse = 500;-function sD(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Nse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = $w(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = iT({+function oD(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Nse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Qw(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = rT({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -26038,12 +26038,12 @@ function sD(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), wS(e.target).activeElement !== e.target && CS(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), CS(e.target).activeElement !== e.target && SS(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 = TS(e.target);+ let t = wS(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -26058,11 +26058,11 @@ function sD(e) {});}});- return { longPressProps: K(f, zT(a && !t ? s : void 0)) };+ return { longPressProps: q(f, RT(a && !t ? s : void 0)) };}// node_modules/react-aria/dist/private/interactions/useContextMenu.mjsfunction Pse(e) {- let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = sD({+ let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = oD({onLongPressStart() {n.current = !1;},@@ -26074,7 +26074,7 @@ function Pse(e) {});}});- return t ? { contextMenuProps: K(XS() ? r : {}, {+ return t ? { contextMenuProps: q(YS() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -26085,7 +26085,7 @@ function Pse(e) {});},onKeyDown(e) {- if (JS() && e.ctrlKey && e.key === "Enter") {+ if (qS() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -26104,13 +26104,13 @@ function Pse(e) {}) } : { contextMenuProps: {} };}// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var cD = /* @__PURE__ */ new WeakMap();+var sD = /* @__PURE__ */ new WeakMap();function Fse(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, F.useEffect)(() => !n || r === null ? void 0 : OS(NS(t.current), "scroll", (e) => {- let n = G(e);- if (!t.current || n instanceof Node && !jS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || cD.get(t.current);+ (0, F.useEffect)(() => !n || r === null ? void 0 : DS(MS(t.current), "scroll", (e) => {+ let n = K(e);+ if (!t.current || n instanceof Node && !AS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || sD.get(t.current);i && i();}, !0), [n,@@ -26122,11 +26122,11 @@ function Fse(e) {function Ise(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, F.useEffect)(() => {- n && n.current && cD.set(n.current, t.close);+ n && n.current && sD.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = BC();+ let o = zC();return {triggerProps: {"aria-haspopup": a,@@ -26141,11 +26141,11 @@ function Ise(e, t, n) {function Lse(e) {return e && e.__esModule ? e.default : e;}-function lD(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = BC(), { triggerProps: s, overlayProps: c } = Ise({ type: r }, t, n), l = (e, n, r = "first") => {+function cD(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = zC(), { triggerProps: s, overlayProps: c } = Ise({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = XC({+ }, { keyboardProps: u } = YC({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -26157,7 +26157,7 @@ function lD(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = Hw(Lse(oD), "@react-aria/menu"), { longPressProps: f } = sD({+ }), d = Vw(Lse(aD), "@react-aria/menu"), { longPressProps: f } = oD({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -26169,10 +26169,10 @@ function lD(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (CS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (SS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (CS(e.target), t.toggle());+ e.pointerType === "touch" && !i && (SS(e.target), t.toggle());}};delete s.onPress;@@ -26186,7 +26186,7 @@ function lD(e, t, n) {(0, F.useEffect)(() => {if (t.isOpen && a === "contextMenu") {let e = (e) => {- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && G(e) === document.body && t.close();+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && K(e) === document.body && t.close();};return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);}@@ -26220,8 +26220,8 @@ function lD(e, t, n) {};}// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var uD = 1e3;-function dD(e) {+var lD = 1e3;+function uD(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, F.useRef)({search: "",timeout: void 0@@ -26240,12 +26240,12 @@ function dD(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, uD);+ }, lD);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {let a = Rse(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !jS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !AS(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();@@ -26256,7 +26256,7 @@ function dD(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, uD);+ }, lD);}} : void 0} };@@ -26265,23 +26265,23 @@ function Rse(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function fD(e, t) {+function dD(e, t) {let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);- BS(() => (n.current = !0, () => {+ zS(() => (n.current = !0, () => {n.current = !1;- }), []), BS(() => {+ }), []), zS(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function pD(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 } = Iw(), _ = tC(), v = (e, n, i) => {+function fD(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 } = Fw(), _ = eC(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !xE(e)) {+ if (t.isLink(n) && m === "selection" && l && !bE(e)) {(0, Rt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = SE(r, n), o = t.getItemProps(n);+ let a = xE(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -26293,7 +26293,7 @@ function pD(e) {t.extendSelection(n);return;}- if (l && !xE(e)) {+ if (l && !bE(e)) {t.replaceSelection(n);return;}@@ -26320,9 +26320,9 @@ function pD(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, Ew(e));+ let r = n.getFirstKey(t.focusedKey, Tw(e));if (t.setFocusedKey(r), r != null) {- if (Ew(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Tw(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26354,9 +26354,9 @@ function pD(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, Ew(e));+ let r = n.getLastKey(t.focusedKey, Tw(e));if (t.setFocusedKey(r), r != null) {- if (Ew(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Tw(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26387,12 +26387,12 @@ function pD(e) {else return !1;}, k = () => {if (!f && r.current) {- let e = ET(r.current, { tabbable: !0 }), t, n;+ let e = TT(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = MS();- t && (!PS(t) || i && !RS(i)) && CS(t);+ let i = jS();+ t && (!NS(t) || i && !LS(i)) && SS(t);}return {shouldContinuePropagation: !0,@@ -26402,11 +26402,11 @@ function pD(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [JS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [qS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [JS() ? e + "+Alt" : e + "+Control"]: t,+ [qS() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = XC({+ }), { keyboardProps: M } = YC({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -26416,7 +26416,7 @@ function pD(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = XC({ shortcuts: {+ }), { keyboardProps: ee } = YC({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -26427,7 +26427,7 @@ function pD(e) {top: 0,left: 0});- kw(p, "scroll", () => {+ Ow(p, "scroll", () => {N.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -26435,11 +26435,11 @@ function pD(e) {});let te = (e) => {if (t.isFocused) {- jS(e.currentTarget, G(e)) || t.setFocused(!1);+ AS(e.currentTarget, K(e)) || t.setFocused(!1);return;}- if (!jS(e.currentTarget, G(e))) return;- let i = wC();+ if (!AS(e.currentTarget, K(e))) return;+ let i = CC();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -26450,27 +26450,27 @@ function pD(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 = N.current.top, p.current.scrollLeft = N.current.left);if (t.focusedKey != null && p.current) {- let e = SE(r, t.focusedKey);- e instanceof HTMLElement && (!PS(e) && !d && CS(e), (i === "keyboard" || h && i === "virtual") && LT(e, { containingElement: r.current }));+ let e = xE(r, t.focusedKey);+ e instanceof HTMLElement && (!NS(e) && !d && SS(e), (i === "keyboard" || h && i === "virtual") && IT(e, { containingElement: r.current }));}}, P = (e) => {- jS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ AS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, ne = (0, F.useRef)(!1);- kw(r, Soe, d ? (e) => {+ Ow(r, Soe, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);} : void 0);let re = n.getFirstKey?.() ?? null;- fD(() => {+ dD(() => {if (ne.current) {if (re == null) {- let e = MS();- hw(r.current), gw(e, null), t.collection.size > 0 && (ne.current = !1);+ let e = jS();+ mw(r.current), hw(e, null), t.collection.size > 0 && (ne.current = !1);} else t.setFocusedKey(re), ne.current = !1;}- }, [re, t.collection.size]), fD(() => {+ }, [re, t.collection.size]), dD(() => {t.collection.size > 0 && (ne.current = !1);- }, [t.focusedKey]), kw(r, xoe, d ? (e) => {+ }, [t.focusedKey]), Ow(r, xoe, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let I = (0, F.useRef)(i), ie = (0, F.useRef)(!1);@@ -26485,52 +26485,52 @@ function pD(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && FC(r.current), t.collection.size > 0 && (I.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 && PC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);}});let ae = (0, F.useRef)(t.focusedKey), oe = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {- let e = wC(), n = SE(r, t.focusedKey);+ let e = CC(), n = xE(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {- p.current && (IT(p.current, n), e !== "virtual" && LT(n, { containingElement: r.current }));+ p.current && (FT(p.current, n), e !== "virtual" && IT(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && FC(r.current), ae.current = t.focusedKey, ie.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && PC(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, F.useEffect)(() => () => {oe.current && cancelAnimationFrame(oe.current);- }, []), kw(r, "react-aria-focus-scope-restore", (e) => {+ }, []), Ow(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let se = {- ...K(ee, M),+ ...q(ee, M),onFocus: te,onBlur: P,onMouseDown(e) {- p.current === G(e) && e.preventDefault();+ p.current === K(e) && e.preventDefault();}- }, { typeSelectProps: ce } = dD({+ }, { typeSelectProps: ce } = uD({keyboardDelegate: n,selectionManager: t});- u || (se = K(ce, se));+ u || (se = q(ce, se));let le;d || (le = t.focusedKey == null ? 0 : -1);let ue = jse(t.collection);- return { collectionProps: K(se, {+ return { collectionProps: q(se, {tabIndex: le,"data-collection": ue}) };}// node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function mD(e, t) {+function pD(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function hD(e) {- return gD(e, 0);+function mD(e) {+ return hD(e, 0);}-function gD(e, t) {+function hD(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -26538,106 +26538,106 @@ function gD(e, t) {n++;}}-function _D(e) {+function gD(e) {let t;for (let n of e) t = n;return t;}-function vD(e, t, n) {+function _D(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...yD(e, t), t], i = [...yD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...vD(e, t), t], i = [...vD(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 yD(e, t) {+function vD(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}// node_modules/react-stately/dist/private/collections/getItemCount.mjs-var bD = /* @__PURE__ */ new WeakMap();-function xD(e) {- let t = bD.get(e);+var yD = /* @__PURE__ */ new WeakMap();+function bD(e) {+ let t = yD.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(mD(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(pD(i, e)) : i.type === "item" && n++;};- return r(e), bD.set(e, n), n;+ return r(e), yD.set(e, n), n;}// node_modules/react-aria/dist/private/i18n/useCollator.mjs-var SD = /* @__PURE__ */ new Map();-function CD(e) {- let { locale: t } = Iw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (SD.has(n)) return SD.get(n);+var xD = /* @__PURE__ */ new Map();+function SD(e) {+ let { locale: t } = Fw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (xD.has(n)) return xD.get(n);let r = new Intl.Collator(t, e);- return SD.set(n, r), r;+ return xD.set(n, r), r;}// node_modules/react-aria/dist/private/interactions/PressResponder.mjsvar zse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {- let r = (0, F.useRef)(!1), i = (0, F.useContext)(Qw), a = K(i || {}, {+ let r = (0, F.useRef)(!1), i = (0, F.useContext)(Zw), a = q(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = ZC(n || i?.ref), QC(i, a.ref), (0, F.useEffect)(() => {+ return a.ref = XC(n || i?.ref), ZC(i, a.ref), (0, F.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ F.createElement(Qw.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ F.createElement(Zw.Provider, { value: a }, e);});function Bse({ children: e }) {let t = (0, F.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ F.createElement(Qw.Provider, { value: t }, e);+ return /*#__PURE__*/ F.createElement(Zw.Provider, { value: t }, e);}// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var wD = /*#__PURE__*/ (0, F.createContext)({});-function TD(e) {- let { getContainer: t } = e, { getContainer: n } = ED();- return /*#__PURE__*/ F.createElement(wD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var CD = /*#__PURE__*/ (0, F.createContext)({});+function wD(e) {+ let { getContainer: t } = e, { getContainer: n } = TD();+ return /*#__PURE__*/ F.createElement(CD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function ED() {- return (0, F.useContext)(wD) ?? {};+function TD() {+ return (0, F.useContext)(CD) ?? {};}// node_modules/react-aria/dist/private/overlays/Overlay.mjs-var DD = /*#__PURE__*/ F.createContext(null);-function OD(e) {- let t = cC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({+var ED = /*#__PURE__*/ F.createContext(null);+function DD(e) {+ let t = sC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = ED();+ }), [i, a]), { getContainer: s } = TD();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(mT, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(pT, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ F.createElement(DD.Provider, { value: o }, /*#__PURE__*/ F.createElement(Bse, null, /*#__PURE__*/ F.createElement($C.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ F.createElement(ED.Provider, { value: o }, /*#__PURE__*/ F.createElement(Bse, null, /*#__PURE__*/ F.createElement(QC.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);}-function kD() {- let e = (0, F.useContext)(DD)?.setContain;- BS(() => {+function OD() {+ let e = (0, F.useContext)(ED)?.setContain;+ zS(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjsfunction Vse(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = VC();+ let { role: n = "dialog", isEntering: r } = e, i = BC();i = e["aria-label"] ? void 0 : i;- let a = VC();+ let a = BC();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, F.useRef)(!1);(0, F.useEffect)(() => {- if (!r && t.current && !PS(t.current)) {- FC(t.current);+ if (!r && t.current && !NS(t.current)) {+ PC(t.current);let e = setTimeout(() => {- (MS() === t.current || MS() === document.body) && (o.current = !0, t.current && (t.current.blur(), FC(t.current)), o.current = !1);+ (jS() === t.current || jS() === document.body) && (o.current = !0, t.current && (t.current.blur(), PC(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), kD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});+ }, [t, r]), OD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...Ww(e, { labelable: !0 }),+ ...Uw(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -26651,23 +26651,23 @@ function Vse(e, t) {};}// node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function AD(e = {}) {+function kD(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({isFocused: !1,- isFocusVisible: t || CC()+ isFocusVisible: t || SC()}), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, F.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, F.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = CC(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = SC(), o(e), l();}, [l]);- OC((e) => {+ DC((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = KC({+ let { focusProps: d } = GC({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = tE({+ }), { focusWithinProps: f } = eE({isDisabled: !r,onFocusWithinChange: u});@@ -26679,26 +26679,26 @@ function AD(e = {}) {}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjsfunction Hse(e = {}) {- let { locale: t } = Iw();+ let { locale: t } = Fw();return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjs-var jD = !1, MD = 0;+var AD = !1, jD = 0;function Use() {- jD = !0, setTimeout(() => {- jD = !1;+ AD = !0, setTimeout(() => {+ AD = !1;}, 500);}-function ND(e) {+function MD(e) {e.pointerType === "touch" && Use();}function Wse() {- let e = wS(null);- if (e !== void 0) return MD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ND), MD++, () => {- MD--, !(MD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ND);+ let e = CS(null);+ if (e !== void 0) return jD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", MD), jD++, () => {+ jD--, !(jD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", MD);};}-function PD(e) {+function ND(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, F.useState)(!1), s = (0, F.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,@@ -26706,13 +26706,13 @@ function PD(e) {target: null}).current;(0, F.useEffect)(Wse, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = $w(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {+ let { addGlobalListener: c, removeAllGlobalListeners: l } = Qw(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !jS(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !AS(e.currentTarget, K(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(wS(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !jS(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(CS(K(e)), "pointerover", (e) => {+ s.isHovered && s.target && !AS(s.target, K(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -26727,9 +26727,9 @@ function PD(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- jD && t.pointerType === "mouse" || e(t, t.pointerType);+ AD && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && jS(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && AS(e.currentTarget, K(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -26755,18 +26755,18 @@ function Gse(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = Ow((e) => {- n && FD(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = Ow((e) => {+ }), o = Dw((e) => {+ n && PD(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = Dw((e) => {n && n(e);});(0, F.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = wS(n);+ let n = t.current, i = CS(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && FD(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && PD(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);@@ -26774,19 +26774,19 @@ function Gse(e) {}}, [t, r]);}-function FD(e, t) {+function PD(e, t) {if (e.button > 0) return !1;- let n = G(e);+ let n = K(e);if (n) {let e = n.ownerDocument;- if (!e || !jS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !AS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}// node_modules/react-aria/dist/private/gridlist/utils.mjs-var ID = /* @__PURE__ */ new WeakMap();-function LD(e, t) {- let { id: n } = ID.get(e) ?? {};+var FD = /* @__PURE__ */ new WeakMap();+function ID(e, t) {+ let { id: n } = FD.get(e) ?? {};if (!n) throw Error("Unknown list");return `${n}-${Kse(t)}`;}@@ -26794,8 +26794,8 @@ function Kse(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var RD = {};-RD = {+var LD = {};+LD = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -26808,8 +26808,8 @@ RD = {selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`};// node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var zD = {};-zD = {+var RD = {};+RD = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -26822,8 +26822,8 @@ zD = {selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`};// node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var BD = {};-BD = {+var zD = {};+zD = {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",@@ -26836,8 +26836,8 @@ BD = {selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var VD = {};-VD = {+var BD = {};+BD = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -26850,8 +26850,8 @@ VD = {selectedItem: (e) => `${e.item} valgt.`};// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var HD = {};-HD = {+var VD = {};+VD = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -26864,8 +26864,8 @@ HD = {selectedItem: (e) => `${e.item} ausgew\xe4hlt.`};// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var UD = {};-UD = {+var HD = {};+HD = {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: "Επιλογή",@@ -26878,8 +26878,8 @@ UD = {selectedItem: (e) => `\u{395}\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}.`};// node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var WD = {};-WD = {+var UD = {};+UD = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -26892,8 +26892,8 @@ WD = {longPressToSelect: "Long press to enter selection mode."};// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var GD = {};-GD = {+var WD = {};+WD = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -26906,8 +26906,8 @@ GD = {selectedItem: (e) => `${e.item} seleccionado.`};// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var KD = {};-KD = {+var GD = {};+GD = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -26920,8 +26920,8 @@ KD = {selectedItem: (e) => `${e.item} valitud.`};// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var qD = {};-qD = {+var KD = {};+KD = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -26934,8 +26934,8 @@ qD = {selectedItem: (e) => `${e.item} valittu.`};// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var JD = {};-JD = {+var qD = {};+qD = {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",@@ -26948,8 +26948,8 @@ JD = {selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`};// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var YD = {};-YD = {+var JD = {};+JD = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -26962,8 +26962,8 @@ YD = {selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var XD = {};-XD = {+var YD = {};+YD = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -26976,8 +26976,8 @@ XD = {selectedItem: (e) => `Stavka ${e.item} je odabrana.`};// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var ZD = {};-ZD = {+var XD = {};+XD = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -26990,8 +26990,8 @@ ZD = {selectedItem: (e) => `${e.item} kijel\xf6lve.`};// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var QD = {};-QD = {+var ZD = {};+ZD = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -27004,8 +27004,8 @@ QD = {selectedItem: (e) => `${e.item} selezionato.`};// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var $D = {};-$D = {+var QD = {};+QD = {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: "選択",@@ -27018,8 +27018,8 @@ $D = {selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var eO = {};-eO = {+var $D = {};+$D = {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: "선택",@@ -27032,8 +27032,8 @@ eO = {selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`};// node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var tO = {};-tO = {+var eO = {};+eO = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -27046,8 +27046,8 @@ tO = {selectedItem: (e) => `Pasirinkta: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var nO = {};-nO = {+var tO = {};+tO = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -27060,8 +27060,8 @@ nO = {selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var rO = {};-rO = {+var nO = {};+nO = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -27074,8 +27074,8 @@ rO = {selectedItem: (e) => `${e.item} er valgt.`};// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var iO = {};-iO = {+var rO = {};+rO = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -27088,8 +27088,8 @@ iO = {selectedItem: (e) => `${e.item} geselecteerd.`};// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var aO = {};-aO = {+var iO = {};+iO = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -27102,8 +27102,8 @@ aO = {selectedItem: (e) => `Zaznaczono ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var oO = {};-oO = {+var aO = {};+aO = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -27116,8 +27116,8 @@ oO = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var sO = {};-sO = {+var oO = {};+oO = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -27130,8 +27130,8 @@ sO = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var cO = {};-cO = {+var sO = {};+sO = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -27144,8 +27144,8 @@ cO = {selectedItem: (e) => `${e.item} selectat.`};// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var lO = {};-lO = {+var cO = {};+cO = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -27158,8 +27158,8 @@ lO = {selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};// node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var uO = {};-uO = {+var lO = {};+lO = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -27172,8 +27172,8 @@ uO = {selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var dO = {};-dO = {+var uO = {};+uO = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -27186,8 +27186,8 @@ dO = {selectedItem: (e) => `Element ${e.item} je izbran.`};// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var fO = {};-fO = {+var dO = {};+dO = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -27200,8 +27200,8 @@ fO = {selectedItem: (e) => `${e.item} je izabrano.`};// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var pO = {};-pO = {+var fO = {};+fO = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -27214,8 +27214,8 @@ pO = {selectedItem: (e) => `${e.item} markerat.`};// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var mO = {};-mO = {+var pO = {};+pO = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -27228,8 +27228,8 @@ mO = {selectedItem: (e) => `${e.item} se\xe7ildi.`};// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var hO = {};-hO = {+var mO = {};+mO = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -27242,8 +27242,8 @@ hO = {selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};// node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var gO = {};-gO = {+var hO = {};+hO = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -27256,8 +27256,8 @@ gO = {selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var _O = {};-_O = {+var gO = {};+gO = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -27270,54 +27270,54 @@ _O = {selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`};// node_modules/react-aria/dist/private/grid/intlStrings.mjs-var vO = {};-vO = {- "ar-AE": RD,- "bg-BG": zD,- "cs-CZ": BD,- "da-DK": VD,- "de-DE": HD,- "el-GR": UD,- "en-US": WD,- "es-ES": GD,- "et-EE": KD,- "fi-FI": qD,- "fr-FR": JD,- "he-IL": YD,- "hr-HR": XD,- "hu-HU": ZD,- "it-IT": QD,- "ja-JP": $D,- "ko-KR": eO,- "lt-LT": tO,- "lv-LV": nO,- "nb-NO": rO,- "nl-NL": iO,- "pl-PL": aO,- "pt-BR": oO,- "pt-PT": sO,- "ro-RO": cO,- "ru-RU": lO,- "sk-SK": uO,- "sl-SI": dO,- "sr-SP": fO,- "sv-SE": pO,- "tr-TR": mO,- "uk-UA": hO,- "zh-CN": gO,- "zh-TW": _O+var _O = {};+_O = {+ "ar-AE": LD,+ "bg-BG": RD,+ "cs-CZ": zD,+ "da-DK": BD,+ "de-DE": VD,+ "el-GR": HD,+ "en-US": UD,+ "es-ES": WD,+ "et-EE": GD,+ "fi-FI": KD,+ "fr-FR": qD,+ "he-IL": JD,+ "hr-HR": YD,+ "hu-HU": XD,+ "it-IT": ZD,+ "ja-JP": QD,+ "ko-KR": $D,+ "lt-LT": eO,+ "lv-LV": tO,+ "nb-NO": nO,+ "nl-NL": rO,+ "pl-PL": iO,+ "pt-BR": aO,+ "pt-PT": oO,+ "ro-RO": sO,+ "ru-RU": cO,+ "sk-SK": lO,+ "sl-SI": uO,+ "sr-SP": dO,+ "sv-SE": fO,+ "tr-TR": pO,+ "uk-UA": mO,+ "zh-CN": hO,+ "zh-TW": gO};// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjsfunction qse(e) {return e && e.__esModule ? e.default : e;}-function yO(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Hw(qse(vO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {+function vO(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Vw(qse(_O), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = bO(i, a.current), o = bO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = yO(i, a.current), o = yO(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)) {@@ -27337,7 +27337,7 @@ function yO(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 && jT(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 && AT(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -27348,7 +27348,7 @@ function yO(e, t) {n,r]);- MT(() => {+ jT(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -27356,20 +27356,20 @@ function yO(e, t) {}}, [i, t.selectionManager.isFocused]);}-function bO(e, t) {+function yO(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);return n;}// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function xO(e, t) {+function bO(e, t) {let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);- return BS(() => {+ return zS(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = ET(e.current, { tabbable: !0 });+ let t = TT(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -27390,9 +27390,9 @@ function xO(e, t) {function Jse(e) {return e && e.__esModule ? e.default : e;}-function SO(e) {- let t = Hw(Jse(vO), "@react-aria/grid"), n = EC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return zT((0, F.useMemo)(() => {+function xO(e) {+ let t = Vw(Jse(_O), "@react-aria/grid"), n = TC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return RT((0, F.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;}, [@@ -27404,11 +27404,11 @@ function SO(e) {]));}// node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function CO(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = CD({+function SO(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = SD({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new TE({+ }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new wE({collection: n,disabledKeys: r,disabledBehavior: l,@@ -27425,7 +27425,7 @@ function CO(e) {c,l,s- ]), { collectionProps: d } = pD({+ ]), { collectionProps: d } = fD({...e,ref: i,selectionManager: t,@@ -27437,7 +27437,7 @@ function CO(e) {function Yse(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 } = CO({+ let { listProps: f } = SO({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -27452,30 +27452,30 @@ function Yse(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = BC(e.id);- ID.set(t, {+ }), p = zC(e.id);+ FD.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = SO({+ let m = xO({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = xO(n, { isDisabled: t.collection.size !== 0 }), g = K(Ww(e, { labelable: !0 }), {+ }), h = bO(n, { isDisabled: t.collection.size !== 0 }), g = q(Uw(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), yO({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), vO({}, t), { gridProps: g };}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function wO(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 = tC();- t = BC(t);+function CO(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 = eC();+ t = zC(t);let p = (e) => {- if (e.pointerType === "keyboard" && xE(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && bE(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -27486,11 +27486,11 @@ function wO(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 && (Ew(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 && (Tw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, F.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? hw(i.current) : s ? s() : MS() !== i.current && i.current && FC(i.current));+ r === n.focusedKey && n.isFocused && (o ? mw(i.current) : s ? s() : jS() !== i.current && i.current && PC(i.current));}, [i,r,@@ -27503,7 +27503,7 @@ function wO(e) {!o && !c ? m = {tabIndex: r === n.focusedKey ? 0 : -1,onFocus(e) {- G(e) === i.current && n.setFocusedKey(r);+ K(e) === i.current && n.setFocusedKey(r);}} : c && (m.onMouseDown = (e) => {e.preventDefault();@@ -27518,23 +27518,23 @@ function wO(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);}, k = { ref: i };a ? (k.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || EO(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || TO(e.key)) && p(e);}, u ? (k.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, k.onPress = b ? O : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : k.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !TO(e.key)) return;+ if (e.pointerType === "keyboard" && !wO(e.key)) return;O(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (k.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || EO(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || TO(e.key))) && p(e);}, k.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && TO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && wO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));});let A = Mse(n.collection);- if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {+ if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = q(k, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));},@@ -27548,10 +27548,10 @@ function wO(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = IC(k[e], D[e]));- let { pressProps: j, isPressed: M } = iT(k), ee = x ? (e) => {+ ]) D[e] && (k[e] = FC(k[e], D[e]));+ let { pressProps: j, isPressed: M } = rT(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));- } : void 0, { longPressProps: N } = sD({+ } : void 0, { longPressProps: N } = oD({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -27559,8 +27559,8 @@ function wO(e) {}), te = (e) => {C.current === "touch" && T.current && e.preventDefault();}, P = d !== "none" && n.isLink(r) ? (e) => {- nC.isOpening || e.preventDefault();- } : void 0, ne = K(m, v || b || o && !c ? j : {}, w ? N : {}, {+ tC.isOpening || e.preventDefault();+ } : void 0, ne = q(m, v || b || o && !c ? j : {}, w ? N : {}, {onDoubleClick: ee,onDragStartCapture: te,onClick: P,@@ -27572,15 +27572,15 @@ function wO(e) {if (e != null) return e !== A;t = t.parentElement;}- return RS(e);+ return LS(e);}, I = ne.onPointerDown;ne.onPointerDown = (e) => {- let t = G(e);+ let t = K(e);t && t !== i.current && re(t) ? e.stopPropagation() : I?.(e);};let ie = ne.onMouseDown;return ne.onMouseDown = (e) => {- let t = G(e);+ let t = K(e);t && t !== i.current && re(t) ? e.stopPropagation() : ie?.(e);}, {itemProps: ne,@@ -27592,14 +27592,14 @@ function wO(e) {hasAction: S};}-function TO(e) {+function wO(e) {return e === "Enter";}-function EO(e) {+function TO(e) {return e === " ";}// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var DO = {+var EO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -27610,17 +27610,17 @@ var DO = {}};function Xse(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Iw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = ID.get(t), f = VC(), p = (0, F.useRef)(null), m = () => {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Fw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = FD.get(t), f = BC(), p = (0, F.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (PS(n.current) && n.current !== MS(wS(n.current))) return;- let e = ET(n.current, { tabbable: !0 }).firstChild();+ if (NS(n.current) && n.current !== jS(CS(n.current))) return;+ let e = TT(n.current, { tabbable: !0 }).firstChild();if (e) {- FC(e), LT(e, { containingElement: PT(e) });+ PC(e), IT(e, { containingElement: NT(e) });return;}}- (p.current != null && r.key !== p.current || !PS(n.current)) && FC(n.current);+ (p.current != null && r.key !== p.current || !NS(n.current)) && PC(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -27641,75 +27641,75 @@ function Xse(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = wO({+ let { itemProps: v, ...y } = CO({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? IC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? FC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = MS(wS(n.current));- if (!jS(e.currentTarget, G(e)) || !n.current || !i) return;- let a = ET(n.current);- if (a.currentNode = i, !OO(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = jS(CS(n.current));+ if (!AS(e.currentTarget, K(e)) || !n.current || !i) return;+ let a = TT(n.current);+ if (a.currentNode = i, !DO(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(), FC(t), LT(t, { containingElement: PT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") FC(n.current), LT(n.current, { containingElement: PT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), PC(t), IT(t, { containingElement: NT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") PC(n.current), IT(n.current, { containingElement: NT(n.current) });else {a.currentNode = n.current;- let e = kO(a);- e && (FC(e), LT(e, { containingElement: PT(n.current) }));+ let e = OO(a);+ e && (PC(e), IT(e, { containingElement: NT(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), FC(t), LT(t, { containingElement: PT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") FC(n.current), LT(n.current, { containingElement: PT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), PC(t), IT(t, { containingElement: NT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") PC(n.current), IT(n.current, { containingElement: NT(n.current) });else {a.currentNode = n.current;- let e = kO(a);- e && (FC(e), LT(e, { containingElement: PT(n.current) }));+ let e = OO(a);+ e && (PC(e), IT(e, { containingElement: NT(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && jS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && AS(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, G(e) === n.current ? a === "child" && e.relatedTarget && jS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && MS(wS(n.current)) === n.current && m();- }) : CC() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, K(e) === n.current ? a === "child" && e.relatedTarget && AS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && jS(CS(n.current)) === n.current && m();+ }) : SC() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = MS(wS(n.current));- if (jS(e.currentTarget, G(e)) && n.current && i) {+ let i = jS(CS(n.current));+ if (AS(e.currentTarget, K(e)) && n.current && i) {if (u === "tab") {- if (G(e) !== n.current && e.key !== "Tab") {+ if (K(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (OO(e, t, r, g, s, i, n.current, o)) return;+ if (DO(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = ET(n.current, { tabbable: !0 });+ let t = TT(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = rC(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = nC(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) ? `${LD(t, r.key)} ${f}` : void 0,- id: LD(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${ID(t, r.key)} ${f}` : void 0,+ id: ID(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -27724,22 +27724,22 @@ function Xse(e, t, n) {"aria-colindex": 1};return {- rowProps: { ...K(w, h) },+ rowProps: { ...q(w, h) },gridCellProps: E,descriptionProps: { id: f },...y};}-function OO(e, t, n, r, i, a, o, s) {+function DO(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === DO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === DO.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === EO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === EO.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 kO(e) {+function OO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -27755,11 +27755,11 @@ function Zse(e, t) {function Qse(e) {return e && e.__esModule ? e.default : e;}-function AO(e, t) {- let { key: n } = e, r = t.selectionManager, i = BC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function kO(e, t) {+ let { key: n } = e, r = t.selectionManager, i = zC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": Hw(Qse(vO), "@react-aria/grid").format("select"),+ "aria-label": Vw(Qse(_O), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)@@ -27767,29 +27767,29 @@ function AO(e, t) {}// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjsfunction $se(e, t) {- let { key: n } = e, { checkboxProps: r } = AO(e, t);+ let { key: n } = e, { checkboxProps: r } = kO(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${LD(t, n)}`+ "aria-labelledby": `${r.id} ${ID(t, n)}`} };}// node_modules/react-aria/dist/private/listbox/useListBox.mjsfunction ece(e, t, n) {- let r = Ww(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+ let r = Uw(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 } = CO({+ let { listProps: s } = SO({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = tE({+ }), { focusWithinProps: c } = eE({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = BC(e.id);- bE.set(t, {+ }), l = zC(e.id);+ yE.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -27799,23 +27799,23 @@ function ece(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = $T({+ let { labelProps: u, fieldProps: d } = QT({...e,id: l,labelElementType: "span"});return {labelProps: u,- listBoxProps: K(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {+ listBoxProps: q(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {role: "listbox","aria-orientation": a,- ...K(d, s)+ ...q(d, s)})};}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjsfunction tce(e) {- let { heading: t, "aria-label": n } = e, r = BC();+ let { heading: t, "aria-label": n } = e, r = zC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27834,7 +27834,7 @@ function tce(e) {}// node_modules/react-aria/dist/private/listbox/useOption.mjsfunction nce(e, t, n) {- let { key: r } = e, i = bE.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 = VC(), f = VC(), p = {+ let { key: r } = e, i = yE.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 = BC(), f = BC(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -27844,9 +27844,9 @@ function nce(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"] = xD(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = bD(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Ase(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = wO({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Ase(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = CO({selectionManager: t.selectionManager,key: r,ref: n,@@ -27855,28 +27855,28 @@ function nce(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? IC(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? FC(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = PD({+ }), { hoverProps: S } = ND({isDisabled: a || !c,onHoverStart() {- CC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ SC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = Ww(m?.props);+ }), C = Uw(m?.props);delete C.id;- let w = iC(m?.props);+ let w = rC(m?.props);return {optionProps: {...p,- ...K(C, _, S, w),+ ...q(C, _, S, w),id: g},labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && CC(),+ isFocusVisible: y && t.selectionManager.isFocused && SC(),isSelected: o,isDisabled: a,isPressed: v,@@ -27885,12 +27885,12 @@ function nce(e, t, n) {};}// node_modules/react-aria/dist/private/menu/utils.mjs-var jO = /* @__PURE__ */ new WeakMap();+var AO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/menu/useMenu.mjsfunction rce(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = Ww(e, { labelable: !0 }), { listProps: c } = CO({+ let s = Uw(e, { labelable: !0 }), { listProps: c } = SO({...o,ref: n,selectionManager: t.selectionManager,@@ -27899,11 +27899,11 @@ function rce(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return jO.set(t, {+ return AO.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus- }), { menuProps: K(s, {+ }), { menuProps: q(s, {onKeyDown: i,onKeyUp: a}, {@@ -27916,14 +27916,14 @@ function rce(e, t, n) {}// node_modules/react-aria/dist/private/menu/useMenuItem.mjsfunction ice(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), D = e.isSelected ?? C.isSelected(i), O = jO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = tC(), M = () => {+ 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), D = e.isSelected ?? C.isSelected(i), O = AO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = eC(), M = () => {if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {let e = O.onAction;e(i, k?.value);}}, ee = "menuitem";w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));- let N = VC(), te = VC(), P = VC(), ne = {+ let N = BC(), te = BC(), P = BC(), ne = {id: r,"aria-disabled": E || void 0,role: ee,@@ -27940,7 +27940,7 @@ function ice(e, t, n) {};if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {let e = Number(k?.index);- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = xD(t.collection);+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = bD(t.collection);}let re = (0, F.useRef)(!1), I = (e) => {f?.(e), re.current = e;@@ -27950,7 +27950,7 @@ function ice(e, t, n) {m?.(e), M(), Iae(e, j, k.props.href, k?.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, A && !w && t && A(), ie.current = null;- }, { itemProps: se, isFocused: ce } = wO({+ }, { itemProps: se, isFocused: ce } = CO({id: r,selectionManager: C,key: i,@@ -27959,36 +27959,36 @@ function ice(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: O.shouldUseVirtualFocus- }), { pressProps: le, isPressed: ue } = iT({+ }), { pressProps: le, isPressed: ue } = rT({onPressStart: l,onPress: d,onPressUp: ae,onPressChange: I,onPressEnd: p,isDisabled: E- }), { hoverProps: de } = PD({+ }), { hoverProps: de } = ND({isDisabled: E,onHoverStart(e) {- !CC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !SC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: fe } = XC({+ }), { keyboardProps: fe } = YC({shortcuts: {" ": (e) => {ie.current = {pointerType: "keyboard",key: " "- }, G(e).click(), TC("keyboard");+ }, K(e).click(), wC("keyboard");},Enter: (e) => {ie.current = {pointerType: "keyboard",key: "Enter"};- let t = G(e);- if (t.tagName !== "A") t.click(), TC("keyboard");- else return TC("keyboard"), {+ let t = K(e);+ if (t.tagName !== "A") t.click(), wC("keyboard");+ else return wC("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -27996,17 +27996,17 @@ function ice(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: pe } = ew({+ }), { focusableProps: pe } = $C({onBlur: S,onFocus: b,onFocusChange: x- }, n), me = Ww(k?.props);+ }, n), me = Uw(k?.props);delete me.id;- let he = iC(k?.props);+ let he = rC(k?.props);return {menuItemProps: {...ne,- ...K(me, he, w ? {+ ...q(me, he, w ? {onFocus: se.onFocus,"data-collection": se["data-collection"],"data-key": se["data-key"]@@ -28017,7 +28017,7 @@ function ice(e, t, n) {descriptionProps: { id: te },keyboardShortcutProps: { id: P },isFocused: ce,- isFocusVisible: ce && C.isFocused && CC() && !T,+ isFocusVisible: ce && C.isFocused && SC() && !T,isSelected: D,isPressed: ue,isDisabled: E@@ -28025,7 +28025,7 @@ function ice(e, t, n) {}// node_modules/react-aria/dist/private/menu/useMenuSection.mjsfunction ace(e) {- let { heading: t, "aria-label": n } = e, r = BC();+ let { heading: t, "aria-label": n } = e, r = zC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -28043,8 +28043,8 @@ function ace(e) {function oce() {return window.ResizeObserver !== void 0;}-function MO(e) {- let { ref: t, box: n, onResize: r } = e, i = Ow(r);+function jO(e) {+ let { ref: t, box: n, onResize: r } = e, i = Dw(r);(0, F.useEffect)(() => {let e = t?.current;if (e) {@@ -28063,154 +28063,154 @@ function MO(e) {}, [t, n]);}// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var NO = {};-NO = { dismiss: "تجاهل" };+var MO = {};+MO = { dismiss: "تجاهل" };// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var PO = {};-PO = { dismiss: "Отхвърляне" };+var NO = {};+NO = { dismiss: "Отхвърляне" };// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var FO = {};-FO = { dismiss: "Odstranit" };+var PO = {};+PO = { dismiss: "Odstranit" };// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var IO = {};-IO = { dismiss: "Luk" };+var FO = {};+FO = { dismiss: "Luk" };// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var LO = {};-LO = { dismiss: "Schließen" };+var IO = {};+IO = { dismiss: "Schließen" };// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var RO = {};-RO = { dismiss: "Απόρριψη" };+var LO = {};+LO = { dismiss: "Απόρριψη" };// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var zO = {};-zO = { dismiss: "Dismiss" };+var RO = {};+RO = { dismiss: "Dismiss" };// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var BO = {};-BO = { dismiss: "Descartar" };+var zO = {};+zO = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var VO = {};-VO = { dismiss: "Lõpeta" };+var BO = {};+BO = { dismiss: "Lõpeta" };// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var HO = {};-HO = { dismiss: "Hylkää" };+var VO = {};+VO = { dismiss: "Hylkää" };// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var UO = {};-UO = { dismiss: "Rejeter" };+var HO = {};+HO = { dismiss: "Rejeter" };// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var WO = {};-WO = { dismiss: "התעלם" };+var UO = {};+UO = { dismiss: "התעלם" };// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var GO = {};-GO = { dismiss: "Odbaci" };+var WO = {};+WO = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var KO = {};-KO = { dismiss: "Elutasítás" };+var GO = {};+GO = { dismiss: "Elutasítás" };// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var qO = {};-qO = { dismiss: "Ignora" };+var KO = {};+KO = { dismiss: "Ignora" };// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var JO = {};-JO = { dismiss: "閉じる" };+var qO = {};+qO = { dismiss: "閉じる" };// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var YO = {};-YO = { dismiss: "무시" };+var JO = {};+JO = { dismiss: "무시" };// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var XO = {};-XO = { dismiss: "Atmesti" };+var YO = {};+YO = { dismiss: "Atmesti" };// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var ZO = {};-ZO = { dismiss: "Nerādīt" };+var XO = {};+XO = { dismiss: "Nerādīt" };// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var QO = {};-QO = { dismiss: "Lukk" };+var ZO = {};+ZO = { dismiss: "Lukk" };// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var $O = {};-$O = { dismiss: "Negeren" };+var QO = {};+QO = { dismiss: "Negeren" };// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var ek = {};-ek = { dismiss: "Zignoruj" };+var $O = {};+$O = { dismiss: "Zignoruj" };// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var tk = {};-tk = { dismiss: "Descartar" };+var ek = {};+ek = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var nk = {};-nk = { dismiss: "Dispensar" };+var tk = {};+tk = { dismiss: "Dispensar" };// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var rk = {};-rk = { dismiss: "Revocare" };+var nk = {};+nk = { dismiss: "Revocare" };// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var ik = {};-ik = { dismiss: "Пропустить" };+var rk = {};+rk = { dismiss: "Пропустить" };// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var ak = {};-ak = { dismiss: "Zrušiť" };+var ik = {};+ik = { dismiss: "Zrušiť" };// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var ok = {};-ok = { dismiss: "Opusti" };+var ak = {};+ak = { dismiss: "Opusti" };// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var sk = {};-sk = { dismiss: "Odbaci" };+var ok = {};+ok = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var ck = {};-ck = { dismiss: "Avvisa" };+var sk = {};+sk = { dismiss: "Avvisa" };// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var lk = {};-lk = { dismiss: "Kapat" };+var ck = {};+ck = { dismiss: "Kapat" };// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var uk = {};-uk = { dismiss: "Скасувати" };+var lk = {};+lk = { dismiss: "Скасувати" };// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var dk = {};-dk = { dismiss: "取消" };+var uk = {};+uk = { dismiss: "取消" };// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var fk = {};-fk = { dismiss: "關閉" };+var dk = {};+dk = { dismiss: "關閉" };// node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var pk = {};-pk = {- "ar-AE": NO,- "bg-BG": PO,- "cs-CZ": FO,- "da-DK": IO,- "de-DE": LO,- "el-GR": RO,- "en-US": zO,- "es-ES": BO,- "et-EE": VO,- "fi-FI": HO,- "fr-FR": UO,- "he-IL": WO,- "hr-HR": GO,- "hu-HU": KO,- "it-IT": qO,- "ja-JP": JO,- "ko-KR": YO,- "lt-LT": XO,- "lv-LV": ZO,- "nb-NO": QO,- "nl-NL": $O,- "pl-PL": ek,- "pt-BR": tk,- "pt-PT": nk,- "ro-RO": rk,- "ru-RU": ik,- "sk-SK": ak,- "sl-SI": ok,- "sr-SP": sk,- "sv-SE": ck,- "tr-TR": lk,- "uk-UA": uk,- "zh-CN": dk,- "zh-TW": fk+var fk = {};+fk = {+ "ar-AE": MO,+ "bg-BG": NO,+ "cs-CZ": PO,+ "da-DK": FO,+ "de-DE": IO,+ "el-GR": LO,+ "en-US": RO,+ "es-ES": zO,+ "et-EE": BO,+ "fi-FI": VO,+ "fr-FR": HO,+ "he-IL": UO,+ "hr-HR": WO,+ "hu-HU": GO,+ "it-IT": KO,+ "ja-JP": qO,+ "ko-KR": JO,+ "lt-LT": YO,+ "lv-LV": XO,+ "nb-NO": ZO,+ "nl-NL": QO,+ "pl-PL": $O,+ "pt-BR": ek,+ "pt-PT": tk,+ "ro-RO": nk,+ "ru-RU": rk,+ "sk-SK": ik,+ "sl-SI": ak,+ "sr-SP": ok,+ "sv-SE": sk,+ "tr-TR": ck,+ "uk-UA": lk,+ "zh-CN": uk,+ "zh-TW": dk};// node_modules/react-aria/dist/private/overlays/DismissButton.mjsfunction sce(e) {return e && e.__esModule ? e.default : e;}-function mk(e) {- let { onDismiss: t, ...n } = e, r = Aw(n, Hw(sce(pk), "@react-aria/overlays").format("dismiss")), i = () => {+function pk(e) {+ let { onDismiss: t, ...n } = e, r = kw(n, Vw(sce(fk), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ F.createElement(fE, null, /*#__PURE__*/ F.createElement("button", {+ return /*#__PURE__*/ F.createElement(dE, null, /*#__PURE__*/ F.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -28221,23 +28221,23 @@ function mk(e) {}));}// node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var hk = [];-function gk(e, t) {+var mk = [];+function hk(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, F.useRef)(void 0);(0, F.useEffect)(() => {- if (i && !hk.includes(t)) return hk.push(t), () => {- let e = hk.indexOf(t);- e >= 0 && hk.splice(e, 1);+ if (i && !mk.includes(t)) return mk.push(t), () => {+ let e = mk.indexOf(t);+ e >= 0 && mk.splice(e, 1);};}, [i, t]);let l = () => {- hk[hk.length - 1] === t && n && n();+ mk[mk.length - 1] === t && n && n();}, u = (e) => {- let n = hk[hk.length - 1];- c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();+ let n = mk[mk.length - 1];+ c.current = n, (!s || s(K(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (hk[hk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = XC({ shortcuts: { Escape: () => {+ (!s || s(K(e))) && (mk[mk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = YC({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });@@ -28246,7 +28246,7 @@ function gk(e, t) {onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = tE({+ let { focusWithinProps: p } = eE({isDisabled: !r,onBlurWithin: (e) => {e.relatedTarget && !rse(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();@@ -28261,73 +28261,73 @@ function gk(e, t) {};}// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var cce = 200, lce = 50, uce = 600, _k = /* @__PURE__ */ new WeakMap(), vk = /* @__PURE__ */ new Set(), yk = /* @__PURE__ */ new Set();+var cce = 200, lce = 50, uce = 600, gk = /* @__PURE__ */ new WeakMap(), _k = /* @__PURE__ */ new Set(), vk = /* @__PURE__ */ new Set();function dce(e, t) {- let n = Dw();- if (e !== n || t.aborted) for (let e of yk) e(n), yk.delete(e);- if (!e && n && ZS() && !t.aborted) window.clearInterval(_k.get(window)), _k.set(window, bk(cce));+ let n = Ew();+ if (e !== n || t.aborted) for (let e of vk) e(n), vk.delete(e);+ if (!e && n && XS() && !t.aborted) window.clearInterval(gk.get(window)), gk.set(window, yk(cce));else {- if (e !== n || t.aborted) for (let e of vk) e(n), vk.delete(e);- (yk.size + vk.size <= 0 || t.aborted) && (window.clearInterval(_k.get(window)), _k.delete(window));+ if (e !== n || t.aborted) for (let e of _k) e(n), _k.delete(e);+ (vk.size + _k.size <= 0 || t.aborted) && (window.clearInterval(gk.get(window)), gk.delete(window));}}-function bk(e = uce) {- return window.setInterval(dce, lce, Dw(), AbortSignal.timeout(e));+function yk(e = uce) {+ return window.setInterval(dce, lce, Ew(), AbortSignal.timeout(e));}-function xk(e) {- if (!ww()) return e(!1), () => {};+function bk(e) {+ if (!Cw()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Tw(document.hasFocus() ? MS() : null);- if (Dw() === t || Dw() && !t) return e(t);- yk.add(e), _k.has(window) || _k.set(window, bk());+ let t = ww(document.hasFocus() ? jS() : null);+ if (Ew() === t || Ew() && !t) return e(t);+ vk.add(e), gk.has(window) || gk.set(window, yk());});});return () => {- window.cancelAnimationFrame(t), yk.delete(e);+ window.cancelAnimationFrame(t), vk.delete(e);};}function fce(e) {- if (!ww()) return e(!1), () => {};+ if (!Cw()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Tw(document.hasFocus() ? MS() : null);- if (Dw() === t) return e(t);- vk.add(e), _k.has(window) || _k.set(window, bk());+ let t = ww(document.hasFocus() ? jS() : null);+ if (Ew() === t) return e(t);+ _k.add(e), gk.has(window) || gk.set(window, yk());});});return () => {- window.cancelAnimationFrame(t), vk.delete(e);+ window.cancelAnimationFrame(t), _k.delete(e);};}// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var Sk = typeof document < "u" && window.visualViewport, Ck = 0, pce;+var xk = typeof document < "u" && window.visualViewport, Sk = 0, pce;function mce(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- BS(() => {- if (!t) return Ck++, Ck === 1 && (pce = XS() && ZS() ? gce() : hce(n)), () => {- Ck--, Ck === 0 && pce();+ zS(() => {+ if (!t) return Sk++, Sk === 1 && (pce = YS() && XS() ? gce() : hce(n)), () => {+ Sk--, Sk === 0 && pce();};}, [t, n]);}function hce(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return IC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? kS(document.documentElement, "scrollbar-gutter", "stable") : kS(document.documentElement, "padding-right", `${t}px`)), kS(document.documentElement, "overflow", "hidden"), e && vce(), e && ww() && _ce());+ return FC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? OS(document.documentElement, "scrollbar-gutter", "stable") : OS(document.documentElement, "padding-right", `${t}px`)), OS(document.documentElement, "overflow", "hidden"), e && vce(), e && Cw() && _ce());}function gce() {- let e = kS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {- let r = G(e);- t = NT(r, !0) ? r : PT(r, !0), n = !1;+ let e = OS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+ let r = K(e);+ t = MT(r, !0) ? r : NT(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 = Zw();+ }, i = document.createElement("style"), a = Xw();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 = vce(), c = IC(OS(document, "touchstart", r, {+ }, s = vce(), c = FC(DS(document, "touchstart", r, {passive: !1,capture: !0- }), OS(document, "touchmove", o, {+ }), DS(document, "touchmove", o, {passive: !1,capture: !0}), _ce());@@ -28336,9 +28336,9 @@ function gce() {};}function _ce() {- return OS(document, "blur", (e) => {- let t = G(e), n = e.relatedTarget;- n && Tw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ return DS(document, "blur", (e) => {+ let t = K(e), n = e.relatedTarget;+ n && ww(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}function vce() {@@ -28352,9 +28352,9 @@ function vce() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- MS() === this && yce(this);+ jS() === this && yce(this);};- xk((t) => t ? e() : fce(() => e()));+ bk((t) => t ? e() : fce(() => e()));}}}), () => {@@ -28368,12 +28368,12 @@ function vce() {function yce(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = PT(n);+ let e = NT(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;- Sk && (n = Math.min(n, Sk.offsetTop + Sk.height));+ xk && (n = Math.min(n, xk.offsetTop + xk.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)),@@ -28386,7 +28386,7 @@ function yce(e) {}// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjsfunction bce(e, t, n) {- let { overlayProps: r, underlayProps: i } = gk({+ let { overlayProps: r, underlayProps: i } = hk({...e,isOpen: t.isOpen,onClose: t.close@@ -28394,26 +28394,26 @@ function bce(e, t, n) {mce({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), kD();+ }), OD();let { isEntering: a } = e;return (0, F.useEffect)(() => {- if (t.isOpen && n.current) return a ? yE(n.current) : vE([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? vE(n.current) : _E([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,n]), {- modalProps: K(r),+ modalProps: q(r),underlayProps: i};}// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var wk = {+var Ck = {top: "top",bottom: "top",left: "left",right: "left"-}, Tk = {+}, wk = {top: "bottom",bottom: "top",left: "right",@@ -28421,20 +28421,20 @@ var wk = {}, xce = {top: "left",left: "top"-}, Ek = {+}, Tk = {top: "height",left: "width"}, Sce = {width: "totalWidth",height: "totalHeight"-}, Dk = {}, Cce = () => typeof document < "u" ? window.visualViewport : null;+}, Ek = {}, Cce = () => typeof document < "u" ? window.visualViewport : null;function wce(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} = Ak(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return ZS() && (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} = kk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return XS() && (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,@@ -28453,7 +28453,7 @@ function Tce(e) {};}function Ece(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[Ek[e]], l = o[e] + r.scroll[wk[e]] + a, u = o[e] + r.scroll[wk[e]] + c - a, d = t - s + r.scroll[wk[e]] + o[e] - r[wk[e]], f = t - s + n + r.scroll[wk[e]] + o[e] - r[wk[e]];+ let s = i.scroll[e] ?? 0, c = r[Tk[e]], l = o[e] + r.scroll[Ck[e]] + a, u = o[e] + r.scroll[Ck[e]] + c - a, d = t - s + r.scroll[Ck[e]] + o[e] - r[Ck[e]], f = t - s + n + r.scroll[Ck[e]] + o[e] - r[Ck[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}function Dce(e) {@@ -28466,26 +28466,26 @@ function Dce(e) {};}function Oce(e) {- if (Dk[e]) return Dk[e];- let [t, n] = e.split(" "), r = wk[t] || "right", i = xce[r];- wk[n] || (n = "center");- let a = Ek[r], o = Ek[i];- return Dk[e] = {+ if (Ek[e]) return Ek[e];+ let [t, n] = e.split(" "), r = Ck[t] || "right", i = xce[r];+ Ck[n] || (n = "center");+ let a = Tk[r], o = Tk[i];+ return Ek[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, Dk[e];+ }, Ek[e];}-function Ok(e, t, n, r, i, a, o, s, c, l, u) {+function Dk(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] = iE(_[m], v, y), d === p) {+ if (_[m] = rE(_[m], v, y), d === p) {let t = s ? u[h] : u[Sce[h]];- _[Tk[p]] = Math.floor(t - e[p] + i);+ _[wk[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}@@ -28498,12 +28498,12 @@ function kce(e, t, n, r, i, a, o, s, c, l, u) {}function Ace(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[Tk[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[Tk[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[wk[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[wk[l]] - i);}function jce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = Oce(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Ok(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Ace(s, l, t, i, a + u, v, c, g);+ let v = Oce(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Dk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Ace(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = Oce(`${Tk[S]} ${C}`), r = Ok(t, s, n, e, u, d, l, f, m, h, c);+ let e = Oce(`${wk[S]} ${C}`), r = Dk(t, s, n, e, u, d, l, f, m, h, c);Ace(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);}let D = "bottom";@@ -28511,9 +28511,9 @@ function jce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {let O = Ece(b, w[b], n[x], s, c, a, l);w[b] += O;let k = kce(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Ok(t, s, n, v, T, d, l, f, m, h, c), O = Ece(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[wk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = wk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;- A[b] = iE(iE(M, t[b] + m / 2 - (w[b] + i[wk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[wk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Dk(t, s, n, v, T, d, l, f, m, h, c), O = Ece(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[Ck[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Ck[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;+ A[b] = rE(rE(M, t[b] + m / 2 - (w[b] + i[Ck[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Ck[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let P = S === "left" || S === "top" ? n[y] : 0, ne = {x: S === "top" || S === "bottom" ? j : P,y: S === "left" || S === "right" ? j : P@@ -28528,16 +28528,16 @@ function jce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {};}function Mce(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 = Cce(), h = r instanceof HTMLElement ? Pce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Ak(n, !1, p) : Nce(n, h, !1, p);+ 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 = Cce(), h = r instanceof HTMLElement ? Pce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? kk(n, !1, p) : Nce(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 = Ak(r, !0), x = Dce(r);+ let b = kk(r, !0), x = Dce(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);let S = Tce(i), C = wce(s, m), w = wce(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = kk(h, !1);+ let e = Ok(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -28550,10 +28550,10 @@ function Mce(e) {width: 0,height: 0} : Nce(s, h, !1);- let E = jS(s, h);+ let E = AS(s, h);return jce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function kk(e, t) {+function Ok(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,@@ -28562,8 +28562,8 @@ function kk(e, t) {height: a};}-function Ak(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || kk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function kk(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || Ok(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -28573,27 +28573,27 @@ function Ak(e, t, n) {}function Nce(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || kk(e, n);+ if (i.position === "fixed") a = r || Ok(e, n);else {- a = Ak(e, n, r);- let i = Ak(t, n), o = window.getComputedStyle(t);+ a = kk(e, n, r);+ let i = kk(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 Pce(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !jk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !jk(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Ak(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Ak(t);) t = t.parentElement;return t || document.documentElement;}-function jk(e) {+function Ak(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";}// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var Mk = typeof document < "u" ? window.visualViewport : null;+var jk = typeof document < "u" ? window.visualViewport : null;function Fce(e) {- let { direction: t } = Iw(), { 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, F.useState)(null), x = [+ let { direction: t } = Fw(), { 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, F.useState)(null), x = [p,s,i.current,@@ -28610,15 +28610,15 @@ function Fce(e) {g,_,n- ], S = (0, F.useRef)(Mk?.scale);+ ], S = (0, F.useRef)(jk?.scale);(0, F.useEffect)(() => {- m && (S.current = Mk?.scale);+ m && (S.current = jk?.scale);}, [m]);let C = (0, F.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || Mk?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || jk?.scale !== S.current) return;let e = null;- if (o.current && PS(o.current)) {- let t = MS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && NS(o.current)) {+ let t = jS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -28637,28 +28637,28 @@ function Fce(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? kk(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? Ok(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 = MS();+ let x = jS();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);- BS(C, x), Ice(C), MO({+ zS(C, x), Ice(C), jO({ref: i,onResize: C- }), MO({+ }), jO({ref: r,onResize: C});let w = (0, F.useRef)(!1);- BS(() => {+ zS(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -28666,10 +28666,10 @@ function Fce(e) {}, n = () => {w.current && t();};- Mk?.addEventListener("resize", t), Mk?.addEventListener("scroll", n);- let r = OS(NS(window), "scroll", n);+ jk?.addEventListener("resize", t), jk?.addEventListener("scroll", n);+ let r = DS(MS(window), "scroll", n);return () => {- Mk?.removeEventListener("resize", t), Mk?.removeEventListener("scroll", n), r();+ jk?.removeEventListener("resize", t), jk?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, F.useCallback)(() => {@@ -28702,7 +28702,7 @@ function Fce(e) {};}function Ice(e) {- BS(() => (window.addEventListener("resize", e, !1), () => {+ zS(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}@@ -28711,7 +28711,7 @@ function Lce(e, t) {}// node_modules/react-aria/dist/private/overlays/usePopover.mjsfunction Rce(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 } = gk({+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = hk({isOpen: t.isOpen,onClose: t.close,shouldCloseOnBlur: !0,@@ -28727,16 +28727,16 @@ function Rce(e, t) {getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)});mce({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {- if (t.isOpen && r.current) return a ? yE(i?.current ?? r.current) : vE([i?.current ?? r.current], { shouldUseInert: !0 });+ if (t.isOpen && r.current) return a ? vE(i?.current ?? r.current) : _E([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = tE(e);+ let { focusWithinProps: g } = eE(e);return {- popoverProps: K(u, f, g),+ popoverProps: q(u, f, g),arrowProps: p,underlayProps: d,placement: m,@@ -28744,12 +28744,12 @@ function Rce(e, t) {};}// node_modules/react-aria/dist/private/radio/utils.mjs-var Nk = /* @__PURE__ */ new WeakMap();+var Mk = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/radio/useRadio.mjsfunction zce(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: _ } = iT({+ }, { pressProps: g, isPressed: _ } = rT({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -28757,7 +28757,7 @@ function zce(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = iT({+ }), { pressProps: v, isPressed: y } = rT({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -28767,17 +28767,17 @@ function zce(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = ew(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Ww(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = $C(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = Uw(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: D, validationBehavior: O } = Nk.get(t);- BT(n, t.defaultSelectedValue, t.setSelectedValue), VT({ validationBehavior: O }, t, n);- let k = HT();+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Mk.get(t);+ zT(n, t.defaultSelectedValue, t.setSelectedValue), BT({ validationBehavior: O }, t, n);+ let k = VT();return {- labelProps: K(v, (0, F.useMemo)(() => ({+ labelProps: q(v, (0, F.useMemo)(() => ({onClick: (e) => e.preventDefault(),onMouseDown: (e) => e.preventDefault()}), [])),- inputProps: K(S, {+ inputProps: q(S, {...x,type: "radio",name: w,@@ -28803,12 +28803,12 @@ function zce(e, t, n) {}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjsfunction Bce(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Iw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = eE({+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Fw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = $T({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = Ww(e, { labelable: !0 }), { focusWithinProps: v } = tE({+ }), _ = Uw(e, { labelable: !0 }), { focusWithinProps: v } = eE({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -28816,13 +28816,13 @@ function Bce(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = ET(n.currentTarget, {- from: G(n),- accept: (e) => e instanceof TS(e).HTMLInputElement && e.type === "radio"+ let r = TT(n.currentTarget, {+ from: K(n),+ accept: (e) => e instanceof wS(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 } = XC({+ let { keyboardProps: b } = YC({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -28830,15 +28830,15 @@ function Bce(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = BC(n);- return Nk.set(t, {+ }), x = zC(n);+ return Mk.set(t, {name: x,form: r,descriptionId: h.id,errorMessageId: g.id,validationBehavior: c}), {- radioGroupProps: K(_, {+ radioGroupProps: q(_, {role: "radiogroup",...b,"aria-invalid": t.isInvalid || void 0,@@ -28859,21 +28859,21 @@ function Bce(e, t) {};}// node_modules/react-aria/dist/private/select/useSelect.mjs-var Pk = /* @__PURE__ */ new WeakMap();+var Nk = /* @__PURE__ */ new WeakMap();function Vce(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = CD({+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = SD({usage: "search",sensitivity: "base"- }), u = (0, F.useMemo)(() => r || new TE(t.collection, t.disabledKeys, n, l), [+ }), u = (0, F.useMemo)(() => r || new wE(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = lD({+ ]), { menuTriggerProps: d, menuProps: f } = cD({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = XC({+ }, t, n), { keyboardProps: p } = YC({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -28889,21 +28889,21 @@ function Vce(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = dD({+ }), { typeSelectProps: m } = uD({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 } = eE({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = $T({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = Ww(e, { labelable: !0 }), C = K(m, d, y), w = BC();- return Pk.set(t, {+ let S = Uw(e, { labelable: !0 }), C = q(m, d, y), w = zC();+ return Nk.set(t, {isDisabled: i,isRequired: a,name: o,@@ -28913,13 +28913,13 @@ function Vce(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), TC("keyboard"));+ e.isDisabled || (n.current?.focus(), wC("keyboard"));}},- triggerProps: K(S, {+ triggerProps: q(S, {...C,isDisabled: i,- onKeyDown: IC(C.onKeyDown, p.onKeyDown),+ onKeyDown: FC(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -28943,7 +28943,7 @@ function Vce(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- jS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ AS(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(" ")},@@ -28964,17 +28964,17 @@ function Vce(e, t, n) {}// node_modules/react-aria/dist/private/select/HiddenSelect.mjsfunction Hce(e, t, n) {- let r = Pk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = dE({ style: {+ let r = Nk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = uE({ style: {position: "fixed",top: 0,left: 0} });- BT(e.selectRef, t.defaultValue, t.setValue), VT({+ zT(e.selectRef, t.defaultValue, t.setValue), BT({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);let d = t.setValue, f = (0, F.useCallback)((e) => {- let t = G(e);+ let t = K(e);t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);}, [d]);return {@@ -29024,7 +29024,7 @@ function Uce(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = Pk.get(t) || {};+ let { validationBehavior: e } = Nk.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -29055,7 +29055,7 @@ function Uce(e) {}// node_modules/react-aria/dist/private/separator/useSeparator.mjsfunction Wce(e) {- let t = Ww(e, { labelable: !0 }), n;+ let t = Uw(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -29064,7 +29064,7 @@ function Wce(e) {}// node_modules/react-aria/dist/private/switch/useSwitch.mjsfunction Gce(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = ZT(e, t, n);+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = XT(e, t, n);return {labelProps: r,inputProps: {@@ -29077,10 +29077,10 @@ function Gce(e, t, n) {};}// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var Fk = class {+var Pk = 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 Kce(e.layout) : new wE(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Kce(e.layout) : new CE(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -29116,7 +29116,7 @@ var Fk = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of mD(n, this.collection)) {+ for (let e of pD(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -29150,13 +29150,13 @@ var Fk = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = mD(t, this.collection);- return (this.direction === "rtl" ? _D(e)?.key : hD(e)?.key) ?? null;+ let e = pD(t, this.collection);+ return (this.direction === "rtl" ? gD(e)?.key : mD(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = mD(n, this.collection), i = (this.direction === "rtl" ? gD(r, t.index - 1) : gD(r, t.index + 1)) ?? null;+ let r = pD(n, this.collection), i = (this.direction === "rtl" ? hD(r, t.index - 1) : hD(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;@@ -29165,13 +29165,13 @@ var Fk = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = mD(t, this.collection);- return (this.direction === "rtl" ? hD(e)?.key : _D(e)?.key) ?? null;+ let e = pD(t, this.collection);+ return (this.direction === "rtl" ? mD(e)?.key : gD(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = mD(n, this.collection), i = (this.direction === "rtl" ? gD(r, t.index + 1) : gD(r, t.index - 1)) ?? null;+ let r = pD(n, this.collection), i = (this.direction === "rtl" ? hD(r, t.index + 1) : hD(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;@@ -29182,13 +29182,13 @@ var Fk = 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 ? hD(mD(e, this.collection))?.key ?? null : null;+ return e ? mD(pD(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 = hD(mD(e, this.collection))?.key ?? null;+ n = mD(pD(e, this.collection))?.key ?? null;}return n;}@@ -29198,13 +29198,13 @@ var Fk = 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 ? _D(mD(e, this.collection))?.key ?? null : null;+ return e ? gD(pD(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 = _D(mD(e, this.collection))?.key ?? null;+ n = gD(pD(e, this.collection))?.key ?? null;}return n;}@@ -29240,7 +29240,7 @@ var Fk = 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" ? hD(mD(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? mD(pD(t, this.collection))?.key ?? null : t.key;}n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}@@ -29259,15 +29259,15 @@ var Fk = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, Ik = /* @__PURE__ */ new WeakMap();+}, Fk = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/grid/useGrid.mjsfunction qce(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 = CD({+ let h = SD({usage: "search",sensitivity: "base"- }), { direction: g } = Iw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Fk({+ }), { direction: g } = Fw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Pk({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -29284,7 +29284,7 @@ function qce(e, t, n) {g,h,o- ]), { collectionProps: y } = pD({+ ]), { collectionProps: y } = fD({ref: n,selectionManager: m,keyboardDelegate: v,@@ -29292,8 +29292,8 @@ function qce(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = BC(e.id);- Ik.set(t, {+ }), b = zC(e.id);+ Fk.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -29302,42 +29302,42 @@ function qce(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = SO({+ let x = xO({selectionManager: m,hasItemActions: !!(l || u)- }), S = Ww(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {- m.isFocused ? jS(e.currentTarget, G(e)) || m.setFocused(!1) : jS(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = Uw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {+ m.isFocused ? AS(e.currentTarget, K(e)) || m.setFocused(!1) : AS(e.currentTarget, K(e)) && m.setFocused(!0);}, [m]), w = (0, F.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = xO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = bO(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), yO({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), vO({ getRowText: c }, t), { gridProps: E };}// node_modules/react-aria/dist/private/table/utils.mjs-var Lk = /* @__PURE__ */ new WeakMap();-function Rk(e) {+var Ik = /* @__PURE__ */ new WeakMap();+function Lk(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function zk(e, t) {- let n = Lk.get(e);+function Rk(e, t) {+ let n = Ik.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${Rk(t)}`;+ return `${n}-${Lk(t)}`;}-function Bk(e, t, n) {- let r = Lk.get(e);+function zk(e, t, n) {+ let r = Ik.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${Rk(t)}-${Rk(n)}`;+ return `${r}-${Lk(t)}-${Lk(n)}`;}-function Vk(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => Bk(e, t, n)).join(" ");+function Bk(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => zk(e, t, n)).join(" ");}// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var Hk = {};-Hk = {+var Vk = {};+Vk = {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: "طي",@@ -29351,8 +29351,8 @@ Hk = {sortable: "عمود قابل للترتيب"};// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var Uk = {};-Uk = {+var Hk = {};+Hk = {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: "Свиване",@@ -29366,8 +29366,8 @@ Uk = {sortable: "сортираща колона"};// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var Wk = {};-Wk = {+var Uk = {};+Uk = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -29381,8 +29381,8 @@ Wk = {sortable: "sloupec s možností řazení"};// node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var Gk = {};-Gk = {+var Jce = {};+Jce = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -29396,8 +29396,8 @@ Gk = {sortable: "sorterbar kolonne"};// node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var Kk = {};-Kk = {+var Wk = {};+Wk = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -29411,8 +29411,8 @@ Kk = {sortable: "sortierbare Spalte"};// node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var qk = {};-qk = {+var Gk = {};+Gk = {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: "Σύμπτυξη",@@ -29426,8 +29426,8 @@ qk = {sortable: "Στήλη διαλογής"};// node_modules/react-aria/dist/private/intl/table/en-US.mjs-var Jk = {};-Jk = {+var Kk = {};+Kk = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -29441,8 +29441,8 @@ Jk = {collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var Yk = {};-Yk = {+var qk = {};+qk = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -29456,8 +29456,8 @@ Yk = {sortable: "columna ordenable"};// node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var Xk = {};-Xk = {+var Jk = {};+Jk = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -29471,8 +29471,8 @@ Xk = {sortable: "sorditav veerg"};// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var Zk = {};-Zk = {+var Yk = {};+Yk = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -29486,8 +29486,8 @@ Zk = {sortable: "lajiteltava sarake"};// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var Qk = {};-Qk = {+var Xk = {};+Xk = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -29501,8 +29501,8 @@ Qk = {sortable: "colonne triable"};// node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var $k = {};-$k = {+var Zk = {};+Zk = {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: "כווץ",@@ -29516,8 +29516,8 @@ $k = {sortable: "עמודה שניתן למיין"};// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var eA = {};-eA = {+var Qk = {};+Qk = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -29531,8 +29531,8 @@ eA = {sortable: "stupac koji se može razvrstati"};// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var tA = {};-tA = {+var $k = {};+$k = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -29546,8 +29546,8 @@ tA = {sortable: "rendezendő oszlop"};// node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var nA = {};-nA = {+var eA = {};+eA = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -29561,8 +29561,8 @@ nA = {sortable: "colonna ordinabile"};// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var rA = {};-rA = {+var tA = {};+tA = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -29576,8 +29576,8 @@ rA = {sortable: "並べ替え可能な列"};// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var iA = {};-iA = {+var nA = {};+nA = {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: "접기",@@ -29591,8 +29591,8 @@ iA = {sortable: "정렬 가능한 열"};// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var aA = {};-aA = {+var rA = {};+rA = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -29606,8 +29606,8 @@ aA = {sortable: "rikiuojamas stulpelis"};// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var oA = {};-oA = {+var iA = {};+iA = {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",@@ -29621,8 +29621,8 @@ oA = {sortable: "kārtojamā kolonna"};// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var sA = {};-sA = {+var aA = {};+aA = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -29636,8 +29636,8 @@ sA = {sortable: "kolonne som kan sorteres"};// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var cA = {};-cA = {+var oA = {};+oA = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -29651,8 +29651,8 @@ cA = {sortable: "sorteerbare kolom"};// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var lA = {};-lA = {+var sA = {};+sA = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -29666,8 +29666,8 @@ lA = {sortable: "kolumna z możliwością sortowania"};// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var uA = {};-uA = {+var cA = {};+cA = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -29681,8 +29681,8 @@ uA = {sortable: "coluna classificável"};// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var dA = {};-dA = {+var lA = {};+lA = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -29696,8 +29696,8 @@ dA = {sortable: "Coluna ordenável"};// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var fA = {};-fA = {+var uA = {};+uA = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -29711,8 +29711,8 @@ fA = {sortable: "coloană sortabilă"};// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var pA = {};-pA = {+var dA = {};+dA = {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: "Свернуть",@@ -29726,8 +29726,8 @@ pA = {sortable: "сортируемый столбец"};// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var mA = {};-mA = {+var fA = {};+fA = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -29741,8 +29741,8 @@ mA = {sortable: "zoraditeľný stĺpec"};// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var hA = {};-hA = {+var pA = {};+pA = {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",@@ -29756,8 +29756,8 @@ hA = {sortable: "razvrstljivi stolpec"};// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var gA = {};-gA = {+var mA = {};+mA = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -29771,8 +29771,8 @@ gA = {sortable: "kolona koja se može sortirati"};// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var _A = {};-_A = {+var hA = {};+hA = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -29786,8 +29786,8 @@ _A = {sortable: "sorterbar kolumn"};// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var vA = {};-vA = {+var gA = {};+gA = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -29801,8 +29801,8 @@ vA = {sortable: "Sıralanabilir sütun"};// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var yA = {};-yA = {+var _A = {};+_A = {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: "Згорнути",@@ -29816,8 +29816,8 @@ yA = {sortable: "сортувальний стовпець"};// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var bA = {};-bA = {+var vA = {};+vA = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -29831,8 +29831,8 @@ bA = {sortable: "可排序的列"};// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var xA = {};-xA = {+var yA = {};+yA = {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: "收合",@@ -29846,45 +29846,45 @@ xA = {sortable: "可排序的欄"};// node_modules/react-aria/dist/private/table/intlStrings.mjs-var SA = {};-SA = {- "ar-AE": Hk,- "bg-BG": Uk,- "cs-CZ": Wk,- "da-DK": Gk,- "de-DE": Kk,- "el-GR": qk,- "en-US": Jk,- "es-ES": Yk,- "et-EE": Xk,- "fi-FI": Zk,- "fr-FR": Qk,- "he-IL": $k,- "hr-HR": eA,- "hu-HU": tA,- "it-IT": nA,- "ja-JP": rA,- "ko-KR": iA,- "lt-LT": aA,- "lv-LV": oA,- "nb-NO": sA,- "nl-NL": cA,- "pl-PL": lA,- "pt-BR": uA,- "pt-PT": dA,- "ro-RO": fA,- "ru-RU": pA,- "sk-SK": mA,- "sl-SI": hA,- "sr-SP": gA,- "sv-SE": _A,- "tr-TR": vA,- "uk-UA": yA,- "zh-CN": bA,- "zh-TW": xA+var bA = {};+bA = {+ "ar-AE": Vk,+ "bg-BG": Hk,+ "cs-CZ": Uk,+ "da-DK": Jce,+ "de-DE": Wk,+ "el-GR": Gk,+ "en-US": Kk,+ "es-ES": qk,+ "et-EE": Jk,+ "fi-FI": Yk,+ "fr-FR": Xk,+ "he-IL": Zk,+ "hr-HR": Qk,+ "hu-HU": $k,+ "it-IT": eA,+ "ja-JP": tA,+ "ko-KR": nA,+ "lt-LT": rA,+ "lv-LV": iA,+ "nb-NO": aA,+ "nl-NL": oA,+ "pl-PL": sA,+ "pt-BR": cA,+ "pt-PT": lA,+ "ro-RO": uA,+ "ru-RU": dA,+ "sk-SK": fA,+ "sl-SI": pA,+ "sr-SP": mA,+ "sv-SE": hA,+ "tr-TR": gA,+ "uk-UA": _A,+ "zh-CN": vA,+ "zh-TW": yA};// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Jce = class extends Fk {+var Yce = class extends Pk {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -29892,7 +29892,7 @@ var Jce = class extends Fk {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = hD(mD(n, this.collection));+ let e = mD(pD(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);@@ -29913,13 +29913,13 @@ var Jce = class extends Fk {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 mD(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of pD(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 = [...mD(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...pD(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -29948,7 +29948,7 @@ var Jce = class extends Fk {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of mD(o, this.collection)) {+ for (let r of pD(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);@@ -29961,14 +29961,14 @@ var Jce = class extends Fk {}};// node_modules/react-aria/dist/private/table/useTable.mjs-function Yce(e) {+function Xce(e) {return e && e.__esModule ? e.default : e;}-function Xce(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = CD({+function Zce(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = SD({usage: "search",sensitivity: "base"- }), { direction: c } = Iw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Jce({+ }), { direction: c } = Fw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Yce({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -29987,51 +29987,51 @@ function Xce(e, t, n) {s,a,o- ]), d = BC(e.id);- Lk.set(t, d);+ ]), d = zC(e.id);+ Ik.set(t, d);let { gridProps: f } = qce({...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 = Hw(Yce(SA), "@react-aria/table"), g = (0, F.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Vw(Xce(bA), "@react-aria/table"), g = (0, F.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- ]), _ = zT(g);- return MT(() => {- g && jT(g, "assertive", 500);- }, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };+ ]), _ = RT(g);+ return jT(() => {+ g && AT(g, "assertive", 500);+ }, [g]), { gridProps: q(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}// node_modules/react-aria/dist/private/grid/useGridCell.mjs-function CA(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Iw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Ik.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {+function xA(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Fw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Fk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {if (n.current) {- let e = ET(n.current);+ let e = TT(n.current);if (p === "child") {- let i = MS(wS(n.current));- if (PS(n.current) && n.current !== i) return;- let a = wS(n.current);+ let i = jS(CS(n.current));+ if (NS(n.current) && n.current !== i) return;+ let a = CS(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && jS(n.current, e)) {- FC(e);+ if (e && m.current === r.key && AS(n.current, e)) {+ PC(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? wA(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? SA(e) : e.firstChild();if (o) {- FC(o);+ PC(o);return;}}- (m.current != null && r.key !== m.current || !PS(n.current)) && FC(n.current);+ (m.current != null && r.key !== m.current || !NS(n.current)) && PC(n.current);}- }, { itemProps: _, isPressed: v } = wO({+ }, { itemProps: _, isPressed: v } = CO({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -30040,47 +30040,47 @@ function CA(e, t, n) {shouldSelectOnPressUp: s,onAction: d ? () => d(r.key) : c,isDisabled: t.collection.size === 0- }), y = K(_, {+ }), y = q(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = MS(wS(n.current));- if (!jS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = ET(n.current);+ let i = jS(CS(n.current));+ if (!AS(e.currentTarget, K(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = TT(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) FC(t), LT(t, { containingElement: PT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) PC(t), IT(t, { containingElement: NT(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" ? (FC(n.current), LT(n.current, { containingElement: PT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : wA(a), t && (FC(t), LT(t, { containingElement: PT(n.current) })));+ p === "cell" && l === "rtl" ? (PC(n.current), IT(n.current, { containingElement: NT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : SA(a), t && (PC(t), IT(t, { containingElement: NT(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) FC(t), LT(t, { containingElement: PT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) PC(t), IT(t, { containingElement: NT(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" ? (FC(n.current), LT(n.current, { containingElement: PT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? wA(a) : a.firstChild(), t && (FC(t), LT(t, { containingElement: PT(n.current) })));+ p === "cell" && l === "ltr" ? (PC(n.current), IT(n.current, { containingElement: NT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? SA(a) : a.firstChild(), t && (PC(t), IT(t, { containingElement: NT(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && jS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && AS(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 = MS(wS(n.current));- if (jS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {- if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();+ let r = jS(CS(n.current));+ if (AS(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 = ET(n.current, { tabbable: !0 });+ let t = TT(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -30089,11 +30089,11 @@ function CA(e, t, n) {"aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,colSpan: i ? void 0 : r.colSpan,onFocus: (e) => {- if (m.current = r.key, G(e) !== n.current) {- let i = G(e);- n.current && jS(n.current, i) && (h.current = i), CC() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && jS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && MS(wS(n.current)) === n.current && g();+ if (m.current = r.key, K(e) !== n.current) {+ let i = K(e);+ n.current && AS(n.current, i) && (h.current = i), SC() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && AS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && jS(CS(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -30108,7 +30108,7 @@ function CA(e, t, n) {isPressed: v};}-function wA(e) {+function SA(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -30116,32 +30116,32 @@ function wA(e) {return t;}// node_modules/react-aria/dist/private/table/useTableCell.mjs-function Zce(e, t, n) {- let { gridCellProps: r, isPressed: i } = CA(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Bk(t, e.node.parentKey, a)), {+function Qce(e, t, n) {+ let { gridCellProps: r, isPressed: i } = xA(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = zk(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Qce(e) {+function $ce(e) {return e && e.__esModule ? e.default : e;}-function $ce(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = CA({+function ele(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = xA({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = iT({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = rT({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = ew({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !$S() && (u = d ? f : "none");- let p = Hw(Qce(SA), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && $S() && (m = `${m}, ${p.format(f)}`));- let h = zT(m), g = t.collection.size === 0;+ }), { focusableProps: l } = $C({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !QS() && (u = d ? f : "none");+ let p = Vw($ce(bA), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && QS() && (m = `${m}, ${p.format(f)}`));+ let h = RT(m), g = t.collection.size === 0;return (0, F.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -30150,9 +30150,9 @@ function $ce(e, t, n) {r.key]), {columnHeaderProps: {- ...K(l, a, s, h, g ? { tabIndex: -1 } : null),+ ...q(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: zk(t, r.key),+ id: Rk(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -30160,17 +30160,17 @@ function $ce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function ele(e) {+function tle(e) {return e && e.__esModule ? e.default : e;}-function tle(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Hw(ele(SA), "@react-aria/table"), d = BC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Iw(), b = (0, F.useCallback)((e) => {+function nle(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Vw(tle(bA), "@react-aria/table"), d = zC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Fw(), b = (0, F.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, F.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, F.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 && FC(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 && PC(i.current)), m.current = null;}, [t,i,@@ -30178,14 +30178,14 @@ function tle(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = XC({ shortcuts: {+ }, { keyboardProps: w } = YC({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, F.useRef)(0), { moveProps: E } = lE({+ } }), T = (0, F.useRef)(0), { moveProps: E } = cE({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -30201,12 +30201,12 @@ function tle(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));k === Infinity && (k = 2 ** 53 - 1);- let A = Math.floor(t.getColumnWidth(r.key)), j = EC();+ let A = Math.floor(t.getColumnWidth(r.key)), j = TC();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");- let M = zT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let M = RT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${zk(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${Rk(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: A }),type: "range",min: O,@@ -30214,11 +30214,11 @@ function tle(e, t, n) {value: A,...M}, N = (0, F.useCallback)(() => {- n.current && FC(n.current);- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Ow(b);+ n.current && PC(n.current);+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Dw(b);(0, F.useEffect)(() => {if (P.current !== te && te != null && te === r.key) {- h.current = MS() === n.current, ne(r);+ h.current = jS() === n.current, ne(r);let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -30232,9 +30232,9 @@ function tle(e, t, n) {n]);let re = (e) => {- let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);+ let n = t.getColumnWidth(r.key), i = parseFloat(K(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: I } = iT({+ }, { pressProps: I } = rT({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (N(), e.pointerType !== "virtual" && b(r)));@@ -30242,13 +30242,13 @@ function tle(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ie } = dE();+ }), { visuallyHiddenProps: ie } = uE();return {- resizerProps: K(w, {+ resizerProps: q(w, {...E,onKeyDown: D}, I, { style: { touchAction: "none" } }),- inputProps: K(ie, {+ inputProps: q(ie, {id: d,onBlur: () => {S(r);@@ -30261,19 +30261,19 @@ function tle(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function nle(e, t, n) {+function rle(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 };}// node_modules/react-aria/dist/private/grid/useGridRow.mjs-function rle(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Ik.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = wO({+function ile(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Fk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = CO({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? IC(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? FC(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -30287,10 +30287,10 @@ function rle(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableRow.mjs-function ile(e) {+function ale(e) {return e && e.__esModule ? e.default : e;}-var TA = {+var CA = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -30300,21 +30300,21 @@ var TA = {rtl: "ArrowRight"}};-function ale(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = rle(e, t, n), { direction: s } = Iw();+function ole(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = ile(e, t, n), { direction: s } = Fw();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 = Hw(ile(SA), "@react-aria/table"), u = Aw({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Vw(ale(bA), "@react-aria/table"), u = kw({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": Vk(t, r.key)+ "aria-labelledby": Bk(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = EA(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 = EA(t.collection, a);+ let n = wA(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 = wA(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === TA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === TA.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 === CA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === CA.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,@@ -30332,42 +30332,42 @@ function ale(e, t, n) {};}}- let p = rC(r.props), m = o.hasAction ? p : {};+ let p = nC(r.props), m = o.hasAction ? p : {};return {rowProps: {- ...K(a, d, m),- "aria-labelledby": Vk(t, r.key)+ ...q(a, d, m),+ "aria-labelledby": Bk(t, r.key)},expandButtonProps: f,...o};}-function EA(e, t) {+function wA(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function ole() {+function sle() {return { rowGroupProps: { role: "rowgroup" } };}// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function DA() {- return ole();+function TA() {+ return sle();}// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function sle(e) {+function cle(e) {return e && e.__esModule ? e.default : e;}-function cle(e, t) {- let { key: n } = e, { checkboxProps: r } = AO(e, t);+function lle(e, t) {+ let { key: n } = e, { checkboxProps: r } = kO(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${Vk(t, n)}`+ "aria-labelledby": `${r.id} ${Bk(t, n)}`} };}-function lle(e) {+function ule(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": Hw(sle(SA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": Vw(cle(bA), "@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,@@ -30375,27 +30375,27 @@ function lle(e) {} };}// node_modules/react-aria/dist/private/tabs/utils.mjs-var OA = /* @__PURE__ */ new WeakMap();-function kA(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${OA.get(e)}-${n}-${t}`) : "";+var EA = /* @__PURE__ */ new WeakMap();+function DA(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${EA.get(e)}-${n}-${t}`) : "";}// node_modules/react-aria/dist/private/tabs/useTab.mjs-function ule(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 } = wO({+function dle(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 } = CO({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = kA(t, r, "tab"), m = kA(t, r, "tabpanel"), { tabIndex: h } = d, g = Ww(u?.props, { labelable: !0 });+ }), p = DA(t, r, "tab"), m = DA(t, r, "tabpanel"), { tabIndex: h } = d, g = Uw(u?.props, { labelable: !0 });delete g.id;- let _ = iC(u?.props), { focusableProps: v } = ew({+ let _ = rC(u?.props), { focusableProps: v } = $C({...u?.props,isDisabled: l}, n);return {- tabProps: K(g, v, _, d, {+ tabProps: q(g, v, _, d, {id: p,"aria-selected": c,"aria-disabled": l || void 0,@@ -30409,7 +30409,7 @@ function ule(e, t, n) {};}// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var dle = class {+var fle = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -30452,11 +30452,11 @@ var dle = class {}};// node_modules/react-aria/dist/private/tabs/useTabList.mjs-function fle(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Iw(), { collectionProps: l } = pD({+function ple(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Fw(), { collectionProps: l } = fD({ref: n,selectionManager: o,- keyboardDelegate: (0, F.useMemo)(() => new dle(a, c, r, s), [+ keyboardDelegate: (0, F.useMemo)(() => new fle(a, c, r, s), [a,s,r,@@ -30466,9 +30466,9 @@ function fle(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = BC();- return OA.set(t, u), { tabListProps: {- ...K(l, Aw({+ }), u = zC();+ return EA.set(t, u), { tabListProps: {+ ...q(l, kw({...e,id: u})),@@ -30478,12 +30478,12 @@ function fle(e, t, n) {} };}// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function ple(e, t, n) {- let r = xO(n) ? void 0 : 0, i = kA(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(Aw({+function mle(e, t, n) {+ let r = bO(n) ? void 0 : 0, i = DA(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: q(kw({...e,id: i,- "aria-labelledby": kA(t, t?.selectedKey, "tab")+ "aria-labelledby": DA(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -30492,265 +30492,265 @@ function ple(e, t, n) {}) };}// node_modules/react-aria/dist/private/tree/useTree.mjs-function mle(e, t, n) {+function hle(e, t, n) {let { gridProps: r } = Yse(e, t, n);return r.role = "treegrid", { gridProps: r };}// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var AA = {};-AA = {+var OA = {};+OA = {collapse: "طي",expand: "تمديد"};// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var jA = {};-jA = {+var kA = {};+kA = {collapse: "Свиване",expand: "Разширяване"};// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var MA = {};-MA = {+var AA = {};+AA = {collapse: "Sbalit",expand: "Roztáhnout"};// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var NA = {};-NA = {+var jA = {};+jA = {collapse: "Skjul",expand: "Udvid"};// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var PA = {};-PA = {+var MA = {};+MA = {collapse: "Reduzieren",expand: "Erweitern"};// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var FA = {};-FA = {+var NA = {};+NA = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};// node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var IA = {};-IA = {+var PA = {};+PA = {expand: "Expand",collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var LA = {};-LA = {+var FA = {};+FA = {collapse: "Contraer",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var RA = {};-RA = {+var IA = {};+IA = {collapse: "Ahenda",expand: "Laienda"};// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var zA = {};-zA = {+var LA = {};+LA = {collapse: "Pienennä",expand: "Laajenna"};// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var BA = {};-BA = {+var RA = {};+RA = {collapse: "Réduire",expand: "Développer"};// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var VA = {};-VA = {+var zA = {};+zA = {collapse: "כווץ",expand: "הרחב"};// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var HA = {};-HA = {+var BA = {};+BA = {collapse: "Sažmi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var UA = {};-UA = {+var VA = {};+VA = {collapse: "Összecsukás",expand: "Kibontás"};// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var WA = {};-WA = {+var HA = {};+HA = {collapse: "Comprimi",expand: "Espandi"};// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var GA = {};-GA = {+var UA = {};+UA = {collapse: "折りたたむ",expand: "展開"};// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var KA = {};-KA = {+var WA = {};+WA = {collapse: "접기",expand: "펼치기"};// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var qA = {};-qA = {+var GA = {};+GA = {collapse: "Sutraukti",expand: "Išskleisti"};// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var JA = {};-JA = {+var KA = {};+KA = {collapse: "Sakļaut",expand: "Izvērst"};// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var YA = {};-YA = {+var qA = {};+qA = {collapse: "Skjul",expand: "Utvid"};// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var XA = {};-XA = {+var JA = {};+JA = {collapse: "Samenvouwen",expand: "Uitvouwen"};// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var ZA = {};-ZA = {+var YA = {};+YA = {collapse: "Zwiń",expand: "Rozwiń"};// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var QA = {};-QA = {+var XA = {};+XA = {collapse: "Recolher",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var $A = {};-$A = {+var ZA = {};+ZA = {collapse: "Colapsar",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var ej = {};-ej = {+var QA = {};+QA = {collapse: "Restrângeți",expand: "Extindeți"};// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var tj = {};-tj = {+var $A = {};+$A = {collapse: "Свернуть",expand: "Развернуть"};// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var nj = {};-nj = {+var ej = {};+ej = {collapse: "Zbaliť",expand: "Rozbaliť"};// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var rj = {};-rj = {+var tj = {};+tj = {collapse: "Strni",expand: "Razširi"};// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var ij = {};-ij = {+var nj = {};+nj = {collapse: " Skupi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var aj = {};-aj = {+var rj = {};+rj = {collapse: "Dölj",expand: "Expandera"};// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var oj = {};-oj = {+var ij = {};+ij = {collapse: "Daralt",expand: "Genişlet"};// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var sj = {};-sj = {+var aj = {};+aj = {collapse: "Згорнути",expand: "Розгорнути"};// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var cj = {};-cj = {+var oj = {};+oj = {collapse: "折叠",expand: "扩展"};// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var lj = {};-lj = {+var sj = {};+sj = {collapse: "收合",expand: "展開"};// node_modules/react-aria/dist/private/tree/intlStrings.mjs-var uj = {};-uj = {- "ar-AE": AA,- "bg-BG": jA,- "cs-CZ": MA,- "da-DK": NA,- "de-DE": PA,- "el-GR": FA,- "en-US": IA,- "es-ES": LA,- "et-EE": RA,- "fi-FI": zA,- "fr-FR": BA,- "he-IL": VA,- "hr-HR": HA,- "hu-HU": UA,- "it-IT": WA,- "ja-JP": GA,- "ko-KR": KA,- "lt-LT": qA,- "lv-LV": JA,- "nb-NO": YA,- "nl-NL": XA,- "pl-PL": ZA,- "pt-BR": QA,- "pt-PT": $A,- "ro-RO": ej,- "ru-RU": tj,- "sk-SK": nj,- "sl-SI": rj,- "sr-SP": ij,- "sv-SE": aj,- "tr-TR": oj,- "uk-UA": sj,- "zh-CN": cj,- "zh-TW": lj+var cj = {};+cj = {+ "ar-AE": OA,+ "bg-BG": kA,+ "cs-CZ": AA,+ "da-DK": jA,+ "de-DE": MA,+ "el-GR": NA,+ "en-US": PA,+ "es-ES": FA,+ "et-EE": IA,+ "fi-FI": LA,+ "fr-FR": RA,+ "he-IL": zA,+ "hr-HR": BA,+ "hu-HU": VA,+ "it-IT": HA,+ "ja-JP": UA,+ "ko-KR": WA,+ "lt-LT": GA,+ "lv-LV": KA,+ "nb-NO": qA,+ "nl-NL": JA,+ "pl-PL": YA,+ "pt-BR": XA,+ "pt-PT": ZA,+ "ro-RO": QA,+ "ru-RU": $A,+ "sk-SK": ej,+ "sl-SI": tj,+ "sr-SP": nj,+ "sv-SE": rj,+ "tr-TR": ij,+ "uk-UA": aj,+ "zh-CN": oj,+ "zh-TW": sj};// node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function hle(e) {+function gle(e) {return e && e.__esModule ? e.default : e;}-function dj(e, t, n) {- let { node: r } = e, i = Xse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Hw(hle(uj), "@react-aria/tree"), s = {+function lj(e, t, n) {+ let { node: r } = e, i = Xse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Vw(gle(cj), "@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,- ...Aw({+ ...kw({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -30761,15 +30761,15 @@ function dj(e, t, n) {};}// src/react/components/selection-dock.tsx-var fj = "(prefers-reduced-motion: reduce)", gle = () => matchMedia(fj).matches, _le = (e) => {- let t = matchMedia(fj);+var uj = "(prefers-reduced-motion: reduce)", _le = () => matchMedia(uj).matches, vle = (e) => {+ let t = matchMedia(uj);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, pj = /* @__PURE__ */ new Map(), mj = () => {+}, dj = /* @__PURE__ */ new Map(), fj = () => {let e = document.documentElement;- pj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...pj.values())}px`) : e.style.removeProperty("--selection-dock-space");+ dj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...dj.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function vle({ children: e, count: t, label: n }) {- let r = (0, F.useRef)(null), i = Ox(), a = (0, F.useSyncExternalStore)(_le, gle, () => !1), { isFocusVisible: o } = DC(), s = a || o, c = {+function yle({ children: e, count: t, label: n }) {+ let r = (0, F.useRef)(null), i = Dx(), a = (0, F.useSyncExternalStore)(vle, _le, () => !1), { isFocusVisible: o } = EC(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -30777,12 +30777,12 @@ function vle({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- pj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), mj();+ dj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), fj();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), pj.delete(e), mj();+ n.disconnect(), window.removeEventListener("resize", t), dj.delete(e), fj();};- }, [i]), /* @__PURE__ */ (0, I.jsxs)(pS.div, {+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(fS.div, {ref: r,role: "group","aria-label": n,@@ -30815,17 +30815,17 @@ function vle({ children: e, count: t, label: n }) {}), e]});}-function hj({ visible: e, ...t }) {- return /* @__PURE__ */ (0, I.jsx)(jx, { children: e ? /* @__PURE__ */ (0, I.jsx)(vle, { ...t }, "selection") : null });+function pj({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, I.jsx)(Ax, { children: e ? /* @__PURE__ */ (0, I.jsx)(yle, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.ts-var gj = {+var mj = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function yle(e, t = !1) {+function ble(e, t = !1) {switch (e) {case "trash": return [{@@ -30841,7 +30841,7 @@ function yle(e, t = !1) {glyph: "trash",danger: !0},- gj+ mj];case "junk": return [t ? {@@ -30862,7 +30862,7 @@ function yle(e, t = !1) {glyph: "trash",danger: !0},- gj+ mj];case "follow": return [{@@ -30883,7 +30883,7 @@ function yle(e, t = !1) {label: "忽略",glyph: "eye-off"},- gj+ mj];default: return [{@@ -30917,38 +30917,38 @@ function yle(e, t = !1) {glyph: "trash",danger: !0},- gj+ mj];}}// src/react/batch-dock/batch-dock-island.tsx-var _j = null, vj = {+var hj = null, gj = {count: 0,context: "catalog",junkDismissed: !1-}, yj = /* @__PURE__ */ new Set();-function ble(e) {- return yj.add(e), () => {- yj.delete(e);+}, _j = /* @__PURE__ */ new Set();+function xle(e) {+ return _j.add(e), () => {+ _j.delete(e);};}-function xle() {- for (let e of [...yj]) e();+function Sle() {+ for (let e of [..._j]) e();}-var Sle = { render(e) {- vj = e, (0, Rt.flushSync)(xle);+var Cle = { render(e) {+ gj = e, (0, Rt.flushSync)(Sle);} };-function Cle(e) {- return _j = e, Sle;+function wle(e) {+ return hj = e, Cle;}-function wle() {- let e = (0, F.useSyncExternalStore)(ble, () => vj);- return _j ? /* @__PURE__ */ (0, I.jsx)(Tle, {- host: _j,+function Tle() {+ let e = (0, F.useSyncExternalStore)(xle, () => gj);+ return hj ? /* @__PURE__ */ (0, I.jsx)(Ele, {+ host: hj,props: e}) : null;}-function Tle({ host: e, props: t }) {+function Ele({ host: e, props: t }) {let n = t.count > 0;return (0, F.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -30958,11 +30958,11 @@ function Tle({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, I.jsx)(hj, {+ children: /* @__PURE__ */ (0, I.jsx)(pj, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: yle(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: ble(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -30978,11 +30978,11 @@ function Tle({ host: e, props: t }) {});}// src/number-setting.ts-function bj(e, t, n, r) {+function vj(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}// src/settings-store.ts-function Ele(e, t) {+function Dle(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -31001,7 +31001,7 @@ function Ele(e, t) {};}// src/sort-preferences.ts-var xj = [+var yj = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -31010,7 +31010,7 @@ var xj = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Sj = ["release", "发行时间"], Cj = [...xj, Sj].map(([e]) => e), wj = {+], bj = ["release", "发行时间"], xj = [...yj, bj].map(([e]) => e), Sj = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -31019,43 +31019,43 @@ var xj = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Tj = {+}, Cj = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Ej = (e, t, n = wj) => (n[e] || [])[+(t === "asc")] || "", Dj = (e, t = wj) => t[e] ? "desc" : "";-function Oj(e, t, n, r = wj) {+}, wj = (e, t, n = Sj) => (n[e] || [])[+(t === "asc")] || "", Tj = (e, t = Sj) => t[e] ? "desc" : "";+function Ej(e, t, n, r = Sj) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Dj(e, r)+ dir: Tj(e, r)};}-function kj(e, t, n) {+function Dj(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function Aj(e, t, n, r, i = n) {- let a = e ? Tj[e] : void 0, o = a ? a[0] : e, s = o && Cj.includes(o) ? o : i;- return wj[s] ? {+function Oj(e, t, n, r, i = n) {+ let a = e ? Cj[e] : void 0, o = a ? a[0] : e, s = o && xj.includes(o) ? o : i;+ return Sj[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : kj(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Dj(s, n, r)} : {sort: s,dir: ""};}// src/appearance/home-glow.ts-var jj = [+var kj = ["spot1","spot2","spot3"-], Dle = [+], Ole = ["光晕一","光晕二","光晕三"-], Mj = "native", Nj = [+], Aj = "native", jj = [["ash","灰雾",@@ -31361,7 +31361,7 @@ var jj = ["rose"],[- Mj,+ Aj,"玻璃原色",{spot1: {@@ -31379,7 +31379,7 @@ var jj = [},"blue"]-], Pj = (e) => e === Mj, Fj = [...Nj.map(([e, t]) => [e, t]), ["custom", "自定义"]], Ole = (e) => (Fj.find(([t]) => t === e) || Fj[0])[1], Ij = (e) => structuredClone((Nj.find(([t]) => t === e) || Nj[0])[2]), Lj = [+], Mj = (e) => e === Aj, Nj = [...jj.map(([e, t]) => [e, t]), ["custom", "自定义"]], kle = (e) => (Nj.find(([t]) => t === e) || Nj[0])[1], Pj = (e) => structuredClone((jj.find(([t]) => t === e) || jj[0])[2]), Fj = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -31392,7 +31392,7 @@ var jj = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], Rj = "blue", zj = (e) => Lj.some(([t]) => t === e) ? e : Rj, kle = (e) => (Nj.find(([t]) => t === e) || [])[3] || "blue", Ale = [+], Ij = "blue", Lj = (e) => Fj.some(([t]) => t === e) ? e : Ij, Ale = (e) => (jj.find(([t]) => t === e) || [])[3] || "blue", jle = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -31402,7 +31402,7 @@ var jj = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], jle = [+], Mle = [["gray","云灰",@@ -31798,11 +31798,11 @@ var jj = ["霁蓝","#6686b8"]-], Bj = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Vj = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Mle = (e, t) => `rgba(${[+], Rj = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, zj = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Nle = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Nle = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Ple = {strength: [0,100,@@ -31828,7 +31828,7 @@ var jj = [100,50]-}, Hj = {+}, Bj = {on: !0,preset: "ash",strength: 100,@@ -31836,56 +31836,56 @@ var jj = [speed: 100,soften: 50,size: 50,- ...Ij("ash")+ ...Pj("ash")};-function Uj(e) {- let t = e && typeof e == "object" ? e : {}, n = Fj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Ij(r === "custom" ? "ash" : r), a = {+function Vj(e) {+ let t = e && typeof e == "object" ? e : {}, n = Nj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Pj(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(Nle)) a[e] = Bj(+t[e], n, r, i);- for (let e of jj) {+ for (let [e, [n, r, i]] of Object.entries(Ple)) a[e] = Rj(+t[e], n, r, i);+ for (let e of kj) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: Vj(r.color, o.color),- alpha: Bj(+r.alpha, 0, 100, o.alpha)+ color: zj(r.color, o.color),+ alpha: Rj(+r.alpha, 0, 100, o.alpha)};}return a;}-var Ple = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Wj = /* @__PURE__ */ new WeakMap();-function Fle(e, t) {+var Fle = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Hj = /* @__PURE__ */ new WeakMap();+function Ile(e, t) {if (!e) return;- let n = Wj.get(e);- n || (n = /* @__PURE__ */ new Map(), Wj.set(e, n));- let r = t.on && !Pj(t.preset), i = (t, r) => {+ let n = Hj.get(e);+ n || (n = /* @__PURE__ */ new Map(), Hj.set(e, n));+ let r = t.on && !Mj(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"), jj.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"), kj.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, Mle(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, Nle(r.color, r.alpha));});}-function Ile(e, t) {+function Lle(e, t) {if (!e) return;- let n = !t.on || Pj(t.preset);+ let n = !t.on || Mj(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));}// src/appearance/settings.ts-var Lle = "peach.settings.v1", Rle = [+var Rle = "peach.settings.v1", zle = ["system","light","dark"-], Gj = [+], Uj = [0,7,30,90-], zle = [+], Ble = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], Kj = {+], Wj = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -31906,56 +31906,56 @@ var Lle = "peach.settings.v1", Rle = [theme: "system",groupCollapse: !0,sidebarOrder: [...Kl],- homeGlow: Hj,- accent: Rj,+ homeGlow: Bj,+ accent: Ij,performerNameLanguage: "zh-CN"-}, qj = (e, t, n) => t.includes(e) ? e : n;-function Ble(e) {+}, Gj = (e, t, n) => t.includes(e) ? e : n;+function Vle(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...Kj,+ ...Wj,...t};- n.followInitialDays = Gj.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = Uj.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 = Tj[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = bj(+n.batchSize, 1, 200, 60), n.defaultSort = qj(n.defaultSort, Cj, "seed"), n.hoverDelaySeconds = bj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = bj(+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 = bj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = bj(+n.relatedLimit, 0, 60, 20), n.feedLimit = bj(+n.feedLimit, 1, 100, 12), Object.assign(n, eo(n)), n.theme = qj(n.theme, Rle, "system"), n.performerNameLanguage = qj(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = Uj(n.homeGlow), n.accent = zj(n.accent), n.sidebarOrder = Xl(n.sidebarOrder), {+ let a = Cj[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = vj(+n.batchSize, 1, 200, 60), n.defaultSort = Gj(n.defaultSort, xj, "seed"), n.hoverDelaySeconds = vj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = vj(+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 = vj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = vj(+n.relatedLimit, 0, 60, 20), n.feedLimit = vj(+n.feedLimit, 1, 100, 12), Object.assign(n, eo(n)), n.theme = Gj(n.theme, zle, "system"), n.performerNameLanguage = Gj(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = Vj(n.homeGlow), n.accent = Lj(n.accent), n.sidebarOrder = Xl(n.sidebarOrder), {settings: n,migrated: r};}-function Vle(e) {+function Hle(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return Ble(t);+ return Vle(t);}-var Jj = null;-function Yj() {- if (Jj) return Jj;- let { settings: e, migrated: t } = Vle(localStorage);- return Jj = Ele(Lle, e), t && Jj.save(), Jj;+var Kj = null;+function qj() {+ if (Kj) return Kj;+ let { settings: e, migrated: t } = Hle(localStorage);+ return Kj = Dle(Rle, e), t && Kj.save(), Kj;}-function Xj(e, t, n = Yj()) {+function Jj(e, t, n = qj()) {let r = n.value, i = e?.performerNameLanguage;(i === "zh-CN" || i === "ja") && i !== r.performerNameLanguage && (r.performerNameLanguage = i, n.save(), t("performerNameLanguage"));let a = e && e.followInitialDays;- Gj.includes(a) && (r.followInitialDays = a, n.save());- for (let t of zle) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ Uj.includes(a) && (r.followInitialDays = a, n.save());+ for (let t of Ble) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let o = e && e.searchHistoryLimit;- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = bj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Kj.searchHistoryLimit && Hle(n);+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = vj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Wj.searchHistoryLimit && Ule(n);let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());}-function Hle(e = Yj()) {+function Ule(e = qj()) {return Tn("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })}).catch(() => {});}// src/appearance/theme.ts-var Ule = [+var Wle = [["system","跟随系统",@@ -31971,31 +31971,31 @@ var Ule = ["深色","moon"]-], Wle = null, Zj = () => Wle ??= matchMedia("(prefers-color-scheme: dark)"), Qj = null;-function Gle() {- return Qj || (Qj = document.createElement("style"), Qj.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), Qj.isConnected || document.head.append(Qj), () => {+], Gle = null, Yj = () => Gle ??= matchMedia("(prefers-color-scheme: dark)"), Xj = null;+function Kle() {+ return Xj || (Xj = document.createElement("style"), Xj.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), Xj.isConnected || document.head.append(Xj), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), Qj?.remove();+ cancelAnimationFrame(t), clearTimeout(n), Xj?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function $j(e = Yj().value.theme) {- let t = Gle(), n = document.documentElement;+function Zj(e = qj().value.theme) {+ let t = Kle(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && Zj().matches;+ let r = e === "dark" || e === "system" && Yj().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 eM = !1;-function Kle() {- eM || (eM = !0, Zj().addEventListener("change", () => {- Yj().value.theme === "system" && $j();+var Qj = !1;+function qle() {+ Qj || (Qj = !0, Yj().addEventListener("change", () => {+ qj().value.theme === "system" && Zj();}));}// src/appearance/layout.ts-var tM = [[+var $j = [["big","大图","maximize"@@ -32003,7 +32003,7 @@ var tM = [["small","小图","layout-grid"-]], nM = [[+]], eM = [["big","大图","maximize"@@ -32011,7 +32011,7 @@ var tM = [["small","小图","layout-grid"-]], rM = [[+]], tM = [["fixed","固定比例","layout-grid"@@ -32019,127 +32019,127 @@ var tM = [["masonry","瀑布流","columns-2"-]], iM = .75, aM = () => Yj().value, oM = (e = aM()) => $a(e.javLayout), qle = (e = aM()) => $a(e.homeLayout), sM = (e, t = aM()) => e ? qle(t) : oM(t), cM = nM.map(([e]) => e), lM = rM.map(([e]) => e), uM = (e = aM()) => qj(e.photoSize, cM, "small"), dM = (e = aM()) => qj(e.photoLayout, lM, "masonry"), fM = null;-function pM(e, t = aM()) {+]], nM = .75, rM = () => qj().value, iM = (e = rM()) => $a(e.javLayout), Jle = (e = rM()) => $a(e.homeLayout), aM = (e, t = rM()) => e ? Jle(t) : iM(t), oM = eM.map(([e]) => e), sM = tM.map(([e]) => e), cM = (e = rM()) => Gj(e.photoSize, oM, "small"), lM = (e = rM()) => Gj(e.photoLayout, sM, "masonry"), uM = null;+function dM(e, t = rM()) {let n = {active: e.active,- size: sM(e.home, t),+ size: aM(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = fM;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (fM = n), fM;+ }, r = uM;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (uM = n), uM;}-function mM(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? iM : 16 / 9;+function fM(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? nM : 16 / 9;}-function Jle(e, t = Yj()) {+function Yle(e, t = qj()) {t.value.homeLayout = $a(e), t.save();}-function hM(e, t = Yj()) {+function pM(e, t = qj()) {t.value.javLayout = $a(e), t.save();}-function Yle(e, t = Yj()) {+function Xle(e, t = qj()) {t.value.homeLayout = t.value.javLayout = $a(e), t.save();}-function Xle(e, t = Yj()) {- t.value.photoSize = qj(e, cM, "small"), t.save();+function Zle(e, t = qj()) {+ t.value.photoSize = Gj(e, oM, "small"), t.save();}-function gM(e, t = Yj()) {- t.value.photoLayout = qj(e, lM, "masonry"), t.save();+function mM(e, t = qj()) {+ t.value.photoLayout = Gj(e, sM, "masonry"), t.save();}// src/appearance/density.ts-var _M = "density", vM = {+var hM = "density", gM = {big: "336px",dense: "168px"-}, yM = () => localStorage.getItem(_M) === "dense" ? "dense" : "big";-function bM(e, t) {- let [n, r] = nM;+}, _M = () => localStorage.getItem(hM) === "dense" ? "dense" : "big";+function vM(e, t) {+ let [n, r] = eM;if (e.querySelector("[data-icon-swap]")) Ys(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = Js(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- xM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ yM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function xM(e, t, n) {+function yM(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var SM = () => document.querySelector("#density");-function CM(e = yM()) {+var bM = () => document.querySelector("#density");+function xM(e = _M()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== vM[e] && t.style.setProperty("--tile", vM[e]), xM(document.body, "data-density", e);- let n = SM();- n && (xM(n, "aria-pressed", String(e === "dense")), xM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), bM(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== gM[e] && t.style.setProperty("--tile", gM[e]), yM(document.body, "data-density", e);+ let n = bM();+ n && (yM(n, "aria-pressed", String(e === "dense")), yM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), vM(n, e === "big" ? "big" : "small"));}-function Zle() {- let e = yM() === "big" ? "dense" : "big";- localStorage.setItem(_M, e), CM(e);+function Qle() {+ let e = _M() === "big" ? "dense" : "big";+ localStorage.setItem(hM, e), xM(e);}-function Qle(e) {- let t = SM();- t && (xM(t, "aria-pressed", String(e === "small")), xM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), bM(t, e));+function $le(e) {+ let t = bM();+ t && (yM(t, "aria-pressed", String(e === "small")), yM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), vM(t, e));}// src/appearance/glow.ts-function wM(e = Yj()) {- Fle(document.querySelector(".glowlayer"), e.value.homeGlow);+function SM(e = qj()) {+ Ile(document.querySelector(".glowlayer"), e.value.homeGlow);}-var TM = 0;-function EM(e = Yj()) {- TM ||= requestAnimationFrame(() => {- TM = 0, wM(e);+var CM = 0;+function wM(e = qj()) {+ CM ||= requestAnimationFrame(() => {+ CM = 0, SM(e);});}-function DM(e = Yj()) {- Ile(document.documentElement, e.value.homeGlow);+function TM(e = qj()) {+ Lle(document.documentElement, e.value.homeGlow);}-function OM(e = Yj()) {+function EM(e = qj()) {document.documentElement.dataset.accent = e.value.accent;}-var kM = (e, t, n) => ({+var DM = (e, t, n) => ({key: e,label: t,- native: Pj(e),- fill: Pj(e) ? "" : Ple(n)+ native: Mj(e),+ fill: Mj(e) ? "" : Fle(n)});-function $le(e) {- let t = Nj.map(([e, t, n]) => kM(e, t, jj.map((e) => n[e].color)));- return e.preset === "custom" && t.push(kM("custom", "自定义", jj.map((t) => e[t].color))), t;+function eue(e) {+ let t = jj.map(([e, t, n]) => DM(e, t, kj.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(DM("custom", "自定义", kj.map((t) => e[t].color))), t;}-var eue = Lj;-function tue(e, t = Yj()) {+var tue = Fj;+function nue(e, t = qj()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, Ij(e)), t.value.accent = kle(e), t.save(), EM(t), DM(t), OM(t);+ n.preset = e, Object.assign(n, Pj(e)), t.value.accent = Ale(e), t.save(), wM(t), TM(t), EM(t);}-function nue(e, t = Yj()) {- t.value.accent = zj(e), t.save(), OM(t);+function rue(e, t = qj()) {+ t.value.accent = Lj(e), t.save(), EM(t);}-function rue(e = Yj()) {+function iue(e = qj()) {let t = e.value.homeGlow;- t.preset = Hj.preset, Object.assign(t, Ij(t.preset)), e.value.accent = Rj, e.save(), EM(e), DM(e), OM(e);+ t.preset = Bj.preset, Object.assign(t, Pj(t.preset)), e.value.accent = Ij, e.save(), wM(e), TM(e), EM(e);}-function AM(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Pj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function OM(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Mj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function iue(e, t = Yj()) {- return AM(e, t.value.homeGlow), t.subscribe(() => AM(e, t.value.homeGlow));+function aue(e, t = qj()) {+ return OM(e, t.value.homeGlow), t.subscribe(() => OM(e, t.value.homeGlow));}// src/react/components/glow-preset-grid.tsx-function jM({ store: e, label: t, hidden: n }) {+function kM({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, I.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: $le(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: eue(r).map((t) => /* @__PURE__ */ (0, I.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: () => tue(t.key, e),+ onClick: () => nue(t.key, e),children: /* @__PURE__ */ (0, I.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -32150,14 +32150,14 @@ function jM({ store: e, label: t, hidden: n }) {});}// src/react/glow-picker/glow-picker-island.tsx-var MM = null;-function aue(e) {- MM = e;+var AM = null;+function oue(e) {+ AM = e;}-function oue() {- return MM ? /* @__PURE__ */ (0, I.jsx)(sue, { host: MM }) : null;+function sue() {+ return AM ? /* @__PURE__ */ (0, I.jsx)(cue, { host: AM }) : null;}-function sue({ host: e }) {+function cue({ host: e }) {let { store: t } = e;(0, F.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -32169,11 +32169,11 @@ function sue({ host: e }) {children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => rue(t),+ onClick: () => iue(t),children: "重置"})]}),- /* @__PURE__ */ (0, I.jsx)(jM, {+ /* @__PURE__ */ (0, I.jsx)(kM, {store: t,label: "光晕",hidden: !n.on@@ -32187,14 +32187,14 @@ function sue({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: eue.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: tue.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => nue(e, t),+ onClick: () => rue(e, t),children: /* @__PURE__ */ (0, I.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -32212,31 +32212,31 @@ function sue({ host: e }) {] });}// src/player/host.ts-var NM = null;-function cue(e) {- NM = e;+var jM = null;+function lue(e) {+ jM = e;}-function PM() {- if (!NM) throw Error("播放器还没有接上宿主(configurePlayer)");- return NM;+function MM() {+ if (!jM) throw Error("播放器还没有接上宿主(configurePlayer)");+ return jM;}// src/player/menu.ts-var FM = null;-function lue(e) {- FM = e;+var NM = null;+function uue(e) {+ NM = e;}-function uue() {+function due() {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 IM = null, LM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function RM() {+var PM = null, FM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function IM() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && us(e, () => {e.innerHTML = "";- }), IM &&= (IM(), null);+ }), PM &&= (PM(), null);}-async function due(e) {+async function fue(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -32249,8 +32249,8 @@ async function due(e) {return t.remove(), n;}}-function fue(e) {- let t = !!FM?.inMiniplayer(e), n = e.peachItem, r = FM?.kind(e) ?? "item", i = (t) => {+function pue(e) {+ let t = !!NM?.inMiniplayer(e), n = e.peachItem, r = NM?.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);@@ -32266,7 +32266,7 @@ function fue(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- due(i(e)).then((e) => PM().toast(e ? t : "复制失败,请手动复制地址栏", {+ fue(i(e)).then((e) => MM().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -32278,11 +32278,11 @@ function fue(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => FM?.expand()+ run: () => NM?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => FM?.toMiniplayer()+ run: () => NM?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -32305,29 +32305,29 @@ function fue(e) {run: () => s.click()}), o;}-function pue(e, t, n) {- let r = uue();- RM();- let i = PM().stage();+function mue(e, t, n) {+ let r = due();+ IM();+ let i = MM().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = fue(e);+ let a = pue(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}">${LM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? LM(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${FM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? FM(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), ls(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)];- RM(), n?.run();+ IM(), n?.run();};});let s = (e) => {- r.contains(e.target) || RM();+ r.contains(e.target) || IM();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), RM();+ e.preventDefault(), e.stopPropagation(), IM();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -32335,49 +32335,49 @@ function pue(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- fs(t, e.el()) && RM();+ fs(t, e.el()) && IM();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), IM = () => {+ }, 0), PM = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function mue(e) {+function hue(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), pue(e, t.clientX, t.clientY));- }), e.on("dispose", RM);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), mue(e, t.clientX, t.clientY));+ }), e.on("dispose", IM);}// src/player/registry.ts-var zM = null, BM = () => zM;-function VM(e) {- zM = e;+var LM = null, RM = () => LM;+function zM(e) {+ LM = e;}-function HM(e) {+function BM(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}// src/player/stats.ts-function UM(e) {+function VM(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 hue(e) {+function gue(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 WM = 3e3;-function GM(e, t) {+var HM = 3e3;+function UM(e, t) {let n = Number(e) || 0, r = qn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function gue(e) {+function _ue(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -32392,10 +32392,10 @@ function gue(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = hue(e), s = e.currentTime || 0;+ let a = performance.now(), o = gue(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 > WM * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > HM * 2 && (t.length = 0);}for (n = {at: a,@@ -32404,55 +32404,55 @@ function gue(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > WM;) t.shift();+ }); t.length > 2 && a - t[0].at > HM;) 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 KM = 24;-function qM(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > KM && e.splice(0, e.length - KM);+var WM = 24;+function GM(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > WM && e.splice(0, e.length - WM);}-var JM = "peach-player-panel";-function YM(e, t, n, r) {- let i = [...Array(Math.max(0, KM - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var KM = "peach-player-panel";+function qM(e, t, n, r) {+ let i = [...Array(Math.max(0, WM - 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="${z(r)}">${o}</span>`;}-function _ue() {+function vue() {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 XM(e, t = "") {+function JM(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 ZM(e, t = "") {- let n = XM(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 YM(e, t = "") {+ let n = JM(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 QM(e, t, n = "", r = null) {+function XM(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : ZM(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : YM(t, n);}-function $M(e) {+function ZM(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 vue(e, t) {- return e > 0 ? $M(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : $M(0);+function yue(e, t) {+ return e > 0 ? ZM(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : ZM(0);}// src/player/subtitle-style.ts-var eN = {+var QM = {font: {label: "字体",values: [@@ -32555,7 +32555,7 @@ var eN = {["shadow", "阴影"]]}-}, tN = {+}, $M = {font: "sans",size: "100",color: "white",@@ -32565,7 +32565,7 @@ var eN = {window: "black",windowOpacity: "0",edge: "shadow"-}, nN = "peach.caption-style.v1", yue = {+}, eN = "peach.caption-style.v1", bue = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -32574,7 +32574,7 @@ var eN = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, bue = {+}, xue = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -32582,28 +32582,28 @@ var eN = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, xue = {+}, Sue = {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 Sue() {+function Cue() {let e = {};try {- e = JSON.parse(localStorage.getItem(nN) || "{}") || {};+ e = JSON.parse(localStorage.getItem(eN) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(tN).map(([t, n]) => [t, eN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries($M).map(([t, n]) => [t, QM[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function rN(e, t, n, r) {- let i = Sue(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");+function tN(e, t, n, r) {+ let i = Cue(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");o.className = "vjs-peach-captions", o.setAttribute("aria-hidden", "true");let s = document.createElement("div");s.className = "vjs-peach-caption-window", o.append(s), e.querySelector("media-container").append(o), e.dataset.peachCaptions = "";let c = () => {- let t = (e, t) => `rgba(${yue[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", bue[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", xue[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${bue[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", xue[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", Sue[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");}, l = () => {s.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -32619,15 +32619,15 @@ function rN(e, t, n, r) {if (!n.aborted) {if (e.caption_style) {let t = {- ...tN,+ ...$M,...e.caption_style};- for (let e of Object.keys(tN)) a.has(e) || (i[e] = t[e]);+ for (let e of Object.keys($M)) a.has(e) || (i[e] = t[e]);c();} else {let e = !1;try {- e = !!localStorage.getItem(nN);+ e = !!localStorage.getItem(eN);} catch {}e && !a.size && r.save({ caption_style: i }).catch(() => {});}@@ -32635,18 +32635,18 @@ function rN(e, t, n, r) {}), {current: () => i,set(e, t) {- eN[e].values.some(([e]) => e === t) && (a.add(e), i = {+ QM[e].values.some(([e]) => e === t) && (a.add(e), i = {...i,[e]: t}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));},reset() {- Object.keys(tN).forEach((e) => a.add(e)), i = { ...tN }, c(), r?.save({ caption_style: i }).catch(() => {});+ Object.keys($M).forEach((e) => a.add(e)), i = { ...$M }, c(), r?.save({ caption_style: i }).catch(() => {});}};}// src/player/memory.ts-var iN = /* @__PURE__ */ new Map(), aN = /* @__PURE__ */ new WeakMap(), Cue = class {+var nN = /* @__PURE__ */ new Map(), rN = /* @__PURE__ */ new WeakMap(), wue = class {cleanup = new AbortController();reading;listeners = /* @__PURE__ */ new Set();@@ -32674,7 +32674,7 @@ var iN = /* @__PURE__ */ new Map(), aN = /* @__PURE__ */ new WeakMap(), Cue = cl}load() {return this.url ? this.reading ||= (async () => {- await iN.get(this.url)?.catch(() => {});+ await nN.get(this.url)?.catch(() => {});let e = await Tn(this.url, { signal: this.cleanup.signal });return this.cleanup.signal.aborted || (this.restored = e, this.restorers.forEach((t) => t(e)), this.changed()), e;})().catch((e) => {@@ -32686,7 +32686,7 @@ var iN = /* @__PURE__ */ new Map(), aN = /* @__PURE__ */ new WeakMap(), Cue = cl}save(e) {if (!this.url) return Promise.resolve();- let t = (iN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (nN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = {...this.unsaved,...e,@@ -32713,8 +32713,8 @@ var iN = /* @__PURE__ */ new Map(), aN = /* @__PURE__ */ new WeakMap(), Cue = clthis.changed();}});- return iN.set(this.url, t), t.finally(() => {- iN.get(this.url) === t && iN.delete(this.url);+ return nN.set(this.url, t), t.finally(() => {+ nN.get(this.url) === t && nN.delete(this.url);}).catch(() => {}), t;}async retry() {@@ -32723,12 +32723,12 @@ var iN = /* @__PURE__ */ new Map(), aN = /* @__PURE__ */ new WeakMap(), Cue = cl} catch {}}};-function oN(e) {- let t = aN.get(e);- return t || (t = new Cue(e), aN.set(e, t)), t;+function iN(e) {+ let t = rN.get(e);+ return t || (t = new wue(e), rN.set(e, t)), t;}-function sN(e, t) {- let n = oN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {+function aN(e, t) {+ let n = iN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);};return n.restore((t) => {@@ -32741,7 +32741,7 @@ function sN(e, t) {};}// src/player/subtitle-memory.ts-var cN = class {+var oN = class {player;video;changed;@@ -32752,7 +32752,7 @@ var cN = class {ready;error = "";constructor(e, t, n = () => {}) {- this.player = e, this.video = t, this.changed = n, this.memory = oN(e);+ this.player = e, this.video = t, this.changed = n, this.memory = iN(e);let r = this.cleanup.signal;t.textTracks.addEventListener("addtrack", () => {this.apply(), this.changed();@@ -32849,7 +32849,7 @@ var cN = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, lN = () => "<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>", wue = class {+}, sN = () => "<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>", Tue = class {player;video;panels;@@ -32868,7 +32868,7 @@ var cN = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = rN(e.el(), t, this.cleanup.signal, oN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = lN(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = tN(e.el(), t, this.cleanup.signal, iN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = sN(), 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", () => {@@ -32878,7 +32878,7 @@ var cN = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new cN(e, t, () => {+ }), this.session = new oN(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -32926,7 +32926,7 @@ var cN = 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(eN).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(QM).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>${z(n.label)}</span><b>${z(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);@@ -32938,7 +32938,7 @@ var cN = class {}styleOptions(e) {this.page = "style";- let t = eN[e];+ let t = QM[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="${z(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;@@ -33054,7 +33054,7 @@ var cN = class {}};// src/player/timeline.ts-function Tue(e, t) {+function Eue(e, t) {if (!Number.isFinite(e) || e < 0 || t.frames <= 0) return null;if (!t.cues?.length) return t.interval > 0 ? Math.min(t.frames - 1, Math.floor(e / t.interval)) : null;let n = 0, r = t.cues.length;@@ -33065,8 +33065,8 @@ function Tue(e, t) {let i = n - 1, a = t.cues[i];return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;}-function Eue(e, t) {- let n = Tue(e, t);+function Due(e, t) {+ let n = Eue(e, t);if (n === null) return null;let r = t.columns || 10, i = r * (t.rows || 10), a = Math.floor(n / i);return {@@ -33076,15 +33076,15 @@ function Eue(e, t) {rows: Math.ceil(Math.min(i, t.frames - a * i) / r)};}-function Due(e, t, n, r = 0) {+function Oue(e, t, n, r = 0) {return n + r * 2 >= t ? t / 2 : Math.min(t - r - n / 2, Math.max(r + n / 2, e));}-function Oue(e) {+function kue(e) {if (!e || (e.source || "peach") !== "peach" || e.cues?.length || !(e.interval > 0) || e.frames <= 0) return 0;let t = Math.ceil(e.frames / ((e.columns || 10) * (e.rows || 10)));return t <= 12 ? t : 0;}-function uN(e, t, n = {}) {+function cN(e, t, n = {}) {let r = !!t?.id && n.thumbnail !== !1, i = document.createElement("div");i.className = "vjs-peach-seek-preview", i.dataset.playerSeekPreview = "", i.hidden = !0, i.innerHTML = `${r ? "<i class=\"vjs-peach-seek-frame\" hidden><img alt=\"\"></i>" : ""}<span class="mono">0:00</span>`, e.append(i);let a = i.querySelector(".vjs-peach-seek-frame"), o = i.querySelector("img"), s = i.querySelector("span"), c = encodeURIComponent(String(t?.id ?? "")), l = (e, t) => {@@ -33092,7 +33092,7 @@ function uN(e, t, n = {}) {};t?.width && t.height && l(t.width, t.height);let u = null, d = "", f = !1, p = -1, m = !1, h = !1, g = t?.has_thumb !== !0, _ = [], v = (e, t) => `/timeline?id=${c}&s=${t}&source=${encodeURIComponent(e.source || "peach")}`, y = () => {- if (m && u) for (let e of [u, u.fallback]) for (let t = 0; t < Oue(e); t++) {+ if (m && u) for (let e of [u, u.fallback]) for (let t = 0; t < kue(e); t++) {let n = v(e, t);if (_.some((e) => e.dataset.source === n)) continue;let r = new Image();@@ -33103,7 +33103,7 @@ function uN(e, t, n = {}) {!h && e && e.frames > 0 && (e.interval > 0 || e.cues?.length) && (u = e, y());}).catch(() => {});let b = (e, n) => {- let r = Eue(e, n);+ let r = Due(e, n);if (!r || !a || !o) return !1;f = !!n.cues, !f && t?.width && t.height && l(t.width, t.height);let i = v(n, r.page);@@ -33130,7 +33130,7 @@ function uN(e, t, n = {}) {let o = Math.min(1, Math.max(0, t)), c = r * o;s.textContent = Yn(c), a && !(u && b(c, u)) && !(u?.fallback && b(c, u.fallback)) && x(o), i.hidden = !1;let l = e.getBoundingClientRect().width;- i.style.left = `${Due(o * l, l, i.offsetWidth, n.inset)}px`;+ i.style.left = `${Oue(o * l, l, i.offsetWidth, n.inset)}px`;},hide() {i.hidden = !0;@@ -33141,8 +33141,8 @@ function uN(e, t, n = {}) {};}// src/player/rotation.ts-function dN(e, t) {- let n = 0, r = !1, i = oN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [+function lN(e, t) {+ let n = 0, r = !1, i = iN(e), a = e.el(), o = a.querySelector("media-container") || a, s = ["width","height","inset",@@ -33170,7 +33170,7 @@ function dN(e, t) {};}// src/player/pip.ts-function kue(e, t, n, r) {+function Aue(e, t, n, r) {let i = e.el().querySelector("video");if (!i || !t) return;let a = t, o = !!document.pictureInPictureEnabled && typeof i.requestPictureInPicture == "function" || typeof i.webkitSetPresentationMode == "function";@@ -33202,7 +33202,7 @@ function kue(e, t, n, r) {});}// src/player/controls.ts-function fN(e, t, n = "") {+function uN(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));@@ -33213,27 +33213,27 @@ function fN(e, t, n = "") {};return o(), o;}-function pN(e, t) {+function dN(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function Aue(e, t = !0) {- let n = PM(), r = n.settings();+function jue(e, t = !0) {+ let n = MM(), 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 mN = /* @__PURE__ */ new WeakMap();-function hN(e) {+var fN = /* @__PURE__ */ new WeakMap();+function pN(e) {if (!e) return;- let t = PM().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), mN.get(e)?.(t ? "默认视图" : "影院模式");+ let t = MM().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), fN.get(e)?.(t ? "默认视图" : "影院模式");}-function gN(e, t = !0) {- let n = PM(), r = n.settings();+function mN(e, t = !0) {+ let n = MM(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), hN(i?.querySelector("[data-player-theater]")), HM(BM());+ i?.toggleAttribute("data-theater", r.theaterMode), pN(i?.querySelector("[data-player-theater]")), BM(RM());}-function jue(e) {- let t = PM().stage(), n = t?.querySelector("[data-ambient-canvas]");+function Mue(e) {+ let t = MM().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -33256,9 +33256,9 @@ function jue(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (PM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (MM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && PM().settings().ambientMode && (l(), e.paused || u(++o));+ !i && MM().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -33267,7 +33267,7 @@ function jue(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function _N(e, t, n = 0, r = null) {+function hN(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");@@ -33277,8 +33277,8 @@ function _N(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]");- fN(s, "设置");- let l = a.querySelector(".vjs-peach-settings-menu"), u = dN(e, t), d = sN(e, t), f = oN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {+ uN(s, "设置");+ let l = a.querySelector(".vjs-peach-settings-menu"), u = lN(e, t), d = aN(e, t), f = iN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;}, v = () => {@@ -33317,11 +33317,11 @@ function _N(e, t, n = 0, r = null) {active: n};}, b = () => l.getAttribute("aria-hidden") !== "true", x = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(JM, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(KM, { detail: "settings" }));}, S = () => x(!1), C = (e) => {e.detail !== "settings" && S();};- document.addEventListener(JM, C);+ document.addEventListener(KM, C);let w = null, T = 0, E = (e, t) => {let n = ++T;w && (clearTimeout(w), w = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -33337,15 +33337,15 @@ function _N(e, t, n = 0, r = null) {}), i;}, D = (e, t) => e.querySelector(t), O = "main", k = (e = 0) => {O = "main";- let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${PM().settings().ambientMode}">+ let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${MM().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>${n === 1 ? "正常" : `${n}×`}</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">${lN()}</span><span>字幕</span><b>${z(p?.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">${sN()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${R("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</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>${z(t.label)}</b>${R("player-menu-next")}</button><div data-player-memory-error hidden><p class="vjs-peach-subtitle-status" role="status"></p><button type="button" class="vjs-peach-menu-row" data-player-memory-retry>重试保存播放记忆</button></div></div>`, e);D(r, "[data-player-ambient]").onclick = () => {- Aue(!PM().settings().ambientMode), k();+ jue(!MM().settings().ambientMode), k();}, D(r, "[data-player-speed]").onclick = () => te(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => ne(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {f.retry();}, A();@@ -33449,8 +33449,8 @@ function _N(e, t, n = 0, r = null) {A(), re();});return e.on("dispose", () => {- I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(JM, C), w && clearTimeout(w);- }), p = new wue(e, t, {+ I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(KM, C), w && clearTimeout(w);+ }), p = new Tue(e, t, {render: E,open: () => {O = "subtitles", x(!0);@@ -33459,21 +33459,21 @@ function _N(e, t, n = 0, r = null) {back: () => {p?.hide(), k(-1);}- }), y(), Mue(e, a), Nue(e), (e) => {+ }), y(), Nue(e, a), Pue(e), (e) => {h = e?.length ? e : null, re();};}-function Mue(e, t) {+function Nue(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = PM().settings().theaterMode, i = document.createElement("div");+ let r = MM().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");- mN.set(a, fN(a, "影院模式", "T")), hN(a), a.onclick = (e) => {- e.stopPropagation(), gN(!PM().settings().theaterMode);+ fN.set(a, uN(a, "影院模式", "T")), pN(a), a.onclick = (e) => {+ e.stopPropagation(), mN(!MM().settings().theaterMode);};}-function Nue(e) {+function Pue(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");@@ -33485,7 +33485,7 @@ function Nue(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 = fN(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 = uN(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 ? "播放" : "暂停");};@@ -33496,7 +33496,7 @@ function Nue(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 = fN(p, "静音", "M"), g = () => {+ let h = uN(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 ? "取消静音" : "静音");};@@ -33522,7 +33522,7 @@ function Nue(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 = fN(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = uN(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Yn(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : Yn(t)} / ${Yn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Yn(n)};点击显示已播放时间` : `已播放 ${Yn(t)},总时长 ${Yn(n)};点击显示剩余时间`);};@@ -33534,10 +33534,10 @@ function Nue(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- fN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), kue(e, E, fN(E, "画中画"), (e) => PM().toast(e, { warn: !0 }));- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = fN(D, "全屏", "F"), A = () => {+ uN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Aue(e, E, uN(E, "画中画"), (e) => MM().toast(e, { warn: !0 }));+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = uN(D, "全屏", "F"), A = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), HM(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), BM(e);};e.on(["fullscreenchange",@@ -33558,7 +33558,7 @@ function Nue(e) {});let ee = document.createElement("div");ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);- let N = ee.querySelector("button"), te = fN(N, "展开控件"), P = (t) => {+ let N = ee.querySelector("button"), te = uN(N, "展开控件"), P = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), N.setAttribute("aria-expanded", String(t)), te(t ? "收起控件" : "展开控件");};N.onclick = (t) => {@@ -33570,10 +33570,10 @@ function Nue(e) {}, re = new ResizeObserver(ne);re.observe(e.el()), e.on("dispose", () => re.disconnect()), P(!1), ne();}-function vN(e, t, n = {}) {+function gN(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 = uN(r, t, n), a = (n) => {+ let i = cN(r, t, n), a = (n) => {let a = qn(e.duration()) || qn(t?.duration);if (!a) return;let o = r.getBoundingClientRect();@@ -33593,13 +33593,13 @@ function vN(e, t, n = {}) {i.dispose();});}-function Pue(e, t) {+function Fue(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => qn(e.duration()) || qn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(PM().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(MM().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -33640,11 +33640,11 @@ function Pue(e, t) {} catch {}});}-function yN(e) {+function _N(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 bN(e, t) {+function vN(e, t) {Tn(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -33660,35 +33660,35 @@ function bN(e, t) {}).catch(() => {});}// src/player/progress.ts-var xN = "peach.playback-position.v1", SN = /* @__PURE__ */ new WeakMap();-function CN(e) {- SN.get(e)?.(), SN.delete(e);+var yN = "peach.playback-position.v1", bN = /* @__PURE__ */ new WeakMap();+function xN(e) {+ bN.get(e)?.(), bN.delete(e);}-function wN(e, t, n = null) {+function SN(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 Fue(e) {+function Iue(e) {try {- let t = localStorage.getItem(`${xN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${yN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function Iue(e, t) {- let n = Fue(e);+function Lue(e, t) {+ let n = Iue(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * qn(t.duration) : 0;}-function Lue(e, t) {- CN(t);+function Rue(e, t) {+ xN(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(`${xN}:${e}`, String(r));+ localStorage.setItem(`${yN}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -33702,7 +33702,7 @@ function Lue(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), SN.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), bN.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -33714,19 +33714,19 @@ function Lue(e, t) {});}// src/player/telemetry.ts-var TN = /* @__PURE__ */ new WeakMap();-function EN(e) {- TN.get(e)?.(), TN.delete(e);+var CN = /* @__PURE__ */ new WeakMap();+function wN(e) {+ CN.get(e)?.(), CN.delete(e);}-function DN(e, t, n, r) {+function TN(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), TN.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), CN.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 ON(e, t, n = {}) {+function EN(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 = qn(e.duration) || qn(t.duration);@@ -33767,11 +33767,11 @@ function ON(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, DN(t, l, u, () => {+ }, TN(t, l, u, () => {a++;}), c();}-function Rue(e, t) {+function zue(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = qn(e.duration) || qn(t.duration);(r || n) && (Tn("/api/follow/activity", {@@ -33802,22 +33802,22 @@ function Rue(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, DN(t, o, s, () => {});+ }, TN(t, o, s, () => {});}// src/player/dispose.ts-function kN(e) {+function DN(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (CN(t), EN(t));+ t && (xN(t), wN(t));try {e.dispose();} catch {}}// src/core/random-id.ts-function AN() {+function ON() {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;@@ -33825,23 +33825,23 @@ function AN() {return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;}// src/player/stream.ts-function jN() {- return AN();+function kN() {+ return ON();}-function MN(e, t) {+function AN(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function zue(e) {+function Bue(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function NN(e, t) {- let n = zue(e);+async function jN(e, t) {+ let n = Bue(e);if (n) return n;try {let n = await Tn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -33850,9 +33850,9 @@ async function NN(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return MN(e, t);+ return AN(e, t);}-function PN(e) {+function MN(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -33861,22 +33861,22 @@ function PN(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var FN = "";-function IN() {- return FN;+var NN = "";+function PN() {+ return NN;}-function LN() {- return FN ||= jN(), FN;+function FN() {+ return NN ||= kN(), NN;}-var Bue = (e) => MN(e, LN()), Vue = (e) => NN(e, LN());-function RN() {- let e = FN;- e && (FN = "", PN(e));+var Vue = (e) => AN(e, FN()), Hue = (e) => jN(e, FN());+function IN() {+ let e = NN;+ e && (NN = "", MN(e));}// src/player/v10-player.ts-var zN = (e) => typeof e == "string" ? [e] : e, Hue = (e, t) => {+var LN = (e) => typeof e == "string" ? [e] : e, Uue = (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-${AN()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${ON()}`, 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 = {@@ -33971,9 +33971,9 @@ var zN = (e) => typeof e == "string" ? [e] : e, Hue = (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) => zN(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => zN(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => zN(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => LN(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => LN(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => LN(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -34028,7 +34028,7 @@ var zN = (e) => typeof e == "string" ? [e] : e, Hue = (e, t) => {n.id = String(t.id || ""), t.legacyId && (n.dataset.subtitleAlias = String(t.legacyId)), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, Uue = "/vendor/videojs/10.3.0/", Wue = [+}, Wue = "/vendor/videojs/10.3.0/", Gue = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -34046,17 +34046,17 @@ var zN = (e) => typeof e == "string" ? [e] : e, Hue = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], BN = null;-function VN() {- return BN ??= Promise.all(Wue.map((e) => import(+], RN = null;+function zN() {+ return RN ??= Promise.all(Gue.map((e) => import(/* @vite-ignore */- `${Uue}${e}`-))).then(() => Hue).catch((e) => {- throw BN = null, e;- }), BN;+ `${Wue}${e}`+))).then(() => Uue).catch((e) => {+ throw RN = null, e;+ }), RN;}// src/player/immerse-player.ts-var Gue = {+var Kue = {controls: !1,preload: "auto",posterImage: !1,@@ -34068,45 +34068,45 @@ var Gue = {errorDisplay: !1,textTrackSettings: !1};-function Kue(e, t) {+function que(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([NN(n, r), VN().catch(() => null)]).then(([o, s]) => {+ return Promise.all([jN(n, r), zN().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = MN(n, r), l = String(o.type || "").includes("mpegurl");+ let c = AN(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, Gue);- i = t, t.peachItem = n, t.peachPlaybackKey = wN("item", n);+ let t = s(e, Kue);+ i = t, t.peachItem = n, t.peachPlaybackKey = SN("item", n);let r = new AbortController();- rN(t.el(), e, r.signal, oN(t)), dN(t, e), sN(t, e), t.on("dispose", () => r.abort()), new cN(t, e), bN(t, n.id), l && t.one("error", () => {+ tN(t.el(), e, r.signal, iN(t)), lN(t, e), aN(t, e), t.on("dispose", () => r.abort()), new oN(t, e), vN(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- ON(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ EN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, PN(r), i ? kN(i) : (e.pause(), EN(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, MN(r), i ? DN(i) : (e.pause(), wN(e), e.removeAttribute("src"), e.load()));};}// src/player/guide-preview.ts-var HN = !1, UN = () => HN;-function que() {- return HN = !0, () => {- HN = !1;+var BN = !1, VN = () => BN;+function Jue() {+ return BN = !0, () => {+ BN = !1;};}// src/player/detail-player.ts-var WN = /* @__PURE__ */ new WeakMap(), GN = null, KN = null, qN = null;-function JN() {- GN &&= (clearInterval(GN), null), KN &&= (clearInterval(KN), null), qN &&= (clearTimeout(qN), null);+var HN = /* @__PURE__ */ new WeakMap(), UN = null, WN = null, GN = null;+function KN() {+ UN &&= (clearInterval(UN), null), WN &&= (clearInterval(WN), null), GN &&= (clearTimeout(GN), null);}-async function Jue(e, t, n, r = {}) {- let i = BM();+async function Yue(e, t, n, r = {}) {+ let i = RM();if (i && !i.isDisposed()) return i;- let a = PM(), o = r.resume ?? null;+ let a = MM(), o = r.resume ?? null;o?.autoplay && (n = !0), r.guidePreview && (n = !1);- let s = () => r.source ? Promise.resolve(r.source) : Vue(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : Hue(e), c;try {- c = await VN();+ c = await zN();} catch {return t.controls = !0, r.guidePreview || s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -34132,7 +34132,7 @@ async function Jue(e, t, n, r = {}) {} }}});- VM(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || wN("item", e), mue(l), l.on("loadedmetadata", () => {+ zM(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || SN("item", e), hue(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}`);});@@ -34140,7 +34140,7 @@ async function Jue(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = gue(GM(f, e.duration)), m = 0, h = !1, g = () => BM() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = _ue(UM(f, e.duration)), m = 0, h = !1, g = () => RM() === 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(() => {@@ -34151,15 +34151,15 @@ async function Jue(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- WN.set(l, y), y.updateStats = () => {+ HN.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 = IN(), h = s ? XM(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 = PN(), h = s ? JM(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 = QM(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 = XM(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 = UM(t);- qM(d.speed, x), qM(d.activity, C), qM(d.buffer, w);+ let w = VM(t);+ GM(d.speed, x), GM(d.activity, C), GM(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 ? ["网络活动",`${_ ? Xn(_) : "—"} · ${h.length} 请求`,@@ -34177,17 +34177,17 @@ async function Jue(e, t, n, r = {}) {["连接速度",D,- YM(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ qM(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- YM(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ qM(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- YM(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ qM(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${Yn(t.currentTime)} / ${Yn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -34203,15 +34203,15 @@ async function Jue(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = QM(l, e.id, IN(), r ? null : p), a = r ? $M(i) : vue(i, UM(t));+ let i = XM(l, e.id, PN(), r ? null : p), a = r ? ZM(i) : yue(i, VM(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), KN && clearInterval(KN), KN = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), WN && clearInterval(WN), WN = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (qN && clearTimeout(qN), qN = setTimeout(() => {- e.hidden = !0, KN &&= (clearInterval(KN), null);+ e && (GN && clearTimeout(GN), GN = setTimeout(() => {+ e.hidden = !0, WN &&= (clearInterval(WN), null);}, 1400));};return l.on([@@ -34222,7 +34222,7 @@ async function Jue(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Bue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Vue(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))}`@@ -34230,13 +34230,13 @@ async function Jue(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = _N(l, t, e.height, r.qualities ?? null);+ let n = hN(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 = GM(r, e.duration));- }).catch(() => {}), vN(l, e, { thumbnail: !r.source }), r.guidePreview || Pue(l, e), yN(l), r.source || bN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = UM(r, e.duration));+ }).catch(() => {}), gN(l, e, { thumbnail: !r.source }), r.guidePreview || Fue(l, e), _N(l), r.source || vN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), r.guidePreview || s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -34245,16 +34245,16 @@ async function Jue(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var Yue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function YN(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Yue), e.querySelector("#playerStatsBtn")) return;+var Xue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function qN(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Xue), e.querySelector("#playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = _ue();+ n.innerHTML = vue();let r = e.querySelector(":scope > [data-player-toolbar]");r && (r.querySelector("[data-player-stats-slot]").append(n.content.querySelector("#playerStatsBtn")), r.querySelector("[data-player-net-slot]").append(n.content.querySelector("#playerNet"))), e.insertBefore(n.content, t);}-function XN(e, t) {- let n = WN.get(e);+function JN(e, t) {+ let n = HN.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`#${e}`), i = {statsButton: r("playerStatsBtn"),@@ -34266,30 +34266,30 @@ function XN(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), GN &&= (clearInterval(GN), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), UN &&= (clearInterval(UN), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(JM, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), GN && clearInterval(GN), GN = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(KM, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), UN && clearInterval(UN), UN = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(JM, t), s = () => document.removeEventListener(JM, t);+ document.addEventListener(KM, t), s = () => document.removeEventListener(KM, t);}- let c = e.el().querySelector("video"), l = c ? jue(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, JN()));+ let c = e.el().querySelector("video"), l = c ? Mue(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, KN()));};return e.one("dispose", d), d;}-function ZN(e, t) {- if (t.kind === "immerse") return Kue(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = UN(), c = PM(), l = t.chrome === !1 ? null : e.parentElement;- l && YN(l, e);- let u = wN(n, r, i?.index ?? null), d = {+function YN(e, t) {+ if (t.kind === "immerse") return que(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = VN(), c = MM(), l = t.chrome === !1 ? null : e.parentElement;+ l && qN(l, e);+ let u = SN(n, r, i?.index ?? null), d = {guidePreview: s,playbackKey: u,resume: s ? null : t.resume ?? {- time: Iue(u, r),+ time: Lue(u, r),autoplay: !1}};@@ -34309,36 +34309,36 @@ function ZN(e, t) {t && (e.poster = t);}let f = null, p = !1, m = () => {}, h = e, g = () => {- m(), !(f && a?.(f)) && (CN(h), f ? (BM() === f && (VM(null), JN()), kN(f)) : EN(h));+ m(), !(f && a?.(f)) && (xN(h), f ? (RM() === f && (zM(null), KN()), DN(f)) : wN(h));};- return Jue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {- f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (Lue(u, h), n === "follow" ? Rue(r, h) : (h.addEventListener("play", () => {+ return Yue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {+ f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (Rue(u, h), n === "follow" ? zue(r, h) : (h.addEventListener("play", () => {Tn("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), ON(r, h, {+ }, { once: !0 }), EN(r, h, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (l && (m = XN(t, l)), o?.(t)) : o?.(null)));+ })), t ? (l && (m = JN(t, l)), o?.(t)) : o?.(null)));}), () => {p = !0, g();};}// src/player/playback.ts-function QN(e) {+function XN(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function $N(e, t) {+function ZN(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);}// src/player/preview-player.ts-function Xue(e, t, n) {+function Zue(e, t, n) {e.controls = !1;let r = !1, i = null;- return VN().then((a) => {+ return zN().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -34363,30 +34363,30 @@ function Xue(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (_N(o, e), vN(o, null, { thumbnail: !1 }), yN(o));+ r || o.isDisposed() || (hN(o, e), gN(o, null, { thumbnail: !1 }), _N(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, kN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, DN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}-function eP(e, t) {+function QN(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var Zue = (e, t) => [+var Que = (e, t) => ["catalog-grid","catalog",e,t-], Que = (e, t) => [+], $ue = (e, t) => ["catalog-grid","entity",e,t];-async function $ue(e, t, n, r, i) {+async function ede(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 B(`/api/items?${a}`, i), s = {@@ -34396,23 +34396,23 @@ async function $ue(e, t, n, r, i) {};return t || s.items.length || r || (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var ede = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, tde = (e, t) => {+var tde = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, nde = (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 tP(e) {- let t = eP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function $N(e) {+ let t = QN(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: Zue(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => $ue(t, e, n, r, i),+ queryKey: Que(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => ede(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: ede(n)+ getNextPageParam: tde(n)};}-async function nde(e, t, n) {+async function rde(e, t, n) {if (e.mode === "items" || e.mode === "entity" || t === "list" && !e.wall) return;- let r = tP(e);- H.getQueryData(r.queryKey) === void 0 && ((e.restoreNavigation || e.wall) && nP(r.queryKey) || await H.fetchInfiniteQuery({+ let r = $N(e);+ H.getQueryData(r.queryKey) === void 0 && ((e.restoreNavigation || e.wall) && eP(r.queryKey) || await H.fetchInfiniteQuery({queryKey: r.queryKey,queryFn: ({ pageParam: e }) => r.queryFn({pageParam: e,@@ -34422,9 +34422,9 @@ async function nde(e, t, n) {getNextPageParam: r.getNextPageParam}));}-function rde(e) {+function ide(e) {return {- queryKey: Que(e.entityKey || "", e.revision || 0),+ queryKey: $ue(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -34439,14 +34439,14 @@ function rde(e) {};},initialPageParam: 0,- getNextPageParam: tde+ getNextPageParam: nde};}-function nP(e) {+function eP(e) {let t = JSON.stringify(e);return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function rP(e, t, n) {+function tP(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -34461,24 +34461,24 @@ function rP(e, t, n) {return !0;}) : [...e];}-var iP = (e, t) => !!e && !!no(e, t);-function ide(e, t) {- let n = (e) => iP(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) => iP(e, t)) || e[e.length - 1];+var nP = (e, t) => !!e && !!no(e, t);+function ade(e, t) {+ let n = (e) => nP(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) => nP(e, t)) || e[e.length - 1];}-function ade(e, { collapse: t, mix: n, javImage: r }) {+function ode(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 = rP(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = tP(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 = ide(e, r);+ let t = ade(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -34491,16 +34491,16 @@ function ade(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function ode(e, t, n) {+function sde(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 sde(e, t) {+function cde(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 cde(e, t) {+function lde(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -34513,10 +34513,10 @@ function cde(e, t) {strip: null}), r;}-function aP(e, t) {- oP((t) => t.id === e, t);+function rP(e, t) {+ iP((t) => t.id === e, t);}-function oP(e, t) {+function iP(e, t) {H.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {...n,cuts: n.cuts.map((n) => ({@@ -34546,34 +34546,34 @@ function oP(e, t) {} : n)});}-var sP = (e) => Math.min(Math.max(e || 0, 0), 100), cP = (e) => Math.round(sP(e) / 20), lde = (e) => {- let t = cP(e);+var aP = (e) => Math.min(Math.max(e || 0, 0), 100), oP = (e) => Math.round(aP(e) / 20), ude = (e) => {+ let t = oP(e);return t ? `${t} 星` : "未评分";-}, lP = (e, t) => t === cP(e) ? 0 : t * 20, uP = (e) => ["item", e], dP = (e) => [+}, sP = (e, t) => t === oP(e) ? 0 : t * 20, cP = (e) => ["item", e], lP = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], ude = (e, t) => [+], dde = (e, t) => ["item-related",e,t-], dde = (e) => `/api/item?id=${e}`, fde = (e, t) => `/api/related?id=${e}&limit=${t}`, fP = "/api/playlist", pP = "/api/feedback", mP = "/api/item-tag", hP = "/api/watch-later", gP = "/api/quality-goal", _P = "/api/preference", vP = class extends Error {};-async function yP(e, t) {- let n = await B(dde(e), t);- if (n.error) throw new vP(n.error);+], fde = (e) => `/api/item?id=${e}`, pde = (e, t) => `/api/related?id=${e}&limit=${t}`, uP = "/api/playlist", dP = "/api/feedback", fP = "/api/item-tag", pP = "/api/watch-later", mP = "/api/quality-goal", hP = "/api/preference", gP = class extends Error {};+async function _P(e, t) {+ let n = await B(fde(e), t);+ if (n.error) throw new gP(n.error);return n;}-async function bP(e, t, n) {+async function vP(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([yP(r, n), t.mixRelated(r)]);- return H.setQueryData(uP(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([_P(r, n), t.mixRelated(r)]);+ return H.setQueryData(cP(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${No(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return xP(await B(`${fP}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return yP(await B(`${uP}?id=${e.playlistId}`, n));let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -34584,19 +34584,19 @@ async function bP(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var xP = (e) => ({+var yP = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), SP = (e) => e.disposal === "vanished";-function CP(e, t) {+}), bP = (e) => e.disposal === "vanished";+function xP(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !SP(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !bP(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 pde(e, t) {+function mde(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 : {@@ -34604,20 +34604,20 @@ function pde(e, t) {part_label: n};}-function wP(e, t) {+function SP(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 TP(e, t) {+async function CP(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = dP(n);+ let o = lP(n);try {let r = n.fresh ? void 0 : H.getQueryData(o);a = !r && n.kind === "mix", i = r || await H.fetchQuery({queryKey: o,- queryFn: () => bP(n, e.helpers, t),+ queryFn: () => vP(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -34629,21 +34629,21 @@ async function TP(e, t) {return;}}- let o = i ? CP(i, e.id) : e.id;+ let o = i ? xP(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 ? H.getQueryData(uP(o)) : void 0;+ let s, c = a && o === i?.seedId ? H.getQueryData(cP(o)) : void 0;try {s = c || await H.fetchQuery({- queryKey: uP(o),- queryFn: () => yP(o, t),+ queryKey: cP(o),+ queryFn: () => _P(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof vP) {+ if (e instanceof gP) {r.redirect({ kind: "gone" });return;}@@ -34654,7 +34654,7 @@ async function TP(e, t) {id: Number(s.follow_item_id)});}-function mde(e) {+function hde(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);@@ -34676,35 +34676,35 @@ function mde(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function hde(e, t) {+function gde(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 EP = (e, t) => (e.tags || []).some((e) => Un(e.k) === Un(t)), DP = (e, t) => ({+var wP = (e, t) => (e.tags || []).some((e) => Un(e.k) === Un(t)), TP = (e, t) => ({...e,tags: (e.tags || []).filter((e) => Un(e.k) !== Un(t))-}), OP = (e, t) => EP(e, t.k) ? e : {+}), EP = (e, t) => wP(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, kP = "peach.recentTags";-function AP() {+}, DP = "peach.recentTags";+function OP() {try {- let e = JSON.parse(localStorage.getItem(kP) || "[]");+ let e = JSON.parse(localStorage.getItem(DP) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function jP(e) {+function kP(e) {try {- let t = AP().filter((t) => Un(t) !== Un(e));- localStorage.setItem(kP, JSON.stringify([e, ...t].slice(0, 12)));+ let t = OP().filter((t) => Un(t) !== Un(e));+ localStorage.setItem(DP, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function gde(e, t, n) {+function _de(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@@ -34715,73 +34715,73 @@ function gde(e, t, n) {create: r && !s ? e.trim() : ""};}-var _de = {+var vde = {中字: "subtitle",无码: "uncensored",无码流出: "leaked",无码破解: "cracked",有码: "censored"-}, vde = {+}, yde = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function yde(e) {+function bde(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: vde[e.kind],+ title: yde[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var MP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, bde = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(MP(e.part_label))}</small>` : "";-function xde(e, t, n, r) {+var AP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, xde = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(AP(e.part_label))}</small>` : "";+function Sde(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var Sde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function Cde(e, t) {+var Cde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function wde(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 wde(e) {+function Tde(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 NP(e, t) {+function jP(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}// src/react/immerse/immerse.ts-var Tde = (e, t, n) => [+var Ede = (e, t, n) => ["immerse-list",e,t,n];-function Ede(e) {+function Dde(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 Dde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function Ode(e, t = Math.random) {+var Ode = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function kde(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 kde(e, t) {- return Ode(((await B(`/api/items?${e}`)).items || []).filter((e) => Dde(e, t)));+async function Ade(e, t) {+ return kde(((await B(`/api/items?${e}`)).items || []).filter((e) => Ode(e, t)));}-var PP = (e) => H.ensureQueryData({- queryKey: uP(e),- queryFn: ({ signal: t }) => yP(e, t)+var MP = (e) => H.ensureQueryData({+ queryKey: cP(e),+ queryFn: ({ signal: t }) => _P(e, t)});-function Ade(e, t) {+function jde(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function jde(e) {+function Mde(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,@@ -34790,313 +34790,313 @@ function jde(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Mde(e, t, n) {+function Nde(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 Nde(e, t) {+function Pde(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 Pde = 15e3, FP = {+var Fde = 15e3, NP = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, IP = null, LP = null, RP = FP, zP = /* @__PURE__ */ new Set(), BP = 0, VP = 0, HP = 0, UP = "", WP = [], GP = 0, KP = !1, qP = !1, JP = null, YP = /* @__PURE__ */ new Set(), XP = "", ZP = null, QP = 0, $P = null, eF = !1, tF = null;-function nF() {- if (!IP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return IP;+}, PP = null, FP = null, IP = NP, LP = /* @__PURE__ */ new Set(), RP = 0, zP = 0, BP = 0, VP = "", HP = [], UP = 0, WP = !1, GP = !1, KP = null, qP = /* @__PURE__ */ new Set(), JP = "", YP = null, XP = 0, ZP = null, QP = !1, $P = null;+function eF() {+ if (!PP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return PP;}-function Fde(e) {- return zP.add(e), () => {- zP.delete(e);+function Ide(e) {+ return LP.add(e), () => {+ LP.delete(e);};}-function Ide() {- for (let e of [...zP]) e();+function Lde() {+ for (let e of [...LP]) e();}-function rF() {- (0, Rt.flushSync)(Ide);+function tF() {+ (0, Rt.flushSync)(Lde);}-function iF() {- let e = ZP ? ZM(ZP.id) : 0;- return e ? `${XP} · ${$M(e)}` : XP;+function nF() {+ let e = YP ? YM(YP.id) : 0;+ return e ? `${JP} · ${ZM(e)}` : JP;}-function aF(e, t = null) {- clearInterval(QP), QP = 0, e === null ? (RP = {- ...RP,+function rF(e, t = null) {+ clearInterval(XP), XP = 0, e === null ? (IP = {+ ...IP,loading: null- }, rF()) : (XP = e, ZP = t, RP = {- ...RP,- loading: iF()- }, rF(), QP = window.setInterval(() => {- ZP = WP[GP] ?? null, RP = {- ...RP,- loading: iF()- }, rF();+ }, tF()) : (JP = e, YP = t, IP = {+ ...IP,+ loading: nF()+ }, tF(), XP = window.setInterval(() => {+ YP = HP[UP] ?? null, IP = {+ ...IP,+ loading: nF()+ }, tF();}, 500));}-function Lde(e) {+function Rde(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), LP.track.append(t);- let r = jN(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), FP.track.append(t);+ let r = kN(), i = () => {}, a = {el: t,video: n,session: r,- release: () => PN(r),+ release: () => MN(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return YP.add(a), a;+ return qP.add(a), a;}-function Rde(e, t) {+function zde(e, t) {return new Promise((n) => {- e.release = ZN(e.video, {+ e.release = YN(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- RP.open && pF(1);+ IP.open && dF(1);}}), e.gone.then(n);});}-function oF(e) {- e && !e.disposed && (e.disposed = !0, YP.delete(e), e.leave(), e.release(), e.el.remove(), JP === e && (JP = null));+function iF(e) {+ e && !e.disposed && (e.disposed = !0, qP.delete(e), e.leave(), e.release(), e.el.remove(), KP === e && (KP = null));}-var sF = [+var aF = ["loadeddata","canplay","error"];-function zde(e) {+function Bde(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), sF.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), aF.forEach((e) => t.removeEventListener(e, i)), n());};- sF.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, Pde);+ aF.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, Fde);e.gone.then(i);});}-function cF(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Mde(e.videoWidth, e.videoHeight, n);+function oF(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Nde(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var lF = () => LP?.track.querySelectorAll("video").forEach(cF);-function Bde(e) {- delete e.dataset.fit, e.readyState >= 1 ? cF(e) : e.addEventListener("loadedmetadata", () => cF(e), { once: !0 });-}+var sF = () => FP?.track.querySelectorAll("video").forEach(oF);function Vde(e) {- RP = {- ...RP,+ delete e.dataset.fit, e.readyState >= 1 ? oF(e) : e.addEventListener("loadedmetadata", () => oF(e), { once: !0 });+}+function Hde(e) {+ IP = {+ ...IP,wide: e- }, rF(), lF();+ }, tF(), sF();}-var uF = () => {- let e = UP;+var cF = () => {+ let e = VP;return H.fetchQuery({- queryKey: Tde(e, VP, HP),- queryFn: () => kde(e, nF().sourceOffline),+ queryKey: Ede(e, zP, BP),+ queryFn: () => Ade(e, eF().sourceOffline),staleTime: Infinity});};-function Hde(e, t) {+function Ude(e, t) {let n = () => qn(e.duration) || qn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && LP && (LP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), $P = {+ t && FP && (FP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), ZP = {video: e,duration: n- }, tF?.dispose(), tF = LP ? uN(LP.bar, t, { inset: 12 }) : null;+ }, $P?.dispose(), $P = FP ? cN(FP.bar, t, { inset: 12 }) : null;}-function dF(e) {- let t = $P?.duration();- tF && t && (tF.prime(), tF.show(e, t));+function lF(e) {+ let t = ZP?.duration();+ $P && t && ($P.prime(), $P.show(e, t));}-async function fF(e = 0) {- let t = WP[GP];- if (!t || KP) return;- let n = BP;- nF().route(t.id), KP = !0, aF(e ? "切换中" : "加载中", t);+async function uF(e = 0) {+ let t = HP[UP];+ if (!t || WP) return;+ let n = RP;+ eF().route(t.id), WP = !0, rF(e ? "切换中" : "加载中", t);let r = null;try {- if (await PP(t.id).catch((e) => {- if (!(e instanceof vP)) throw e;- }), n !== BP) return;- let i = JP, a = !!(e && i);- a || oF(i);- let o = Lde(a ? e > 0 ? 100 : -100 : 0);- if (r = o, Bde(o.video), await Rde(o, t), await zde(o), o.disposed || (Vde(Nde(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await MP(t.id).catch((e) => {+ if (!(e instanceof gP)) throw e;+ }), n !== RP) return;+ let i = KP, a = !!(e && i);+ a || iF(i);+ let o = Rde(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, Vde(o.video), await zde(o, t), await Bde(o), o.disposed || (Hde(Pde(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)), oF(i), o.el.style.transform = ""), o.disposed)) return;- JP = o, r = null, o.video.play()?.catch(() => {}), RP = {- ...RP,+ })), await new Promise((e) => setTimeout(e, 210)), iF(i), o.el.style.transform = ""), o.disposed)) return;+ KP = o, r = null, o.video.play()?.catch(() => {}), IP = {+ ...IP,idle: !1,shown: {item: t,- index: GP,- length: WP.length+ index: UP,+ length: HP.length}- }, Hde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), aF(null);+ }, Ude(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), rF(null);} catch {- oF(r), n === BP && aF(null);+ iF(r), n === RP && rF(null);} finally {- n === BP && (KP = !1);+ n === RP && (WP = !1);}}-async function pF(e) {- if (KP || !RP.open) return;- let t = BP;- if (GP += e, aF("切换中", WP[GP] ?? null), GP >= WP.length - 3 && !qP) {- qP = !0;+async function dF(e) {+ if (WP || !IP.open) return;+ let t = RP;+ if (UP += e, rF("切换中", HP[UP] ?? null), UP >= HP.length - 3 && !GP) {+ GP = !0;try {- HP += 1;- let e = await uF();- t === BP && (WP = Ade(WP, e));+ BP += 1;+ let e = await cF();+ t === RP && (HP = jde(HP, e));} catch {} finally {- qP = !1;+ GP = !1;}}- t === BP && (GP >= WP.length && (GP = 0), GP < 0 && (GP = WP.length - 1), await fF(e));+ t === RP && (UP >= HP.length && (UP = 0), UP < 0 && (UP = HP.length - 1), await uF(e));}-async function Ude(e) {- let t = ++BP;- mF(), VP += 1, HP = 0, UP = Ede(nF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), RP = {- ...RP,+async function Wde(e) {+ let t = ++RP;+ fF(), zP += 1, BP = 0, VP = Dde(eF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), IP = {+ ...IP,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), aF("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), rF("加载内容");try {- let n = await uF();+ let n = await cF();if (e && !n.some((t) => t.id === e)) {- let t = await PP(e).catch((e) => {- if (e instanceof vP) return null;+ let t = await MP(e).catch((e) => {+ if (e instanceof gP) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== BP) return;- if (WP = n, !WP.length) {- hF(), nF().warn("当前筛选下没有可直接播放的内容");+ if (t !== RP) return;+ if (HP = n, !HP.length) {+ pF(), eF().warn("当前筛选下没有可直接播放的内容");return;}- GP = Math.max(0, WP.findIndex((t) => t.id === e)), await fF();+ UP = Math.max(0, HP.findIndex((t) => t.id === e)), await uF();} catch {- if (t !== BP) return;- aF(null), hF();+ if (t !== RP) return;+ rF(null), pF();}}-function mF() {- clearInterval(QP), QP = 0, xF(), yF = null, $P = null, eF = !1, tF?.dispose(), tF = null, [...YP].forEach(oF), KP = !1;+function fF() {+ clearInterval(XP), XP = 0, yF(), _F = null, ZP = null, QP = !1, $P?.dispose(), $P = null, [...qP].forEach(iF), WP = !1;}-function hF() {- RP.open && (BP++, mF(), RP = FP, document.body.removeAttribute("data-immerse-open"), rF(), nF().closed());+function pF() {+ IP.open && (RP++, fF(), IP = NP, document.body.removeAttribute("data-immerse-open"), tF(), eF().closed());}-var gF = 0, _F = null, vF = 0, yF = null, bF = 0;-function xF() {- clearTimeout(gF), gF = 0, _F = null;+var mF = 0, hF = null, gF = 0, _F = null, vF = 0;+function yF() {+ clearTimeout(mF), mF = 0, hF = null;}-function Wde(e) {- let t = JP?.video;+function Gde(e) {+ let t = KP?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- _F && _F.side === n && r - _F.at <= 280 ? (xF(), $N(t, nF().seekSeconds() * n)) : (gF && (clearTimeout(gF), gF = 0, QN(t)), _F = {+ hF && hF.side === n && r - hF.at <= 280 ? (yF(), ZN(t, eF().seekSeconds() * n)) : (mF && (clearTimeout(mF), mF = 0, XN(t)), hF = {side: n,at: r- }, gF = window.setTimeout(() => {- gF = 0, _F = null, RP.open && QN(JP?.video);+ }, mF = window.setTimeout(() => {+ mF = 0, hF = null, IP.open && XN(KP?.video);}, 280));}-function Gde() {- Date.now() < vF || QN(JP?.video);+function Kde() {+ Date.now() < gF || XN(KP?.video);}-var SF = (e) => LP?.bar.toggleAttribute("data-scrubbing", e);-function CF(e) {- LP && (LP.progress.style.width = `${(e * 100).toFixed(2)}%`);+var bF = (e) => FP?.bar.toggleAttribute("data-scrubbing", e);+function xF(e) {+ FP && (FP.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function wF(e) {+function SF(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- yF = null;+ _F = null;return;}- let n = JP?.video;- yF = {+ let n = KP?.video;+ _F = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function TF(e) {- if (!yF || e.touches.length !== 1) return;- let t = e.touches[0].clientX - yF.x, n = e.touches[0].clientY - yF.y;- if (!yF.axis) {+function CF(e) {+ if (!_F || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - _F.x, n = e.touches[0].clientY - _F.y;+ if (!_F.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- yF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", yF.axis === "x" && SF(!0);+ _F.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", _F.axis === "x" && bF(!0);}- if (yF.axis !== "x") return;- let r = JP?.video, i = r && r.duration || 0;- i && (e.preventDefault(), yF.to = Math.min(i, Math.max(0, yF.from + t / window.innerWidth * i)), CF(yF.to / i), dF(yF.to / i));+ if (_F.axis !== "x") return;+ let r = KP?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), _F.to = Math.min(i, Math.max(0, _F.from + t / window.innerWidth * i)), xF(_F.to / i), lF(_F.to / i));}-function EF(e) {- if (!yF) return;- let t = yF;- if (yF = null, vF = Date.now() + 700, SF(!1), tF?.hide(), t.axis === "x") {- let e = JP?.video;+function wF(e) {+ if (!_F) return;+ let t = _F;+ if (_F = null, gF = Date.now() + 700, bF(!1), $P?.hide(), t.axis === "x") {+ let e = KP?.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 ? (xF(), pF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Wde(n.clientX));+ Math.abs(i) > 60 ? (yF(), dF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Gde(n.clientX));}-function DF() {- yF = null, SF(!1), tF?.hide();+function TF() {+ _F = null, bF(!1), $P?.hide();}-function OF(e) {+function EF(e) {let t = Date.now();- t - bF < 260 || (bF = t, pF(e.deltaY > 0 ? 1 : -1));+ t - vF < 260 || (vF = t, dF(e.deltaY > 0 ? 1 : -1));}-function kF(e) {- let t = LP.bar.getBoundingClientRect();+function DF(e) {+ let t = FP.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function Kde(e) {- $P?.duration() && (eF = !0, SF(!0), e.currentTarget.setPointerCapture(e.pointerId), CF(kF(e)), dF(kF(e)), e.preventDefault());-}function qde(e) {- eF && CF(kF(e)), dF(kF(e));+ ZP?.duration() && (QP = !0, bF(!0), e.currentTarget.setPointerCapture(e.pointerId), xF(DF(e)), lF(DF(e)), e.preventDefault());}function Jde(e) {- if (e.pointerType !== "mouse" && tF?.hide(), !eF) return;- eF = !1, SF(!1);- let t = $P?.duration();- $P && t && ($P.video.currentTime = t * kF(e));+ QP && xF(DF(e)), lF(DF(e));}-function Yde() {- eF = !1, SF(!1), tF?.hide();+function Yde(e) {+ if (e.pointerType !== "mouse" && $P?.hide(), !QP) return;+ QP = !1, bF(!1);+ let t = ZP?.duration();+ ZP && t && (ZP.video.currentTime = t * DF(e));}function Xde() {- eF || tF?.hide();+ QP = !1, bF(!1), $P?.hide();}-async function AF(e, t) {- let n = await V(pP, {+function Zde() {+ QP || $P?.hide();+}+async function OF(e, t) {+ let n = await V(dP, {id: e,kind: t- }), r = H.getQueryData(uP(e));- if (!r) return aP(e, {+ }), r = H.getQueryData(cP(e));+ if (!r) return rP(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -35105,7 +35105,7 @@ async function AF(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(uP(e), i), aP(e, {+ return H.setQueryData(cP(e), i), rP(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -35113,7 +35113,7 @@ async function AF(e, t) {o_count: i.o_count}), n;}-var Zde = [+var Qde = [{kind: "dislike",glyph: "thumbs-down",@@ -35130,31 +35130,31 @@ var Zde = [label: "记一次高潮"}];-function jF(e) {+function kF(e) {return Ft({- queryKey: uP(e ?? 0),- queryFn: ({ signal: t }) => yP(e, t),+ queryKey: cP(e ?? 0),+ queryFn: ({ signal: t }) => _P(e, t),enabled: e != null,staleTime: Infinity}).data;}-function Qde({ kind: e, glyph: t, label: n, id: r }) {- let i = jF(r), a = It({+function $de({ kind: e, glyph: t, label: n, id: r }) {+ let i = kF(r), a = It({mutationFn: async (t) => {- let n = H.getQueryData(uP(t))?.feedback || null;+ let n = H.getQueryData(cP(t))?.feedback || null;return {- result: await AF(t, e),+ result: await OF(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- nF().toast(NP(e, t), { undo: async () => {- e === "o" ? await AF(r, "o-undo") : (t.feedback && await AF(r, t.feedback), n && await AF(r, n));+ eF().toast(jP(e, t), { undo: async () => {+ e === "o" ? await OF(r, "o-undo") : (t.feedback && await OF(r, t.feedback), n && await OF(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- pF(1);+ dF(1);}, 260);},- onError: (e) => nF().failure("更新反馈", e)+ onError: (e) => eF().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-immerse-action": "",@@ -35185,11 +35185,11 @@ function Qde({ kind: e, glyph: t, label: n, id: r }) {})]});}-function $de({ shown: e }) {- let t = e?.item ?? null, n = jF(t?.id ?? null), r = n ? jde(n) : null, i = nF(), a = (e) => {- e.preventDefault(), n && (hF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function efe({ shown: e }) {+ let t = e?.item ?? null, n = kF(t?.id ?? null), r = n ? Mde(n) : null, i = eF(), a = (e) => {+ e.preventDefault(), n && (pF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (hF(), i.openItem(t.id));+ t && (pF(), i.openItem(t.id));}, s = r ? vo(r.name, r.ref, Qa(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-immerse-ui": "",@@ -35218,18 +35218,18 @@ function $de({ shown: e }) {})]});}-var efe = { __html: Hs("媒体加载中") };-function tfe({ view: e }) {+var tfe = { __html: Hs("媒体加载中") };+function nfe({ view: e }) {let t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {let e = t.current;- return LP = {+ return FP = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", wF, { passive: !0 }), e.addEventListener("touchmove", TF, { passive: !1 }), e.addEventListener("touchend", EF, { passive: !1 }), e.addEventListener("touchcancel", DF, { passive: !0 }), e.addEventListener("wheel", OF, { passive: !0 }), () => {- e.removeEventListener("touchstart", wF), e.removeEventListener("touchmove", TF), e.removeEventListener("touchend", EF), e.removeEventListener("touchcancel", DF), e.removeEventListener("wheel", OF), LP = null;+ }, e.addEventListener("touchstart", SF, { passive: !0 }), e.addEventListener("touchmove", CF, { passive: !1 }), e.addEventListener("touchend", wF, { passive: !1 }), e.addEventListener("touchcancel", TF, { passive: !0 }), e.addEventListener("wheel", EF, { passive: !0 }), () => {+ e.removeEventListener("touchstart", SF), e.removeEventListener("touchmove", CF), e.removeEventListener("touchend", wF), e.removeEventListener("touchcancel", TF), e.removeEventListener("wheel", EF), FP = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -35246,10 +35246,10 @@ function tfe({ view: e }) {children: [/* @__PURE__ */ (0, I.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: Gde+ onClick: Kde}), /* @__PURE__ */ (0, I.jsx)("div", {"data-immerse-actions": "",- children: Zde.map((e) => /* @__PURE__ */ (0, I.jsx)(Qde, {+ children: Qde.map((e) => /* @__PURE__ */ (0, I.jsx)($de, {...e,id: a}, e.kind))@@ -35262,7 +35262,7 @@ function tfe({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: efe+ dangerouslySetInnerHTML: tfe}), /* @__PURE__ */ (0, I.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -35270,7 +35270,7 @@ function tfe({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: hF,+ onClick: pF,children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-x" })@@ -35279,42 +35279,42 @@ function tfe({ view: e }) {/* @__PURE__ */ (0, I.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: Kde,- onPointerMove: qde,- onPointerUp: Jde,- onPointerCancel: Yde,- onPointerLeave: Xde,+ onPointerDown: qde,+ onPointerMove: Jde,+ onPointerUp: Yde,+ onPointerCancel: Xde,+ onPointerLeave: Zde,children: /* @__PURE__ */ (0, I.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, I.jsx)($de, { shown: e.shown })+ /* @__PURE__ */ (0, I.jsx)(efe, { shown: e.shown })]});}-var nfe = {- open: Ude,- close: hF,- isOpen: () => RP.open,- activeVideo: () => RP.open ? JP?.video ?? null : null+var rfe = {+ open: Wde,+ close: pF,+ isOpen: () => IP.open,+ activeVideo: () => IP.open ? KP?.video ?? null : null};-function rfe(e) {- if (!RP.open) return;+function ife(e) {+ if (!IP.open) return;let t = e.target;- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && pF(1), e.key === "ArrowUp" && pF(-1));+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && dF(1), e.key === "ArrowUp" && dF(-1));}-function ife(e) {- let t = !IP;- return IP = e, t && (document.addEventListener("keydown", rfe), addEventListener("resize", () => {- RP.open && lF();+function afe(e) {+ let t = !PP;+ return PP = e, t && (document.addEventListener("keydown", ife), addEventListener("resize", () => {+ IP.open && sF();}), addEventListener("pagehide", () => {- YP.forEach((e) => PN(e.session));- })), nfe;+ qP.forEach((e) => MN(e.session));+ })), rfe;}-function afe() {- let e = (0, F.useSyncExternalStore)(Fde, () => RP);- return IP ? /* @__PURE__ */ (0, I.jsx)(tfe, { view: e }) : null;+function ofe() {+ let e = (0, F.useSyncExternalStore)(Ide, () => IP);+ return PP ? /* @__PURE__ */ (0, I.jsx)(nfe, { view: e }) : null;}// src/manage-header.ts-var MF = {+var AF = {...rp,"/junk-files": "垃圾文件","/duplicates": "重复文件",@@ -35322,47 +35322,47 @@ var MF = {"/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, ofe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function sfe(e) {- let t = MF[e.path] ? "cleanup" : e.section;+}, sfe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function cfe(e) {+ let t = AF[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var cfe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function NF(e) {+var lfe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function jF(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = MF[e.path] ?? "";+ let n = AF[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: sfe(e),+ pressed: cfe(e),crumb: n,- compact: ofe.has(e.path) || e.section === "configuration",+ compact: sfe.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: cfe(e.trash),+ text: lfe(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var PF = (e) => e.replace(/[&<>"']/g, (e) => ({+var MF = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), FF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${PF(e)}"/></svg>`, IF = "<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 lfe(e) {- let t = NF(e);+})[e]), NF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${MF(e)}"/></svg>`, PF = "<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 ufe(e) {+ let t = jF(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${PF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${FF(r)}<span>${PF(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${FF("chevron-right")}</li><li aria-current="true"><span>${PF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? IF : `<span data-lede-text="">${PF(t.lede.text)}</span>${t.lede.total ? ufe : ""}`}</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=\"\"" : ""}>${PF(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${MF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${NF(r)}<span>${MF(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${NF("chevron-right")}</li><li aria-current="true"><span>${MF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? PF : `<span data-lede-text="">${MF(t.lede.text)}</span>${t.lede.total ? dfe : ""}`}</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=\"\"" : ""}>${MF(t.title)}</h2>` + i;}-var ufe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var dfe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";// src/react/settings-panel/icon.tsx-function LF({ name: e }) {+function FF({ name: e }) {let { wide: t, viewBox: n } = Cn(e);return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: n,@@ -35371,7 +35371,7 @@ function LF({ name: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function dfe({ name: e }) {+function ffe({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -35379,88 +35379,88 @@ function dfe({ name: e }) {});}// node_modules/tailwind-merge/dist/bundle-mjs.mjs-var ffe = (e, t) => {+var pfe = (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;-}, pfe = (e, t) => ({+}, mfe = (e, t) => ({classGroupId: e,validator: t-}), RF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), IF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), zF = "-", BF = [], mfe = "arbitrary..", hfe = (e) => {- let t = _fe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), LF = "-", RF = [], hfe = "arbitrary..", gfe = (e) => {+ let t = vfe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return gfe(e);- let n = e.split(zF);- return VF(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return _fe(e);+ let n = e.split(LF);+ return zF(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? ffe(i, t) : t : i || BF;+ return t ? i ? pfe(i, t) : t : i || RF;}- return n[e] || BF;+ return n[e] || RF;}};-}, VF = (e, t, n) => {+}, zF = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = VF(e, t + 1, i);+ let n = zF(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(zF) : e.slice(t).join(zF), s = a.length;+ let o = t === 0 ? e.join(LF) : e.slice(t).join(LF), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, gfe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, _fe = (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 ? mfe + r : void 0;-})(), _fe = (e) => {+ return r ? hfe + r : void 0;+})(), vfe = (e) => {let { theme: t, classGroups: n } = e;- return vfe(n, t);-}, vfe = (e, t) => {- let n = RF();+ return yfe(n, t);+}, yfe = (e, t) => {+ let n = IF();for (let r in e) {let i = e[r];- HF(i, n, r, t);+ BF(i, n, r, t);}return n;-}, HF = (e, t, n, r) => {+}, BF = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- yfe(i, t, n, r);+ bfe(i, t, n, r);}-}, yfe = (e, t, n, r) => {- typeof e == "string" ? bfe(e, t, n) : typeof e == "function" ? xfe(e, t, n, r) : Sfe(e, t, n, r);-}, bfe = (e, t, n) => {- let r = e === "" ? t : UF(t, e);+}, bfe = (e, t, n, r) => {+ typeof e == "string" ? xfe(e, t, n) : typeof e == "function" ? Sfe(e, t, n, r) : Cfe(e, t, n, r);+}, xfe = (e, t, n) => {+ let r = e === "" ? t : VF(t, e);r.classGroupId = n;-}, xfe = (e, t, n, r) => {- Cfe(e) ? HF(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(pfe(n, e)));}, Sfe = (e, t, n, r) => {+ wfe(e) ? BF(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(mfe(n, e)));+}, Cfe = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- HF(o, UF(t, a), n, r);+ BF(o, VF(t, a), n, r);}-}, UF = (e, t) => {- let n = e, r = t.split(zF), i = r.length;+}, VF = (e, t) => {+ let n = e, r = t.split(LF), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = RF(), n.nextPart.set(t, i)), n = i;+ i || (i = IF(), n.nextPart.set(t, i)), n = i;}return n;-}, Cfe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, wfe = (e) => {+}, wfe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Tfe = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -35478,19 +35478,19 @@ var ffe = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, WF = "!", GF = ":", Tfe = [], KF = (e, t, n, r, i) => ({+}, HF = "!", UF = ":", Efe = [], WF = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), Efe = (e) => {+}), Dfe = (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 === GF) {+ if (o === UF) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -35502,13 +35502,13 @@ var ffe = (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(WF) ? (c = s.slice(0, -1), l = !0) : s.startsWith(WF) && (c = s.slice(1), l = !0);+ s.endsWith(HF) ? (c = s.slice(0, -1), l = !0) : s.startsWith(HF) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return KF(t, l, c, u);+ return WF(t, l, c, u);};if (t) {- let e = t + GF, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : KF(Tfe, !1, t, void 0, !0);+ let e = t + UF, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : WF(Efe, !1, t, void 0, !0);}if (n) {let e = r;@@ -35518,7 +35518,7 @@ var ffe = (e, t) => {});}return r;-}, Dfe = (e) => {+}, Ofe = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -35530,18 +35530,18 @@ var ffe = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, Ofe = (e) => ({- cache: wfe(e.cacheSize),- parseClassName: Efe(e),- sortModifiers: Dfe(e),- postfixLookupClassGroupIds: kfe(e),- ...hfe(e)-}), kfe = (e) => {+}, kfe = (e) => ({+ cache: Tfe(e.cacheSize),+ parseClassName: Dfe(e),+ sortModifiers: Ofe(e),+ postfixLookupClassGroupIds: Afe(e),+ ...gfe(e)+}), Afe = (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;-}, Afe = /\s+/, jfe = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Afe), l = "";+}, jfe = /\s+/, Mfe = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(jfe), 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) {@@ -35561,7 +35561,7 @@ var ffe = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + WF : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + HF : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -35572,34 +35572,34 @@ var ffe = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, Mfe = (...e) => {+}, Nfe = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = qF(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = GF(n)) && (i && (i += " "), i += r);return i;-}, qF = (e) => {+}, GF = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = qF(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = GF(e[r])) && (n && (n += " "), n += t);return n;-}, JF = (e, ...t) => {- let n, r, i, a, o = (o) => (n = Ofe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, KF = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = kfe(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 = jfe(e, n);+ let a = Mfe(e, n);return i(e, a), a;};- return a = o, (...e) => a(Mfe(...e));-}, Nfe = [], YF = (e) => {- let t = (t) => t[e] || Nfe;+ return a = o, (...e) => a(Nfe(...e));+}, Pfe = [], qF = (e) => {+ let t = (t) => t[e] || Pfe;return t.isThemeGetter = !0, t.themeKey = e, t;-}, XF = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ZF = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pfe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ffe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ife = /\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$/, Lfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Rfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, QF = (e) => Pfe.test(e), $F = (e) => !!e && !Number.isNaN(Number(e)), eI = (e) => !!e && Number.isInteger(Number(e)), tI = (e) => e.endsWith("%") && $F(e.slice(0, -1)), nI = (e) => Ffe.test(e), rI = () => !0, Bfe = (e) => Ife.test(e) && !Lfe.test(e), iI = () => !1, Vfe = (e) => Rfe.test(e), Hfe = (e) => zfe.test(e), Ufe = (e) => !aI(e) && !uI(e), Wfe = (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)), Gfe = (e) => mI(e, vI, iI), aI = (e) => XF.test(e), oI = (e) => mI(e, yI, Bfe), sI = (e) => mI(e, $fe, $F), Kfe = (e) => mI(e, xI, rI), qfe = (e) => mI(e, bI, iI), cI = (e) => mI(e, gI, iI), Jfe = (e) => mI(e, _I, Hfe), lI = (e) => mI(e, SI, Vfe), uI = (e) => ZF.test(e), dI = (e) => hI(e, yI), Yfe = (e) => hI(e, bI), fI = (e) => hI(e, gI), Xfe = (e) => hI(e, vI), Zfe = (e) => hI(e, _I), pI = (e) => hI(e, SI, !0), Qfe = (e) => hI(e, xI, !0), mI = (e, t, n) => {- let r = XF.exec(e);+}, JF = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, YF = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ffe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ife = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Lfe = /\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$/, Rfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, zfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, XF = (e) => Ffe.test(e), ZF = (e) => !!e && !Number.isNaN(Number(e)), QF = (e) => !!e && Number.isInteger(Number(e)), $F = (e) => e.endsWith("%") && ZF(e.slice(0, -1)), eI = (e) => Ife.test(e), tI = () => !0, Vfe = (e) => Lfe.test(e) && !Rfe.test(e), nI = () => !1, Hfe = (e) => zfe.test(e), Ufe = (e) => Bfe.test(e), Wfe = (e) => !rI(e) && !cI(e), Gfe = (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)), Kfe = (e) => fI(e, gI, nI), rI = (e) => JF.test(e), iI = (e) => fI(e, _I, Vfe), aI = (e) => fI(e, epe, ZF), qfe = (e) => fI(e, yI, tI), Jfe = (e) => fI(e, vI, nI), oI = (e) => fI(e, mI, nI), Yfe = (e) => fI(e, hI, Ufe), sI = (e) => fI(e, bI, Hfe), cI = (e) => YF.test(e), lI = (e) => pI(e, _I), Xfe = (e) => pI(e, vI), uI = (e) => pI(e, mI), Zfe = (e) => pI(e, gI), Qfe = (e) => pI(e, hI), dI = (e) => pI(e, bI, !0), $fe = (e) => pI(e, yI, !0), fI = (e, t, n) => {+ let r = JF.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, hI = (e, t, n = !1) => {- let r = ZF.exec(e);+}, pI = (e, t, n = !1) => {+ let r = YF.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, gI = (e) => e === "position" || e === "percentage", _I = (e) => e === "image" || e === "url", vI = (e) => e === "length" || e === "size" || e === "bg-size", yI = (e) => e === "length", $fe = (e) => e === "number", bI = (e) => e === "family-name", xI = (e) => e === "number" || e === "weight", SI = (e) => e === "shadow", CI = () => {- let e = YF("color"), t = YF("font"), n = YF("text"), r = YF("font-weight"), i = YF("tracking"), a = YF("leading"), o = YF("breakpoint"), s = YF("container"), c = YF("spacing"), l = YF("radius"), u = YF("shadow"), d = YF("inset-shadow"), f = YF("text-shadow"), p = YF("drop-shadow"), m = YF("blur"), h = YF("perspective"), g = YF("aspect"), _ = YF("ease"), v = YF("animate"), y = () => [+}, mI = (e) => e === "position" || e === "percentage", hI = (e) => e === "image" || e === "url", gI = (e) => e === "length" || e === "size" || e === "bg-size", _I = (e) => e === "length", epe = (e) => e === "number", vI = (e) => e === "family-name", yI = (e) => e === "number" || e === "weight", bI = (e) => e === "shadow", xI = () => {+ let e = qF("color"), t = qF("font"), n = qF("text"), r = qF("font-weight"), i = qF("tracking"), a = qF("leading"), o = qF("breakpoint"), s = qF("container"), c = qF("spacing"), l = qF("radius"), u = qF("shadow"), d = qF("inset-shadow"), f = qF("text-shadow"), p = qF("drop-shadow"), m = qF("blur"), h = qF("perspective"), g = qF("aspect"), _ = qF("ease"), v = qF("animate"), y = () => ["auto","avoid","all",@@ -35624,8 +35624,8 @@ var ffe = (e, t) => {"left-bottom"], x = () => [...b(),- uI,- aI+ cI,+ rI], S = () => ["auto","hidden",@@ -35637,43 +35637,43 @@ var ffe = (e, t) => {"contain","none"], w = () => [- uI,- aI,+ cI,+ rI,c], T = () => [- QF,+ XF,"full","auto",...w()], E = () => [- eI,+ QF,"none","subgrid",- uI,- aI+ cI,+ rI], D = () => ["auto",{ span: ["full",- eI,- uI,- aI+ QF,+ cI,+ rI] },- eI,- uI,- aI+ QF,+ cI,+ rI], O = () => [- eI,+ QF,"auto",- uI,- aI+ cI,+ rI], k = () => ["auto","min","max","fr",- uI,- aI+ cI,+ rI], A = () => ["start","end",@@ -35693,7 +35693,7 @@ var ffe = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], ee = () => [- QF,+ XF,"auto","full","dvw",@@ -35708,7 +35708,7 @@ var ffe = (e, t) => {...w()], N = () => [s,- QF,+ XF,"screen","full","dvw",@@ -35719,7 +35719,7 @@ var ffe = (e, t) => {"fit",...w()], te = () => [- QF,+ XF,"screen","full","lh",@@ -35732,13 +35732,13 @@ var ffe = (e, t) => {...w()], P = () => [e,- uI,- aI+ cI,+ rI], ne = () => [...b(),- fI,- cI,- { position: [uI, aI] }+ uI,+ oI,+ { position: [cI, rI] }], re = () => ["no-repeat", { repeat: ["","x",@@ -35749,25 +35749,25 @@ var ffe = (e, t) => {"auto","cover","contain",- Xfe,- Gfe,- { size: [uI, aI] }+ Zfe,+ Kfe,+ { size: [cI, rI] }], I = () => [- tI,- dI,- oI+ $F,+ lI,+ iI], ie = () => ["","none","full",l,- uI,- aI+ cI,+ rI], ae = () => ["",- $F,- dI,- oI+ ZF,+ lI,+ iI], oe = () => ["solid","dashed",@@ -35791,32 +35791,32 @@ var ffe = (e, t) => {"color","luminosity"], ce = () => [+ ZF,$F,- tI,- fI,- cI+ uI,+ oI], le = () => ["","none",m,- uI,- aI+ cI,+ rI], ue = () => ["none",- $F,- uI,- aI+ ZF,+ cI,+ rI], de = () => ["none",- $F,- uI,- aI+ ZF,+ cI,+ rI], fe = () => [- $F,- uI,- aI+ ZF,+ cI,+ rI], pe = () => [- QF,+ XF,"full",...w()];@@ -35830,17 +35830,17 @@ var ffe = (e, t) => {"bounce"],aspect: ["video"],- blur: [nI],- breakpoint: [nI],- color: [rI],- container: [nI],- "drop-shadow": [nI],+ blur: [eI],+ breakpoint: [eI],+ color: [tI],+ container: [eI],+ "drop-shadow": [eI],ease: ["in","out","in-out"],- font: [Ufe],+ font: [Wfe],"font-weight": ["thin","extralight",@@ -35852,7 +35852,7 @@ var ffe = (e, t) => {"extrabold","black"],- "inset-shadow": [nI],+ "inset-shadow": [eI],leading: ["none","tight",@@ -35869,11 +35869,11 @@ var ffe = (e, t) => {"distant","none"],- radius: [nI],- shadow: [nI],- spacing: ["px", $F],- text: [nI],- "text-shadow": [nI],+ radius: [eI],+ shadow: [eI],+ spacing: ["px", ZF],+ text: [eI],+ "text-shadow": [eI],tracking: ["tighter","tight",@@ -35887,9 +35887,9 @@ var ffe = (e, t) => {aspect: [{ aspect: ["auto","square",- QF,- aI,- uI,+ XF,+ rI,+ cI,g] }],container: ["container"],@@ -35897,15 +35897,15 @@ var ffe = (e, t) => {"","normal","size",- uI,- aI+ cI,+ rI] }],- "container-named": [Wfe],+ "container-named": [Gfe],columns: [{ columns: [- $F,+ ZF,"auto",- aI,- uI,+ rI,+ cI,s] }],"break-after": [{ "break-after": y() }],@@ -36002,13 +36002,13 @@ var ffe = (e, t) => {"collapse"],z: [{ z: [- eI,+ QF,"auto",- uI,- aI+ cI,+ rI] }],basis: [{ basis: [- QF,+ XF,"full","auto",s,@@ -36026,32 +36026,32 @@ var ffe = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- $F,- QF,+ ZF,+ XF,"auto","initial","none",- aI+ rI] }],grow: [{ grow: ["",- $F,- uI,- aI+ ZF,+ cI,+ rI] }],shrink: [{ shrink: ["",- $F,- uI,- aI+ ZF,+ cI,+ rI] }],order: [{ order: [- eI,+ QF,"first","last","none",- uI,- aI+ cI,+ rI] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -36158,15 +36158,15 @@ var ffe = (e, t) => {"font-size": [{ text: ["base",n,- dI,- oI+ lI,+ iI] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Qfe,- Kfe+ $fe,+ qfe] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -36178,15 +36178,15 @@ var ffe = (e, t) => {"expanded","extra-expanded","ultra-expanded",- tI,- aI+ $F,+ rI] }],"font-family": [{ font: [- Yfe,- qfe,+ Xfe,+ Jfe,t] }],- "font-features": [{ "font-features": [aI] }],+ "font-features": [{ "font-features": [rI] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -36195,14 +36195,14 @@ var ffe = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- uI,- aI+ cI,+ rI] }],"line-clamp": [{ "line-clamp": [- $F,+ ZF,"none",- uI,- sI+ cI,+ aI] }],leading: [{ leading: ["none",@@ -36211,16 +36211,16 @@ var ffe = (e, t) => {] }],"list-image": [{ "list-image": ["none",- uI,- aI+ cI,+ rI] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- uI,- aI+ cI,+ rI] }],"text-alignment": [{ text: ["left",@@ -36240,18 +36240,18 @@ var ffe = (e, t) => {],"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- $F,+ ZF,"from-font","auto",- uI,- oI+ cI,+ iI] }],"text-decoration-color": [{ decoration: P() }],"underline-offset": [{ "underline-offset": [- $F,+ ZF,"auto",- uI,- aI+ cI,+ rI] }],"text-transform": ["uppercase",@@ -36272,9 +36272,9 @@ var ffe = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- eI,- uI,- aI+ QF,+ cI,+ rI] }],"vertical-align": [{ align: ["baseline",@@ -36285,8 +36285,8 @@ var ffe = (e, t) => {"text-bottom","sub","super",- uI,- aI+ cI,+ rI] }],whitespace: [{ whitespace: ["normal",@@ -36314,8 +36314,8 @@ var ffe = (e, t) => {] }],content: [{ content: ["none",- uI,- aI+ cI,+ rI] }],"bg-attachment": [{ bg: ["fixed",@@ -36350,24 +36350,24 @@ var ffe = (e, t) => {"l","tl"] },- eI,- uI,- aI+ QF,+ cI,+ rI],radial: ["",- uI,- aI+ cI,+ rI],conic: ["",- eI,- uI,- aI+ QF,+ cI,+ rI]},- Zfe,- Jfe+ Qfe,+ Yfe] }],"bg-color": [{ bg: P() }],"gradient-from-pos": [{ from: I() }],@@ -36434,15 +36434,15 @@ var ffe = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"outline-w": [{ outline: ["",- $F,- dI,- oI+ ZF,+ lI,+ iI] }],"outline-color": [{ outline: P() }],shadow: [{ shadow: [@@ -36450,35 +36450,35 @@ var ffe = (e, t) => {"inner","none",u,- pI,- lI+ dI,+ sI] }],"shadow-color": [{ shadow: P() }],"inset-shadow": [{ "inset-shadow": ["none",d,- pI,- lI+ dI,+ sI] }],"inset-shadow-color": [{ "inset-shadow": P() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: P() }],- "ring-offset-w": [{ "ring-offset": [$F, oI] }],+ "ring-offset-w": [{ "ring-offset": [ZF, iI] }],"ring-offset-color": [{ "ring-offset": P() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": P() }],"text-shadow": [{ "text-shadow": ["none",f,- pI,- lI+ dI,+ sI] }],"text-shadow-color": [{ "text-shadow": P() }],opacity: [{ opacity: [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"mix-blend": [{ "mix-blend": [...se(),@@ -36500,7 +36500,7 @@ var ffe = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [$F] }],+ "mask-image-linear-pos": [{ "mask-linear": [ZF] }],"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": P() }],@@ -36529,7 +36529,7 @@ var ffe = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": ce() }],"mask-image-y-from-color": [{ "mask-y-from": P() }],"mask-image-y-to-color": [{ "mask-y-to": P() }],- "mask-image-radial": [{ "mask-radial": [uI, aI] }],+ "mask-image-radial": [{ "mask-radial": [cI, rI] }],"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": P() }],@@ -36540,7 +36540,7 @@ var ffe = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [$F] }],+ "mask-image-conic-pos": [{ "mask-conic": [ZF] }],"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": P() }],@@ -36564,111 +36564,111 @@ var ffe = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- uI,- aI+ cI,+ rI] }],filter: [{ filter: ["","none",- uI,- aI+ cI,+ rI] }],blur: [{ blur: le() }],brightness: [{ brightness: [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],contrast: [{ contrast: [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- pI,- lI+ dI,+ sI] }],"drop-shadow-color": [{ "drop-shadow": P() }],grayscale: [{ grayscale: ["",- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"hue-rotate": [{ "hue-rotate": [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],invert: [{ invert: ["",- $F,- uI,- aI+ ZF,+ cI,+ rI] }],saturate: [{ saturate: [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],sepia: [{ sepia: ["",- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- uI,- aI+ cI,+ rI] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"backdrop-contrast": [{ "backdrop-contrast": [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"backdrop-invert": [{ "backdrop-invert": ["",- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"backdrop-opacity": [{ "backdrop-opacity": [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"backdrop-saturate": [{ "backdrop-saturate": [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- $F,- uI,- aI+ ZF,+ cI,+ rI] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -36684,39 +36684,39 @@ var ffe = (e, t) => {"shadow","transform","none",- uI,- aI+ cI,+ rI] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- $F,+ ZF,"initial",- uI,- aI+ cI,+ rI] }],ease: [{ ease: ["linear","initial",_,- uI,- aI+ cI,+ rI] }],delay: [{ delay: [- $F,- uI,- aI+ ZF,+ cI,+ rI] }],animate: [{ animate: ["none",v,- uI,- aI+ cI,+ rI] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- uI,- aI+ cI,+ rI] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: ue() }],@@ -36732,8 +36732,8 @@ var ffe = (e, t) => {"skew-x": [{ "skew-x": fe() }],"skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- uI,- aI,+ cI,+ rI,"","none","gpu",@@ -36747,9 +36747,9 @@ var ffe = (e, t) => {"translate-z": [{ "translate-z": pe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- eI,- uI,- aI+ QF,+ cI,+ rI] }],accent: [{ accent: P() }],appearance: [{ appearance: ["none", "auto"] }],@@ -36799,8 +36799,8 @@ var ffe = (e, t) => {"nwse-resize","zoom-in","zoom-out",- uI,- aI+ cI,+ rI] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -36886,15 +36886,15 @@ var ffe = (e, t) => {"scroll","contents","transform",- uI,- aI+ cI,+ rI] }],fill: [{ fill: ["none", ...P()] }],"stroke-w": [{ stroke: [- $F,- dI,- oI,- sI+ ZF,+ lI,+ iI,+ aI] }],stroke: [{ stroke: ["none", ...P()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -37152,16 +37152,16 @@ var ffe = (e, t) => {"selection"]};-}, epe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (wI(e, "cacheSize", t), wI(e, "prefix", n), wI(e, "experimentalParseClassName", r), TI(e.theme, a.theme), TI(e.classGroups, a.classGroups), TI(e.conflictingClassGroups, a.conflictingClassGroups), TI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), wI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), wI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), EI(e.theme, i.theme), EI(e.classGroups, i.classGroups), EI(e.conflictingClassGroups, i.conflictingClassGroups), EI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), DI(e, i, "postfixLookupClassGroups"), DI(e, i, "orderSensitiveModifiers"), e), wI = (e, t, n) => {+}, tpe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (SI(e, "cacheSize", t), SI(e, "prefix", n), SI(e, "experimentalParseClassName", r), CI(e.theme, a.theme), CI(e.classGroups, a.classGroups), CI(e.conflictingClassGroups, a.conflictingClassGroups), CI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), SI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), SI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), wI(e.theme, i.theme), wI(e.classGroups, i.classGroups), wI(e.conflictingClassGroups, i.conflictingClassGroups), wI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), TI(e, i, "postfixLookupClassGroups"), TI(e, i, "orderSensitiveModifiers"), e), SI = (e, t, n) => {n !== void 0 && (e[t] = n);-}, TI = (e, t) => {- if (t) for (let n in t) wI(e, n, t[n]);-}, EI = (e, t) => {- if (t) for (let n in t) DI(e, t, n);-}, DI = (e, t, n) => {+}, CI = (e, t) => {+ if (t) for (let n in t) SI(e, n, t[n]);+}, wI = (e, t) => {+ if (t) for (let n in t) TI(e, t, n);+}, TI = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, tpe = (e, ...t) => typeof e == "function" ? JF(CI, e, ...t) : JF(() => epe(CI(), e), ...t), npe = [+}, npe = (e, ...t) => typeof e == "function" ? KF(xI, e, ...t) : KF(() => tpe(xI(), e), ...t), rpe = ["large-title","display-1","display-2",@@ -37175,17 +37175,17 @@ var ffe = (e, t) => {"body-2","caption-1","caption-2"-], rpe = [+], ipe = ["regular","medium","semibold","bold"-], q = tpe({ extend: { classGroups: { "font-size": [{ text: npe.flatMap((e) => rpe.map((t) => `${e}-${t}`)) }] } } });-function OI(e) {+], J = npe({ extend: { classGroups: { "font-size": [{ text: rpe.flatMap((e) => ipe.map((t) => `${e}-${t}`)) }] } } });+function EI(e) {return e;}// src/react/components/pill-tab.tsx-var ipe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, kI = OI({+var ape = typeof window < "u" ? F.useLayoutEffect : F.useEffect, DI = EI({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -37207,9 +37207,9 @@ var ipe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, kI = OI({gray: "text-text-primary"}});-function AI({ children: e, className: t, ref: n, container: r, ...i }) {+function OI({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);- ipe(() => {+ ape(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -37245,7 +37245,7 @@ function AI({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: q("pointer-events-none absolute left-0 top-0", kI.radius[o.variant], kI.thumb[o.variant]),+ className: J("pointer-events-none absolute left-0 top-0", DI.radius[o.variant], DI.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -37256,43 +37256,43 @@ function AI({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {ref: c,role: "group",- className: q("relative inline-flex items-center gap-1", t),+ className: J("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, Rt.createPortal)(l, r) : null;}// src/react/manage-header/manage-header-island.tsx-var jI = null, MI = null, NI = /* @__PURE__ */ new Set();-function ape(e) {- return NI.add(e), () => {- NI.delete(e);+var kI = null, AI = null, jI = /* @__PURE__ */ new Set();+function ope(e) {+ return jI.add(e), () => {+ jI.delete(e);};}-function ope() {- for (let e of [...NI]) e();+function spe() {+ for (let e of [...jI]) e();}-var spe = { render(e) {- MI = e, (0, Rt.flushSync)(ope);+var cpe = { render(e) {+ AI = e, (0, Rt.flushSync)(spe);} };-function cpe(e) {- return jI = e, MI = null, spe;+function lpe(e) {+ return kI = e, AI = null, cpe;}-function lpe() {- let e = (0, F.useSyncExternalStore)(ape, () => MI);- return jI && e ? /* @__PURE__ */ (0, I.jsx)(upe, {- host: jI,+function upe() {+ let e = (0, F.useSyncExternalStore)(ope, () => AI);+ return kI && e ? /* @__PURE__ */ (0, I.jsx)(dpe, {+ host: kI,props: e}) : null;}-function upe({ host: e, props: t }) {- let n = NF(t);+function dpe({ host: e, props: t }) {+ let n = jF(t);return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(dpe, {+ /* @__PURE__ */ (0, I.jsx)(fpe, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, I.jsx)(fpe, {+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(ppe, {host: e,label: n.crumb}) : null,@@ -37301,13 +37301,13 @@ function upe({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(ppe, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(mpe, {host: e,lede: n.lede})] }) : null;}-function dpe({ host: e, pressed: t, menu: n }) {+function fpe({ host: e, pressed: t, menu: n }) {let r = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -37317,7 +37317,7 @@ function dpe({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, I.jsx)(AI, {+ children: /* @__PURE__ */ (0, I.jsx)(OI, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -37331,13 +37331,13 @@ function dpe({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, I.jsx)(LF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, I.jsx)(FF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]}, n);})})});}-function fpe({ host: e, label: t }) {+function ppe({ host: e, label: t }) {return /* @__PURE__ */ (0, I.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -37347,20 +37347,20 @@ function fpe({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {+ }), /* @__PURE__ */ (0, I.jsx)(FF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, I.jsx)("span", { children: t })})] })});}-function ppe({ host: e, lede: t }) {+function mpe({ host: e, lede: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: IF }- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(mpe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {+ dangerouslySetInnerHTML: { __html: PF }+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(hpe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -37370,7 +37370,7 @@ function ppe({ host: e, lede: t }) {}) : null] })});}-function mpe({ text: e }) {+function hpe({ text: e }) {let t = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {Xs(t.current, e);@@ -37380,29 +37380,29 @@ function mpe({ text: e }) {});}// src/core/text-lang.ts-var hpe = /[-ヿㇰ-ㇿヲ-゚]/, gpe = /[㐀-鿿豈-]/, _pe = /[A-Za-z]/;-function PI(e) {+var gpe = /[-ヿㇰ-ㇿヲ-゚]/, _pe = /[㐀-鿿豈-]/, vpe = /[A-Za-z]/;+function MI(e) {let t = String(e ?? "");- if (hpe.test(t)) return "ja";- if (!gpe.test(t) && _pe.test(t)) return "en";+ if (gpe.test(t)) return "ja";+ if (!_pe.test(t) && vpe.test(t)) return "en";}-var vpe = (e) => {- let t = PI(e);+var ype = (e) => {+ let t = MI(e);return t ? ` lang="${t}"` : "";-}, ype = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, bpe = (e, t = e?.name) => {+}, bpe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, xpe = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(ype, "") : n;-}, xpe = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Spe = (e) => {+ return e?.is_jav ? n.replace(bpe, "") : n;+}, Spe = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Cpe = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(xpe) || t[0] || "";+ return t.find(Spe) || t[0] || "";};-function FI(e, t = e?.name) {- let n = bpe(e, t), r = String(e?.code || "").trim().toUpperCase();+function NI(e, t = e?.name) {+ let n = xpe(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 = Spe(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 = Cpe(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) => ["中字","无码","无码流出",@@ -37414,23 +37414,23 @@ function FI(e, t = e?.name) {badges: f};}-var II = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = FI(e, t);+var PI = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = NI(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function LI(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = FI(e, t);+function FI(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = NI(e, t);if (!n) return z(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码流出" ? "leaked" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");- return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${vpe(r)}>${z(r)}</span>` : ""}`;+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${ype(r)}>${z(r)}</span>` : ""}`;}// src/react/activity/tasks.ts-var RI = "/api/tasks", zI = ["tasks"];-function Cpe(e, t) {+var II = "/api/tasks", LI = ["tasks"];+function wpe(e, t) {let n = 0, r = 0, i = 0, a = 0;for (let o of t) for (let [t, s] of Object.entries(e?.[String(o.id)] || {})) n += s, (t === "pending" || t === "running") && (r += s), (t === "failed" || t === "interrupted") && (i += s), t === "cancelled" && (a += s);return {@@ -37441,7 +37441,7 @@ function Cpe(e, t) {settled: n - r};}-function wpe(e, t = () => "") {+function Tpe(e, t = () => "") {let n = /* @__PURE__ */ new Map();for (let r of e) {let e = `${r.task_key}\u0000${t(r)}`, i = n.get(e);@@ -37452,29 +37452,29 @@ function wpe(e, t = () => "") {}return [...n.values()];}-var BI = 2e3, VI = 1e4, Tpe = (e) => e?.running?.length ? BI : VI, HI = (e, t = 1, n = 20) => B(t === 1 && n === 20 ? RI : `${RI}?page=${t}&limit=${n}`, e), Epe = ["result-updates"], Dpe = (e) => B("/api/result-updates", e), Ope = (e, t, n) => V(`${RI}/${e}/control`, { action: t }, "POST", n), kpe = (e, t) => V(`${RI}/${e}/control`, {+var RI = 2e3, zI = 1e4, Epe = (e) => e?.running?.length ? RI : zI, BI = (e, t = 1, n = 20) => B(t === 1 && n === 20 ? II : `${II}?page=${t}&limit=${n}`, e), Dpe = ["result-updates"], Ope = (e) => B("/api/result-updates", e), kpe = (e, t, n) => V(`${II}/${e}/control`, { action: t }, "POST", n), Ape = (e, t) => V(`${II}/${e}/control`, {action: "set_speed",speed_mode: t}, "POST");-async function Ape(e) {+async function jpe(e) {await H.fetchQuery({- queryKey: zI,- queryFn: () => HI(e)+ queryKey: LI,+ queryFn: () => BI(e)});}-var jpe = {+var Mpe = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Mpe = {+}, Npe = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, Npe = (e) => Mpe[e] || e, UI = {+}, Ppe = (e) => Npe[e] || e, VI = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -37551,7 +37551,7 @@ var jpe = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, Ppe = [+}, Fpe = ["gone_count","unclear_count","source_failed",@@ -37573,14 +37573,14 @@ var jpe = {"paused_count","miss","incomplete"-], Fpe = ["face_match_unavailable"], WI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Fpe.some((t) => e.result_summary?.[t] === !0) || Ppe.some((t) => Number(e.result_summary?.[t]) > 0);-function Ipe(e) {+], Ipe = ["face_match_unavailable"], HI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Ipe.some((t) => e.result_summary?.[t] === !0) || Fpe.some((t) => Number(e.result_summary?.[t]) > 0);+function Lpe(e) {let t = e.result_summary?.issues;return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];}-var GI = /* @__PURE__ */ new Set(["library-processing"]);-function Lpe(e, t = !0) {- if (!WI(e) && e.status !== "failed" || GI.has(e.task_key) && !t) return null;+var UI = /* @__PURE__ */ new Set(["library-processing"]);+function Rpe(e, t = !0) {+ if (!HI(e) && e.status !== "failed" || UI.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -37598,19 +37598,19 @@ function Lpe(e, t = !0) {label: n[1]} : null;}-function Rpe(e) {+function zpe(e) {let t = e.result_summary?.asset_id, n = e.result_summary?.name;return typeof t == "number" && Number.isInteger(t) && t > 0 && typeof n == "string" && n ? {href: `/assets/${t}`,label: n} : null;}-function zpe(e) {+function Bpe(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) GI.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);+ for (let n of e) UI.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 Bpe(e) {+function Vpe(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -37619,7 +37619,7 @@ function Bpe(e) {}return t;}-function Vpe(e, t) {+function Hpe(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -37641,12 +37641,12 @@ function Vpe(e, t) {}return n;}-var Hpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !WI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), KI = (e) => e.status === "pending" || e.status === "running";-function Upe(e) {+var Upe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !HI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), WI = (e) => e.status === "pending" || e.status === "running";+function Wpe(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};- return [r, YI(e.error) || Xpe(o) || (KI(e) && i > 0 ? `${JI(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, qI(e.error) || Zpe(o) || (WI(e) && i > 0 ? `${KI(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function qI(e) {+function GI(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -37655,19 +37655,19 @@ function qI(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function JI(e, t) {+function KI(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function Wpe(e) {+function Gpe(e) {let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";}-function YI(e) {- let t = Wpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function qI(e) {+ let t = Gpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? xn(n[1]) : t;}-var Gpe = {+var Kpe = {partial: "处理已结束,部分项目需处理",complete: "处理完成",interrupted: "处理已中断",@@ -37685,11 +37685,11 @@ var Gpe = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, XI = {+}, JI = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, Kpe = {+}, qpe = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -37700,8 +37700,8 @@ var Gpe = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, qpe = (e) => Gpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${XI[t.toLowerCase()]} 资料页` : `已保存来自 ${XI[t.toLowerCase()]} 的资料`);-function ZI(e) {+}, Jpe = (e) => Kpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${JI[t.toLowerCase()]} 资料页` : `已保存来自 ${JI[t.toLowerCase()]} 的资料`);+function YI(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -37711,7 +37711,7 @@ function ZI(e) {minute: "2-digit"});}-var Jpe = /* @__PURE__ */ new Set([+var Ype = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -37720,20 +37720,20 @@ var Jpe = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function QI(e) {- let t = Ype(e);+function XI(e) {+ let t = Xpe(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function Ype(e) {- return Object.entries(e || {}).filter(([e, t]) => !Jpe.has(e) && (e in UI || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? YI(String(t)) : e === "outcome" || e === "result" ? qpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${UI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${Kpe[String(t)] || "批量操作"}` : `${UI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function Xpe(e) {+ return Object.entries(e || {}).filter(([e, t]) => !Ype.has(e) && (e in VI || 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" ? qI(String(t)) : e === "outcome" || e === "result" ? Jpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${VI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${qpe[String(t)] || "批量操作"}` : `${VI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var Xpe = (e) => QI(e).join(" · ");+var Zpe = (e) => XI(e).join(" · ");// src/react/use-entity-names.ts-function $I() {+function ZI() {return (0, F.useSyncExternalStore)(Yt, Jt, Jt);}// src/react/components/async-text.tsx-function eL({ text: e, busy: t, placeholder: n }) {+function QI({ text: e, busy: t, placeholder: n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(e), a = e ?? i.current;return (0, F.useLayoutEffect)(() => {e === void 0 ? a === void 0 && hc(r.current) : i.current = e;@@ -37754,7 +37754,7 @@ function eL({ text: e, busy: t, placeholder: n }) {});}// src/react/boardui/components/base/buttons/icon-button.tsx-var tL = OI({+var $I = EI({base: "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs select-none cursor-pointer transition-[background-color,border-color,box-shadow,color] duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring hover:bg-background-primary-hover hover:border-border-button-hover active:bg-background-primary-active active:border-border-button-active disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none",size: {medium: "size-9",@@ -37765,20 +37765,20 @@ var tL = OI({small: "size-4 shrink-0"}});-function nL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function eL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, I.jsx)("button", {ref: i,type: r,- className: q(tL.base, tL.size[t], n),+ className: J($I.base, $I.size[t], n),...a,children: /* @__PURE__ */ (0, I.jsx)(e, {- className: tL.icon[t],+ className: $I.icon[t],"aria-hidden": !0})});}// src/react/components/glass-drift.tsx-function rL() {+function tL() {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -37792,7 +37792,7 @@ function rL() {});}// src/react/components/use-stuck.ts-function iL(e) {+function nL(e) {(0, F.useEffect)(() => {let t = e.current;if (!t) return;@@ -37809,7 +37809,7 @@ function iL(e) {}, [e]);}// src/react/components/use-horizontal-scroller.ts-function aL(e, t = !0) {+function rL(e, t = !0) {let [n, r] = (0, F.useState)(null), i = (0, F.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -37823,17 +37823,17 @@ function aL(e, t = !0) {}, [n, t]), i;}// src/react/components/filter-glass.tsx-var Zpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var Qpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: Hs("正在处理") }});-function oL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(nL, {+function iL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(eL, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? Zpe : t,+ icon: n && r === "spinner" ? Qpe : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -37843,9 +37843,9 @@ function oL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function Qpe({ title: e, children: t }) {+function $pe({ title: e, children: t }) {let n = (0, F.useRef)(null);- return iL(n), /* @__PURE__ */ (0, I.jsxs)("div", {+ return nL(n), /* @__PURE__ */ (0, I.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -37858,20 +37858,20 @@ function Qpe({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, I.jsx)(rL, {})+ /* @__PURE__ */ (0, I.jsx)(tL, {})]});}-function sL({ 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, F.useRef)(null), f = aL(), p = aL(u);- return iL(d), /* @__PURE__ */ (0, I.jsxs)("div", {+function aL({ 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, F.useRef)(null), f = rL(), p = rL(u);+ return nL(d), /* @__PURE__ */ (0, I.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: q("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: J("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, I.jsx)("div", {@@ -37879,37 +37879,37 @@ function sL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: q("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: J("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, I.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: q("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: J("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, I.jsx)(rL, {})+ /* @__PURE__ */ (0, I.jsx)(tL, {})]});}-var $pe = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";-function cL({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var eme = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";+function oL({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: q($pe, r),+ className: J(eme, r),onClick: n,children: e});}-var eme = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";-function lL({ children: e, onPress: t, busy: n = !1 }) {+var tme = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";+function sL({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glass-pill": "",- className: eme,+ className: tme,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -37919,13 +37919,13 @@ function lL({ children: e, onPress: t, busy: n = !1 }) {});}// src/react/components/use-view-glide.ts-var uL = (e, t) => [+var cL = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function dL(e, t, n) {+function lL(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;@@ -37949,17 +37949,17 @@ function dL(e, t, n) {h: e.offsetHeight};}-function fL(e, t, n, r, { axis: i = "x" } = {}) {+function uL(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, F.useRef)(null), o = (0, F.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 ? dL(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? lL(u, l, i) : null;if (!d || !d.w || !d.h) {Jc(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && uL(f, d)) && Kc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && cL(f, d)) && Kc(s, o ? f : null, d, i);}, [e,t,@@ -37980,8 +37980,8 @@ function fL(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 ? dL(o, r, i) : null, l = a.current;- s && l && uL(s, l) || c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? lL(o, r, i) : null, l = a.current;+ s && l && cL(s, l) || c();}), u = t.current;if (u && r) {l.observe(u);@@ -38012,7 +38012,7 @@ function fL(e, t, n, r, { axis: i = "x" } = {}) {};}// src/react/boardui/components/base/buttons/button.tsx-var pL = OI({+var dL = EI({base: "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans select-none cursor-pointer button-press-motion outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",size: {medium: "h-9 rounded-2lg p-2 text-body-medium",@@ -38041,56 +38041,56 @@ var pL = OI({ghost: "bg-button-ghost-background text-button-ghost-foreground hover:bg-button-ghost-hover active:bg-button-ghost-active disabled:bg-button-ghost-disabled disabled:text-button-ghost-disabled-foreground disabled:shadow-none aria-disabled:bg-button-ghost-disabled aria-disabled:text-button-ghost-disabled-foreground aria-disabled:shadow-none"}});-function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {+function Y({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {return /* @__PURE__ */ (0, I.jsxs)("button", {ref: c,type: s,- className: q(pL.base, pL.size[t], pL.variant[e], n && pL.iconOnlySize[t], o),+ className: J(dL.base, dL.size[t], dL.variant[e], n && dL.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: pL.icon[t],+ className: dL.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: pL.label[t],+ className: dL.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {- className: pL.icon[t],+ className: dL.icon[t],"aria-hidden": !0}) : null]});}-function mL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function fL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, I.jsxs)("a", {ref: s,- className: q(pL.base, pL.size[t], pL.variant[e], n && pL.iconOnlySize[t], o),+ className: J(dL.base, dL.size[t], dL.variant[e], n && dL.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: pL.icon[t],+ className: dL.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: pL.label[t],+ className: dL.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {- className: pL.icon[t],+ className: dL.icon[t],"aria-hidden": !0}) : null]});}// node_modules/react-aria-components/dist/private/utils.mjs-var hL = Symbol("default");-function gL({ values: e, children: t }) {+var pL = Symbol("default");+function mL({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);return t;}-function _L(e) {+function hL(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, F.useMemo)(() => {let e, l, u;@@ -38124,11 +38124,11 @@ function _L(e) {c]);}-function vL(e, t) {+function gL(e, t) {let n = (0, F.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || hL;+ let e = t || pL;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}.`);@@ -38137,8 +38137,8 @@ function vL(e, t) {}return n;}-function yL(e, t, n) {- let { ref: r, ...i } = vL(n, e.slot) || {}, a = ZC((0, F.useMemo)(() => HC(t, r), [t, r])), o = K(i, e);+function _L(e, t, n) {+ let { ref: r, ...i } = gL(n, e.slot) || {}, a = XC((0, F.useMemo)(() => VC(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,@@ -38156,42 +38156,42 @@ function yL(e, t, n) {...e.style}), [o, a];}-function bL(e = !0) {+function vL(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return BS(() => {+ return zS(() => {r.current || n(!1);}, []), [i, t];}-function xL(e) {+function yL(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function tme(e, t, n) {- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => HC(n, a), [n, a]);- BS(() => {}, [e, r]);+function nme(e, t, n) {+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => VC(n, a), [n, a]);+ zS(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);}-var SL = {}, CL = new Proxy({}, { get(e, t) {+var bL = {}, xL = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = SL[t];- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(tme.bind(null, t)), SL[t] = n), n;-} }), wL = /*#__PURE__*/ (0, F.createContext)(null), TL = /*#__PURE__*/ (0, F.createContext)(null), EL = /*#__PURE__*/ (0, F.createContext)(null), DL = {+ let n = bL[t];+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(nme.bind(null, t)), bL[t] = n), n;+} }), SL = /*#__PURE__*/ (0, F.createContext)(null), CL = /*#__PURE__*/ (0, F.createContext)(null), wL = /*#__PURE__*/ (0, F.createContext)(null), TL = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return OL(e, null, t);+ return EL(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return OL(e, t, n);+ return EL(e, t, n);}};-function OL(e, t, n) {- return SS({+function EL(e, t, n) {+ return xS({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -38201,11 +38201,11 @@ function OL(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, nme(e, t, n));+ }), r, rme(e, t, n));}});}-function nme(e, t, n) {+function rme(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);@@ -38224,24 +38224,24 @@ function nme(e, t, n) {}return s;}-var kL = /*#__PURE__*/ (0, F.createContext)(DL);-function AL(e) {+var DL = /*#__PURE__*/ (0, F.createContext)(TL);+function OL(e) {return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var jL = /*#__PURE__*/ (0, F.createContext)({}), ML = /*#__PURE__*/ nw(function(e, t) {- [e, t] = yL(e, t, jL);- let { elementType: n = "label", ...r } = e, i = CL[n];+var kL = /*#__PURE__*/ (0, F.createContext)({}), AL = /*#__PURE__*/ tw(function(e, t) {+ [e, t] = _L(e, t, kL);+ let { elementType: n = "label", ...r } = e, i = xL[n];return /*#__PURE__*/ F.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), rme = /*#__PURE__*/ (0, F.createContext)(null), NL = /*#__PURE__*/ (0, F.createContext)({}), PL = /*#__PURE__*/ nw(function(e, t) {- [e, t] = yL(e, t, NL);+}), ime = /*#__PURE__*/ (0, F.createContext)(null), jL = /*#__PURE__*/ (0, F.createContext)({}), ML = /*#__PURE__*/ tw(function(e, t) {+ [e, t] = _L(e, t, jL);let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Zoe(e, t);- i = ame(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = AD(e), { hoverProps: l, isHovered: u } = PD({+ i = ome(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = kD(e), { hoverProps: l, isHovered: u } = ND({...e,isDisabled: e.isDisabled || r}), d = {@@ -38251,25 +38251,25 @@ var jL = /*#__PURE__*/ (0, F.createContext)({}), ML = /*#__PURE__*/ nw(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = _L({+ }, f = hL({...e,values: d,defaultClassName: "react-aria-Button"- }), p = BC(i.id), m = BC(), h = i["aria-labelledby"];+ }), p = zC(i.id), m = zC(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, F.useRef)(r);(0, F.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && jT(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && AT(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = Ww(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ F.createElement(CL.button, {- ...K(_, f, i, o, l),+ let _ = Uw(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ F.createElement(xL.button, {+ ...q(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,ref: t,@@ -38282,61 +38282,61 @@ var jL = /*#__PURE__*/ (0, F.createContext)({}), ML = /*#__PURE__*/ nw(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ F.createElement(rme.Provider, { value: { id: m } }, f.children));-}), ime = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function ame(e, t) {+ }, /*#__PURE__*/ F.createElement(ime.Provider, { value: { id: m } }, f.children));+}), ame = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function ome(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !ime.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !ame.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}// node_modules/react-aria-components/dist/private/Heading.mjs-var FL = /*#__PURE__*/ (0, F.createContext)({}), IL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, FL);- let { children: n, level: r = 3, className: i, ...a } = e, o = CL[`h${r}`];+var NL = /*#__PURE__*/ (0, F.createContext)({}), PL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, NL);+ let { children: n, level: r = 3, className: i, ...a } = e, o = xL[`h${r}`];return /*#__PURE__*/ F.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), LL = /*#__PURE__*/ (0, F.createContext)({}), ome = /*#__PURE__*/ nw(function(e, t) {- [e, t] = yL(e, t, LL);- let { elementType: n = "span", ...r } = e, i = CL[n];+}), FL = /*#__PURE__*/ (0, F.createContext)({}), sme = /*#__PURE__*/ tw(function(e, t) {+ [e, t] = _L(e, t, FL);+ let { elementType: n = "span", ...r } = e, i = xL[n];return /*#__PURE__*/ F.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), RL = /*#__PURE__*/ (0, F.createContext)(null), zL = /*#__PURE__*/ (0, F.createContext)(null), BL = /*#__PURE__*/ (0, F.createContext)(null), VL = /*#__PURE__*/ (0, F.createContext)(null), sme = /*#__PURE__*/ (0, F.createContext)(null), HL = /*#__PURE__*/ (0, F.createContext)(null);-function cme(e, t) {- let { validationBehavior: n } = vL(zL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(sme), a = ZC((0, F.useMemo)(() => HC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...xL(e),+}), IL = /*#__PURE__*/ (0, F.createContext)(null), LL = /*#__PURE__*/ (0, F.createContext)(null), RL = /*#__PURE__*/ (0, F.createContext)(null), zL = /*#__PURE__*/ (0, F.createContext)(null), cme = /*#__PURE__*/ (0, F.createContext)(null), BL = /*#__PURE__*/ (0, F.createContext)(null);+function lme(e, t) {+ let { validationBehavior: n } = gL(LL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(cme), a = XC((0, F.useMemo)(() => VC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...yL(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? bse(o, i, a) : QT(o, rE(e), a), a];+ return [i ? bse(o, i, a) : ZT(o, nE(e), a), a];}-var lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+var ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = yL(r, t, BL);- let [i, a] = cme(e, n);- return /*#__PURE__*/ F.createElement(HL.Provider, { value: {+ [e, t] = _L(r, t, RL);+ let [i, a] = lme(e, n);+ return /*#__PURE__*/ F.createElement(BL.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ F.createElement(ume, {+ } }, /*#__PURE__*/ F.createElement(dme, {...e,ref: t}));-}), ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(HL), { isFocused: p, isFocusVisible: m, focusProps: h } = AD(), g = a || o, { hoverProps: _, isHovered: v } = PD({+}), dme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(BL), { isFocused: p, isFocusVisible: m, focusProps: h } = kD(), g = a || o, { hoverProps: _, isHovered: v } = ND({...e,isDisabled: g- }), y = _L({+ }), y = hL({...e,defaultClassName: u,values: {@@ -38351,9 +38351,9 @@ var lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = Ww(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(CL.label, {- ...K(b, n, _, y),+ }), b = Uw(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(xL.label, {+ ...q(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -38366,20 +38366,20 @@ var lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ F.createElement(fE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {- ...K(r, h),+ }, /*#__PURE__*/ F.createElement(dE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ ...q(r, h),ref: l})), y.children);-}), UL = /*#__PURE__*/ (0, F.createContext)({}), WL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, UL);+}), VL = /*#__PURE__*/ (0, F.createContext)({}), HL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, VL);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 } = PD({+ let { hoverProps: l, isHovered: u } = ND({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = AD({ within: !0 }), m = _L({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = kD({ within: !0 }), m = hL({...e,values: {isHovered: u,@@ -38390,8 +38390,8 @@ var lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ F.createElement(CL.div, {- ...K(c, p, l),+ return /*#__PURE__*/ F.createElement(xL.div, {+ ...q(c, p, l),...m,ref: t,role: e.role ?? "group",@@ -38403,18 +38403,18 @@ var lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), GL = /*#__PURE__*/ (0, F.createContext)({}), dme = (e) => {+}), UL = /*#__PURE__*/ (0, F.createContext)({}), fme = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, fme = /*#__PURE__*/ nw(function(e, t) {- [e, t] = yL(e, t, GL);- let { hoverProps: n, isHovered: r } = PD({+}, pme = /*#__PURE__*/ tw(function(e, t) {+ [e, t] = _L(e, t, UL);+ let { hoverProps: n, isHovered: r } = ND({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = AD({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = kD({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = _L({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = hL({...e,values: {isHovered: r,@@ -38425,8 +38425,8 @@ var lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ F.createElement(CL.input, {- ...K(dme(e), o, n),+ return /*#__PURE__*/ F.createElement(xL.input, {+ ...q(fme(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -38435,24 +38435,24 @@ var lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), pme = 0, mme = 100, hme = 1;-function gme(e) {- let { isDisabled: t = !1, minValue: n = pme, maxValue: r = mme, numberFormatter: i, step: a = hme, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {+}), mme = 0, hme = 100, gme = 1;+function _me(e) {+ let { isDisabled: t = !1, minValue: n = mme, maxValue: r = hme, numberFormatter: i, step: a = gme, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {let e = (r - n) / 10;- return e = oE(e, 0, e + a, a), Math.max(e, a);+ return e = aE(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, F.useCallback)((e) => e?.map((t, i) => oE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, F.useCallback)((e) => e?.map((t, i) => aE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, F.useMemo)(() => c(qL(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(qL(e.defaultValue) ?? [n]), [+ ]), l = (0, F.useMemo)(() => c(GL(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(GL(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = JL(e.value, e.defaultValue, e.onChange), f = JL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = nE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {+ ]), d = KL(e.value, e.defaultValue, e.onChange), f = KL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = tE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -38475,15 +38475,15 @@ function gme(e) {function A(e, n) {if (t || !O(e)) return;let r = E(e), i = D(e);- n = oE(n, r, i, a);- let o = KL(x.current, e, n);+ n = aE(n, r, i, a);+ let o = WL(x.current, e, n);C(o);}function j(e, n) {if (t || !O(e)) return;n && (x.current = p);let r = S.current[e];- S.current = KL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = WL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let M = (0, F.useRef)(null);function ee(e = p) {@@ -38504,15 +38504,15 @@ function gme(e) {return Math.round((e - n) / a) * a + n;}function P(e) {- return iE(te(e * (r - n) + n), n, r);+ return rE(te(e * (r - n) + n), n, r);}function ne(e, t = 1) {let i = Math.max(t, a);- A(e, oE(p[e] + i, n, r, a));+ A(e, aE(p[e] + i, n, r, a));}function re(e, t = 1) {let i = Math.max(t, a);- A(e, oE(p[e] - i, n, r, a));+ A(e, aE(p[e] - i, n, r, a));}return {values: p,@@ -38541,31 +38541,31 @@ function gme(e) {isDisabled: t};}-function KL(e, t, n) {+function WL(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function qL(e) {+function GL(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function JL(e, t, n) {+function KL(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}// node_modules/react-aria-components/dist/private/Slider.mjs-var _me = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.createContext)(null), XL = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, _me);- let n = (0, F.useRef)(null), r = Tse(e.formatOptions), i = gme({+var vme = /*#__PURE__*/ (0, F.createContext)(null), qL = /*#__PURE__*/ (0, F.createContext)(null), JL = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, vme);+ let n = (0, F.useRef)(null), r = Tse(e.formatOptions), i = _me({...e,numberFormatter: r- }), [a, o] = bL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Ese({+ }), [a, o] = vL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Ese({...e,label: o- }, i, n), d = _L({+ }, i, n), d = hL({...e,values: {orientation: i.orientation,@@ -38573,32 +38573,32 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.crestate: i},defaultClassName: "react-aria-Slider"- }), f = Ww(e, { global: !0 });- return delete f.id, /*#__PURE__*/ F.createElement(gL, { values: [- [YL, i],- [XL, {+ }), f = Uw(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ F.createElement(mL, { values: [+ [qL, i],+ [JL, {...c,ref: n}],- [vme, u],- [jL, {+ [yme, u],+ [kL, {...l,ref: a}]- ] }, /*#__PURE__*/ F.createElement(CL.div, {- ...K(f, d, s),+ ] }, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, XL);- let n = (0, F.useContext)(YL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = PD({+}), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, JL);+ let n = (0, F.useContext)(qL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = ND({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = _L({+ }), l = hL({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -38608,22 +38608,22 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.crestate: n}});- return /*#__PURE__*/ F.createElement(CL.div, {- ...K(o, s),+ return /*#__PURE__*/ F.createElement(xL.div, {+ ...q(o, s),...l,ref: t,"data-hovered": c || void 0,"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, F.useContext)(YL), { ref: i } = vL(XL), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = bL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Dse({+}), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, F.useContext)(qL), { ref: i } = gL(JL), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = vL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Dse({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = AD(), { hoverProps: v, isHovered: y } = PD(e), b = _L({+ }, r), { focusProps: g, isFocusVisible: _ } = kD(), { hoverProps: v, isHovered: y } = ND(e), b = hL({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -38634,9 +38634,9 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.creisFocusVisible: _,isDisabled: h}- }), x = Ww(e, { global: !0 });- return delete x.id, /*#__PURE__*/ F.createElement(CL.div, {- ...K(x, u, v),+ }), x = Uw(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(x, u, v),...b,ref: t,style: {@@ -38648,330 +38648,330 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ F.createElement(fE, null, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(dE, null, /*#__PURE__*/ F.createElement("input", {ref: s,- ...K(d, g)- })), /*#__PURE__*/ F.createElement(gL, { values: [[jL, {+ ...q(d, g)+ })), /*#__PURE__*/ F.createElement(mL, { values: [[kL, {...f,ref: c}]] }, b.children));-}), ZL = {};-ZL = {+}), YL = {};+YL = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",tableResizer: "أداة تغيير الحجم"};// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var QL = {};-QL = {+var XL = {};+XL = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",tableResizer: "Преоразмерител"};// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var $L = {};-$L = {+var ZL = {};+ZL = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",tableResizer: "Změna velikosti"};// node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var eR = {};-eR = {+var QL = {};+QL = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",tableResizer: "Størrelsesændring"};// node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var tR = {};-tR = {+var $L = {};+$L = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",tableResizer: "Größenanpassung"};// node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var nR = {};-nR = {+var eR = {};+eR = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",tableResizer: "Αλλαγή μεγέθους"};// node_modules/react-aria-components/dist/private/intl/en-US.mjs-var rR = {};-rR = {+var tR = {};+tR = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",colorSwatchPicker: "Color swatches"};// node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var iR = {};-iR = {+var nR = {};+nR = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",tableResizer: "Cambiador de tamaño"};// node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var aR = {};-aR = {+var rR = {};+rR = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",tableResizer: "Suuruse muutja"};// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var oR = {};-oR = {+var iR = {};+iR = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",tableResizer: "Koon muuttaja"};// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var sR = {};-sR = {+var aR = {};+aR = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",tableResizer: "Redimensionneur"};// node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var cR = {};-cR = {+var oR = {};+oR = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",tableResizer: "שינוי גודל"};// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var lR = {};-lR = {+var sR = {};+sR = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",tableResizer: "Promjena veličine"};// node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var uR = {};-uR = {+var cR = {};+cR = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",tableResizer: "Átméretező"};// node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var dR = {};-dR = {+var lR = {};+lR = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",tableResizer: "Ridimensionamento"};// node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var fR = {};-fR = {+var uR = {};+uR = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",tableResizer: "サイズ変更ツール"};// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var pR = {};-pR = {+var dR = {};+dR = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",tableResizer: "크기 조정기"};// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var mR = {};-mR = {+var fR = {};+fR = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",tableResizer: "Dydžio keitiklis"};// node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var hR = {};-hR = {+var pR = {};+pR = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",tableResizer: "Izmēra mainītājs"};// node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var gR = {};-gR = {+var mR = {};+mR = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",tableResizer: "Størrelsesendrer"};// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var _R = {};-_R = {+var hR = {};+hR = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",tableResizer: "Resizer"};// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var vR = {};-vR = {+var gR = {};+gR = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",tableResizer: "Zmiana rozmiaru"};// node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var yR = {};-yR = {+var _R = {};+_R = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var bR = {};-bR = {+var vR = {};+vR = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var xR = {};-xR = {+var yR = {};+yR = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",tableResizer: "Instrument de redimensionare"};// node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var SR = {};-SR = {+var bR = {};+bR = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",tableResizer: "Средство изменения размера"};// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var CR = {};-CR = {+var xR = {};+xR = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",tableResizer: "Nástroj na zmenu veľkosti"};// node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var wR = {};-wR = {+var SR = {};+SR = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",tableResizer: "Spreminjanje velikosti"};// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var TR = {};-TR = {+var CR = {};+CR = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",tableResizer: "Promena veličine"};// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var ER = {};-ER = {+var wR = {};+wR = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",tableResizer: "Storleksändrare"};// node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var DR = {};-DR = {+var TR = {};+TR = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",tableResizer: "Yeniden boyutlandırıcı"};// node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var OR = {};-OR = {+var ER = {};+ER = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",tableResizer: "Засіб змінення розміру"};// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var kR = {};-kR = {+var DR = {};+DR = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",tableResizer: "尺寸调整器"};// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var AR = {};-AR = {+var OR = {};+OR = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",tableResizer: "大小調整器"};// node_modules/react-aria-components/dist/private/intlStrings.mjs-var jR = {};-jR = {- "ar-AE": ZL,- "bg-BG": QL,- "cs-CZ": $L,- "da-DK": eR,- "de-DE": tR,- "el-GR": nR,- "en-US": rR,- "es-ES": iR,- "et-EE": aR,- "fi-FI": oR,- "fr-FR": sR,- "he-IL": cR,- "hr-HR": lR,- "hu-HU": uR,- "it-IT": dR,- "ja-JP": fR,- "ko-KR": pR,- "lt-LT": mR,- "lv-LV": hR,- "nb-NO": gR,- "nl-NL": _R,- "pl-PL": vR,- "pt-BR": yR,- "pt-PT": bR,- "ro-RO": xR,- "ru-RU": SR,- "sk-SK": CR,- "sl-SI": wR,- "sr-SP": TR,- "sv-SE": ER,- "tr-TR": DR,- "uk-UA": OR,- "zh-CN": kR,- "zh-TW": AR+var kR = {};+kR = {+ "ar-AE": YL,+ "bg-BG": XL,+ "cs-CZ": ZL,+ "da-DK": QL,+ "de-DE": $L,+ "el-GR": eR,+ "en-US": tR,+ "es-ES": nR,+ "et-EE": rR,+ "fi-FI": iR,+ "fr-FR": aR,+ "he-IL": oR,+ "hr-HR": sR,+ "hu-HU": cR,+ "it-IT": lR,+ "ja-JP": uR,+ "ko-KR": dR,+ "lt-LT": fR,+ "lv-LV": pR,+ "nb-NO": mR,+ "nl-NL": hR,+ "pl-PL": gR,+ "pt-BR": _R,+ "pt-PT": vR,+ "ro-RO": yR,+ "ru-RU": bR,+ "sk-SK": xR,+ "sl-SI": SR,+ "sr-SP": CR,+ "sv-SE": wR,+ "tr-TR": TR,+ "uk-UA": ER,+ "zh-CN": DR,+ "zh-TW": OR};// node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var MR = /*#__PURE__*/ (0, F.createContext)({}), NR = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { render: n } = (0, F.useContext)(NR);+var AR = /*#__PURE__*/ (0, F.createContext)({}), jR = /*#__PURE__*/ (0, F.createContext)(null), Cme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { render: n } = (0, F.useContext)(jR);return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));});-function PR(e, t) {+function MR(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Sme, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Cme, { target: e });}, [t?.target,r,@@ -38979,7 +38979,7 @@ function PR(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function FR(e, t, n) {+function NR(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;@@ -39000,13 +39000,13 @@ function FR(e, t, n) {return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);}// node_modules/react-aria-components/dist/private/Header.mjs-var IR = /*#__PURE__*/ (0, F.createContext)({}), Cme = /*#__PURE__*/ (0, F.createContext)(null);-function LR(e) {+var PR = /*#__PURE__*/ (0, F.createContext)({}), wme = /*#__PURE__*/ (0, F.createContext)(null);+function FR(e) {let t = (0, F.useRef)({});- return /*#__PURE__*/ F.createElement(Cme.Provider, { value: t }, e.children);+ return /*#__PURE__*/ F.createElement(wme.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var RR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), zR = /*#__PURE__*/ (0, F.createContext)({}), wme = /*#__PURE__*/ uw(class extends mS {+var IR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), LR = /*#__PURE__*/ (0, F.createContext)({}), Tme = /*#__PURE__*/ lw(class extends pS {static {this.type = "separator";}@@ -39019,17 +39019,17 @@ var RR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), zR = /*#__PURE_return null;}}, function(e, t) {- [e, t] = yL(e, t, zR);+ [e, t] = _L(e, t, LR);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = CL[c], { separatorProps: u } = Wce({+ let l = xL[c], { separatorProps: u } = Wce({...s,elementType: n,orientation: r- }), d = Ww(e, { global: !0 });+ }), d = Uw(e, { global: !0 });return /*#__PURE__*/ F.createElement(l, {render: e.render,- ...K(d, u),+ ...q(d, u),style: i,className: a ?? "react-aria-Separator",ref: t,@@ -39037,12 +39037,12 @@ var RR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), zR = /*#__PURE_});});// node_modules/react-aria/dist/private/utils/inertValue.mjs-function BR(e) {+function RR(e) {let t = F.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}// node_modules/react-stately/dist/private/list/ListCollection.mjs-var VR = class {+var zR = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -39086,19 +39086,19 @@ var VR = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, HR = class e extends Set {+}, BR = 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);}};// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function Tme(e, t) {+function Eme(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function UR(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = nE((0, F.useMemo)(() => WR(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => WR(e.defaultSelectedKeys, new HR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);+function VR(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = tE((0, F.useMemo)(() => HR(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => HR(e.defaultSelectedKeys, new BR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, F.useRef)(i);return (0, F.useEffect)(() => {@@ -39125,17 +39125,17 @@ function UR(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !Tme(e, d)) && f(e);+ (r || !Eme(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function WR(e, t) {- return e ? e === "all" ? "all" : new HR(e) : t;+function HR(e, t) {+ return e ? e === "all" ? "all" : new BR(e) : t;}// node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var GR = class e {+var UR = 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;}@@ -39191,7 +39191,7 @@ var GR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && vD(this.collection, n, e) < 0) && (e = n);+ (!e || n && _D(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -39199,7 +39199,7 @@ var GR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && vD(this.collection, n, e) > 0) && (e = n);+ (!e || n && _D(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -39218,10 +39218,10 @@ var GR = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new HR([t], t, t);+ if (this.state.selectedKeys === "all") n = new BR([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new HR(e, r, t);+ n = new BR(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);}@@ -39229,7 +39229,7 @@ var GR = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? vD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? _D(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);@@ -39255,19 +39255,19 @@ var GR = class e {}let t = this.getKey(e);if (t == null) return;- let n = new HR(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new BR(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 HR([t], t, t) : new HR();+ let n = this.canSelectItem(t) ? new BR([t], t, t) : new BR();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new HR();+ let t = new BR();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -39279,7 +39279,7 @@ var GR = 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(hD(mD(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(mD(pD(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -39290,7 +39290,7 @@ var GR = 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 HR());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new BR());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -39331,9 +39331,9 @@ var GR = class e {fullCollection: this.fullCollection ?? this.collection});}-}, Eme = class {+}, Dme = class {build(e, t) {- return this.context = t, KR(() => this.iterateCollection(e));+ return this.context = t, WR(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -39415,10 +39415,10 @@ var GR = class e {...a,key: l,index: s,- wrapper: Dme(e.wrapper, a.wrapper)+ wrapper: Ome(e.wrapper, a.wrapper)}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];for (let t of u) {- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${qR(t.type)}> in <${qR(r?.type ?? "unknown parent type")}>. Only <${qR(e.type)}> is supported.`);+ 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 <${GR(t.type)}> in <${GR(r?.type ?? "unknown parent type")}>. Only <${GR(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -39440,7 +39440,7 @@ var GR = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: KR(function* () {+ childNodes: WR(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -39459,7 +39459,7 @@ var GR = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function KR(e) {+function WR(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -39467,17 +39467,17 @@ function KR(e) {for (let e of n) t.push(e), yield e;} };}-function Dme(e, t) {+function Ome(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function qR(e) {+function GR(e) {return e[0].toUpperCase() + e.slice(1);}// node_modules/react-stately/dist/private/collections/useCollection.mjs-function JR(e, t, n) {- let r = (0, F.useMemo)(() => new Eme(), []), { children: i, items: a, collection: o } = e;+function KR(e, t, n) {+ let r = (0, F.useMemo)(() => new Dme(), []), { children: i, items: a, collection: o } = e;return (0, F.useMemo)(() => o || t(r.build({children: i,items: a@@ -39491,27 +39491,27 @@ function JR(e, t, n) {]);}// node_modules/react-stately/dist/private/list/useListState.mjs-function YR(e) {- let { filter: t, layoutDelegate: n } = e, r = UR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = JR(e, (0, F.useCallback)((e) => t ? new VR(t(e)) : new VR(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new GR(a, r, { layoutDelegate: n }), [+function qR(e) {+ let { filter: t, layoutDelegate: n } = e, r = VR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = KR(e, (0, F.useCallback)((e) => t ? new zR(t(e)) : new zR(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new UR(a, r, { layoutDelegate: n }), [a,r,n]);- return XR(a, o), {+ return JR(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Ome(e, t) {+function kme(e, t) {let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return XR(n, r), {+ return JR(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function XR(e, t) {+function JR(e, t) {let n = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -39538,15 +39538,15 @@ function XR(e, t) {}, [e, t]);}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function ZR(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Ow((e) => {+function YR(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Dw((e) => {for (let t of e) t.isIntersecting && r && r();});- BS(() => {+ zS(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: PT(t?.current),+ root: NT(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -39561,42 +39561,42 @@ function ZR(e, t) {]);}// node_modules/react-aria-components/dist/private/ListBox.mjs-var QR = /*#__PURE__*/ (0, F.createContext)(null), $R = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, QR);- let n = (0, F.useContext)($R);- return n ? /*#__PURE__*/ F.createElement(ez, {+var XR = /*#__PURE__*/ (0, F.createContext)(null), ZR = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, XR);+ let n = (0, F.useContext)(ZR);+ return n ? /*#__PURE__*/ F.createElement(QR, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ F.createElement(sw, { content: /*#__PURE__*/ F.createElement(mw, e) }, (n) => /*#__PURE__*/ F.createElement(Ame, {+ }) : /*#__PURE__*/ F.createElement(ow, { content: /*#__PURE__*/ F.createElement(pw, e) }, (n) => /*#__PURE__*/ F.createElement(jme, {props: e,listBoxRef: t,collection: n}));});-function Ame({ props: e, listBoxRef: t, collection: n }) {+function jme({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, F.useContext)(kL), i = YR({+ let { layoutDelegate: r } = (0, F.useContext)(DL), i = qR({...e,layoutDelegate: r});- return /*#__PURE__*/ F.createElement(ez, {+ return /*#__PURE__*/ F.createElement(QR, {state: i,props: e,listBoxRef: t});}-function ez({ state: e, props: t, listBoxRef: n }) {- [t, n] = yL(t, n, wL);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Ome(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Iw(), { disabledBehavior: p, disabledKeys: m } = l, h = CD({+function QR({ state: e, props: t, listBoxRef: n }) {+ [t, n] = _L(t, n, SL);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = kme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Fw(), { disabledBehavior: p, disabledKeys: m } = l, h = SD({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(kL), b = (0, F.useMemo)(() => t.keyboardDelegate || new TE({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(DL), b = (0, F.useMemo)(() => t.keyboardDelegate || new wE({collection: c,collator: h,ref: n,@@ -39649,7 +39649,7 @@ function ez({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: O, isFocused: k, isFocusVisible: A } = AD(), j = s.collection.size === 0, M = {+ let { focusProps: O, isFocused: k, isFocusVisible: A } = kD(), j = s.collection.size === 0, M = {isDropTarget: T,isEmpty: j,isFocused: k,@@ -39657,7 +39657,7 @@ function ez({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = _L({+ }, ee = hL({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -39667,9 +39667,9 @@ function ez({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(M)));- let te = Ww(t, { global: !0 });- return /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(CL.div, {- ...K(te, ee, x, O, w?.collectionProps),+ let te = Uw(t, { global: !0 });+ return /*#__PURE__*/ F.createElement(pT, null, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(te, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,onScroll: t.onScroll,@@ -39679,60 +39679,60 @@ function ez({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": A || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ F.createElement(gL, { values: [- [QR, t],- [$R, s],- [MR, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [XR, t],+ [ZR, s],+ [AR, {dragAndDropHooks: r,dragState: S,dropState: C}],- [zR, { elementType: "div" }],- [NR, { render: Nme }],- [EL, {+ [LR, { elementType: "div" }],+ [jR, { render: Pme }],+ [wL, {name: "ListBoxSection",- render: jme+ render: Mme}]- ] }, /*#__PURE__*/ F.createElement(LR, null, /*#__PURE__*/ F.createElement(y, {+ ] }, /*#__PURE__*/ F.createElement(FR, null, /*#__PURE__*/ F.createElement(y, {collection: c,scrollRef: n,- persistedKeys: FR(l, r, C),- renderDropIndicator: PR(r, C)+ persistedKeys: NR(l, r, C),+ renderDropIndicator: MR(r, C)}))), N, E));}-function jme(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, F.useContext)($R), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(MR), { CollectionBranch: s } = (0, F.useContext)(kL), [c, l] = bL(), { headingProps: u, groupProps: d } = tce({+function Mme(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, F.useContext)(ZR), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(AR), { CollectionBranch: s } = (0, F.useContext)(DL), [c, l] = vL(), { headingProps: u, groupProps: d } = tce({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = _L({+ }), f = hL({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = Ww(e, { global: !0 });- return delete p.id, /*#__PURE__*/ F.createElement(CL.section, {- ...K(p, f, d),+ }), p = Uw(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ F.createElement(xL.section, {+ ...q(p, f, d),ref: t- }, /*#__PURE__*/ F.createElement(IR.Provider, { value: {+ }, /*#__PURE__*/ F.createElement(PR.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ F.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: PR(a, o)+ renderDropIndicator: MR(a, o)})));}-var Mme = /*#__PURE__*/ uw(_S, function(e, t, n) {- let r = ZC(t), i = (0, F.useContext)($R), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(MR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = nce({+var Nme = /*#__PURE__*/ lw(gS, function(e, t, n) {+ let r = XC(t), i = (0, F.useContext)(ZR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(AR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = nce({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = PD({+ }, i, r), { hoverProps: p, isHovered: m } = ND({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = XC(e), { focusProps: g } = KC(e), _ = null;+ }), { keyboardProps: h } = YC(e), { focusProps: g } = GC(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -39743,7 +39743,7 @@ var Mme = /*#__PURE__*/ uw(_S, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = _L({+ let y = o && o.isDragging(n.key), b = hL({...e,id: void 0,children: e.children,@@ -39761,9 +39761,9 @@ var Mme = /*#__PURE__*/ uw(_S, function(e, t, n) {(0, F.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? CL.a : CL.div, S = Ww(e, { global: !0 });+ let x = e.href ? xL.a : xL.div, S = Uw(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {- ...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),+ ...q(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,"data-allows-dragging": !!o || void 0,"data-selected": f.isSelected || void 0,@@ -39775,29 +39775,29 @@ var Mme = /*#__PURE__*/ uw(_S, 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__*/ F.createElement(gL, { values: [[LL, { slots: {- [hL]: u,+ }, /*#__PURE__*/ F.createElement(mL, { values: [[FL, { slots: {+ [pL]: u,label: u,description: d- } }], [RR, { isSelected: f.isSelected }]] }, b.children));+ } }], [IR, { isSelected: f.isSelected }]] }, b.children));});-function Nme(e, t) {- t = ZC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(MR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ F.createElement(Fme, {+function Pme(e, t) {+ t = XC(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(AR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ F.createElement(Ime, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function Pme(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = _L({+function Fme(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = hL({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(CL.div, {+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xL.div, {...n,...a,role: "option",@@ -39805,10 +39805,10 @@ function Pme(e, t) {"data-drop-target": r || void 0}));}-var Fme = /*#__PURE__*/ (0, F.forwardRef)(Pme);-uw(gS, function(e, t, n) {- let r = (0, F.useContext)($R), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);- ZR((0, F.useMemo)(() => ({+var Ime = /*#__PURE__*/ (0, F.forwardRef)(Fme);+lw(hS, function(e, t, n) {+ let r = (0, F.useContext)(ZR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);+ YR((0, F.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -39818,7 +39818,7 @@ uw(gS, function(e, t, n) {o,r?.collection]), c);- let l = _L({+ let l = hL({...s,id: void 0,children: n.rendered,@@ -39831,7 +39831,7 @@ uw(gS, function(e, t, n) {width: 0,height: 0},- inert: BR(!0)+ inert: RR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -39840,18 +39840,18 @@ uw(gS, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(CL.div, {- ...K(Ww(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(Uw(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var Ime = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });+var Lme = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function tz(e) {- let [t, n] = nE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);+function $R(e) {+ let [t, n] = tE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);return {isOpen: t,setOpen: n,@@ -39869,15 +39869,15 @@ function tz(e) {};}// node_modules/react-aria/dist/private/utils/animation.mjs-function nz(e, t = !0, n) {+function ez(e, t = !0, n) {let [r, i] = (0, F.useState)(!0), a = r && t;- return BS(() => {- if (!t && e.current) return IC(kS(e.current, "opacity", "0"), kS(e.current, "clip", "rect(0 0 0 0)"), kS(e.current, "clip-path", "inset(50%)"), kS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), BS(() => {+ return zS(() => {+ if (!t && e.current) return FC(OS(e.current, "opacity", "0"), OS(e.current, "clip", "rect(0 0 0 0)"), OS(e.current, "clip-path", "inset(50%)"), OS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), zS(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), iz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;+ }, [e, a]), nz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;}-function rz(e, t, n) {+function tz(e, t, n) {let [r, i] = (0, F.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -39887,13 +39887,13 @@ function rz(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return iz(e, a, n, (0, F.useCallback)(() => {+ return nz(e, a, n, (0, F.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function iz(e, t, n, r) {- let i = (0, F.useRef)(null), a = Ow(n);- BS(() => {+function nz(e, t, n, r) {+ let i = (0, F.useRef)(null), a = Dw(n);+ zS(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -39918,9 +39918,9 @@ function iz(e, t, n, r) {]);}// node_modules/react-aria-components/dist/private/Popover.mjs-var az = /*#__PURE__*/ (0, F.createContext)(null), oz = /*#__PURE__*/ (0, F.createContext)(null), sz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, az);- let n = (0, F.useContext)(yz), r = tz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = rz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = rw(), { direction: c } = Iw();+var rz = /*#__PURE__*/ (0, F.createContext)(null), iz = /*#__PURE__*/ (0, F.createContext)(null), az = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, rz);+ let n = (0, F.useContext)(_z), r = $R(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = tz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = nw(), { direction: c } = Fw();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -39931,7 +39931,7 @@ var az = /*#__PURE__*/ (0, F.createContext)(null), oz = /*#__PURE__*/ (0, F.creadefaultChildren: null})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Lme, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Rme, {...e,triggerRef: e.triggerRef,state: i,@@ -39940,13 +39940,13 @@ var az = /*#__PURE__*/ (0, F.createContext)(null), oz = /*#__PURE__*/ (0, F.creadir: c});});-function Lme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(oz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Rce({+function Rme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(iz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Rce({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = nz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = _L({+ }, e), g = i.popoverRef, _ = ez(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = hL({...i,defaultClassName: "react-aria-Popover",values: {@@ -39956,10 +39956,10 @@ function Lme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, F.useState)(i.trigger === "PreviewTrigger");- BS(() => {+ zS(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, F.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || wC() !== "pointer") && g.current && !PS(g.current) && FC(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || CC() !== "pointer") && g.current && !NS(g.current) && PC(g.current);}, [x,g,@@ -39967,12 +39967,12 @@ function Lme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, F.useMemo)(() => {let e = y.children;- for (let t of [az, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);+ for (let t of [rz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- BS(E, [E]), MO({+ zS(E, [E]), jO({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -39982,9 +39982,9 @@ function Lme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- BS(() => xk(() => u(!0)), []);- let O = /*#__PURE__*/ F.createElement(CL.div, {- ...K(Ww(i, { global: !0 }), d),+ zS(() => bk(() => u(!0)), []);+ let O = /*#__PURE__*/ F.createElement(xL.div, {+ ...q(Uw(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -39999,17 +39999,17 @@ function Lme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ F.createElement(mk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Ime.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(pk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Lme.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ F.createElement(mk, { onDismiss: e.close }));- return c ? /*#__PURE__*/ F.createElement(OD, {+ } }, C), /*#__PURE__*/ F.createElement(pk, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ F.createElement(DD, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, O) : /*#__PURE__*/ F.createElement(OD, {+ }, O) : /*#__PURE__*/ F.createElement(DD, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -40024,13 +40024,13 @@ function Lme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ F.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ F.createElement(oz.Provider, { value: o }, O)));+ }, /*#__PURE__*/ F.createElement(iz.Provider, { value: o }, O)));}// node_modules/react-aria-components/dist/private/Keyboard.mjs-var Rme = /*#__PURE__*/ (0, F.createContext)({});+var zme = /*#__PURE__*/ (0, F.createContext)({});// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function cz(e) {- let t = tz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {+function oz(e) {+ let t = $R(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -40055,7 +40055,7 @@ function cz(e) {};}// node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var zme = class {+var Bme = 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) => {@@ -40098,8 +40098,8 @@ var zme = class {}};// node_modules/react-stately/dist/private/tree/useTreeState.mjs-function lz(e) {- let { onExpandedChange: t } = e, [n, r] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = UR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = JR(e, (0, F.useCallback)((e) => new zme(e, { expandedKeys: n }), [n]), null);+function sz(e) {+ let { onExpandedChange: t } = e, [n, r] = tE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = VR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = KR(e, (0, F.useCallback)((e) => new Bme(e, { expandedKeys: n }), [n]), null);return (0, F.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -40107,31 +40107,31 @@ function lz(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(Bme(n, e));+ r(Vme(n, e));},setExpandedKeys: r,- selectionManager: new GR(o, i)+ selectionManager: new UR(o, i)};}-function Bme(e, t) {+function Vme(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}// node_modules/react-aria-components/dist/private/Menu.mjs-var uz = /*#__PURE__*/ (0, F.createContext)(null), dz = /*#__PURE__*/ (0, F.createContext)(null), fz = /*#__PURE__*/ (0, F.createContext)(null), pz = /*#__PURE__*/ (0, F.createContext)(null);-function Vme(e) {- let t = cz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = lD({+var cz = /*#__PURE__*/ (0, F.createContext)(null), lz = /*#__PURE__*/ (0, F.createContext)(null), uz = /*#__PURE__*/ (0, F.createContext)(null), dz = /*#__PURE__*/ (0, F.createContext)(null);+function Hme(e) {+ let t = oz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = cD({...e,type: "menu"}, t, n), a = (0, F.useRef)(null);- return rw() ? null : /*#__PURE__*/ F.createElement(gL, { values: [- [uz, {+ return nw() ? null : /*#__PURE__*/ F.createElement(mL, { values: [+ [cz, {...i,ref: a}],- [yz, t],- [fz, t],- [az, {+ [_z, t],+ [uz, t],+ [rz, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -40145,8 +40145,8 @@ function Vme(e) {isPressed: t.isOpen}, e.children));}-var Hme = /*#__PURE__*/ (0, F.createContext)(null);-(class extends mS {+var Ume = /*#__PURE__*/ (0, F.createContext)(null);+(class extends pS {static {this.type = "submenutrigger";}@@ -40159,24 +40159,24 @@ var Hme = /*#__PURE__*/ (0, F.createContext)(null);return null;}});-var Ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = yL(e, t, uz), /*#__PURE__*/ F.createElement(sw, { content: /*#__PURE__*/ F.createElement(mw, e) }, (n) => /*#__PURE__*/ F.createElement(Wme, {+var Wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = _L(e, t, cz), /*#__PURE__*/ F.createElement(ow, { content: /*#__PURE__*/ F.createElement(pw, e) }, (n) => /*#__PURE__*/ F.createElement(Gme, {props: e,collection: n,menuRef: t}));});-function Wme({ props: e, collection: t, menuRef: n }) {- [e, n] = yL(e, n, wL);- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = lz({+function Gme({ props: e, collection: t, menuRef: n }) {+ [e, n] = _L(e, n, SL);+ let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = sz({...e,collection: a,children: void 0- }), s = (0, F.useContext)(fz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(kL), { menuProps: u } = rce({+ }), s = (0, F.useContext)(uz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(DL), { menuProps: u } = rce({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = _L({+ }, o, n), d = hL({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -40186,36 +40186,36 @@ function Wme({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(CL.div, {- ...K(p, d, u),+ let p = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(pT, null, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ F.createElement(gL, { values: [- [dz, o],- [zR, { elementType: "div" }],- [EL, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [lz, o],+ [LR, { elementType: "div" }],+ [wL, {name: "MenuSection",- render: mz+ render: fz}],- [Hme, {+ [Ume, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [gz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [wL, null],- [TL, null],- [pz, o.selectionManager],- [fz, s ?? cz({})]- ] }, /*#__PURE__*/ F.createElement(LR, null, /*#__PURE__*/ F.createElement(l, {+ [mz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [SL, null],+ [CL, null],+ [dz, o.selectionManager],+ [uz, s ?? oz({})]+ ] }, /*#__PURE__*/ F.createElement(FR, null, /*#__PURE__*/ F.createElement(l, {collection: o.collection,- persistedKeys: AL(o.selectionManager.focusedKey),+ persistedKeys: OL(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var Gme = class extends GR {+var Kme = class extends UR {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -40235,11 +40235,11 @@ var Gme = class extends GR {return this.parent.childFocusStrategy;}};-function mz(e, t, n, r = "react-aria-MenuSection") {- let i = (0, F.useContext)(dz), { CollectionBranch: a } = (0, F.useContext)(kL), [o, s] = bL(), { headingProps: c, groupProps: l } = ace({+function fz(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, F.useContext)(lz), { CollectionBranch: a } = (0, F.useContext)(DL), [o, s] = vL(), { headingProps: c, groupProps: l } = ace({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = _L({+ }), u = hL({...e,id: void 0,children: void 0,@@ -40247,31 +40247,31 @@ function mz(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, F.useContext)(pz), f = UR(e), p = e.selectionMode == null ? d : new Gme(d, f), m = vL(gz)?.shouldCloseOnSelect, h = Ww(e, { global: !0 });- return delete h.id, /*#__PURE__*/ F.createElement(CL.section, {- ...K(h, u, l),+ }), d = (0, F.useContext)(dz), f = VR(e), p = e.selectionMode == null ? d : new Kme(d, f), m = gL(mz)?.shouldCloseOnSelect, h = Uw(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ F.createElement(xL.section, {+ ...q(h, u, l),ref: t- }, /*#__PURE__*/ F.createElement(gL, { values: [- [IR, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [PR, {...c,ref: o}],- [pz, p],- [gz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [dz, p],+ [mz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ F.createElement(a, {collection: i.collection,parent: n})));}-var hz = /*#__PURE__*/ dw(_ae, mz), gz = /*#__PURE__*/ (0, F.createContext)(null), _z = /*#__PURE__*/ uw(_S, function(e, t, n) {- [e, t] = yL(e, t, gz);- let r = vL(gz)?.id, i = (0, F.useContext)(dz), a = ZC(t), o = (0, F.useContext)(pz), { isVirtualized: s } = (0, F.useContext)(kL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = ice({+var pz = /*#__PURE__*/ uw(_ae, fz), mz = /*#__PURE__*/ (0, F.createContext)(null), hz = /*#__PURE__*/ lw(gS, function(e, t, n) {+ [e, t] = _L(e, t, mz);+ let r = gL(mz)?.id, i = (0, F.useContext)(lz), a = XC(t), o = (0, F.useContext)(dz), { isVirtualized: s } = (0, F.useContext)(DL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = ice({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = PD({ isDisabled: f.isDisabled }), h = _L({+ }, i, a), { hoverProps: p, isHovered: m } = ND({ isDisabled: f.isDisabled }), h = hL({...e,id: void 0,children: n.rendered,@@ -40285,9 +40285,9 @@ var hz = /*#__PURE__*/ dw(_ae, mz), gz = /*#__PURE__*/ (0, F.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? CL.a : CL.div, _ = Ww(e, { global: !0 });+ }), g = e.href ? xL.a : xL.div, _ = Uw(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {- ...K(_, h, c, p),+ ...q(_, h, c, p),ref: a,"data-disabled": f.isDisabled || void 0,"data-hovered": m || void 0,@@ -40298,19 +40298,19 @@ var hz = /*#__PURE__*/ dw(_ae, mz), gz = /*#__PURE__*/ (0, F.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__*/ F.createElement(gL, { values: [- [LL, { slots: {- [hL]: l,+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [FL, { slots: {+ [pL]: l,label: l,description: u} }],- [Rme, d],- [RR, { isSelected: f.isSelected }]+ [zme, d],+ [IR, { isSelected: f.isSelected }]] }, h.children));});-uw(gS, function(e, t, n) {- let r = (0, F.useContext)(dz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);- ZR((0, F.useMemo)(() => ({+lw(hS, function(e, t, n) {+ let r = (0, F.useContext)(lz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);+ YR((0, F.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -40320,7 +40320,7 @@ uw(gS, function(e, t, n) {o,r?.collection]), c);- let l = _L({+ let l = hL({...s,id: void 0,children: n.rendered,@@ -40333,7 +40333,7 @@ uw(gS, function(e, t, n) {width: 0,height: 0},- inert: BR(!0)+ inert: RR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -40342,89 +40342,89 @@ uw(gS, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(CL.div, {- ...K(Ww(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(Uw(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/Dialog.mjs-var vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.createContext)(null), bz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+var gz = /*#__PURE__*/ (0, F.createContext)(null), _z = /*#__PURE__*/ (0, F.createContext)(null), vz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = yL(e, t, vz);+ [e, t] = _L(e, t, gz);let { dialogProps: r, titleProps: i, contentProps: a } = Vse({...e,"aria-labelledby": n- }, t), o = (0, F.useContext)(yz);+ }, t), o = (0, F.useContext)(_z);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = _L({+ let s = hL({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(CL.section, {- ...K(c, s, r),+ }), c = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(xL.section, {+ ...q(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ F.createElement(gL, { values: [- [FL, { slots: {- [hL]: {},+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [NL, { slots: {+ [pL]: {},title: {...i,level: 2}} }],- [LL, { slots: {- [hL]: {},+ [FL, { slots: {+ [pL]: {},description: a} }],- [NL, { slots: {- [hL]: {},+ [jL, { slots: {+ [pL]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), xz = typeof document < "u" && window.visualViewport;-function Kme() {- let e = cC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {+}), yz = typeof document < "u" && window.visualViewport;+function qme() {+ let e = sC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {width: 0,height: 0- } : Sz());+ } : bz());return (0, F.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- xz && xz.scale > 1 || e(Sz());+ yz && yz.scale > 1 || e(bz());}, i = (n) => {- xz && xz.scale > 1 || Tw(G(n)) && (t.current = xk((t) => {+ yz && yz.scale > 1 || ww(K(n)) && (t.current = bk((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(Sz()), XS() && ZS() && window.addEventListener("blur", i, !0), xz ? xz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), XS() && ZS() && window.removeEventListener("blur", i, !0), xz ? xz.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(bz()), YS() && XS() && window.addEventListener("blur", i, !0), yz ? yz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), YS() && XS() && window.removeEventListener("blur", i, !0), yz ? yz.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function Sz() {+function bz() {return {- width: xz ? Math.min(xz.width * xz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: xz ? xz.height * xz.scale : document.documentElement.clientHeight+ width: yz ? Math.min(yz.width * yz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: yz ? yz.height * yz.scale : document.documentElement.clientHeight};}// node_modules/react-aria-components/dist/private/Modal.mjs-var qme = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.createContext)(null), Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- if ((0, F.useContext)(Cz)) return /*#__PURE__*/ F.createElement(Tz, {+var Jme = /*#__PURE__*/ (0, F.createContext)(null), xz = /*#__PURE__*/ (0, F.createContext)(null), Yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ if ((0, F.useContext)(xz)) return /*#__PURE__*/ F.createElement(Cz, {...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__*/ F.createElement(wz, {+ return /*#__PURE__*/ F.createElement(Sz, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -40434,15 +40434,15 @@ var qme = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ F.createElement(Tz, {+ }, /*#__PURE__*/ F.createElement(Cz, {...f,modalRef: t}, s));});-function Yme(e, t) {- [e, t] = yL(e, t, qme);- let n = (0, F.useContext)(yz), r = tz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ZC(t), o = (0, F.useRef)(null), s = rz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = rz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = cC();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(Xme, {+function Xme(e, t) {+ [e, t] = _L(e, t, Jme);+ let n = (0, F.useContext)(_z), r = $R(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = XC(t), o = (0, F.useRef)(null), s = tz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = tz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = sC();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(Zme, {...e,state: i,isExiting: u,@@ -40451,12 +40451,12 @@ function Yme(e, t) {onExitRef: c});}-var wz = /*#__PURE__*/ (0, F.forwardRef)(Yme);-function Xme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = nz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = bce({+var Sz = /*#__PURE__*/ (0, F.forwardRef)(Xme);+function Zme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = ez(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = bce({...n,isEntering: c- }, i, r), d = (0, F.useContext)(vz), f = t ? Zme(d, { isEntering: c }) : d, p = _L({+ }, i, r), d = (0, F.useContext)(gz), f = t ? Qme(d, { isEntering: c }) : d, p = hL({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -40464,9 +40464,9 @@ function Xme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = Kme(), h, g;+ }), m = qme(), h, g;if (typeof document < "u") {- let e = NT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = MT(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 _ = {@@ -40476,18 +40476,18 @@ function Xme({ 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 BS(() => xk(() => o(!0)), []), /*#__PURE__*/ F.createElement(OD, {+ return zS(() => bk(() => o(!0)), []), /*#__PURE__*/ F.createElement(DD, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ F.createElement(CL.div, {- ...K(Ww(n, { global: !0 }), u),+ }, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(Uw(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ F.createElement(gL, { values: [- [Cz, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [xz, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -40495,11 +40495,11 @@ function Xme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [yz, i],- [vz, f]+ [_z, i],+ [gz, f]] }, p.children)));}-function Zme(e, t) {+function Qme(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -40516,8 +40516,8 @@ function Zme(e, t) {...t};}-function Tz(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Cz), s = (0, F.useContext)(yz), c = ZC((0, F.useMemo)(() => HC(e.modalRef, n), [e.modalRef, n])), l = nz(c, o, e.onEnter), u = _L({+function Cz(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(xz), s = (0, F.useContext)(_z), c = XC((0, F.useMemo)(() => VC(e.modalRef, n), [e.modalRef, n])), l = ez(c, o, e.onEnter), u = hL({...e,defaultClassName: "react-aria-Modal",values: {@@ -40526,20 +40526,20 @@ function Tz(e) {state: s}});- return BS(() => {+ return zS(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ F.createElement(CL.div, {- ...K(Ww(e, { global: !0 }), t),+ }), /*#__PURE__*/ F.createElement(xL.div, {+ ...q(Uw(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ F.createElement(mk, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ F.createElement(pk, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var Qme = Math.round(Math.random() * 1e10), $me = 0;-function ehe(e) {- let t = (0, F.useMemo)(() => e.name || `radio-group-${Qme}-${++$me}`, [e.name]), [n, r] = nE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = qT({+var $me = Math.round(Math.random() * 1e10), ehe = 0;+function the(e) {+ let t = (0, F.useMemo)(() => e.name || `radio-group-${$me}-${++ehe}`, [e.name]), [n, r] = tE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = KT({...e,value: n}), c = (t) => {@@ -40561,16 +40561,16 @@ function ehe(e) {};}// node_modules/react-aria-components/dist/private/RadioGroup.mjs-var the = /*#__PURE__*/ (0, F.createContext)(null), nhe = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, the);- let { validationBehavior: n } = vL(zL) || {}, r = e.validationBehavior ?? n ?? "native", i = ehe({+var nhe = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.createContext)(null), wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, nhe);+ let { validationBehavior: n } = gL(LL) || {}, r = e.validationBehavior ?? n ?? "native", i = the({...e,validationBehavior: r- }), [a, o] = bL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Bce({+ }), [a, o] = vL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Bce({...e,label: o,validationBehavior: r- }, i), f = _L({+ }, i), f = hL({...e,values: {orientation: e.orientation || "vertical",@@ -40581,9 +40581,9 @@ var the = /*#__PURE__*/ (0, F.createContext)(null), nhe = /*#__PURE__*/ (0, F.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(CL.div, {- ...K(p, f, s),+ }), p = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(xL.div, {+ ...q(p, f, s),ref: t,slot: e.slot || void 0,"data-orientation": e.orientation || "vertical",@@ -40591,39 +40591,39 @@ var the = /*#__PURE__*/ (0, F.createContext)(null), nhe = /*#__PURE__*/ (0, F.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ F.createElement(gL, { values: [- [Ez, i],- [jL, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [wz, i],+ [kL, {...c,ref: a,elementType: "span"}],- [LL, { slots: {+ [FL, { slots: {description: l,errorMessage: u} }],- [RL, d]- ] }, /*#__PURE__*/ F.createElement(LR, null, f.children)));-}), Oz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [IL, d]+ ] }, /*#__PURE__*/ F.createElement(FR, null, f.children)));+}), Ez = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = yL(r, t, nhe);- let i = F.useContext(Ez), a = ZC((0, F.useMemo)(() => HC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = zce({- ...xL(e),+ [e, t] = _L(r, t, rhe);+ let i = F.useContext(wz), a = XC((0, F.useMemo)(() => VC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = zce({+ ...yL(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ F.createElement(kz.Provider, { value: {+ return /*#__PURE__*/ F.createElement(Dz.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ F.createElement(rhe, {+ } }, /*#__PURE__*/ F.createElement(ihe, {...e,ref: t}));-}), kz = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(kz), l = F.useContext(Ez), { isFocused: u, isFocusVisible: d, focusProps: f } = AD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = PD({+}), Dz = /*#__PURE__*/ (0, F.createContext)(null), ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Dz), l = F.useContext(wz), { isFocused: u, isFocusVisible: d, focusProps: f } = kD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = ND({...e,isDisabled: p- }), g = _L({+ }), g = hL({...e,defaultClassName: s,values: {@@ -40637,9 +40637,9 @@ var the = /*#__PURE__*/ (0, F.createContext)(null), nhe = /*#__PURE__*/ (0, F.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = Ww(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(CL.label, {- ...K(_, n, m, g),+ }), _ = Uw(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(xL.label, {+ ...q(_, n, m, g),ref: t,"data-selected": i || void 0,"data-pressed": o || void 0,@@ -40650,18 +40650,18 @@ var the = /*#__PURE__*/ (0, F.createContext)(null), nhe = /*#__PURE__*/ (0, F.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ F.createElement(fE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {- ...K(r, f),+ }, /*#__PURE__*/ F.createElement(dE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ ...q(r, f),ref: c})), g.children);});// node_modules/react-stately/dist/private/select/useSelectState.mjs-function ihe(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = tz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function ahe(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = $R(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = nE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = tE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -40673,12 +40673,12 @@ function ihe(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = YR({+ }, d = qR({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, F.useMemo)(() => ahe(l), [l]),+ selectedKeys: (0, F.useMemo)(() => ohe(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -40688,7 +40688,7 @@ function ihe(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = qT({+ }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = KT({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, F.useState)(!1), [_] = (0, F.useState)(l);@@ -40715,15 +40715,15 @@ function ihe(e) {setFocused: g};}-function ahe(e) {+function ohe(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}// node_modules/react-aria-components/dist/private/Select.mjs-function ohe(e) {+function she(e) {return e && e.__esModule ? e.default : e;}-var Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), she = /*#__PURE__*/ nw(function(e, t) {- [e, t] = yL(e, t, Az);+var Oz = /*#__PURE__*/ (0, F.createContext)(null), kz = /*#__PURE__*/ (0, F.createContext)(null), che = /*#__PURE__*/ tw(function(e, t) {+ [e, t] = _L(e, t, Oz);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -40738,24 +40738,24 @@ var Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.creai,a]);- return /*#__PURE__*/ F.createElement(sw, { content: o }, (n) => /*#__PURE__*/ F.createElement(lhe, {+ return /*#__PURE__*/ F.createElement(ow, { content: o }, (n) => /*#__PURE__*/ F.createElement(uhe, {props: e,collection: n,selectRef: t}));-}), che = [+}), lhe = [+ kL,jL,- NL,- LL+ FL];-function lhe({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = vL(zL) || {}, i = e.validationBehavior ?? r ?? "native", a = ihe({+function uhe({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = gL(LL) || {}, i = e.validationBehavior ?? r ?? "native", a = ahe({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = AD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = bL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Vce({- ...xL(e),+ }), { isFocusVisible: o, focusProps: s } = kD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = vL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Vce({+ ...yL(e),label: u,validationBehavior: i}, a, c), y = (0, F.useMemo)(() => ({@@ -40772,49 +40772,49 @@ function lhe({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = _L({+ ]), b = hL({...e,values: y,defaultClassName: "react-aria-Select"- }), x = Ww(e, { global: !0 });+ }), x = Uw(e, { global: !0 });delete x.id;let S = (0, F.useRef)(null);- return /*#__PURE__*/ F.createElement(gL, { values: [- [Az, e],- [jz, a],- [Mz, p],- [jL, {+ return /*#__PURE__*/ F.createElement(mL, { values: [+ [Oz, e],+ [kz, a],+ [Az, p],+ [kL, {...d,ref: l,elementType: "span"}],- [NL, {+ [jL, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [yz, a],- [az, {+ [_z, a],+ [rz, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: che+ clearContexts: lhe}],- [QR, {+ [XR, {...m,ref: S}],- [$R, a],- [LL, { slots: {+ [ZR, a],+ [FL, { slots: {description: h,errorMessage: g} }],- [RL, v]- ] }, /*#__PURE__*/ F.createElement(CL.div, {- ...K(x, b, s),+ [IL, v]+ ] }, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(x, b, s),ref: t,slot: e.slot || void 0,"data-focused": a.isFocused || void 0,@@ -40828,9 +40828,9 @@ function lhe({ props: e, selectRef: t, collection: n }) {autoComplete: e.autoComplete})));}-for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(function(e, t) {- [e, t] = yL(e, t, Mz);- let n = (0, F.useContext)(jz), { placeholder: r } = vL(Az), i = n.selectedItems.map((e) => {+for (var Az = /*#__PURE__*/ (0, F.createContext)(null), dhe = /*#__PURE__*/ tw(function(e, t) {+ [e, t] = _L(e, t, Az);+ let n = (0, F.useContext)(kz), { placeholder: r } = gL(Oz), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -40857,7 +40857,7 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(fa,o,i- ]), u = Hw(ohe(jR), "react-aria-components"), d = _L({+ ]), u = Vw(she(kR), "react-aria-components"), d = hL({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -40868,33 +40868,33 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(CL.span, {+ }), f = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(xL.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ F.createElement(LL.Provider, { value: void 0 }, d.children));-}), dhe = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null), fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ F.createElement(FL.Provider, { value: void 0 }, d.children));+}), fhe = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = yL(r, t, dhe);- let i = ZC((0, F.useMemo)(() => HC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = rE(e), o = Gce({- ...xL(e),+ [e, t] = _L(r, t, fhe);+ let i = XC((0, F.useMemo)(() => VC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = nE(e), o = Gce({+ ...yL(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ F.createElement(gL, { values: [[Nz, a], [Pz, {+ return /*#__PURE__*/ F.createElement(mL, { values: [[jz, a], [Mz, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ F.createElement(phe, {+ }]] }, /*#__PURE__*/ F.createElement(mhe, {...e,ref: t}));-}), Pz = /*#__PURE__*/ (0, F.createContext)(null), phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(Pz), { isFocused: f, isFocusVisible: p, focusProps: m } = AD(), h = a || o, g = (0, F.useContext)(Nz), { hoverProps: _, isHovered: v } = PD({+}), Mz = /*#__PURE__*/ (0, F.createContext)(null), mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(Mz), { isFocused: f, isFocusVisible: p, focusProps: m } = kD(), h = a || o, g = (0, F.useContext)(jz), { hoverProps: _, isHovered: v } = ND({...e,isDisabled: h- }), y = _L({+ }), y = hL({...e,defaultClassName: u,values: {@@ -40909,9 +40909,9 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(fisRequired: d || !1,state: g}- }), b = Ww(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(CL.label, {- ...K(b, n, _, y),+ }), b = Uw(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(xL.label, {+ ...q(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -40923,11 +40923,11 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ F.createElement(fE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {- ...K(r, m),+ }, /*#__PURE__*/ F.createElement(dE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ ...q(r, m),ref: l})), y.children);-}), Fz = 10, Iz = 5, Lz = class {+}), Nz = 10, Pz = 5, Fz = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -40937,7 +40937,7 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(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) > Iz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Fz && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > Pz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Nz && (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);@@ -41016,11 +41016,11 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > Iz && i) {+ if (Math.abs(r - c.lastSwitchY) > Pz && 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 > Fz && a) {+ if (l > Nz && 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;}@@ -41035,7 +41035,7 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(fboundaryContext: null};}-}, mhe = class {+}, hhe = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -41105,8 +41105,8 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, Rz = "row-header-column-" + Math.random().toString(36).slice(2), zz = "row-header-column-" + Math.random().toString(36).slice(2); Rz === zz;) zz = "row-header-column-" + Math.random().toString(36).slice(2);-function Bz(e, t) {+}, Iz = "row-header-column-" + Math.random().toString(36).slice(2), Lz = "row-header-column-" + Math.random().toString(36).slice(2); Iz === Lz;) Lz = "row-header-column-" + Math.random().toString(36).slice(2);+function Rz(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -41190,13 +41190,13 @@ function Bz(e, t) {textValue: ""}));}-var hhe = class extends mhe {+var ghe = class extends hhe {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: Rz,+ key: Iz,value: null,textValue: "",level: 0,@@ -41211,7 +41211,7 @@ var hhe = class extends mhe {if (n?.showDragButtons) {let e = {type: "column",- key: zz,+ key: Lz,value: null,textValue: "",level: 0,@@ -41238,7 +41238,7 @@ var hhe = class extends mhe {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = Bz(s, a);+ let l = Rz(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -41264,10 +41264,10 @@ var hhe = class extends mhe {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return hD(this.body.childNodes)?.key ?? null;+ return mD(this.body.childNodes)?.key ?? null;}getLastKey() {- return _D(this.body.childNodes)?.key ?? null;+ return gD(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -41298,15 +41298,15 @@ var hhe = class extends mhe {}};// node_modules/react-stately/dist/private/table/TableUtils.mjs-function ghe(e) {+function _he(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function _he(e) {+function vhe(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function Vz(e, t) {+function zz(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");@@ -41314,19 +41314,19 @@ function Vz(e, t) {}return e;}-function Hz(e, t) {- return e == null ? 2 ** 53 - 1 : Vz(e, t);+function Bz(e, t) {+ return e == null ? 2 ** 53 - 1 : zz(e, t);}-function Uz(e, t) {- return e == null ? 0 : Vz(e, t);+function Vz(e, t) {+ return e == null ? 0 : zz(e, t);}-function vhe(e, t, n, r, i) {+function yhe(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;- ghe(o) ? (l = Vz(o, e), s = !0) : (u = _he(o), u <= 0 && (s = !0));- let f = Uz(t.minWidth ?? i?.(a) ?? 0, e), p = Hz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ _he(o) ? (l = zz(o, e), s = !0) : (u = vhe(o), u <= 0 && (s = !0));+ let f = Vz(t.minWidth ?? i?.(a) ?? 0, e), p = Bz(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,@@ -41360,14 +41360,14 @@ function vhe(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = yhe(l);+ let u = bhe(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 yhe(e) {+function bhe(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -41375,7 +41375,7 @@ function yhe(e) {}), r;}// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var bhe = class {+var xhe = 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);}@@ -41404,18 +41404,18 @@ var bhe = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), vhe(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), yhe(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, Uz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, Hz(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, Vz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, Bz(a.props.maxWidth, e));}), this.columnWidths;}};// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function xhe(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new bhe({+function She(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new xhe({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, F.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, F.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, F.useState)(t.collection.columns);@@ -41466,19 +41466,19 @@ function xhe(e, t) {]);}// node_modules/react-stately/dist/private/grid/useGridState.mjs-function She(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || UR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function Che(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || VR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = mD(n, t);- e = r === "last" ? _D(i)?.key ?? null : hD(i)?.key ?? null;+ let i = pD(n, t);+ e = r === "last" ? gD(i)?.key ?? null : mD(i)?.key ?? null;}}a(e, r);};- let o = (0, F.useMemo)(() => new GR(t, r), [t, r]), s = (0, F.useRef)(null);+ let o = (0, F.useMemo)(() => new UR(t, r), [t, r]), s = (0, F.useRef)(null);return (0, F.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;@@ -41498,7 +41498,7 @@ function She(e) {}}if (u) {- let i = u.hasChildNodes ? [...mD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...pD(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);}@@ -41516,11 +41516,11 @@ function She(e) {};}// node_modules/react-stately/dist/private/table/useTableState.mjs-var Che = {+var whe = {ascending: "descending",descending: "ascending"};-function whe(e) {+function The(e) {let [t, n] = (0, F.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, F.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -41531,11 +41531,11 @@ function whe(e) {i,r,a- ]), c = JR(e, (0, F.useCallback)((e) => new hhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = She({+ ]), c = KR(e, (0, F.useCallback)((e) => new ghe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Che({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = tE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -41547,7 +41547,7 @@ function whe(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Che[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? whe[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -41560,7 +41560,7 @@ function whe(e) {treeColumn: o};}-function The(e, t) {+function Ehe(e, t) {let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -41569,10 +41569,10 @@ function The(e, t) {};}// node_modules/react-aria-components/dist/private/Table.mjs-function Ehe(e) {+function Dhe(e) {return e && e.__esModule ? e.default : e;}-var Dhe = class extends vS {+var Ohe = class extends _S {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -41587,7 +41587,7 @@ var Dhe = class extends vS {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new Qz(-2);+ return new Xz(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -41613,7 +41613,7 @@ var Dhe = class extends vS {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = Bz(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 = Rz(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;@@ -41694,28 +41694,28 @@ var Dhe = class extends vS {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new Jz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new Kz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, Wz = /*#__PURE__*/ (0, F.createContext)(null), Ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = ZC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);- BS(() => {+}, Hz = /*#__PURE__*/ (0, F.createContext)(null), khe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let n = XC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);+ zS(() => {let e = r.current;- for (; e && e !== n.current && !NT(e);) e = e.parentElement;+ for (; e && e !== n.current && !MT(e);) e = e.parentElement;i.current = e;- }, [n]), MO({+ }, [n]), jO({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), BS(() => {+ }), zS(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, F.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: xhe,+ useTableColumnResizeState: She,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -41726,17 +41726,17 @@ var Dhe = class extends vS {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ F.createElement(CL.div, {+ return /*#__PURE__*/ F.createElement(xL.div, {render: e.render,- ...Ww(e, { global: !0 }),+ ...Uw(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ F.createElement(Wz.Provider, { value: s }, e.children));-}), khe = /*#__PURE__*/ (0, F.createContext)(null), Gz = /*#__PURE__*/ (0, F.createContext)(null), Kz = /*#__PURE__*/ (0, F.createContext)(null), Ahe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, khe);- let n = UR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({+ }, /*#__PURE__*/ F.createElement(Hz.Provider, { value: s }, e.children));+}), Ahe = /*#__PURE__*/ (0, F.createContext)(null), Uz = /*#__PURE__*/ (0, F.createContext)(null), Wz = /*#__PURE__*/ (0, F.createContext)(null), jhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, Ahe);+ let n = VR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -41746,26 +41746,26 @@ var Dhe = class extends vS {i,a,o- ]), c = /*#__PURE__*/ F.createElement(Nhe.Provider, { value: s }, /*#__PURE__*/ F.createElement(mw, e));- return /*#__PURE__*/ F.createElement(sw, {+ ]), c = /*#__PURE__*/ F.createElement(Phe.Provider, { value: s }, /*#__PURE__*/ F.createElement(pw, e));+ return /*#__PURE__*/ F.createElement(ow, {content: c,- createCollection: () => new Dhe()- }, (r) => /*#__PURE__*/ F.createElement(Mhe, {+ createCollection: () => new Ohe()+ }, (r) => /*#__PURE__*/ F.createElement(Nhe, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), jhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);- return n ? /*#__PURE__*/ F.createElement(CL.div, {+}), Mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);+ return n ? /*#__PURE__*/ F.createElement(xL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(CL.table, {+ }) : /*#__PURE__*/ F.createElement(xL.table, {...e,ref: t});-}), qz = {+}), Gz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41775,26 +41775,26 @@ var Dhe = class extends vS {rtl: "ArrowRight"}};-function Mhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = yL(e, t, wL);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Wz);- t = ZC((0, F.useMemo)(() => HC(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+function Nhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = _L(e, t, SL);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Hz);+ t = XC((0, F.useMemo)(() => VC(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = tE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = whe({+ let d = The({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = The(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(kL), { dragAndDropHooks: _ } = e, { gridProps: v } = Xce({+ }), f = Ehe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(DL), { dragAndDropHooks: _ } = e, { gridProps: v } = Zce({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Iw(), [k] = (0, F.useState)(() => new Lz());+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Fw(), [k] = (0, F.useState)(() => new Fz());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -41809,7 +41809,7 @@ function Mhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new TE({+ let e = new wE({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -41829,12 +41829,12 @@ function Mhe({ 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 === qz.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === qz.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === Gz.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === Gz.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: A, isFocused: j, isFocusVisible: M } = AD(), ee = _L({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = kD(), ee = hL({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -41850,20 +41850,20 @@ function Mhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let ne = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(gL, { values: [- [Gz, f],- [Kz, P],- [MR, {+ let ne = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(mL, { values: [+ [Uz, f],+ [Wz, P],+ [AR, {dragAndDropHooks: _,dragState: S,dropState: C}],- [NR, { render: Uhe }],- [wL, null],- [TL, null]- ] }, /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(jhe, {- ...K(ne, ee, v, A, w?.collectionProps),+ [jR, { render: Whe }],+ [SL, null],+ [CL, null]+ ] }, /*#__PURE__*/ F.createElement(pT, null, /*#__PURE__*/ F.createElement(Mhe, {+ ...q(ne, ee, v, A, w?.collectionProps),style: te,ref: t,slot: e.slot || void 0,@@ -41872,55 +41872,55 @@ function Mhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": j || void 0,"data-focus-visible": M || void 0- }, /*#__PURE__*/ F.createElement(LR, null, /*#__PURE__*/ F.createElement(g, {+ }, /*#__PURE__*/ F.createElement(FR, null, /*#__PURE__*/ F.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: FR(y, _, C)+ persistedKeys: NR(y, _, C)})))), E);}-var Nhe = /*#__PURE__*/ (0, F.createContext)(null), Jz = class extends mS {+var Phe = /*#__PURE__*/ (0, F.createContext)(null), Kz = class extends pS {static {this.type = "tableheader";}-}, Phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);- return n ? /*#__PURE__*/ F.createElement(CL.div, {+}, Fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);+ return n ? /*#__PURE__*/ F.createElement(xL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(CL.thead, {+ }) : /*#__PURE__*/ F.createElement(xL.thead, {...e,ref: t});-}), Yz = /*#__PURE__*/ dw(Jz, (e, t) => {- let n = (0, F.useContext)(Gz).collection, r = SS({+}), qz = /*#__PURE__*/ uw(Kz, (e, t) => {+ let n = (0, F.useContext)(Uz).collection, r = xS({items: n.headerRows,children: (0, F.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ F.createElement(Ihe, { item: e });+ case "headerrow": return /*#__PURE__*/ F.createElement(Lhe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = DA(), { hoverProps: a, isHovered: o } = PD({+ }), { rowGroupProps: i } = TA(), { hoverProps: a, isHovered: o } = ND({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = _L({+ }), s = hL({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ F.createElement(Phe, {- ...K(Ww(e, { global: !0 }), i, a),+ return /*#__PURE__*/ F.createElement(Fhe, {+ ...q(Uw(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ F.createElement(mw, {+}, (e) => /*#__PURE__*/ F.createElement(pw, {dependencies: e.dependencies,items: e.columns-}, e.children)), Fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);+}, e.children)), Ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);return n ? /*#__PURE__*/ F.createElement("div", {...e,ref: t@@ -41929,41 +41929,41 @@ var Nhe = /*#__PURE__*/ (0, F.createContext)(null), Jz = class extends mS {ref: t});});-function Ihe({ item: e }) {- let t = (0, F.useRef)(null), n = (0, F.useContext)(Gz), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(kL), { rowProps: a } = nle({+function Lhe({ item: e }) {+ let t = (0, F.useRef)(null), n = (0, F.useContext)(Uz), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(DL), { rowProps: a } = rle({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = lle(n);- return /*#__PURE__*/ F.createElement(Fhe, {+ }, n, t), { checkboxProps: o } = ule(n);+ return /*#__PURE__*/ F.createElement(Ihe, {...a,ref: t- }, /*#__PURE__*/ F.createElement(gL, { values: [[BL, { slots: { selection: o } }], [VL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [[RL, { slots: { selection: o } }], [zL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {collection: n.collection,parent: e})));}-var Lhe = class extends mS {+var Rhe = class extends pS {static {this.type = "column";}-}, Rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);- return n ? /*#__PURE__*/ F.createElement(CL.div, {+}, zhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);+ return n ? /*#__PURE__*/ F.createElement(xL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(CL.th, {+ }) : /*#__PURE__*/ F.createElement(xL.th, {...e,ref: t});-}), Xz = /*#__PURE__*/ uw(Lhe, (e, t, n) => {- let r = ZC(t), i = (0, F.useContext)(Gz), { isVirtualized: a } = (0, F.useContext)(kL), { columnHeaderProps: o, isPressed: s } = $ce({+}), Jz = /*#__PURE__*/ lw(Rhe, (e, t, n) => {+ let r = XC(t), i = (0, F.useContext)(Uz), { isVirtualized: a } = (0, F.useContext)(DL), { columnHeaderProps: o, isPressed: s } = ele({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = AD(), d = (0, F.useContext)(Kz), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = kD(), d = (0, F.useContext)(Wz), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = PD({ isDisabled: !e.allowsSorting }), h = _L({+ let { hoverProps: p, isHovered: m } = ND({ isDisabled: !e.allowsSorting }), h = hL({...e,id: void 0,children: n.rendered,@@ -41989,9 +41989,9 @@ var Lhe = class extends mS {...g,width: d.getColumnWidth(n.key)});- let _ = Ww(e, { global: !0 });- return delete _.id, /*#__PURE__*/ F.createElement(Rhe, {- ...K(_, o, u, p),+ let _ = Uw(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ F.createElement(zhe, {+ ...q(_, o, u, p),...h,style: g,ref: r,@@ -42002,29 +42002,29 @@ var Lhe = class extends mS {"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__*/ F.createElement(gL, { values: [[Zz, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [[Yz, {column: n,triggerRef: r- }], [kL, DL]] }, h.children));-}), Zz = /*#__PURE__*/ (0, F.createContext)(null), zhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = (0, F.useContext)(Kz);+ }], [DL, TL]] }, h.children));+}), Yz = /*#__PURE__*/ (0, F.createContext)(null), Bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let n = (0, F.useContext)(Wz);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = Hw(Ehe(jR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Wz), { column: s, triggerRef: c } = (0, F.useContext)(Zz), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = tle({+ let r = Vw(Dhe(kR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Hz), { column: s, triggerRef: c } = (0, F.useContext)(Yz), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = nle({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 } = AD(), { hoverProps: _, isHovered: v } = PD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Iw(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = kD(), { hoverProps: _, isHovered: v } = ND(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Fw(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = ZC(t), [w, T] = (0, F.useState)("");+ let C = XC(t), [w, T] = (0, F.useState)("");(0, F.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = _L({+ let E = hL({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -42034,11 +42034,11 @@ var Lhe = class extends mS {isHovered: v,resizableDirection: S}- }), D = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(CL.div, {+ }), D = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(xL.div, {ref: C,role: "presentation",- ...K(D, E, u, _),+ ...q(D, E, u, _),"data-hovered": v || void 0,"data-focused": h || void 0,"data-focus-visible": g || void 0,@@ -42046,7 +42046,7 @@ var Lhe = class extends mS {"data-resizable-direction": S}, E.children, /*#__PURE__*/ F.createElement("input", {ref: l,- ...K(d, m)+ ...q(d, m)}), f && p && /*#__PURE__*/ Rt.createPortal(/*#__PURE__*/ F.createElement("div", {style: {position: "fixed",@@ -42058,24 +42058,24 @@ var Lhe = class extends mS {},"data-testid": "cursor-overlay"}), document.body));-}), Qz = class extends hS {+}), Xz = class extends mS {static {this.type = "tablebody";}-}, Bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);- return n ? /*#__PURE__*/ F.createElement(CL.div, {+}, Vhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);+ return n ? /*#__PURE__*/ F.createElement(xL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(CL.tbody, {+ }) : /*#__PURE__*/ F.createElement(xL.tbody, {...e,ref: t});-}), $z = /*#__PURE__*/ dw(Qz, (e, t, n) => {- let r = (0, F.useContext)(Gz), { isVirtualized: i } = (0, F.useContext)(kL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(kL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(MR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), Zz = /*#__PURE__*/ uw(Xz, (e, t, n) => {+ let r = (0, F.useContext)(Uz), { isVirtualized: i } = (0, F.useContext)(DL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(DL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(AR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = _L({+ }, p = hL({...e,id: void 0,children: void 0,@@ -42084,33 +42084,33 @@ var Lhe = class extends mS {}), 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__*/ F.createElement(tB, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement($z, {role: "row",...t,style: r- }, /*#__PURE__*/ F.createElement(rB, {+ }, /*#__PURE__*/ F.createElement(tB, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = DA(), _ = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(Bhe, {- ...K(_, p, g),+ let { rowGroupProps: g } = TA(), _ = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(Vhe, {+ ...q(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ F.createElement(Jhe, null), /*#__PURE__*/ F.createElement(o, {+ }, l && /*#__PURE__*/ F.createElement(Yhe, null), /*#__PURE__*/ F.createElement(o, {collection: a,parent: n,- renderDropIndicator: PR(s, c)+ renderDropIndicator: MR(s, c)}), m);});-(class extends hS {+(class extends mS {static {this.type = "tablefooter";}});-var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vhe = class extends mS {+var Qz = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Hhe = class extends pS {static {this.type = "item";}@@ -42122,31 +42122,31 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vh}return null;}-}, tB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);- return n ? /*#__PURE__*/ F.createElement(CL.div, {+}, $z = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);+ return n ? /*#__PURE__*/ F.createElement(xL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(CL.tr, {+ }) : /*#__PURE__*/ F.createElement(xL.tr, {...e,ref: t});-}), nB = /*#__PURE__*/ dw(Vhe, (e, t, n) => {- let r = ZC(t), i = (0, F.useContext)(Gz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(MR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(kL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ale({+}), eB = /*#__PURE__*/ uw(Hhe, (e, t, n) => {+ let r = XC(t), i = (0, F.useContext)(Uz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(AR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(DL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ole({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = AD(), { isFocusVisible: _, focusProps: v } = AD({ within: !0 }), { hoverProps: y, isHovered: b } = PD({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = kD(), { isFocusVisible: _, focusProps: v } = kD({ within: !0 }), { hoverProps: y, isHovered: b } = ND({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = cle({ key: n.key }, i), S;+ }), { checkboxProps: x } = lle({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = dE();+ let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = uE();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -42156,7 +42156,7 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vh(0, F.useEffect)(() => {o && E.current;}, []);- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = _L({+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = hL({...k,id: void 0,defaultClassName: "react-aria-Row",@@ -42177,11 +42177,11 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), VhisExpanded: j,level: n.level + 1}- }), ee = Ww(e, { global: !0 });- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(tB, {+ }), ee = Uw(e, { global: !0 });+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement($z, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ F.createElement(rB, {+ }, /*#__PURE__*/ F.createElement(tB, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -42190,8 +42190,8 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vh...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ F.createElement(tB, {- ...K(ee, M, d, g, y, S?.dragProps, v),+ }))), /*#__PURE__*/ F.createElement($z, {+ ...q(ee, M, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,"data-selected": p.isSelected || void 0,@@ -42206,17 +42206,17 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vh"data-expanded": j || void 0,"data-has-child-items": A || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ F.createElement(gL, { values: [- [BL, { slots: {- [hL]: {},+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [RL, { slots: {+ [pL]: {},selection: x} }],- [VL, { slots: {- [hL]: {},+ [zL, { slots: {+ [pL]: {},selection: x} }],- [NL, { slots: {- [hL]: {},+ [jL, { slots: {+ [pL]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -42224,8 +42224,8 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vhstyle: { pointerEvents: "none" }}} }],- [RR, { isSelected: p.isSelected }],- [eB, { isFocusVisibleWithinRow: _ }]+ [IR, { isSelected: p.isSelected }],+ [Qz, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ F.createElement(l, {collection: i.collection,parent: n@@ -42233,34 +42233,34 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vh}, (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__*/ F.createElement(mw, {+ return /*#__PURE__*/ F.createElement(pw, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), Hhe = class extends mS {+}), Uhe = class extends pS {static {this.type = "cell";}-}, rB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);- return n ? /*#__PURE__*/ F.createElement(CL.div, {+}, tB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);+ return n ? /*#__PURE__*/ F.createElement(xL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(CL.td, {+ }) : /*#__PURE__*/ F.createElement(xL.td, {...e,ref: t});-}), iB = /*#__PURE__*/ uw(Hhe, (e, t, n) => {- let r = ZC(t), i = (0, F.useContext)(Gz), { dragState: a } = (0, F.useContext)(MR), { isVirtualized: o } = (0, F.useContext)(kL);+}), nB = /*#__PURE__*/ lw(Uhe, (e, t, n) => {+ let r = XC(t), i = (0, F.useContext)(Uz), { dragState: a } = (0, F.useContext)(AR), { isVirtualized: o } = (0, F.useContext)(DL);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Zce({+ let { gridCellProps: s, isPressed: c } = Qce({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = AD(), { hoverProps: f, isHovered: p } = PD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(eB), 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 = _L({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = kD(), { hoverProps: f, isHovered: p } = ND({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(Qz), 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 = hL({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -42279,9 +42279,9 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vhlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = Ww(e, { global: !0 });- return delete S.id, /*#__PURE__*/ F.createElement(rB, {- ...K(S, x, s, d, f),+ }), S = Uw(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ F.createElement(tB, {+ ...q(S, x, s, d, f),ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,@@ -42294,14 +42294,14 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vh"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ F.createElement(kL.Provider, { value: DL }, x.children));+ }, /*#__PURE__*/ F.createElement(DL.Provider, { value: TL }, x.children));});-function Uhe(e, t) {- t = ZC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(MR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function Whe(e, t) {+ t = XC(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(AR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ F.createElement(qhe, {+ return /*#__PURE__*/ F.createElement(Jhe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -42310,40 +42310,40 @@ function Uhe(e, t) {ref: t});}-var Whe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);- return n ? /*#__PURE__*/ F.createElement(CL.div, {+var Ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);+ return n ? /*#__PURE__*/ F.createElement(xL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(CL.tr, {+ }) : /*#__PURE__*/ F.createElement(xL.tr, {...e,ref: t});-}), Ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(kL);- return n ? /*#__PURE__*/ F.createElement(CL.div, {+}), Khe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(DL);+ return n ? /*#__PURE__*/ F.createElement(xL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(CL.td, {+ }) : /*#__PURE__*/ F.createElement(xL.td, {...e,ref: t});});-function Khe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(Gz), { visuallyHiddenProps: c } = dE(), l = _L({+function qhe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(Uz), { visuallyHiddenProps: c } = uE(), l = hL({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(Whe, {- ...Ww(e, { global: !0 }),+ return /*#__PURE__*/ F.createElement(Ghe, {+ ...Uw(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ F.createElement(Ghe, {+ }, /*#__PURE__*/ F.createElement(Khe, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -42354,14 +42354,14 @@ function Khe(e, t) {ref: i}), l.children));}-var qhe = /*#__PURE__*/ (0, F.forwardRef)(Khe);-function Jhe() {- let e = (0, F.useContext)(Gz), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(MR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = dE();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(tB, {+var Jhe = /*#__PURE__*/ (0, F.forwardRef)(qhe);+function Yhe() {+ let e = (0, F.useContext)(Uz), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(AR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = uE();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement($z, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ F.createElement(rB, {+ }, /*#__PURE__*/ F.createElement(tB, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -42372,9 +42372,9 @@ function Jhe() {ref: r})));}-uw(gS, function(e, t, n) {- let r = (0, F.useContext)(Gz), { isVirtualized: i } = (0, F.useContext)(kL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);- ZR((0, F.useMemo)(() => ({+lw(hS, function(e, t, n) {+ let r = (0, F.useContext)(Uz), { isVirtualized: i } = (0, F.useContext)(DL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);+ YR((0, F.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -42384,7 +42384,7 @@ uw(gS, function(e, t, n) {s,r?.collection]), u);- let d = _L({+ let d = hL({...c,id: void 0,children: n.rendered,@@ -42392,10 +42392,10 @@ uw(gS, 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__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(tB, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement($z, {style: { height: 0 },- inert: BR(!0)- }, /*#__PURE__*/ F.createElement(rB, { style: {+ inert: RR(!0)+ }, /*#__PURE__*/ F.createElement(tB, { style: {padding: 0,border: 0} }, /*#__PURE__*/ F.createElement("div", {@@ -42406,22 +42406,22 @@ uw(gS, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ F.createElement(tB, {- ...K(Ww(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ F.createElement($z, {+ ...q(Uw(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ F.createElement(rB, {+ }, /*#__PURE__*/ F.createElement(tB, {role: "rowheader",...p,style: m}, d.children)));});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function Yhe(e) {- let [t, n] = nE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = YR({+function Xhe(e) {+ let [t, n] = tE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = qR({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -42443,24 +42443,24 @@ function Yhe(e) {};}// node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function Xhe(e) {- let t = Yhe({+function Zhe(e) {+ let t = Xhe({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? aB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? rB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, F.useRef)(i);return (0, F.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = aB(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 = rB(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 aB(e, t) {+function rB(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);@@ -42469,24 +42469,24 @@ function aB(e, t) {return n;}// node_modules/react-aria-components/dist/private/Tabs.mjs-var oB = /*#__PURE__*/ (0, F.createContext)(null), sB = /*#__PURE__*/ (0, F.createContext)(null), Zhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, oB);+var iB = /*#__PURE__*/ (0, F.createContext)(null), aB = /*#__PURE__*/ (0, F.createContext)(null), Qhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, iB);let { children: n, orientation: r = "horizontal" } = e;return n = (0, F.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ F.createElement(sw, { content: n }, (n) => /*#__PURE__*/ F.createElement(Qhe, {+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(ow, { content: n }, (n) => /*#__PURE__*/ F.createElement($he, {props: e,collection: n,tabsRef: t}));});-function Qhe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = Xhe({+function $he({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = Zhe({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = AD({ within: !0 }), c = (0, F.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = kD({ within: !0 }), c = (0, F.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -42494,33 +42494,33 @@ function Qhe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = _L({+ ]), l = hL({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(CL.div, {- ...K(u, l, a),+ }), u = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(xL.div, {+ ...q(u, l, a),ref: t,slot: e.slot || void 0,"data-focused": o || void 0,"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ F.createElement(gL, { values: [[oB, e], [sB, i]] }, l.children));+ }, /*#__PURE__*/ F.createElement(mL, { values: [[iB, e], [aB, i]] }, l.children));}-var cB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return (0, F.useContext)(sB) ? /*#__PURE__*/ F.createElement($he, {+var oB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return (0, F.useContext)(aB) ? /*#__PURE__*/ F.createElement(ege, {props: e,forwardedRef: t- }) : /*#__PURE__*/ F.createElement(mw, e);+ }) : /*#__PURE__*/ F.createElement(pw, e);});-function $he({ props: e, forwardedRef: t }) {- let n = (0, F.useContext)(sB), { CollectionRoot: r } = (0, F.useContext)(kL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = vL(oB), o = ZC(t), { tabListProps: s } = fle({+function ege({ props: e, forwardedRef: t }) {+ let n = (0, F.useContext)(aB), { CollectionRoot: r } = (0, F.useContext)(DL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = gL(iB), o = XC(t), { tabListProps: s } = ple({...e,orientation: i,keyboardActivation: a- }, n, o), c = _L({+ }, n, o), c = hL({...e,children: null,defaultClassName: "react-aria-TabList",@@ -42528,30 +42528,30 @@ function $he({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = Ww(e, { global: !0 });- return delete l.id, /*#__PURE__*/ F.createElement(CL.div, {- ...K(l, c, s),+ }), l = Uw(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ F.createElement(LR, null, /*#__PURE__*/ F.createElement(r, {+ }, /*#__PURE__*/ F.createElement(FR, null, /*#__PURE__*/ F.createElement(r, {collection: n.collection,- persistedKeys: AL(n.selectionManager.focusedKey)+ persistedKeys: OL(n.selectionManager.focusedKey)})));}-var ege = /*#__PURE__*/ uw(class extends mS {+var tge = /*#__PURE__*/ lw(class extends pS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(sB), i = ZC(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = ule({+ let r = (0, F.useContext)(aB), i = XC(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = dle({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = AD(), { hoverProps: f, isHovered: p } = PD({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = kD(), { hoverProps: f, isHovered: p } = ND({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = _L({+ }), m = hL({...e,id: void 0,children: n.rendered,@@ -42564,9 +42564,9 @@ var ege = /*#__PURE__*/ uw(class extends mS {isPressed: c,isHovered: p}- }), h = n.props.href ? CL.a : CL.div, g = Ww(e, { global: !0 });+ }), h = n.props.href ? xL.a : xL.div, g = Uw(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {- ...K(g, m, a, l, f),+ ...q(g, m, a, l, f),ref: i,"data-selected": o || void 0,"data-disabled": s || void 0,@@ -42574,54 +42574,54 @@ var ege = /*#__PURE__*/ uw(class extends mS {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ F.createElement(RR.Provider, { value: { isSelected: o } }, m.children));-}), tge = /*#__PURE__*/ nw(function(e, t) {- let n = (0, F.useContext)(sB), r = ZC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ F.createElement(IR.Provider, { value: { isSelected: o } }, m.children));+}), nge = /*#__PURE__*/ tw(function(e, t) {+ let n = (0, F.useContext)(aB), r = XC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = rz(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(nge, {+ let s = tz(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(rge, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function nge(e) {- let t = (0, F.useContext)(sB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = ple(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = AD(), d = t.selectedKey === e.id, f = nz(r) && !i, p = _L({+function rge(e) {+ let t = (0, F.useContext)(aB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = mle(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = kD(), d = t.selectedKey === e.id, f = ez(r) && !i, p = hL({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: BR(!d),+ isInert: RR(!d),isEntering: f,isExiting: a,state: t}- }), m = Ww(o, { global: !0 });+ }), m = Uw(o, { global: !0 });delete m.id;- let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ F.createElement(CL.div, {+ let h = d ? q(m, s, c, p) : q(m, p);+ return /*#__PURE__*/ F.createElement(xL.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: BR(!d || e.inert),+ inert: RR(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ F.createElement(gL, { values: [[oB, null], [sB, null]] }, /*#__PURE__*/ F.createElement(kL.Provider, { value: DL }, p.children)));+ }, /*#__PURE__*/ F.createElement(mL, { values: [[iB, null], [aB, null]] }, /*#__PURE__*/ F.createElement(DL.Provider, { value: TL }, p.children)));}// node_modules/react-aria-components/dist/private/TextArea.mjs-var lB = /*#__PURE__*/ (0, F.createContext)({}), rge = (e) => {+var sB = /*#__PURE__*/ (0, F.createContext)({}), ige = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, ige = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = yL(e, t, lB);- let { hoverProps: n, isHovered: r } = PD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = AD({+}, age = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = _L(e, t, sB);+ let { hoverProps: n, isHovered: r } = ND(e), { isFocused: i, isFocusVisible: a, focusProps: o } = kD({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = _L({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = hL({...e,values: {isHovered: r,@@ -42632,8 +42632,8 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), rge = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ F.createElement(CL.textarea, {- ...K(rge(e), o, n),+ return /*#__PURE__*/ F.createElement(xL.textarea, {+ ...q(ige(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -42642,18 +42642,18 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), rge = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), age = /*#__PURE__*/ (0, F.createContext)(null), oge = /*#__PURE__*/ nw(function(e, t) {- [e, t] = yL(e, t, age);- let { validationBehavior: n } = vL(zL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);- [e, i] = yL(e, i, TL);- let [a, o] = bL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = wse({- ...xL(e),+}), oge = /*#__PURE__*/ (0, F.createContext)(null), sge = /*#__PURE__*/ tw(function(e, t) {+ [e, t] = _L(e, t, oge);+ let { validationBehavior: n } = gL(LL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);+ [e, i] = _L(e, i, CL);+ let [a, o] = vL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = wse({+ ...yL(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, F.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = _L({+ }, [i]), h = hL({...e,values: {isDisabled: e.isDisabled || !1,@@ -42662,8 +42662,8 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), rge = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = Ww(e, { global: !0 });- return delete g.id, /*#__PURE__*/ F.createElement(CL.div, {+ }), g = Uw(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ F.createElement(xL.div, {...g,...h,ref: t,@@ -42672,31 +42672,31 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), rge = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ F.createElement(gL, { values: [- [jL, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [kL, {...l,ref: a}],- [GL, {+ [UL, {...u,ref: m}],- [lB, {+ [sB, {...u,ref: m}],- [UL, {+ [VL, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [LL, { slots: {+ [FL, { slots: {description: d,errorMessage: f} }],- [RL, p]+ [IL, p]] }, h.children));-}), sge = class e extends vS {+}), cge = class e extends _S {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;@@ -42768,16 +42768,16 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), rge = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, cge = /*#__PURE__*/ (0, F.createContext)(null), uB = /*#__PURE__*/ (0, F.createContext)(null), lge = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = yL(e, t, cge), /*#__PURE__*/ F.createElement(sw, {- content: /*#__PURE__*/ F.createElement(mw, e),- createCollection: () => new sge()- }, (n) => /*#__PURE__*/ F.createElement(uge, {+}, lge = /*#__PURE__*/ (0, F.createContext)(null), cB = /*#__PURE__*/ (0, F.createContext)(null), uge = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = _L(e, t, lge), /*#__PURE__*/ F.createElement(ow, {+ content: /*#__PURE__*/ F.createElement(pw, e),+ createCollection: () => new cge()+ }, (n) => /*#__PURE__*/ F.createElement(dge, {props: e,collection: n,treeRef: t}));-}), dB = {+}), lB = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -42787,17 +42787,17 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), rge = (e) => {rtl: "ArrowRight"}};-function uge({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = Iw(), a = CD({+function dge({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = Fw(), a = SD({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, F.useRef)(o), l = (0, F.useRef)(s);(0, F.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, F.useContext)(kL), [y, b] = nE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));- _ge(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));- let D = lz({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(DL), [y, b] = tE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));+ vge(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let D = sz({...e,selectionMode: u,expandedKeys: y,@@ -42805,7 +42805,7 @@ function uge({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: O } = mle({+ }), { gridProps: O } = hle({...e,isVirtualized: g,layoutDelegate: _@@ -42819,7 +42819,7 @@ function uge({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;ee = r.renderDragPreview ? /*#__PURE__*/ F.createElement(e, { ref: N }, r.renderDragPreview) : null;}- let [te] = (0, F.useState)(() => new Lz());+ let [te] = (0, F.useState)(() => new Fz());if (s && r) {A = r.useDroppableCollectionState({collection: D.collection,@@ -42827,7 +42827,7 @@ function uge({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });te.setup(e, D, i);- let t = new TE({+ let t = new wE({collection: D.collection,collator: a,ref: n,@@ -42849,12 +42849,12 @@ function uge({ props: e, collection: t, treeRef: n }) {let t = A?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = D.collection.getItem(t.key);- (e.key === dB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === dB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);+ (e.key === lB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === lB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);}}}, A, n), M = A.isDropTarget({ type: "root" });}- let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = AD(), ie = {+ let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = kD(), ie = {isEmpty: D.collection.size === 0,isFocused: re,isFocusVisible: I,@@ -42862,7 +42862,7 @@ function uge({ props: e, collection: t, treeRef: n }) {selectionMode: D.selectionManager.selectionMode,allowsDragging: !!P,state: D- }, ae = _L({+ }, ae = hL({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -42879,9 +42879,9 @@ function uge({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let se = Ww(e, { global: !0 });- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(CL.div, {- ...K(se, ae, O, ne, j?.collectionProps),+ let se = Uw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(pT, null, /*#__PURE__*/ F.createElement(xL.div, {+ ...q(se, ae, O, ne, j?.collectionProps),ref: n,slot: e.slot || void 0,"data-empty": D.collection.size === 0 || void 0,@@ -42890,54 +42890,54 @@ function uge({ props: e, collection: t, treeRef: n }) {"data-focus-visible": I || void 0,"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,"data-allows-dragging": !!P || void 0- }, /*#__PURE__*/ F.createElement(gL, { values: [- [uB, D],- [MR, {+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [cB, D],+ [AR, {dragAndDropHooks: r,dragState: k,dropState: A}],- [NR, { render: pge }]- ] }, s && /*#__PURE__*/ F.createElement(gge, null), /*#__PURE__*/ F.createElement(LR, null, /*#__PURE__*/ F.createElement(h, {+ [jR, { render: mge }]+ ] }, s && /*#__PURE__*/ F.createElement(_ge, null), /*#__PURE__*/ F.createElement(FR, null, /*#__PURE__*/ F.createElement(h, {collection: D.collection,- persistedKeys: FR(D.selectionManager, r, A),+ persistedKeys: NR(D.selectionManager, r, A),scrollRef: n,- renderDropIndicator: PR(r, A)+ renderDropIndicator: MR(r, A)}))), oe)), ee);}-var dge = /*#__PURE__*/ uw(class extends mS {+var fge = /*#__PURE__*/ lw(class extends pS {static {this.type = "content";}}, function(e) {- let t = (0, F.useContext)(fB), n = _L({+ let t = (0, F.useContext)(uB), n = hL({children: e.children,values: t});- return /*#__PURE__*/ F.createElement(kL.Provider, { value: DL }, n.children);-}), fB = /*#__PURE__*/ (0, F.createContext)(null), fge = /*#__PURE__*/ dw(class extends mS {+ return /*#__PURE__*/ F.createElement(DL.Provider, { value: TL }, n.children);+}), uB = /*#__PURE__*/ (0, F.createContext)(null), pge = /*#__PURE__*/ uw(class extends pS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(uB);- t = ZC(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(MR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = dj({+ let r = (0, F.useContext)(cB);+ t = XC(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(AR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = lj({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: _ } = PD({+ }, 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: _ } = ND({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = AD(), { isFocusVisible: b, focusProps: x } = AD({ within: !0 }), { checkboxProps: S } = $se({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = kD(), { isFocusVisible: b, focusProps: x } = kD({ within: !0 }), { checkboxProps: S } = $se({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = dE();+ let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = uE();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -42976,7 +42976,7 @@ var dge = /*#__PURE__*/ uw(class extends mS {A,M,j- ]), N = _L({+ ]), N = hL({...e,id: void 0,children: n.rendered,@@ -42993,7 +42993,7 @@ var dge = /*#__PURE__*/ uw(class extends mS {(0, F.useEffect)(() => {a && te.current;}, []);- let P = SS({+ let P = xS({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -43003,7 +43003,7 @@ var dge = /*#__PURE__*/ uw(class extends mS {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), ne = BC(), re = Ww(e, { global: !0 });+ }), ne = zC(), re = Uw(e, { global: !0 });return delete re.id, delete re.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, w && !w.isHidden && /*#__PURE__*/ F.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -43026,8 +43026,8 @@ var dge = /*#__PURE__*/ uw(class extends mS {"aria-labelledby": `${ne} ${c.id}`,tabIndex: -1,ref: D- }))), /*#__PURE__*/ F.createElement(CL.div, {- ...K(re, c, y, g, x, C?.dragProps),+ }))), /*#__PURE__*/ F.createElement(xL.div, {+ ...q(re, c, y, g, x, C?.dragProps),...N,ref: t,"data-expanded": m && p || void 0,@@ -43046,17 +43046,17 @@ var dge = /*#__PURE__*/ uw(class extends mS {}, /*#__PURE__*/ F.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ F.createElement(gL, { values: [- [BL, { slots: {- [hL]: {},+ }, /*#__PURE__*/ F.createElement(mL, { values: [+ [RL, { slots: {+ [pL]: {},selection: S} }],- [VL, { slots: {- [hL]: {},+ [zL, { slots: {+ [pL]: {},selection: S} }],- [NL, { slots: {- [hL]: {},+ [jL, { slots: {+ [pL]: {},chevron: {...u,ref: T@@ -43067,13 +43067,13 @@ var dge = /*#__PURE__*/ uw(class extends mS {style: { pointerEvents: "none" }}} }],- [fB, { ...ee }],- [RR, { isSelected: f.isSelected }]+ [uB, { ...ee }],+ [IR, { isSelected: f.isSelected }]] }, P))));});-uw(gS, function(e, t, n) {- let { isVirtualized: r } = (0, F.useContext)(kL), i = (0, F.useContext)(uB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);- ZR((0, F.useMemo)(() => ({+lw(hS, function(e, t, n) {+ let { isVirtualized: r } = (0, F.useContext)(DL), i = (0, F.useContext)(cB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);+ YR((0, F.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -43082,11 +43082,11 @@ uw(gS, function(e, t, n) {o,s,i?.collection- ]), l), t = ZC(t);- let { rowProps: u, gridCellProps: d } = dj({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = XC(t);+ let { rowProps: u, gridCellProps: d } = lj({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = _L({+ }, m = hL({...c,id: void 0,children: n.rendered,@@ -43099,7 +43099,7 @@ uw(gS, function(e, t, n) {width: 0,height: 0},- inert: BR(!0)+ inert: RR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -43108,9 +43108,9 @@ uw(gS, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ F.createElement(CL.div, {+ })), a && m.children && /*#__PURE__*/ F.createElement(xL.div, {ref: t,- ...K(Ww(e), p),+ ...q(Uw(e), p),...m,"data-level": f}, /*#__PURE__*/ F.createElement("div", {@@ -43118,12 +43118,12 @@ uw(gS, function(e, t, n) {style: h}, m.children)));});-function pge(e, t) {- t = ZC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(MR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function mge(e, t) {+ t = XC(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(AR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ F.createElement(hge, {+ return /*#__PURE__*/ F.createElement(gge, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -43132,8 +43132,8 @@ function pge(e, t) {level: c});}-function mge(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = dE(), c = _L({+function hge(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = uE(), c = hL({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -43142,7 +43142,7 @@ function mge(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(CL.div, {+ return /*#__PURE__*/ F.createElement(xL.div, {...c,role: "row","aria-level": a,@@ -43155,9 +43155,9 @@ function mge(e, t) {ref: i}), c.children));}-var hge = /*#__PURE__*/ (0, F.forwardRef)(mge);-function gge() {- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(MR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = dE();+var gge = /*#__PURE__*/ (0, F.forwardRef)(hge);+function _ge() {+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(AR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = uE();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -43169,13 +43169,13 @@ function gge() {ref: n})));}-function _ge(e, t) {+function vge(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}// node_modules/@remixicon/react/index.mjs-var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43183,7 +43183,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43191,7 +43191,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6.38231 3.9681C7.92199 2.73647 9.87499 2 12 2C14.125 2 16.078 2.73647 17.6177 3.9681L19.0711 2.51472L20.4853 3.92893L19.0319 5.38231C20.2635 6.92199 21 8.87499 21 11V12H3V11C3 8.87499 3.73647 6.92199 4.9681 5.38231L3.51472 3.92893L4.92893 2.51472L6.38231 3.9681ZM3 14H21V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V14ZM9 9C9.55228 9 10 8.55228 10 8C10 7.44772 9.55228 7 9 7C8.44772 7 8 7.44772 8 8C8 8.55228 8.44772 9 9 9ZM15 9C15.5523 9 16 8.55228 16 8C16 7.44772 15.5523 7 15 7C14.4477 7 14 7.44772 14 8C14 8.55228 14.4477 9 15 9Z" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6.38231 3.9681C7.92199 2.73647 9.87499 2 12 2C14.125 2 16.078 2.73647 17.6177 3.9681L19.0711 2.51472L20.4853 3.92893L19.0319 5.38231C20.2635 6.92199 21 8.87499 21 11V12H3V11C3 8.87499 3.73647 6.92199 4.9681 5.38231L3.51472 3.92893L4.92893 2.51472L6.38231 3.9681ZM3 14H21V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V14ZM9 9C9.55228 9 10 8.55228 10 8C10 7.44772 9.55228 7 9 7C8.44772 7 8 7.44772 8 8C8 8.55228 8.44772 9 9 9ZM15 9C15.5523 9 16 8.55228 16 8C16 7.44772 15.5523 7 15 7C14.4477 7 14 7.44772 14 8C14 8.55228 14.4477 9 15 9Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43199,7 +43199,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.6734 7.22198C10.7974 7.22198 9.44138 6.22598 8.01338 6.26198C6.12938 6.28598 4.40138 7.35397 3.42938 9.04597C1.47338 12.442 2.92538 17.458 4.83338 20.218C5.76938 21.562 6.87338 23.074 8.33738 23.026C9.74138 22.966 10.2694 22.114 11.9734 22.114C13.6654 22.114 14.1454 23.026 15.6334 22.99C17.1454 22.966 18.1054 21.622 19.0294 20.266C20.0974 18.706 20.5414 17.194 20.5654 17.11C20.5294 17.098 17.6254 15.982 17.5894 12.622C17.5654 9.81397 19.8814 8.46998 19.9894 8.40998C18.6694 6.47798 16.6414 6.26198 15.9334 6.21398C14.0854 6.06998 12.5374 7.22198 11.6734 7.22198ZM14.7934 4.38998C15.5734 3.45398 16.0894 2.14598 15.9454 0.849976C14.8294 0.897976 13.4854 1.59398 12.6814 2.52998C11.9614 3.35798 11.3374 4.68998 11.5054 5.96198C12.7414 6.05798 14.0134 5.32598 14.7934 4.38998Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.6734 7.22198C10.7974 7.22198 9.44138 6.22598 8.01338 6.26198C6.12938 6.28598 4.40138 7.35397 3.42938 9.04597C1.47338 12.442 2.92538 17.458 4.83338 20.218C5.76938 21.562 6.87338 23.074 8.33738 23.026C9.74138 22.966 10.2694 22.114 11.9734 22.114C13.6654 22.114 14.1454 23.026 15.6334 22.99C17.1454 22.966 18.1054 21.622 19.0294 20.266C20.0974 18.706 20.5414 17.194 20.5654 17.11C20.5294 17.098 17.6254 15.982 17.5894 12.622C17.5654 9.81397 19.8814 8.46998 19.9894 8.40998C18.6694 6.47798 16.6414 6.26198 15.9334 6.21398C14.0854 6.06998 12.5374 7.22198 11.6734 7.22198ZM14.7934 4.38998C15.5734 3.45398 16.0894 2.14598 15.9454 0.849976C14.8294 0.897976 13.4854 1.59398 12.6814 2.52998C11.9614 3.35798 11.3374 4.68998 11.5054 5.96198C12.7414 6.05798 14.0134 5.32598 14.7934 4.38998Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43207,7 +43207,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), pB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), dB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43215,7 +43215,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), mB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), fB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43223,7 +43223,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), hB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), pB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43231,7 +43231,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43239,7 +43239,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), gB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), mB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43247,7 +43247,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), _B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), hB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43255,7 +43255,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), vB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), gB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43263,7 +43263,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43271,7 +43271,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43279,7 +43279,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43287,7 +43287,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43295,7 +43295,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43303,7 +43303,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43311,7 +43311,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), yB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), _B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43319,7 +43319,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), bB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), vB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43327,7 +43327,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43335,7 +43335,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), xB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), yB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43343,7 +43343,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43351,7 +43351,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43359,7 +43359,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 16H20V5H4V16ZM13 18V20H17V22H7V20H11V18H2.9918C2.44405 18 2 17.5511 2 16.9925V4.00748C2 3.45107 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44892 22 4.00748V16.9925C22 17.5489 21.5447 18 21.0082 18H13Z" })), SB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 16H20V5H4V16ZM13 18V20H17V22H7V20H11V18H2.9918C2.44405 18 2 17.5511 2 16.9925V4.00748C2 3.45107 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44892 22 4.00748V16.9925C22 17.5489 21.5447 18 21.0082 18H13Z" })), bB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43367,7 +43367,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43375,7 +43375,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43383,7 +43383,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M19 8H21C21.5523 8 22 8.44772 22 9V21C22 21.5523 21.5523 22 21 22H13C12.4477 22 12 21.5523 12 21V20H4C3.44772 20 3 19.5523 3 19V3C3 2.44772 3.44772 2 4 2H18C18.5523 2 19 2.44772 19 3V8ZM17 8V4H5V18H12V9C12 8.44772 12.4477 8 13 8H17ZM14 10V20H20V10H14Z" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M19 8H21C21.5523 8 22 8.44772 22 9V21C22 21.5523 21.5523 22 21 22H13C12.4477 22 12 21.5523 12 21V20H4C3.44772 20 3 19.5523 3 19V3C3 2.44772 3.44772 2 4 2H18C18.5523 2 19 2.44772 19 3V8ZM17 8V4H5V18H12V9C12 8.44772 12.4477 8 13 8H17ZM14 10V20H20V10H14Z" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43391,7 +43391,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), CB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), xB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43399,7 +43399,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43407,7 +43407,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 13.1716L19.0711 7.1005L20.4853 8.51472L12 17L3.51472 8.51472L4.92893 7.1005L11 13.1716V2H13V13.1716Z" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 13.1716L19.0711 7.1005L20.4853 8.51472L12 17L3.51472 8.51472L4.92893 7.1005L11 13.1716V2H13V13.1716Z" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43415,7 +43415,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), wB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), SB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43423,7 +43423,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), TB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), CB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43431,7 +43431,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43439,7 +43439,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43447,7 +43447,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43455,7 +43455,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43463,7 +43463,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43471,7 +43471,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), EB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), wB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43479,7 +43479,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43487,7 +43487,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), DB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), TB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43495,7 +43495,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), EB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43503,7 +43503,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.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 5Z" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.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 5Z" })), DB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43511,7 +43511,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43519,7 +43519,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43527,7 +43527,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 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" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 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" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43535,7 +43535,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43543,7 +43543,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43551,7 +43551,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43559,7 +43559,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43567,7 +43567,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43575,7 +43575,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43583,7 +43583,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43591,7 +43591,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43599,7 +43599,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43607,7 +43607,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43615,7 +43615,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), Qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), $ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43623,7 +43623,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43631,7 +43631,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43639,7 +43639,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43647,7 +43647,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.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" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.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" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43655,7 +43655,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43663,7 +43663,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), $ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), e_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43671,7 +43671,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43679,7 +43679,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), e_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), t_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43687,7 +43687,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), t_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), n_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43695,7 +43695,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43703,7 +43703,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43711,7 +43711,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43719,7 +43719,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), n_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), r_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43727,7 +43727,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43735,7 +43735,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), r_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), i_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43743,7 +43743,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43751,7 +43751,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), i_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), a_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43759,7 +43759,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), a_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), o_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43767,7 +43767,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6 4V20H18V4H6ZM5 2H19C19.5523 2 20 2.44772 20 3V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), o_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6 4V20H18V4H6ZM5 2H19C19.5523 2 20 2.44772 20 3V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), s_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43775,7 +43775,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), s_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), c_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43783,7 +43783,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), c_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), l_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43791,7 +43791,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43799,7 +43799,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), l_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), u_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43807,7 +43807,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43815,7 +43815,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43823,7 +43823,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43831,7 +43831,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), u_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), d_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43839,7 +43839,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3.00098 5.47902L10.3778 4.4625V11.5902H3.00098V5.47902ZM3.00098 18.521L10.3778 19.5375V12.4982H3.00098V18.521ZM11.1894 19.646L21.001 21V12.4982H11.1894V19.646ZM11.1894 4.35402V11.5902H21.001V3L11.1894 4.35402Z" })), d_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3.00098 5.47902L10.3778 4.4625V11.5902H3.00098V5.47902ZM3.00098 18.521L10.3778 19.5375V12.4982H3.00098V18.521ZM11.1894 19.646L21.001 21V12.4982H11.1894V19.646ZM11.1894 4.35402V11.5902H21.001V3L11.1894 4.35402Z" })), f_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43847,7 +43847,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43855,7 +43855,7 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), f_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), p_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43865,11 +43865,11 @@ var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => FclassName: "remixicon " + (n || "")}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));// src/react/boardui/components/base/input/label.tsx-function XB({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, I.jsxs)(ML, {+function JB({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsxs)(AL, {"data-label": "true",...a,- className: q("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: J("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, I.jsx)("span", {@@ -43877,7 +43877,7 @@ function XB({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, I.jsx)(qge, {+ n && /* @__PURE__ */ (0, I.jsx)(Jge, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -43885,32 +43885,32 @@ function XB({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr});}// src/react/boardui/components/base/input/hint-text.tsx-function ZB({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, I.jsx)(ome, {+function YB({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, I.jsx)(sme, {slot: e ? "errorMessage" : "description",...n,- className: q("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: J("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}// src/react/boardui/components/base/input/input.tsx-var QB = (0, F.createContext)({});-function $B({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(QB.Provider, {+var XB = (0, F.createContext)({});+function ZB({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(XB.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, I.jsx)(oge, {+ children: /* @__PURE__ */ (0, I.jsx)(sge, {...a,"data-input-size": e,- className: q("group flex h-max w-full flex-col items-start gap-1", r),+ className: J("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-$B.displayName = "TextField";-var eV = OI({+ZB.displayName = "TextField";+var QB = EI({field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",fieldSize: {medium: "p-2",@@ -43925,44 +43925,44 @@ var eV = OI({input: "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary focus:placeholder:text-text-primary disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text disabled:cursor-not-allowed aria-invalid:placeholder:text-text-error-placeholder",icon: "size-5 shrink-0"});-function tV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, F.useContext)(QB), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, I.jsx)(WL, {+function $B({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, F.useContext)(XB), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, I.jsx)(HL, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(eV.field, d ? eV.fieldWithAddonSize[u] : eV.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 }) => J(QB.field, d ? QB.fieldWithAddonSize[u] : QB.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, I.jsxs)("div", {- className: eV.content,+ className: QB.content,children: [/* @__PURE__ */ (0, I.jsxs)("div", {- className: eV.leftSection,+ className: QB.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {- className: eV.icon,+ className: QB.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, I.jsx)(fme, {+ }) : null, /* @__PURE__ */ (0, I.jsx)(pme, {ref: o,...c,- className: q(eV.input, l.inputClassName, a)+ className: J(QB.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, I.jsx)(n, {- className: eV.icon,+ className: QB.icon,"aria-hidden": !0}) : null]})});}-tV.displayName = "InputBase";-function nV({ 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, I.jsx)($B, {+$B.displayName = "InputBase";+function eV({ 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, I.jsx)(ZB, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- e && /* @__PURE__ */ (0, I.jsx)(XB, {+ e && /* @__PURE__ */ (0, I.jsx)(JB, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, I.jsx)(tV, {+ /* @__PURE__ */ (0, I.jsx)($B, {ref: c,groupRef: l,placeholder: r,@@ -43971,25 +43971,25 @@ function nV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, I.jsx)(ZB, {+ t && /* @__PURE__ */ (0, I.jsx)(YB, {isInvalid: d,children: t})] })});}-nV.displayName = "Input";+eV.displayName = "Input";// src/react/components/modal-frame.tsx-var p_e = {+var m_e = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl",tutorial: "max-w-2xl"};-function rV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {- let { isFocusVisible: o } = DC();- return /* @__PURE__ */ (0, I.jsx)(wz, {+function tV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {+ let { isFocusVisible: o } = EC();+ return /* @__PURE__ */ (0, I.jsx)(Sz, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -43997,11 +43997,11 @@ function rV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa"data-modal-kind": n,"data-motion-instant": o || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, I.jsx)(Jme, {+ children: /* @__PURE__ */ (0, I.jsx)(Yme, {"data-modal-surface": "","data-modal-width": n,- className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", p_e[n], a),- children: /* @__PURE__ */ (0, I.jsx)(bz, {+ className: J("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", m_e[n], a),+ children: /* @__PURE__ */ (0, I.jsx)(vz, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -44009,7 +44009,7 @@ function rV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa})});}-function iV({ children: e }) {+function nV({ children: e }) {return /* @__PURE__ */ (0, I.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",@@ -44017,12 +44017,12 @@ function iV({ children: e }) {});}// src/react/components/note.tsx-function aV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function rV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-note-layout": "",- className: q("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: J("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, I.jsxs)("div", {- className: q("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: J("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -44039,49 +44039,49 @@ function aV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, I.jsx)("div", {role: "status",- className: q("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: J("@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, I.jsx)("div", {role: "status",- className: q("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: J("@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, I.jsx)("div", {role: "note",- className: q("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: J("@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, I.jsx)("div", {role: "alert",- className: q("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: J("@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, I.jsx)("div", {role: "note",- className: q("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: J("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}// src/react/components/empty-state.tsx-var m_e = {+var h_e = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function h_e({ target: e, children: t }) {- return /* @__PURE__ */ (0, I.jsx)(J, {+function g_e({ target: e, children: t }) {+ return /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "secondary",onClick: () => document.querySelector(e)?.focus(),children: t});}-function oV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function iV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${m_e[i]}`,+ className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${h_e[i]}`,children: [/* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,@@ -44107,9 +44107,9 @@ function oV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }});}// src/react/components/sprite-glyph.tsx-var sV = /* @__PURE__ */ new Map();-function cV(e) {- let t = sV.get(e);+var aV = /* @__PURE__ */ new Map();+function oV(e) {+ let t = aV.get(e);if (t) return t;let { wide: n, viewBox: r } = Cn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,@@ -44125,10 +44125,10 @@ function cV(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, sV.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, aV.set(e, i), i;}// src/react/components/settings-dialog-close.tsx-function lV({ label: e, id: t, onPress: n }) {+function sV({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",id: t,@@ -44143,60 +44143,60 @@ function lV({ label: e, id: t, onPress: n }) {});}// src/react/settings/busy-props.ts-function uV(e) {+function cV(e) {return e ? {"aria-busy": !0,"aria-disabled": !0} : {};}// src/react/library-shortcuts/library-shortcuts.ts-var dV = ["library-shortcuts"], fV = "/api/library-shortcuts";-function pV(e = !0) {+var lV = ["library-shortcuts"], uV = "/api/library-shortcuts";+function dV(e = !0) {return Ft({- queryKey: dV,- queryFn: ({ signal: e }) => B(fV, e),+ queryKey: lV,+ queryFn: ({ signal: e }) => B(uV, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function mV() {+function fV() {return It({- mutationKey: dV,- mutationFn: (e) => V(fV, e),+ mutationKey: lV,+ mutationFn: (e) => V(uV, e),onSuccess: (e, t) => {- H.setQueryData(dV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));+ H.setQueryData(lV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function hV(e, t) {+function pV(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 g_e(e) {+function __e(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Pn(e.kind, e.name, e.entity_id);}// src/react/library-shortcuts/shortcut-controls.tsx-var gV = cV("star"), __e = cV("bookmark-plus"), _V = cV("chevron-right"), vV = {+var mV = oV("star"), v_e = oV("bookmark-plus"), hV = oV("chevron-right"), gV = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, yV = {- all: cV("star"),- performer: cV("user-round"),- creator: cV("user-round"),- studio: cV("clapperboard"),- series: cV("film"),- agency: cV("briefcase"),- tag: cV("tags"),- filters: cV("list-filter")-}, bV = [+}, _V = {+ all: oV("star"),+ performer: oV("user-round"),+ creator: oV("user-round"),+ studio: oV("clapperboard"),+ series: oV("film"),+ agency: oV("briefcase"),+ tag: oV("tags"),+ filters: oV("list-filter")+}, vV = [["all", "全部"],- ...Object.entries(vV),+ ...Object.entries(gV),["filters", "保存的筛选"]];-function xV({ label: e, children: t, ...n }) {+function yV({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",...n,@@ -44206,20 +44206,20 @@ function xV({ label: e, children: t, ...n }) {children: t});}-function SV({ item: e }) {- return /* @__PURE__ */ (0, I.jsx)(v_e, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function bV({ item: e }) {+ return /* @__PURE__ */ (0, I.jsx)(y_e, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function v_e({ item: e }) {- $I();- let t = pV(!1), n = (0, F.useRef)(t.data), r = mV(), i = t.data && t.data !== n.current ? hV(t.data.favorites || [], e) : e.favorite ?? (t.data ? hV(t.data.favorites || [], e) : !1);+function y_e({ item: e }) {+ ZI();+ let t = dV(!1), n = (0, F.useRef)(t.data), r = fV(), i = t.data && t.data !== n.current ? pV(t.data.favorites || [], e) : e.favorite ?? (t.data ? pV(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, I.jsx)(xV, {+ /* @__PURE__ */ (0, I.jsx)(yV, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${nn(e.kind, e.name, e.entity_id)}`,- ...uV(r.isPending),+ ...cV(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -44230,13 +44230,13 @@ function v_e({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Hs("") }- }) : /* @__PURE__ */ (0, I.jsx)(gV, {})+ }) : /* @__PURE__ */ (0, I.jsx)(mV, {})}),- r.isError ? /* @__PURE__ */ (0, I.jsx)(aV, {+ r.isError ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: lr(r.error)}) : null,- t.isError ? /* @__PURE__ */ (0, I.jsx)(J, {+ t.isError ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small","aria-label": "立即重试读取收藏",@@ -44246,38 +44246,38 @@ function v_e({ item: e }) {]});}-function CV({ currentHref: e, kind: t }) {+function xV({ currentHref: e, kind: t }) {let [n, r] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, I.jsx)(oL, {+ children: /* @__PURE__ */ (0, I.jsx)(iL, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: gV,+ icon: mV,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, I.jsx)(rV, {+ }), /* @__PURE__ */ (0, I.jsx)(tV, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, I.jsx)(y_e, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(b_e, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function y_e({ currentHref: e, kind: t, close: n }) {- $I();- let r = pV(), i = mV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);+function b_e({ currentHref: e, kind: t, close: n }) {+ ZI();+ let r = dV(), i = fV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);(0, F.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = fL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = uL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, F.useLayoutEffect)(() => {b.current && (x.current = zo(b.current) || null);}, []), (0, F.useLayoutEffect)(() => {@@ -44290,7 +44290,7 @@ function y_e({ currentHref: e, kind: t, close: n }) {}, [s]), (0, F.useLayoutEffect)(() => {x.current?.();});- let C = bV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = vV.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;@@ -44313,7 +44313,7 @@ function y_e({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, I.jsx)(lV, {+ }), /* @__PURE__ */ (0, I.jsx)(sV, {label: "关闭我的收藏",onPress: n})]@@ -44343,8 +44343,8 @@ function y_e({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- bV.map(([e, t]) => {- let n = yV[e] || gV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ vV.map(([e, t]) => {+ let n = _V[e] || mV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",@@ -44376,17 +44376,17 @@ function y_e({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, I.jsx)(gV, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(mV, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, I.jsx)(_V, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, I.jsx)(hV, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, I.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, I.jsx)(__e, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(v_e, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, I.jsx)(_V, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, I.jsx)(hV, { "aria-hidden": !0 })]})]})]@@ -44405,25 +44405,25 @@ function y_e({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, I.jsx)(aV, {+ r.isError ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: () => void r.refetch(),children: "立即重试"}),children: lr(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, I.jsx)(aV, {+ i.isError ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: lr(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(oV, {+ E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(iV, {size: "compact",- icon: cV("list-filter"),+ icon: oV("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, I.jsx)(mL, {+ actions: /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: "/",onClick: n,@@ -44438,11 +44438,11 @@ function y_e({ currentHref: e, kind: t, close: n }) {onClick: n,className: "min-w-0 flex-1 break-all text-body-regular text-text-primary underline",children: e.name- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...uV(i.isPending),+ ...cV(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -44457,16 +44457,16 @@ function y_e({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, I.jsx)(nV, {+ /* @__PURE__ */ (0, I.jsx)(eV, {label: "筛选名称",value: a,onChange: o,maxLength: 80}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {type: "submit",disabled: !a.trim(),- ...uV(i.isPending),+ ...cV(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -44477,26 +44477,26 @@ function y_e({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(nV, {+ /* @__PURE__ */ (0, I.jsx)(eV, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: cV("search"),+ leadingIcon: oV("search"),value: l,onChange: u}),- O.length ? null : /* @__PURE__ */ (0, I.jsx)(oV, {+ O.length ? null : /* @__PURE__ */ (0, I.jsx)(iV, {size: "compact",- icon: gV,+ icon: mV,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",- actions: l ? /* @__PURE__ */ (0, I.jsx)(J, {+ actions: l ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: () => u(""),children: "清除搜索"- }) : E.favorites.length ? /* @__PURE__ */ (0, I.jsx)(J, {+ }) : E.favorites.length ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, I.jsx)(mL, {+ }) : /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: "/",onClick: n,@@ -44510,25 +44510,25 @@ function y_e({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, I.jsxs)("a", {- href: g_e(e),+ href: __e(e),"aria-label": nn(e.kind, e.name, e.entity_id),onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, I.jsx)(b_e, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(x_e, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "truncate",children: nn(e.kind, e.name, e.entity_id)}), /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : vV[e.kind]+ children: e.scope === "online" ? "在线标签" : gV[e.kind]})]})]- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small","aria-label": `取消收藏${nn(e.kind, e.name, e.entity_id)}`,- ...uV(i.isPending),+ ...cV(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -44546,8 +44546,8 @@ function y_e({ currentHref: e, kind: t, close: n }) {]});}-function b_e({ item: e }) {- let t = yV[e.kind] || gV;+function x_e({ item: e }) {+ let t = _V[e.kind] || mV;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -44565,11 +44565,11 @@ function b_e({ item: e }) {});}// src/react/components/board-navigation-link.tsx-function x_e(e) {+function S_e(e) {return /* @__PURE__ */ (0, I.jsx)("a", { ...e });}// src/react/boardui/components/foundations/icons/chevrons.tsx-function S_e(e) {+function C_e(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -44583,7 +44583,7 @@ function S_e(e) {})});}-function C_e(e) {+function w_e(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -44597,7 +44597,7 @@ function C_e(e) {})});}-function wV(e) {+function SV(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -44610,55 +44610,55 @@ function wV(e) {});}// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function w_e({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function T_e({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = F.Children.toArray(e).filter(F.isValidElement);return /* @__PURE__ */ (0, I.jsx)("nav", {ref: r,"aria-label": t,- className: q("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: J("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, I.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(C_e, {+ children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(w_e, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function TV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function CV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t && /* @__PURE__ */ (0, I.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, I.jsx)("li", {"aria-current": "page",- className: q("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: J("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = q("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = J("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, I.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, I.jsx)(x_e, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(S_e, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: r,- className: q("cursor-pointer", s),+ className: J("cursor-pointer", s),children: o})});}// src/react/boardui/components/foundations/direction/direction.tsx-function EV() {- return Iw().direction;+function wV() {+ return Fw().direction;}// src/react/boardui/components/base/dropdown/menu-styles.ts-var DV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", T_e = "w-[266px]", E_e = "flex w-full flex-col gap-1 outline-none", OV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", kV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+var TV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", E_e = "w-[266px]", D_e = "flex w-full flex-col gap-1 outline-none", EV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", DV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";// src/react/boardui/components/base/tree-view/tree-view.tsx-function D_e({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = EV(), l = (0, F.useContext)(kL), u = l === DL && !s.dragAndDropHooks ? jV : l;+function O_e({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = wV(), l = (0, F.useContext)(DL), u = l === TL && !s.dragAndDropHooks ? kV : l;return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -44675,23 +44675,23 @@ function D_e({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, I.jsx)(kL.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(DL.Provider, {value: u,- children: /* @__PURE__ */ (0, I.jsx)(lge, {+ children: /* @__PURE__ */ (0, I.jsx)(uge, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => q("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 === jV ? "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) => J("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 === kV ? "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 AV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = EV();- return /* @__PURE__ */ (0, I.jsxs)(fge, {+function OV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = wV();+ return /* @__PURE__ */ (0, I.jsxs)(pge, {...u,ref: l,textValue: t,@@ -44699,11 +44699,11 @@ function AV({ 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) => q("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, I.jsx)(dge, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? kB : DB : Rge);+ className: (e) => J("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),+ children: [/* @__PURE__ */ (0, I.jsx)(fge, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? DB : TB : zge);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(k_e, {+ /* @__PURE__ */ (0, I.jsx)(A_e, {state: l,id: u,level: c,@@ -44713,20 +44713,20 @@ function AV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(PL, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(ML, {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, I.jsx)(hB, {+ children: /* @__PURE__ */ (0, I.jsx)(pB, {"aria-hidden": !0,- className: q("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: J("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,- className: q("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: J("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, I.jsx)(f, {"aria-hidden": !0,- className: q("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: J("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, I.jsx)("span", {@@ -44741,24 +44741,24 @@ function AV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var jV = {- ...DL,- CollectionRoot: O_e+var kV = {+ ...TL,+ CollectionRoot: k_e};-function O_e({ collection: e, ...t }) {- let n = (0, F.useContext)(uB);- return n ? /* @__PURE__ */ (0, I.jsx)(jx, {+function k_e({ collection: e, ...t }) {+ let n = (0, F.useContext)(cB);+ return n ? /* @__PURE__ */ (0, I.jsx)(Ax, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(A_e, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(j_e, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, I.jsx)(DL.CollectionRoot, {+ }) : /* @__PURE__ */ (0, I.jsx)(TL.CollectionRoot, {collection: e,...t});}-function k_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function A_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {let o = e.collection.getItem(t);if (!o) return null;let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;@@ -44791,7 +44791,7 @@ function k_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: q("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: J("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, I.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -44817,9 +44817,9 @@ function k_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function A_e({ state: e, children: t }) {- let n = Ox(), r = tS(), [i, a] = (0, F.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(pS.div, {+function j_e({ state: e, children: t }) {+ let n = Dx(), r = eS(), [i, a] = (0, F.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(fS.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -44858,14 +44858,14 @@ function A_e({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, I.jsx)(uB.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(cB.Provider, {value: n ? e : i,children: t})});}// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var MV = {+var AV = {md: {box: "size-4",glyph: "size-4",@@ -44879,11 +44879,11 @@ var MV = {gap: "gap-1.5"}};-function NV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = MV[t], c = n || r, l = o && !a;+function jV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = AV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,- className: q("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? q("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : q("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: J("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? J("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : J("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, I.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -44906,23 +44906,23 @@ function NV({ state: e, size: t = "md" }) {});}// src/react/boardui/components/base/checkbox/checkbox.tsx-function PV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = MV[n];- return /* @__PURE__ */ (0, I.jsx)(lme, {+function MV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = AV[n];+ return /* @__PURE__ */ (0, I.jsx)(ume, {ref: r,...i,- className: (t) => q("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NV, {+ className: (t) => J("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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: q(a.label, "text-text-primary"),+ className: J(a.label, "text-text-primary"),children: t})] })});}// src/react/components/overlay-scrollbar.ts-function FV() {+function NV() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null);return (0, F.useEffect)(() => {t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {@@ -44934,43 +44934,43 @@ function FV() {}, []), e;}// src/react/providers.tsx-var IV = null;-function j_e() {- return IV?.isConnected || (IV = document.createElement("div"), IV.className = "peach-react", IV.dataset.reactOverlays = "", document.body.append(IV)), IV;+var PV = null;+function M_e() {+ return PV?.isConnected || (PV = document.createElement("div"), PV.className = "peach-react", PV.dataset.reactOverlays = "", document.body.append(PV)), PV;}-function LV({ children: e }) {+function FV({ children: e }) {return /* @__PURE__ */ (0, I.jsx)(oe, {client: H,children: /* @__PURE__ */ (0, I.jsx)(lie, {reducedMotion: "user",- children: /* @__PURE__ */ (0, I.jsx)(TD, {- getContainer: j_e,+ children: /* @__PURE__ */ (0, I.jsx)(wD, {+ getContainer: M_e,children: e})})});}// node_modules/sonner/dist/index.mjs-function M_e(e) {+function N_e(e) {if (!e || typeof document > "u") return;let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));}-var N_e = (e) => {+var P_e = (e) => {switch (e) {- case "success": return I_e;- case "info": return R_e;- case "warning": return L_e;- case "error": return z_e;+ case "success": return L_e;+ case "info": return z_e;+ case "warning": return R_e;+ case "error": return B_e;default: return null;}-}, P_e = Array(12).fill(0), F_e = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {+}, F_e = Array(12).fill(0), I_e = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, P_e.map((e, t) => /*#__PURE__*/ F.createElement("div", {+}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, F_e.map((e, t) => /*#__PURE__*/ F.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), I_e = /*#__PURE__*/ F.createElement("svg", {+})))), L_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44981,7 +44981,7 @@ var N_e = (e) => {fillRule: "evenodd",d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule: "evenodd"-})), L_e = /*#__PURE__*/ F.createElement("svg", {+})), R_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44992,7 +44992,7 @@ var N_e = (e) => {fillRule: "evenodd",d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule: "evenodd"-})), R_e = /*#__PURE__*/ F.createElement("svg", {+})), z_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -45003,7 +45003,7 @@ var N_e = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule: "evenodd"-})), z_e = /*#__PURE__*/ F.createElement("svg", {+})), B_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -45014,7 +45014,7 @@ var N_e = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule: "evenodd"-})), B_e = /*#__PURE__*/ F.createElement("svg", {+})), V_e = /*#__PURE__*/ F.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -45035,7 +45035,7 @@ var N_e = (e) => {y1: "6",x2: "18",y2: "18"-})), V_e = () => {+})), H_e = () => {let [e, t] = F.useState(document.hidden);return F.useEffect(() => {let e = () => {@@ -45043,7 +45043,7 @@ var N_e = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, H_e = 1, U_e = 100, RV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : H_e++, zV = new class {+}, U_e = 1, W_e = 100, IV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : U_e++, LV = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -45053,10 +45053,10 @@ var N_e = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - U_e;+ let e = this.toasts.length - W_e;e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));}, this.create = (e) => {- let { message: t, ...n } = e, r = RV(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = IV(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({@@ -45131,7 +45131,7 @@ var N_e = (e) => {type: "default",message: e});- else if (G_e(e) && !e.ok) {+ else if (K_e(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !F.isValidElement(r) ? r : { message: r };this.create({@@ -45175,7 +45175,7 @@ var N_e = (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 = RV(t);+ let n = IV(t);return this.create({...t,jsx: e(n),@@ -45184,34 +45184,34 @@ var N_e = (e) => {}), n;}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();}-}(), W_e = (e, t) => zV.message(e, t), G_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", BV = Object.assign(W_e, {- success: zV.success,- info: zV.info,- warning: zV.warning,- error: zV.error,- custom: zV.custom,- message: zV.message,- promise: zV.promise,- dismiss: zV.dismiss,- loading: zV.loading+}(), G_e = (e, t) => LV.message(e, t), K_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", RV = Object.assign(G_e, {+ success: LV.success,+ info: LV.info,+ warning: LV.warning,+ error: LV.error,+ custom: LV.custom,+ message: LV.message,+ promise: LV.promise,+ dismiss: LV.dismiss,+ loading: LV.loading}, {- getHistory: () => zV.toasts,- getToasts: () => zV.getActiveToasts()+ getHistory: () => LV.toasts,+ getToasts: () => LV.getActiveToasts()});-M_e("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");-function VV(e) {+N_e("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");+function zV(e) {return e.label !== void 0;}-var K_e = 3, q_e = "24px", J_e = "16px", HV = 4e3, Y_e = 356, X_e = 14, Z_e = 45, Q_e = 200;-function UV(...e) {+var q_e = 3, J_e = "24px", Y_e = "16px", BV = 4e3, X_e = 356, Z_e = 14, Q_e = 45, $_e = 200;+function VV(...e) {return e.filter(Boolean).join(" ");}-function $_e(e) {+function eve(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var eve = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || HV), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || HV, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = V_e(), ke = F.useMemo(() => e.swipeDirections ?? $_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";+var tve = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || BV), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || BV, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = H_e(), ke = F.useMemo(() => e.swipeDirections ?? eve(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";Se.current = F.useMemo(() => ve * x + De, [ve, De]), F.useEffect(() => {ce.current = be;}, [be]), F.useEffect(() => {@@ -45252,7 +45252,7 @@ var eve = (e) => {let Me = F.useCallback(() => {ee(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, Q_e);+ }, $_e);}, [n,d,@@ -45283,18 +45283,18 @@ var eve = (e) => {}, [Me, n.delete]);function Ne() {return w?.loading ? /*#__PURE__*/ F.createElement("div", {- className: UV(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: VV(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": pe === "loading"- }, w.loading) : /*#__PURE__*/ F.createElement(F_e, {- className: UV(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ F.createElement(I_e, {+ className: VV(C?.loader, n?.classNames?.loader),visible: pe === "loading"});}- let Pe = n.icon || w?.[pe] || N_e(pe);+ let Pe = n.icon || w?.[pe] || P_e(pe);return /*#__PURE__*/ F.createElement("li", {tabIndex: 0,ref: ue,- className: UV(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),+ className: VV(_, 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),@@ -45337,7 +45337,7 @@ var eve = (e) => {if (P || !he) return;we.current = null;let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Z_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Q_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);else {var o, s;(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), I(!1), te(!1), D(null);@@ -45376,46 +45376,46 @@ var eve = (e) => {onClick: je || !he ? () => {} : () => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: UV(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? B_e) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {+ className: VV(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? V_e) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {"data-icon": "",- className: UV(C?.icon, n?.classNames?.icon)+ className: VV(C?.icon, n?.classNames?.icon)}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ F.createElement("div", {"data-content": "",- className: UV(C?.content, n?.classNames?.content)+ className: VV(C?.content, n?.classNames?.content)}, /*#__PURE__*/ F.createElement("div", {"data-title": "",- className: UV(C?.title, n?.classNames?.title)+ className: VV(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ F.createElement("div", {"data-description": "",- className: UV(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && VV(n.cancel) ? /*#__PURE__*/ F.createElement("button", {+ className: VV(v, _e, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && zV(n.cancel) ? /*#__PURE__*/ F.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- VV(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ zV(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());},- className: UV(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && VV(n.action) ? /*#__PURE__*/ F.createElement("button", {+ className: VV(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && zV(n.action) ? /*#__PURE__*/ F.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- VV(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ zV(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());},- className: UV(C?.actionButton, n?.classNames?.actionButton)+ className: VV(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function WV() {+function HV() {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 tve(e, t) {+function nve(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? J_e : q_e;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Y_e : J_e;function o(e) {["top",@@ -45436,11 +45436,11 @@ function tve(e, t) {}) : o(a);}), n;}-var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = K_e, toastOptions: g, dir: _ = WV(), gap: v = X_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || zV.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var UV = /*#__PURE__*/ F.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = q_e, toastOptions: g, dir: _ = HV(), gap: v = Z_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || LV.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return F.useEffect(() => zV.subscribe((e) => {+ return F.useEffect(() => LV.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -45509,7 +45509,7 @@ var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ F.createElement("ol", {key: t,- dir: _ === "auto" ? WV() : _,+ dir: _ === "auto" ? HV() : _,tabIndex: -1,ref: N,className: c,@@ -45519,10 +45519,10 @@ var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${Y_e}px`,+ "--width": `${X_e}px`,"--gap": `${v}px`,...m,- ...tve(l, u)+ ...nve(l, u)},onBlur: (e) => {ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));@@ -45540,7 +45540,7 @@ var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);},onPointerUp: () => j(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(eve, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(tve, {key: n.id,icons: y,index: i,@@ -45570,35 +45570,35 @@ var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), KV = "/api/library-processing", qV = ["library-processing"], nve = (e, t, n) => {+}), WV = "/api/library-processing", GV = ["library-processing"], rve = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${KV}?${r}`, t);-}, rve = {+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${WV}?${r}`, t);+}, ive = {fetching_cover: "封面",querying_metadata: "资料"};-function JV(e) {+function KV(e) {if (e?.status !== "running" || e.current_asset_id == null) return null;- let t = rve[e.current_action || ""];+ let t = ive[e.current_action || ""];return !t || (e.waited_seconds || 0) < 120 ? null : {what: t,source: e.current_source};}-function YV({ what: e, source: t }) {+function qV({ what: e, source: t }) {return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;}-var XV = (e) => !!e && [+var JV = (e) => !!e && ["running","pausing","paused","stopping"-].includes(e.status), ZV = (e) => e?.status === "failed" && e.outcome === "partial", QV = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", $V = "/?loc=&thumb=0";-function eH(e) {- if (!XV(e)) return "";+].includes(e.status), YV = (e) => e?.status === "failed" && e.outcome === "partial", XV = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", ZV = "/?loc=&thumb=0";+function QV(e) {+ if (!JV(e)) return "";if (e.status === "stopping") return "正在取消,等待当前步骤退出;已取得的结果会保留";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";@@ -45609,30 +45609,30 @@ function eH(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 tH = (e) => B(KV, e);-async function nH(e) {+var $V = (e) => B(WV, e);+async function eH(e) {await H.fetchQuery({- queryKey: qV,- queryFn: () => tH(e)+ queryKey: GV,+ queryFn: () => $V(e)});}-var ive = 2e3, ave = 1e4, rH = "连接中断,正在重新读取处理进度", ove = {+var ave = 2e3, ove = 1e4, tH = "连接中断,正在重新读取处理进度", sve = {manual: "在网页发起",scheduled: "定时发起",startup: "服务启动时自动发起",cli: "由命令行或托盘发起"};-function sve(e, t) {+function cve(e, t) {return `保存后 Peach 会重新启动。${e.trigger === "cli" ? "这个任务由命令行或托盘发起,在独立进程里运行,不受重启影响。" : e.status === "paused" ? "已暂停的任务会保持暂停,重启后点继续即可接着处理。" : "正在进行的任务会随重启中断,重启后从中断处继续。"}${t ? "勾选的「保存后扫描并补全资料」会排在当前任务之后。" : ""}`;}-function cve(e) {- let t = ove[e.trigger || ""];+function lve(e) {+ let t = sve[e.trigger || ""];return `当前的扫描与采集任务${t ? `(${t})` : ""}还没结束,等它完成或取消后再开始新的同步`;}-function iH(e, t) {- return XV(e) ? ive : t ? ave : !1;+function nH(e, t) {+ return JV(e) ? ave : t ? ove : !1;}-var lve = {+var uve = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -45641,25 +45641,25 @@ var lve = {skipped: "已跳过",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, aH = {+}, rH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function uve(e) {- let t = Object.entries(e).filter(([e, t]) => aH[e] && t > 0).map(([e, t]) => `${aH[e]} ${t.toLocaleString()} 部`);+function dve(e) {+ let t = Object.entries(e).filter(([e, t]) => rH[e] && t > 0).map(([e, t]) => `${rH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function dve(e) {+function fve(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = lve[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${qI(e.waited_seconds)}` : "";+ let t = uve[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${GI(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function fve(e) {- let t = e.total ? `${JI(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return dve(e) + (t ? ` · ${t}` : "");-}function pve(e) {+ let t = e.total ? `${KI(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return fve(e) + (t ? ` · ${t}` : "");+}+function mve(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -45673,22 +45673,22 @@ function pve(e) {log: e.issues_log || ""} : null;}-var oH = "peach.library-processing.announced", mve = 120;-function sH(e) {+var iH = "peach.library-processing.announced", hve = 120;+function aH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < mve;+ return !!e.job_id && t >= 0 && t < hve;}-function hve(e, t, n) {- if (e.status === "complete" && (n || sH(e))) {+function gve(e, t, n) {+ if (e.status === "complete" && (n || aH(e))) {try {- if (e.job_id && localStorage.getItem(oH) === e.job_id) return;- e.job_id && localStorage.setItem(oH, e.job_id);+ if (e.job_id && localStorage.getItem(iH) === e.job_id) return;+ e.job_id && localStorage.setItem(iH, 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} 部视频预览` : ""));}}// src/react/boardui/components/base/buttons/link-button.tsx-var cH = OI({+var oH = EI({base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",size: {medium: "text-body-medium",@@ -45705,15 +45705,15 @@ var cH = OI({secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"}});-function lH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = q(cH.base, cH.size[t], cH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [+function sH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = J(oH.base, oH.size[t], oH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n ? /* @__PURE__ */ (0, I.jsx)(n, {- className: cH.icon[t],+ className: oH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, I.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: cH.icon[t],+ className: oH.icon[t],"aria-hidden": !0}) : null] });@@ -45739,7 +45739,7 @@ function lH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili});}// src/react/settings/use-action.ts-function uH(e = "") {+function cH(e = "") {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(""), [i, a] = (0, F.useState)(e);(0, F.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45764,10 +45764,10 @@ function uH(e = "") {};}// src/react/library-processing/slow-item.tsx-function dH({ state: e }) {- let t = uH(), n = (e) => {- t.busy || t.run(e.action, (t) => V(KV, e, "POST", t), (e) => {- H.setQueryData(qV, e), H.invalidateQueries({ queryKey: qV });+function lH({ state: e }) {+ let t = cH(), n = (e) => {+ t.busy || t.run(e.action, (t) => V(WV, e, "POST", t), (e) => {+ H.setQueryData(GV, e), H.invalidateQueries({ queryKey: GV });});};return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45775,11 +45775,11 @@ function dH({ state: e }) {children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, I.jsx)(J, {+ children: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "secondary",disabled: e.skip_requested,- ...uV(t.busy === "skip_current"),+ ...cV(t.busy === "skip_current"),onClick: () => {e.job_id && e.current_asset_id != null && n({action: "skip_current",@@ -45803,37 +45803,37 @@ function dH({ state: e }) {]});}-function gve({ state: e, slow: t }) {- return /* @__PURE__ */ (0, I.jsx)(aV, {+function _ve({ state: e, slow: t }) {+ return /* @__PURE__ */ (0, I.jsx)(rV, {tone: "warning",- action: /* @__PURE__ */ (0, I.jsx)(dH, { state: e }),- children: YV(t)+ action: /* @__PURE__ */ (0, I.jsx)(lH, { state: e }),+ children: qV(t)});}-function _ve({ state: e, slow: t }) {+function vve({ state: e, slow: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-processing-slow": "",className: "flex min-w-0 flex-wrap items-center justify-between gap-3",children: [/* @__PURE__ */ (0, I.jsx)("p", {className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",- children: YV(t)- }), /* @__PURE__ */ (0, I.jsx)(dH, { state: e })]+ children: qV(t)+ }), /* @__PURE__ */ (0, I.jsx)(lH, { state: e })]});}// src/react/components/use-moving-surface.ts-var vve = {+var yve = {selection: {- type: zg,+ type: Rg,duration: .16,bounce: 0},hover: {- type: zg,+ type: Rg,duration: .08,bounce: 0}};-function fH(e) {+function uH(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!t) return;@@ -45854,7 +45854,7 @@ function fH(e) {let E = `translate(${b}px, ${x}px) scale(1, 1)`;if (u && a && !r.matches && T && s !== h) {let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;- l = gae(n, { transform: [r, E] }, vve[e]);+ l = gae(n, { transform: [r, E] }, yve[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45890,24 +45890,24 @@ function fH(e) {}, [t, e]), n;}// src/react/components/menu-dialog.tsx-function pH(e) {- let t = fH("hover");- return /* @__PURE__ */ (0, I.jsx)(bz, {+function dH(e) {+ let t = uH("hover");+ return /* @__PURE__ */ (0, I.jsx)(vz, {...e,ref: t});}// src/react/library-processing/processing-effort.tsx-var mH = [+var fH = ["low","standard","high"-], hH = [+], pH = ["低占用","标准","全速"-], gH = cV("snail"), _H = cV("zap");-function vH({ className: e }) {+], mH = oV("snail"), hH = oV("zap");+function gH({ className: e }) {return /* @__PURE__ */ (0, I.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45938,12 +45938,12 @@ function vH({ className: e }) {]});}-var yve = [- gH,- _H,- vH+var bve = [+ mH,+ hH,+ gH];-function bve({ animate: e }) {+function xve({ animate: e }) {let [t, n] = (0, F.useState)(document.hidden);return (0, F.useEffect)(() => {let e = () => n(document.hidden);@@ -45975,8 +45975,8 @@ function bve({ animate: e }) {} }, t))]});}-function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, mH.indexOf(e)), [a, o] = (0, F.useState)(i);+function _H({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, fH.indexOf(e)), [a, o] = (0, F.useState)(i);return (0, F.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45987,7 +45987,7 @@ function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), hH[a]]+ }), pH[a]]}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45995,19 +45995,19 @@ function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(gH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, I.jsx)(mH, {}), "最慢"]}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(_H, {}), "标准"]+ children: [/* @__PURE__ */ (0, I.jsx)(hH, {}), "标准"]}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, I.jsx)(vH, {}), "最快"]+ children: [/* @__PURE__ */ (0, I.jsx)(gH, {}), "最快"]})]}),- /* @__PURE__ */ (0, I.jsxs)(yme, {+ /* @__PURE__ */ (0, I.jsxs)(bme, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -46016,10 +46016,10 @@ function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(mH[e]);+ e !== i && n(fH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, I.jsx)(ML, {+ children: [/* @__PURE__ */ (0, I.jsx)(AL, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -46039,11 +46039,11 @@ function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, I.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, I.jsx)(bve, { animate: r }) : null,- /* @__PURE__ */ (0, I.jsx)(bme, {+ a === 2 ? /* @__PURE__ */ (0, I.jsx)(xve, { animate: r }) : null,+ /* @__PURE__ */ (0, I.jsx)(xme, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, I.jsx)(xme, {- "aria-label": hH[a],+ children: /* @__PURE__ */ (0, I.jsx)(Sme, {+ "aria-label": pH[a],className: "processing-effort-thumb"})})@@ -46057,37 +46057,37 @@ function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function bH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, mH.indexOf(e));+function vH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, fH.indexOf(e));return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "processing-effort-trigger","data-speed": e,- children: /* @__PURE__ */ (0, I.jsx)(J, {+ children: /* @__PURE__ */ (0, I.jsx)(Y, {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${hH[s]}`,+ "aria-label": `处理速度:${pH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: yve[s],- trailingIcon: pB,+ leadingIcon: bve[s],+ trailingIcon: dB,onClick: () => {t || o(!a);},- children: hH[s]+ children: pH[s]})- }), /* @__PURE__ */ (0, I.jsx)(sz, {+ }), /* @__PURE__ */ (0, I.jsx)(az, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: DV,- children: /* @__PURE__ */ (0, I.jsx)(pH, {+ className: TV,+ children: /* @__PURE__ */ (0, I.jsx)(dH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, I.jsx)(yH, {+ children: /* @__PURE__ */ (0, I.jsx)(_H, {value: e,busy: t,onChange: n,@@ -46097,10 +46097,10 @@ function bH({ value: e, busy: t, onChange: n, animate: r = !0 }) {})] });}// src/react/library-processing/processing-controls.tsx-function xH({ state: e, disabled: t = !1 }) {- let n = uH(), r = (0, F.useRef)(!1), i = XV(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {- t || n.busy || n.run(e.action, (t) => V(KV, e, "POST", t), (e) => {- H.setQueryData(qV, e), H.invalidateQueries({ queryKey: qV });+function yH({ state: e, disabled: t = !1 }) {+ let n = cH(), r = (0, F.useRef)(!1), i = JV(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {+ t || n.busy || n.run(e.action, (t) => V(WV, e, "POST", t), (e) => {+ H.setQueryData(GV, e), H.invalidateQueries({ queryKey: GV });});}, l = () => {let i = e.job_id;@@ -46124,7 +46124,7 @@ function xH({ state: e, disabled: t = !1 }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(bH, {+ /* @__PURE__ */ (0, I.jsx)(vH, {value: e.speed_mode || "standard",busy: t || !!n.busy || a,animate: e.status !== "paused" && e.status !== "pausing",@@ -46134,15 +46134,15 @@ function xH({ state: e, disabled: t = !1 }) {...i ? { job_id: e.job_id } : {}})}),- i ? /* @__PURE__ */ (0, I.jsx)(J, {+ i ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? LB : FB,+ leadingIcon: e.status === "paused" ? FB : NB,"aria-label": o,title: o,disabled: t || !e.job_id || e.status === "pausing" || a,- ...uV(n.busy === "pause" || n.busy === "resume"),+ ...cV(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && c({action: e.status === "paused" ? "resume" : "pause",@@ -46150,15 +46150,15 @@ function xH({ state: e, disabled: t = !1 }) {});}}) : null,- i ? /* @__PURE__ */ (0, I.jsx)(J, {+ i ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: WB,+ leadingIcon: HB,"aria-label": s,title: s,disabled: t || !e.job_id || a,- ...uV(n.busy === "cancel"),+ ...cV(n.busy === "cancel"),onClick: l}) : null]@@ -46170,11 +46170,11 @@ function xH({ state: e, disabled: t = !1 }) {});}// src/react/library-processing/use-library-processing.ts-function SH({ toast: e, mode: t, monitor: n }) {+function bH({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = Ft({- queryKey: qV,- queryFn: ({ signal: e }) => tH(e),- refetchInterval: (e) => iH(e.state.data, r)+ queryKey: GV,+ queryFn: ({ signal: e }) => $V(e),+ refetchInterval: (e) => nH(e.state.data, r)}), [a, o] = (0, F.useState)(null), s = (0, F.useRef)(void 0), c = i.data;return (0, F.useEffect)(() => {if (!c) return;@@ -46185,8 +46185,8 @@ function SH({ toast: e, mode: t, monitor: n }) {"pausing","paused","stopping"- ].includes(n) && !XV(c);- r && o(c), (r || t === "notice") && hve(c, e, r);+ ].includes(n) && !JV(c);+ r && o(c), (r || t === "notice") && gve(c, e, r);}, [c,t,@@ -46198,7 +46198,7 @@ function SH({ toast: e, mode: t, monitor: n }) {};}// src/react/components/loading-dots.tsx-function CH({ label: e }) {+function xH({ label: e }) {return /* @__PURE__ */ (0, I.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -46217,21 +46217,21 @@ function CH({ label: e }) {});}// src/react/components/progress.tsx-var wH = 100, xve = .4;-function TH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1, meter: a = !1 }) {- let o = n > 0 ? n : 1, s = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), o), c = (e) => s(e) / o * wH;+var SH = 100, Sve = .4;+function CH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1, meter: a = !1 }) {+ let o = n > 0 ? n : 1, s = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), o), c = (e) => s(e) / o * SH;return /* @__PURE__ */ (0, I.jsxs)("svg", {role: a ? "meter" : "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": o,"aria-valuenow": s(t),- viewBox: `0 0 ${wH} 1`,+ viewBox: `0 0 ${SH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, I.jsx)("rect", {- width: wH,+ width: SH,height: 1,className: i ? "fill-text-primary/10" : "fill-background-tertiary-default"}),@@ -46242,7 +46242,7 @@ function TH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1, m}),r.map((e) => /* @__PURE__ */ (0, I.jsx)("rect", {x: c(e),- width: xve,+ width: Sve,height: 1,className: "fill-background-secondary-default"}, e))@@ -46250,11 +46250,11 @@ function TH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1, m});}// src/react/components/task-progress.tsx-function EH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function wH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-task-progress": r ? "embedded" : "framed",- className: q("flex flex-col gap-1.5", !r && "gap-2 rounded-2lg bg-background-tertiary-default px-4 py-3 text-text-secondary"),- children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(TH, {+ className: J("flex flex-col gap-1.5", !r && "gap-2 rounded-2lg bg-background-tertiary-default px-4 py-3 text-text-secondary"),+ children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(CH, {label: e,value: t,max: n,@@ -46262,11 +46262,11 @@ function EH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {}), /* @__PURE__ */ (0, I.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, I.jsx)(CH, { label: e })+ })] }) : /* @__PURE__ */ (0, I.jsx)(xH, { label: e })});}// src/react/library-processing/processing-line.tsx-function DH(e) {+function TH(e) {let [t, n] = (0, F.useState)({snapshot: e,seconds: 0@@ -46282,17 +46282,17 @@ function DH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return fve(a ? {+ return pve(a ? {...e,waited_seconds: r + a} : e);}-function Sve({ state: e }) {- return DH(e);-}function Cve({ state: e }) {- let t = DH(e);- return /* @__PURE__ */ (0, I.jsx)(EH, {+ return TH(e);+}+function wve({ state: e }) {+ let t = TH(e);+ return /* @__PURE__ */ (0, I.jsx)(wH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -46300,7 +46300,7 @@ function Cve({ state: e }) {});}// src/react/components/collapse-region.tsx-function OH({ open: e, children: t, ...n }) {+function EH({ open: e, children: t, ...n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(!1);return (0, F.useLayoutEffect)(() => {let t = r.current;@@ -46311,7 +46311,7 @@ function OH({ open: e, children: t, ...n }) {children: t});}-function kH(e) {+function DH(e) {return /* @__PURE__ */ (0, I.jsx)("svg", {...e,"aria-hidden": !0,@@ -46326,21 +46326,21 @@ function kH(e) {});}// src/react/boardui/components/application/settings/settings-rows.tsx-function AH({ className: e, children: t }) {+function OH({ className: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {- className: q("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: J("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function jH({ className: e, children: t }) {+function kH({ className: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {- className: q("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: J("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function wve({ label: e, description: t, children: n }) {+function Tve({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {- className: q("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: J("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, I.jsx)("p", {@@ -46354,7 +46354,7 @@ function wve({ label: e, description: t, children: n }) {});}// src/react/settings/section.tsx-function Tve({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {+function Eve({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {let s = n ? /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [n, e]@@ -46362,12 +46362,12 @@ function Tve({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childrclassName: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(jH, { children: s })+ children: /* @__PURE__ */ (0, I.jsx)(kH, { children: s })}), /* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-w-0 max-w-full",children: i})]- }) : /* @__PURE__ */ (0, I.jsx)(jH, { children: s }), /* @__PURE__ */ (0, I.jsx)(AH, { children: o })] });+ }) : /* @__PURE__ */ (0, I.jsx)(kH, { children: s }), /* @__PURE__ */ (0, I.jsx)(OH, { children: o })] });return a ? /* @__PURE__ */ (0, I.jsx)("form", {id: r,"data-guide-target": t,@@ -46384,13 +46384,13 @@ function Tve({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childrchildren: c});}-function Eve({ children: e }) {+function Dve({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function Dve({ divided: e = !1, children: t }) {+function Ove({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden [&>.ui-settings-facts]:-mr-3",children: t@@ -46399,7 +46399,7 @@ function Dve({ divided: e = !1, children: t }) {children: t});}-function Ove({ label: e, html: t }) {+function kve({ label: e, html: t }) {let [n] = (0, F.useState)(t);return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",@@ -46409,7 +46409,7 @@ function Ove({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function kve({ status: e, children: t }) {+function Ave({ status: e, children: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -46418,21 +46418,21 @@ function kve({ status: e, children: t }) {}) : null, t]});}-function MH({ role: e, children: t }) {+function AH({ role: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function NH({ children: e }) {+function jH({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function Ave({ label: e, steps: t }) {+function jve({ label: e, steps: t }) {return /* @__PURE__ */ (0, I.jsx)("ol", {className: "flex list-decimal flex-col gap-2 pl-5 text-body-2-regular text-text-secondary","aria-label": e,@@ -46442,20 +46442,20 @@ function Ave({ label: e, steps: t }) {})] }, e.command))});}-function PH({ children: e }) {+function MH({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function jve({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, I.jsx)(lH, {+function Mve({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, I.jsx)(sH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: wB,+ trailingIcon: SB,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -46463,22 +46463,22 @@ function jve({ href: e, children: t, leadingIcon: n }) {})});}-function Mve() {- return /* @__PURE__ */ (0, I.jsx)(lH, {+function Nve() {+ return /* @__PURE__ */ (0, I.jsx)(sH, {href: "/tasks",size: "small",- trailingIcon: mB,+ trailingIcon: fB,className: "self-start",children: "在任务中心查看进度"});}-function Nve({ children: e }) {+function Pve({ children: e }) {return /* @__PURE__ */ (0, I.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function Pve({ term: e, children: t }) {+function Fve({ term: e, children: t }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, I.jsx)("dt", {@@ -46490,7 +46490,7 @@ function Pve({ term: e, children: t }) {})]});}-function FH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, row: a = !1, onOpenChange: o, contentClassName: s }) {+function NH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, row: a = !1, onOpenChange: o, contentClassName: s }) {let c = (0, F.useId)(), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(!1), [f, p] = (0, F.useState)(n ?? t);return (0, F.useLayoutEffect)(() => {n !== void 0 && n !== f && l.current && u.current && (Vo(l.current, u.current, n), p(n));@@ -46504,14 +46504,14 @@ function FH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:onClick: (e) => {e.preventDefault(), l.current && u.current && (Vo(l.current, u.current, !f), p(!f), o?.(!f));},- className: q("flex w-full cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring", a && "px-5 py-2.5"),+ className: J("flex w-full cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring", a && "px-5 py-2.5"),children: [- i ? null : /* @__PURE__ */ (0, I.jsx)(hB, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(pB, {"aria-hidden": !0,className: f ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, I.jsx)(hB, {+ i ? /* @__PURE__ */ (0, I.jsx)(pB, {"aria-hidden": !0,className: f ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -46521,13 +46521,13 @@ function FH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: c,inert: !f,children: /* @__PURE__ */ (0, I.jsx)("div", {- className: q("flex flex-col gap-2", a ? "px-5 pt-0.5" : "pt-3", s),+ className: J("flex flex-col gap-2", a ? "px-5 pt-0.5" : "pt-3", s),children: r})})]});}-function Fve({ name: e }) {+function Ive({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -46537,34 +46537,34 @@ function Fve({ name: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function IH({ mark: e }) {+function PH({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, I.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(Fve, { name: e });+ }) : /* @__PURE__ */ (0, I.jsx)(Ive, { name: e });}// src/react/components/source-label.tsx-var LH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Ive = Object.fromEntries(Object.entries(vs).map(([e, t]) => [e, function({ className: e }) {+var FH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Lve = Object.fromEntries(Object.entries(vs).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, I.jsx)(IH, { mark: t })+ children: /* @__PURE__ */ (0, I.jsx)(PH, { mark: t })});}]));-function Lve({ className: e }) {+function Rve({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, I.jsx)(IH, { mark: "database" })+ children: /* @__PURE__ */ (0, I.jsx)(PH, { mark: "database" })});}-var RH = (e) => Ive[LH(e)] ?? Lve;-function Rve({ site: e, label: t }) {+var IH = (e) => Lve[FH(e)] ?? Rve;+function zve({ site: e, label: t }) {let [n, r] = (0, F.useState)(!1), i = e === "javdb" || e === "dmm" ? `/site-mark?source=${e}` : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(IH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(PH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -46575,24 +46575,24 @@ function Rve({ site: e, label: t }) {})]});}-function zH({ source: e, label: t }) {- let n = LH(e);+function LH({ source: e, label: t }) {+ let n = FH(e);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(IH, { mark: vs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(PH, { mark: vs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 truncate",children: t})]});}// src/react/library-processing/processing-traffic.tsx-var BH = (e) => Xn(e).replace(/\s/g, ""), VH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : BH(e), zve = (e, t) => {- if (e === t) return BH(t);+var RH = (e) => Xn(e).replace(/\s/g, ""), zH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : RH(e), Bve = (e, t) => {+ if (e === t) return RH(t);let [n, r] = Xn(e).split(" "), [i, a] = Xn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${BH(e)}-${BH(t)}`;-}, HH = (e, t, n) => e === void 0 ? zve(t, n) : `${e > 0 ? "约 " : ""}${BH(e)}`;-function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {- let a = FV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;+ return r === a ? `${n}-${i}${a}` : `${RH(e)}-${RH(t)}`;+}, BH = (e, t, n) => e === void 0 ? Bve(t, n) : `${e > 0 ? "约 " : ""}${RH(e)}`;+function VH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {+ let a = NV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;if (!e) return null;let u = (e) => e.toLocaleString("zh-CN"), d = !!e.workload || !(!e.inventory || e.inventory.complete) || !!(e.unknown_files && e.inventory?.complete !== !1) || !!e.inventory?.errors;return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -46629,11 +46629,11 @@ function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: "部分目录无法读取,数量和预估不完整"}) : null]- }), /* @__PURE__ */ (0, I.jsx)(OH, {+ }), /* @__PURE__ */ (0, I.jsx)(EH, {open: !n,"data-processing-estimate": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {- className: q("flex min-w-0 flex-col gap-2", d && "pt-2"),+ className: J("flex min-w-0 flex-col gap-2", d && "pt-2"),children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "inline-grid grid-cols-2 gap-6 py-2",@@ -46643,25 +46643,25 @@ function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(AB, {+ children: [/* @__PURE__ */ (0, I.jsx)(OB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: HH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: BH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, I.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- HH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ BH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, I.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", BH(e.used_bytes)] }),+ /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", RH(e.used_bytes)] })," · 代理 ",- BH(e.metered_used_bytes)+ RH(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, I.jsxs)("section", {@@ -46670,25 +46670,25 @@ function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(YB, {+ children: [/* @__PURE__ */ (0, I.jsx)(qB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, I.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", BH(e.disk.estimated_bytes)]+ children: ["约 ", RH(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", VH(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", zH(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : BH(e.free_bytes)+ e.free_bytes == null ? "未取得" : RH(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, I.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", BH(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", RH(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, I.jsx)("p", {@@ -46698,13 +46698,13 @@ function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe]}) : null]}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",className: "self-start","aria-expanded": l,"aria-controls": c,- trailingIcon: l ? gB : pB,+ trailingIcon: l ? mB : dB,onClick: () => {s(!l), i?.(!l);},@@ -46723,12 +46723,12 @@ function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDechildren: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, I.jsx)(zH, {+ children: [e.root ? /* @__PURE__ */ (0, I.jsx)(LH, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, I.jsx)(IH, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, I.jsx)(PH, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, I.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46750,7 +46750,7 @@ function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe"待补资料 ",u(e.workload.pending_jav_titles)," 部 · 平均约 ",- VH(e.workload.metadata_average_bytes || 0),+ zH(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46760,8 +46760,8 @@ function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe"已用",e.unobserved.length ? "约" : ""," ",- BH(e.used_bytes)- ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", HH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ RH(e.used_bytes)+ ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", BH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46774,15 +46774,15 @@ function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe});}// src/react/library-processing/library-processing-notice.tsx-var WH = "peach.library-processing.collapsed";-function GH(e) {+var HH = "peach.library-processing.collapsed";+function UH(e) {try {- return !e || sessionStorage.getItem(WH) !== e;+ return !e || sessionStorage.getItem(HH) !== e;} catch {return !0;}}-function Bve({ value: e, max: t }) {+function Vve({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, I.jsxs)("svg", {role: "progressbar",@@ -46812,17 +46812,17 @@ function Bve({ value: e, max: t }) {})]});}-function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {- let [i, a] = (0, F.useState)(() => GH(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);+function WH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {+ let [i, a] = (0, F.useState)(() => UH(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);d.current = u;- let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && ZV(e), _ = e?.status === "failed" && !g, v = XV(e);+ let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && YV(e), _ = e?.status === "failed" && !g, v = JV(e);(0, F.useEffect)(() => {- a(GH(e?.job_id)), m(!1);+ a(UH(e?.job_id)), m(!1);}, [e?.job_id]);let y = () => {if (!(o && (c.current = !0, s(!1), i))) {try {- i && e?.job_id ? sessionStorage.setItem(WH, e.job_id) : sessionStorage.removeItem(WH);+ i && e?.job_id ? sessionStorage.setItem(HH, e.job_id) : sessionStorage.removeItem(HH);} catch {}i && m(!1), a(!i);}@@ -46852,27 +46852,27 @@ function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {r = !0, o.disconnect(), u.disconnect(), window.removeEventListener("resize", a), t.style.removeProperty("--processing-toast-space");};}, [n]), e?.archived && !t || !t && !v && !_ && !g) return null;- let b = t ? null : JV(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";+ let b = t ? null : KV(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";return /* @__PURE__ */ (0, I.jsxs)("aside", {ref: h,"data-processing-dock": "","data-processing-tone": _ ? "error" : x ? "warning" : "neutral","aria-label": "扫描任务",role: _ ? "alert" : "status",- className: q("flex min-w-0 flex-col border bg-background-primary-default p-4", _ ? "border-current/35 text-text-error-primary" : x ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: J("flex min-w-0 flex-col border bg-background-primary-default p-4", _ ? "border-current/35 text-text-error-primary" : x ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- v && e?.total ? /* @__PURE__ */ (0, I.jsx)(Bve, {+ v && e?.total ? /* @__PURE__ */ (0, I.jsx)(Vve, {value: e.checked || 0,max: e.total- }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(Ige, {+ }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(Lge, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(Jge, {+ }) : /* @__PURE__ */ (0, I.jsx)(Yge, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46884,14 +46884,14 @@ function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), v ? /* @__PURE__ */ (0, I.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: eH(e)+ children: QV(e)}) : null]}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: kH,+ leadingIcon: DH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": u ? "收起任务详情" : "展开任务详情",@@ -46899,35 +46899,35 @@ function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {"aria-controls": f,onClick: y}),- r ? /* @__PURE__ */ (0, I.jsx)(J, {+ r ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: bB,+ leadingIcon: vB,"aria-label": "隐藏任务提示",onClick: r}) : null]}),- /* @__PURE__ */ (0, I.jsx)(UH, {+ /* @__PURE__ */ (0, I.jsx)(VH, {traffic: e?.traffic,compact: !u,detailsOpen: p,onDetailsChange: m}),- b ? /* @__PURE__ */ (0, I.jsx)(_ve, {+ b ? /* @__PURE__ */ (0, I.jsx)(vve, {state: e,slow: b}) : null]- }), /* @__PURE__ */ (0, I.jsx)(OH, {+ }), /* @__PURE__ */ (0, I.jsx)(EH, {id: f,open: u,"data-processing-body": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {className: "pt-3",children: [/* @__PURE__ */ (0, I.jsxs)("div", {- className: q("flex min-w-0 flex-col gap-2 border-t pt-3", _ ? "border-border-error-default/20" : x ? "border-current/20" : "border-separator-border"),+ className: J("flex min-w-0 flex-col gap-2 border-t pt-3", _ ? "border-border-error-default/20" : x ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, I.jsx)("ol", {"aria-label": "处理步骤",@@ -46935,16 +46935,16 @@ function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {children: e.steps.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: q("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: J("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Dge, {+ e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Oge, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(Oge, {+ }) : /* @__PURE__ */ (0, I.jsx)(kge, {"aria-hidden": !0,- className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: J("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, I.jsx)(fE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, I.jsx)(dE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46957,11 +46957,11 @@ function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}) : null,/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(Sve, { state: e }))+ children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(Cve, { state: e }))}),g ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: QV+ children: XV}) : null,v && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, I.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -46975,20 +46975,20 @@ function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",children: [- /* @__PURE__ */ (0, I.jsx)(lH, {+ /* @__PURE__ */ (0, I.jsx)(sH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: mB,+ trailingIcon: fB,children: t || _ || g ? "打开扫描与采集" : "任务详情"}),- g ? /* @__PURE__ */ (0, I.jsx)(lH, {- href: $V,+ g ? /* @__PURE__ */ (0, I.jsx)(sH, {+ href: ZV,size: "small",- trailingIcon: mB,+ trailingIcon: fB,children: "查看全部内容"}) : null,- v ? /* @__PURE__ */ (0, I.jsx)(xH, {+ v ? /* @__PURE__ */ (0, I.jsx)(yH, {state: e,disabled: !!t}) : null@@ -46998,67 +46998,67 @@ function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {})]});}-function Vve(e) {- let { job: t } = SH(e);- return /* @__PURE__ */ (0, I.jsx)(KH, {+function Hve(e) {+ let { job: t } = bH(e);+ return /* @__PURE__ */ (0, I.jsx)(WH, {state: t.data,- problem: t.isError ? t.data ? rH : lr(t.error) : ""+ problem: t.isError ? t.data ? tH : lr(t.error) : ""});}// src/react/library-processing/processing-notice-visibility.ts-var qH = "peach.library-processing.visibility", JH = /* @__PURE__ */ new Set(), YH = "";-function Hve() {+var GH = "peach.library-processing.visibility", KH = /* @__PURE__ */ new Set(), qH = "";+function Uve() {try {- return sessionStorage.getItem(qH) || "";+ return sessionStorage.getItem(GH) || "";} catch {- return YH;+ return qH;}}-function Uve(e) {- return JH.add(e), () => {- JH.delete(e);+function Wve(e) {+ return KH.add(e), () => {+ KH.delete(e);};}-function XH(e, t) {- YH = `${t ? "shown" : "hidden"}:${e}`;+function JH(e, t) {+ qH = `${t ? "shown" : "hidden"}:${e}`;try {- sessionStorage.setItem(qH, YH);+ sessionStorage.setItem(GH, qH);} catch {}- JH.forEach((e) => e());+ KH.forEach((e) => e());}-function ZH(e) {- let t = (0, F.useSyncExternalStore)(Uve, Hve, () => "");+function YH(e) {+ let t = (0, F.useSyncExternalStore)(Wve, Uve, () => "");return {hidden: t === `hidden:${e}`,requested: t === `shown:${e}`};}// src/react/library-processing/library-processing-dock.tsx-var QH = "peach-library-processing";-function Wve({ toast: e }) {- let { job: t, settled: n } = SH({+var XH = "peach-library-processing";+function Gve({ toast: e }) {+ let { job: t, settled: n } = bH({toast: e,mode: "notice"- }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = ZH(a), c = t.isError ? i ? rH : lr(t.error) : "";+ }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = YH(a), c = t.isError ? i ? tH : lr(t.error) : "";return (0, F.useEffect)(() => {- let e = XV(i), t = i?.status === "failed" && (n?.job_id === i.job_id || sH(i));- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && BV.dismiss(QH), r.current = !1) : (BV.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {+ let e = JV(i), t = i?.status === "failed" && (n?.job_id === i.job_id || aH(i));+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && RV.dismiss(XH), r.current = !1) : (RV.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(KH, {+ children: /* @__PURE__ */ (0, I.jsx)(WH, {state: i,problem: c,measure: !0,- onHide: () => XH(a, !1)+ onHide: () => JH(a, !1)})}), {- id: QH,+ id: XH,toasterId: "processing",duration: Infinity,dismissible: !1,closeButton: !1,className: "processing-task-toast",onDismiss: () => {- XH(a, !1), r.current = !1;+ JH(a, !1), r.current = !1;}}), r.current = !0);}, [@@ -47069,19 +47069,19 @@ function Wve({ toast: e }) {o,s]), (0, F.useEffect)(() => () => {- r.current && BV.dismiss(QH), r.current = !1;+ r.current && RV.dismiss(XH), r.current = !1;}, []), null;}// src/react/network-banner.tsx-var Gve = ["network-status"], Kve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function qve(e) {+var Kve = ["network-status"], qve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function Jve(e) {return e?.state === "online" ? 12e4 : 3e4;}-function Jve() {+function Yve() {let e = Ft({- queryKey: Gve,+ queryKey: Kve,queryFn: ({ signal: e }) => B("/api/network-status", e),- refetchInterval: (e) => qve(e.state.data),+ refetchInterval: (e) => Jve(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {@@ -47092,56 +47092,56 @@ function Jve() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, I.jsx)("p", { children: Kve })] }), /* @__PURE__ */ (0, I.jsx)("a", {+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: qve })] }), /* @__PURE__ */ (0, I.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]}), t);}// src/react/components/segmented.tsx-function Yve(e) {- let t = aL(fH("selection"));- return /* @__PURE__ */ (0, I.jsx)(cB, {+function Xve(e) {+ let t = rL(uH("selection"));+ return /* @__PURE__ */ (0, I.jsx)(oB, {...e,ref: t});}-function $H(e) {- let t = aL(fH("selection"));- return /* @__PURE__ */ (0, I.jsx)(Dz, {+function ZH(e) {+ let t = rL(uH("selection"));+ return /* @__PURE__ */ (0, I.jsx)(Tz, {...e,ref: t});}-var eU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", tU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Xve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", nU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", rU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", iU = [+var QH = "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", $H = "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", Zve = "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", eU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", tU = "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)", nU = [["library", "馆藏"],["releases", "新作"],["discover", "发现"],["wants", "想要"]-], aU = (e) => iU.some(([t]) => t === e) ? e : "library", oU = (e) => aU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function Zve(e) {+], rU = (e) => nU.some(([t]) => t === e) ? e : "library", iU = (e) => rU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function Qve(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}// src/onboarding/guide-catalog.ts-var sU = (e, t, n, r, i, a) => ({+var aU = (e, t, n, r, i, a) => ({id: e,title: t,body: n,route: r,target: i,scope: a-}), cU = (e, t, n, r, i) => sU(e, t, n, r, i), lU = [+}), oU = (e, t, n, r, i) => aU(e, t, n, r, i), sU = [{id: "basics",kind: "interface",title: "认识界面",summary: "4 步认识搜索、导航、作品详情和设置。",steps: [- cU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),- cU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),- cU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),- cU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")+ oU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),+ oU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),+ oU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),+ oU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")]},{@@ -47150,23 +47150,23 @@ var sU = (e, t, n, r, i, a) => ({title: "找到并播放",summary: "搜索、筛选、详情、版本、字幕和播放器。",steps: [- cU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),- cU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),- cU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),+ oU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),+ oU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),+ oU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),{- ...sU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),+ ...aU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),surface: "detail"},{- ...sU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),+ ...aU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),surface: "player"},{- ...sU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),+ ...aU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),surface: "subtitles"},{- ...sU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),+ ...aU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),surface: "detail"}]@@ -47178,15 +47178,15 @@ var sU = (e, t, n, r, i, a) => ({summary: "评分、标记、播放列表与当前播放队列。",steps: [{- ...cU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),+ ...oU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),surface: "detail"},{- ...cU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),+ ...oU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),surface: "detail"},- cU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),- cU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")+ oU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),+ oU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")]},{@@ -47195,10 +47195,10 @@ var sU = (e, t, n, r, i, a) => ({title: "按人物与主题浏览",summary: "从人物、厂牌和标签继续发现相关馆藏。",steps: [- cU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),- cU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),- cU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),- cU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")+ oU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),+ oU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),+ oU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),+ oU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")]},{@@ -47207,10 +47207,10 @@ var sU = (e, t, n, r, i, a) => ({title: "JAV 与追新",summary: "馆藏、新作、想要清单与高清版。",steps: [- cU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", oU("library"), "[data-catalog-frame]"),- cU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", oU("discover"), "[data-jav-filter] [data-catalog-views]"),- cU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", oU("discover"), "[aria-label=\"JAV 分区\"]"),- cU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")+ oU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", iU("library"), "[data-catalog-frame]"),+ oU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", iU("discover"), "[data-jav-filter] [data-catalog-views]"),+ oU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", iU("discover"), "[aria-label=\"JAV 分区\"]"),+ oU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")]},{@@ -47219,9 +47219,9 @@ var sU = (e, t, n, r, i, a) => ({title: "关注创作者",summary: "多来源更新、同作品合并和来源状态。",steps: [- cU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),- cU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),- cU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")+ oU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),+ oU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),+ oU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")]},{@@ -47230,9 +47230,9 @@ var sU = (e, t, n, r, i, a) => ({title: "专注观看",summary: "播放墙、沉浸模式与详情小窗。",steps: [- cU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),- cU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),- cU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")+ oU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),+ oU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),+ oU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")]},{@@ -47241,11 +47241,11 @@ var sU = (e, t, n, r, i, a) => ({title: "整理与维护",summary: "扫描、补资料、复核、文件整理与回收站。",steps: [- cU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),- cU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),- cU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),- cU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),- cU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")+ oU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),+ oU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),+ oU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),+ oU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),+ oU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")]},{@@ -47254,10 +47254,10 @@ var sU = (e, t, n, r, i, a) => ({title: "了解自己的馆藏",summary: "统计、口味,以及浏览历史和书签来源。",steps: [- cU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),- cU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),- cU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),- cU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")+ oU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),+ oU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),+ oU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),+ oU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")]},{@@ -47266,9 +47266,9 @@ var sU = (e, t, n, r, i, a) => ({title: "从外部加入内容",summary: "云下载、目录映射与浏览器添加。",steps: [- cU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),- cU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),- cU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")+ oU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),+ oU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),+ oU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")]},{@@ -47277,18 +47277,18 @@ var sU = (e, t, n, r, i, a) => ({title: "手机与其他设备",summary: "访问地址、密码、局域网和公网入口。",steps: [- cU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),- cU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),- cU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")+ oU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),+ oU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),+ oU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")]}-], Qve = "当前浏览器 · 修改后自动保存", uU = "跟随馆藏 · 修改后自动保存", dU = "运行 Peach 的电脑 · 确认后保存配置", fU = (e, t, n = Qve) => t.map(([t, r, i, a, o]) => sU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), pU = [+], $ve = "当前浏览器 · 修改后自动保存", cU = "跟随馆藏 · 修改后自动保存", lU = "运行 Peach 的电脑 · 确认后保存配置", uU = (e, t, n = $ve) => t.map(([t, r, i, a, o]) => aU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), dU = [{id: "appearance",kind: "settings",title: Ff.appearance,summary: "主题、光晕与导航入口。",- steps: fU("appearance", [+ steps: uU("appearance", [["theme","主题",@@ -47318,7 +47318,7 @@ var sU = (e, t, n, r, i, a) => ({"导航入口与顺序","把常用入口放到侧栏,拖动调整顺序。","[data-sidebar-setting]",- uU+ cU]])},@@ -47327,7 +47327,7 @@ var sU = (e, t, n, r, i, a) => ({kind: "settings",title: Ff.playback,summary: "列表呈现、悬停预览与播放行为。",- steps: fU("playback", [+ steps: uU("playback", [["batch","每批作品",@@ -47383,13 +47383,13 @@ var sU = (e, t, n, r, i, a) => ({kind: "settings",title: Ff.jav,summary: "封面与新作筛选。",- steps: fU("jav", [+ steps: uU("jav", [["names","女优名称","选择中文或日文名称;偏好跟随馆藏,其他设备读取同一份设置。","#performerNameLanguageSetting",- uU+ cU],["image",@@ -47414,21 +47414,21 @@ var sU = (e, t, n, r, i, a) => ({"隐藏大合集","过滤新作中的大合集,只影响新作展示,馆藏仍可查找。","#feedHideGroupSetting",- uU+ cU],["solo-compilations","隐藏单人合集","过滤新作中的单人合集,只影响新作展示,馆藏仍可查找。","#feedHideSoloSetting",- uU+ cU],["excerpts","隐藏切片","过滤新作中的切片,只影响新作展示,馆藏仍可查找。","#feedHideExcerptSetting",- uU+ cU]])},@@ -47437,12 +47437,12 @@ var sU = (e, t, n, r, i, a) => ({kind: "settings",title: Ff.search,summary: "搜索记录、推荐数量与口味入口。",- steps: [...fU("search", [[+ steps: [...uU("search", [["history","搜索记录","设置保留的搜索记录上限,0 表示不记录。","#searchHistoryLimitSetting"- ]], uU), ...fU("search", [[+ ]], cU), ...uU("search", [["related","相关推荐数量","决定详情中显示多少项相关推荐。口味和记录来源在口味页面管理。",@@ -47454,7 +47454,7 @@ var sU = (e, t, n, r, i, a) => ({kind: "settings",title: Ff.content,summary: "SFW 模式与画面显示。",- steps: fU("content", [[+ steps: uU("content", [["sfw","SFW 模式","隐藏敏感画面并停止悬停预览,适合需要遮挡画面的环境。访问控制请另设访问密码。",@@ -47466,7 +47466,7 @@ var sU = (e, t, n, r, i, a) => ({kind: "settings",title: If.library,summary: "媒体库、目录、读取与处理方式。",- steps: fU("library", [+ steps: uU("library", [["media","媒体库名称与外观",@@ -47517,14 +47517,14 @@ var sU = (e, t, n, r, i, a) => ({"视频预览","生成视频预览会读取视频并产生缓存。时间轴预览的开关与采集间隔控制本机磁盘缩略图;抽帧解码方式决定生成预览使用的解码器。修改后自动保存,并受媒体库处理方式与读取策略约束。"]- ], dU)+ ], lU)},{id: "subscriptions",kind: "settings",title: If.subscriptions,summary: "资料来源、关注、索引器与站点入口。",- steps: fU("subscriptions", [+ steps: uU("subscriptions", [["sources","采集来源与登录状态",@@ -47551,14 +47551,14 @@ var sU = (e, t, n, r, i, a) => ({"作品资料站点","配置资料站点和镜像入口,用于打开相关作品页面。地址和登录凭据分别管理。"]- ], dU)+ ], lU)},{id: "downloads",kind: "settings",title: If.downloads,summary: "云下载目录、账号与浏览器配对。",- steps: fU("downloads", [+ steps: uU("downloads", [["download","云下载",@@ -47574,14 +47574,14 @@ var sU = (e, t, n, r, i, a) => ({"浏览器添加 JAV","安装用户脚本并配对 Peach。默认渠道决定提交到哪里;启用开关控制功能,专用令牌可更新或关闭,脚本检测帮助确认配对。"]- ], dU)+ ], lU)},{id: "network",kind: "settings",title: If.network,summary: "访问端口、代理、密码和公网入口。",- steps: fU("network", [+ steps: uU("network", [["port","访问地址与端口",@@ -47602,14 +47602,14 @@ var sU = (e, t, n, r, i, a) => ({"Cloudflare 公网入口","临时链接用于临时连接,命名隧道使用主机名与隧道令牌。连接状态显示是否已可用,按需要启用。"]- ], dU)+ ], lU)},{id: "app-maintenance",kind: "settings",title: If.maintenance,summary: "更新、存储、数据选择与应用维护。",- steps: fU("maintenance", [+ steps: uU("maintenance", [["updates","检查更新",@@ -47655,14 +47655,14 @@ var sU = (e, t, n, r, i, a) => ({"卸载 Peach","卸载移除程序;完全卸载还移除设置、资料库、记录、凭据和缓存。执行前核对页面列出的数据目录与确认内容。"]- ], dU)+ ], lU)},{id: "diagnostics",kind: "settings",title: If.diagnostics,summary: "遇到问题时查看检查项与诊断报告。",- steps: fU("diagnostics", [+ steps: uU("diagnostics", [["attention","需要关注的检查项",@@ -47687,7 +47687,7 @@ var sU = (e, t, n, r, i, a) => ({]], "只读检查 · 重新检查与下载由你主动执行")}-], $ve = {+], eye = {glow: [["配色预设", "一次应用一组配色和参数,适合先挑选整体外观。"],["强度", "控制光晕的明亮程度;太抢眼时降低。"],@@ -47794,8 +47794,8 @@ var sU = (e, t, n, r, i, a) => ({["上传预览", "查看本次会包含的内容,再决定是否启用明细上传。"]]};-for (let e of pU) for (let t of e.steps) t.details = $ve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage" || t.id === "ledger-backups") && (t.scope = "按页面中各项的保存或确认动作生效");-var mU = [...lU, ...pU], eye = [+for (let e of dU) for (let t of e.steps) t.details = eye[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage" || t.id === "ledger-backups") && (t.scope = "按页面中各项的保存或确认动作生效");+var fU = [...sU, ...dU], tye = [{id: "browse",kind: "interface",@@ -47873,35 +47873,35 @@ var mU = [...lU, ...pU], eye = []}];-function tye(e) {- return e === "/" ? lU[0] : pU.find((t) => t.steps[0]?.route === e) || lU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || lU[0];+function nye(e) {+ return e === "/" ? sU[0] : dU.find((t) => t.steps[0]?.route === e) || sU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || sU[0];}// src/onboarding/guide-state.ts-var nye = () => ({+var rye = () => ({version: 1,campaign: "",invited: !1,completed: !1,chapters: {}});-function hU(e, t) {+function pU(e, t) {let n = e.chapters[t.id]?.read || [];return t.steps.every((e) => n.includes(e.id));}-function rye(e, t) {+function iye(e, t) {let n = e.chapters[t.id];- return !n || hU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));+ return !n || pU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));}-function iye() {+function aye() {return B("/api/tutorial-progress");}-function aye(e, t) {+function oye(e, t) {return V("/api/tutorial-progress", {campaign: e,...t});}-function oye(e, t, n, r, i) {+function sye(e, t, n, r, i) {let a = e.chapters[t] || {next: 0,read: [],@@ -47919,99 +47919,99 @@ function oye(e, t, n, r, i) {}};}-var gU = null, _U = /* @__PURE__ */ new Set();-function vU(e = {}) {- _U.size || (gU = e);- for (let t of _U) t(e);+var mU = null, hU = /* @__PURE__ */ new Set();+function gU(e = {}) {+ hU.size || (mU = e);+ for (let t of hU) t(e);}-function sye(e) {- if (_U.add(e), gU) {- let t = gU;- gU = null, queueMicrotask(() => {- _U.has(e) && e(t);+function cye(e) {+ if (hU.add(e), mU) {+ let t = mU;+ mU = null, queueMicrotask(() => {+ hU.has(e) && e(t);});}return () => {- _U.delete(e);+ hU.delete(e);};}// src/react/components/card.tsx-var cye = "min-w-0", lye = {+var lye = "min-w-0", uye = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, uye = {+}, dye = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, dye = {+}, fye = {line: "border border-border-button-default",soft: "border border-separator-border",error: "outline-1 -outline-offset-1 outline-border-error-default"-}, fye = {+}, pye = {none: "",default: "p-5"-}, pye = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", mye = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";-function yU(e = {}) {+}, mye = "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", hye = "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 _U(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 [- cye,- lye[t],- uye[s],- fye[n],- a ? dye[a] : "",- r ? pye : "",- i ? mye : "",+ lye,+ uye[t],+ dye[s],+ pye[n],+ a ? fye[a] : "",+ r ? mye : "",+ i ? hye : "",o ?? ""].filter(Boolean).join(" ");}// src/react/onboarding/guide-directory.tsx-var hye = {- browse: VB,- collect: vB,- watch: IB,- manage: OB,- experience: PB,- discovery: BB,- storage: SB,- system: HB-}, gye = {- basics: xB,- "find-play": VB,- entities: KB,- jav: EB,- save: vB,- follow: BB,- insights: _B,- viewing: IB,- devices: UB,- external: CB,- maintenance: GB,- appearance: PB,- playback: IB,- content: TB,- "search-settings": VB,- "jav-settings": EB,- subscriptions: BB,- library: SB,- downloads: CB,- network: UB,- "app-maintenance": GB,- diagnostics: $ge+var gye = {+ browse: zB,+ collect: gB,+ watch: PB,+ manage: EB,+ experience: MB,+ discovery: RB,+ storage: bB,+ system: BB+}, _ye = {+ basics: yB,+ "find-play": zB,+ entities: WB,+ jav: wB,+ save: gB,+ follow: RB,+ insights: hB,+ viewing: PB,+ devices: VB,+ external: xB,+ maintenance: UB,+ appearance: MB,+ playback: PB,+ content: CB,+ "search-settings": zB,+ "jav-settings": wB,+ subscriptions: RB,+ library: bB,+ downloads: xB,+ network: VB,+ "app-maintenance": UB,+ diagnostics: e_e};-function _ye({ chapter: e, className: t = "size-5" }) {- let n = gye[e] || xB;+function vye({ chapter: e, className: t = "size-5" }) {+ let n = _ye[e] || yB;return /* @__PURE__ */ (0, I.jsx)(n, {"aria-hidden": !0,- className: q(t, "shrink-0")+ className: J(t, "shrink-0")});}-function bU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {+function vU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("section", {"data-guide-banner": "","data-guide-completed": i || void 0,- className: yU({+ className: _U({radius: "plain",className: "flex flex-col gap-4"}),@@ -48040,8 +48040,8 @@ function bU({ icon: e, title: t, description: n, children: r, completed: i = !1})]});}-function xU({ chapter: e, progress: t, loading: n, start: r }) {- let i = hU(t, e), a = !i && !!t.chapters[e.id];+function yU({ chapter: e, progress: t, loading: n, start: r }) {+ let i = pU(t, e), a = !i && !!t.chapters[e.id];return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",disabled: n,@@ -48051,7 +48051,7 @@ function xU({ chapter: e, progress: t, loading: n, start: r }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(_ye, { chapter: e.id })+ children: /* @__PURE__ */ (0, I.jsx)(vye, { chapter: e.id })}),/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col gap-1",@@ -48063,7 +48063,7 @@ function xU({ chapter: e, progress: t, loading: n, start: r }) {children: e.summary})]}),- i ? /* @__PURE__ */ (0, I.jsx)(SU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {+ i ? /* @__PURE__ */ (0, I.jsx)(bU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: [a ? "继续 · " : "",@@ -48071,17 +48071,17 @@ function xU({ chapter: e, progress: t, loading: n, start: r }) {" 步"]}),- /* @__PURE__ */ (0, I.jsx)(hB, {+ /* @__PURE__ */ (0, I.jsx)(pB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0 text-text-secondary"})]});}-function SU() {+function bU() {return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",- children: [/* @__PURE__ */ (0, I.jsx)(yB, {+ children: [/* @__PURE__ */ (0, I.jsx)(_B, {"aria-hidden": !0,className: "size-4"}), /* @__PURE__ */ (0, I.jsx)("span", {@@ -48090,20 +48090,20 @@ function SU() {})]});}-function vye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {- let [s, c] = (0, F.useState)(null), l = mU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = hU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = mU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));+function yye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {+ let [s, c] = (0, F.useState)(null), l = fU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = pU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = fU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, I.jsxs)(bU, {+ /* @__PURE__ */ (0, I.jsxs)(vU, {completed: u,- icon: e === "interface" ? xB : HB,+ icon: e === "interface" ? yB : BB,title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",- children: [u ? /* @__PURE__ */ (0, I.jsx)(SU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [u ? /* @__PURE__ */ (0, I.jsx)(bU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {className: "text-body-2-regular text-text-secondary",children: [l.steps.length, " 步 · 随时可以退出"]- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: u ? "secondary" : "primary",disabled: a,onClick: () => o(l, d),@@ -48113,26 +48113,26 @@ function vye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:})})]}),- /* @__PURE__ */ (0, I.jsx)($B, {+ /* @__PURE__ */ (0, I.jsx)(ZB, {"aria-label": "搜索教程",value: t,onChange: n,- children: /* @__PURE__ */ (0, I.jsx)(tV, {+ children: /* @__PURE__ */ (0, I.jsx)($B, {type: "search",placeholder: e === "settings" ? "搜索设置名称或用途" : "搜索功能或页面",- leadingIcon: VB+ leadingIcon: zB})}),f ? p.length ? /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-chapters",- children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(xU, {+ children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(yU, {chapter: e,progress: i,loading: a,start: o}, e.id))- }) : /* @__PURE__ */ (0, I.jsx)(oV, {- icon: VB,+ }) : /* @__PURE__ */ (0, I.jsx)(iV, {+ icon: zB,title: "没有匹配的教程",size: "compact",children: "试试功能名或设置名称。"@@ -48141,7 +48141,7 @@ function vye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:children: [/* @__PURE__ */ (0, I.jsx)("h3", {className: "text-body-medium text-text-primary",children: "按需了解"- }), r.kind === e && r.id !== "basics" ? /* @__PURE__ */ (0, I.jsxs)(J, {+ }), r.kind === e && r.id !== "basics" ? /* @__PURE__ */ (0, I.jsxs)(Y, {variant: "ghost",size: "small",disabled: a,@@ -48150,12 +48150,12 @@ function vye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:}) : null]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-topics",- children: eye.filter((t) => t.kind === e).map((e) => {- let t = hye[e.id];+ children: tye.filter((t) => t.kind === e).map((e) => {+ let t = gye[e.id];return /* @__PURE__ */ (0, I.jsx)("div", {"data-guide-topic": e.id,className: "peach-guide-topic",- children: /* @__PURE__ */ (0, I.jsx)(FH, {+ children: /* @__PURE__ */ (0, I.jsx)(NH, {trailing: !0,isOpen: s === e.id,onOpenChange: (t) => c(t ? e.id : null),@@ -48180,8 +48180,8 @@ function vye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:}),children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-topic-chapters",- children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(xU, {- chapter: mU.find((t) => t.id === e),+ children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(yU, {+ chapter: fU.find((t) => t.id === e),progress: i,loading: a,start: o@@ -48195,14 +48195,14 @@ function vye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:});}// src/onboarding/guide-entry.ts-var CU = "侧栏收起时,先点左上角的导航按钮。", wU = (...e) => ({+var xU = "侧栏收起时,先点左上角的导航按钮。", SU = (...e) => ({path: ["侧栏", ...e],- hint: CU-}), TU = (e) => ({+ hint: xU+}), CU = (e) => ({path: ["侧栏底部的设置", e],- hint: CU+ hint: xU});-function yye(e) {+function bye(e) {if (e.surface) return e.id === "external" ? { path: ["作品卡片","作品详情",@@ -48220,7 +48220,7 @@ function yye(e) {let [t = "/", n = ""] = e.route.split("#")[0].split("?"), r = t.split("/")[2];if (t.startsWith("/settings/")) {let e = Ff[r];- if (e) return TU(e);+ if (e) return CU(e);let t = If[r];if (t) return {path: [@@ -48228,11 +48228,11 @@ function yye(e) {"Peach 配置",t],- hint: CU+ hint: xU};}let i = new URLSearchParams(n);- if (t === "/jav" || i.get("jav") === "1") return wU("JAV", iU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || iU[0][1]);+ if (t === "/jav" || i.get("jav") === "1") return SU("JAV", nU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || nU[0][1]);if (t === "/") {switch (e.id) {case "search": return {@@ -48242,9 +48242,9 @@ function yye(e) {case "navigation": return { path: ["左上角导航按钮", "侧栏中的浏览入口"] };case "library": return {path: ["侧栏顶部", "媒体库选择器"],- hint: CU+ hint: xU};- case "preferences": return TU(Ff.appearance);+ case "preferences": return CU(Ff.appearance);case "wall": return { path: ["页面顶部", "播放墙按钮"] };case "immerse": return { path: ["页面顶部", "沉浸模式按钮"] };case "cards":@@ -48266,22 +48266,22 @@ function yye(e) {hint: "来源、时长等更多筛选位于侧栏。"};}- return wU("首页");+ return SU("首页");}if (["/review","/quality-goals","/trash"- ].includes(t)) return wU("管理", op["/data-cleanup"].title, t === "/trash" ? "回收站" : op[t].title);+ ].includes(t)) return SU("管理", op["/data-cleanup"].title, t === "/trash" ? "回收站" : op[t].title);let a = op[t];if (a?.nav && a.title) {- let e = wU(a.title);+ let e = SU(a.title);return t === "/playlists" && (e.hint = "若侧栏没有播放列表,到设置 → 外观与导航 → 导航入口与顺序添加;手机上先展开侧栏。"), e;}- if (a?.section && a.title) return wU("管理", a.title);+ if (a?.section && a.title) return SU("管理", a.title);}// src/react/onboarding/guide-help.tsx-function bye({ details: e }) {+function xye({ details: e }) {return e?.length ? /* @__PURE__ */ (0, I.jsx)("dl", {className: "flex flex-col gap-3",children: e.map(([e, t]) => /* @__PURE__ */ (0, I.jsxs)("div", {@@ -48297,8 +48297,8 @@ function bye({ details: e }) {}) : null;}// src/react/onboarding/guide-popover.tsx-function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {- let c = FV(), l = yye(e);+function Sye({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {+ let c = NV(), l = bye(e);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "peach-guide-popover-content",onPointerDown: (e) => e.stopPropagation(),@@ -48309,7 +48309,7 @@ function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a,id: "driver-popover-title",className: "text-body-medium text-text-primary",children: e.title- }), /* @__PURE__ */ (0, I.jsx)(lV, {+ }), /* @__PURE__ */ (0, I.jsx)(sV, {label: s ? "关闭教程提示" : "结束导览",onPress: o})]@@ -48326,7 +48326,7 @@ function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a,children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center gap-2 text-body-2-medium text-text-secondary",- children: [/* @__PURE__ */ (0, I.jsx)(t_e, {+ children: [/* @__PURE__ */ (0, I.jsx)(n_e, {className: "size-4 shrink-0","aria-hidden": "true"}), "打开方式"]@@ -48335,7 +48335,7 @@ function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "flex flex-wrap items-center gap-x-1 gap-y-1 text-body-2-medium text-text-primary",children: l.path.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("li", {className: "inline-flex items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(hB, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(pB, {className: "size-4 shrink-0 text-text-secondary","aria-hidden": "true"}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]@@ -48356,15 +48356,15 @@ function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "text-caption-1-regular text-text-secondary",children: "导览期间不自动播放;退出后仍按原来的播放设置使用。"}) : null,- e.details?.length ? /* @__PURE__ */ (0, I.jsx)(FH, {+ e.details?.length ? /* @__PURE__ */ (0, I.jsx)(NH, {summary: "更多说明",- children: /* @__PURE__ */ (0, I.jsx)(bye, { details: e.details })+ children: /* @__PURE__ */ (0, I.jsx)(xye, { details: e.details })}) : null,e.scope ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: e.scope}) : null,- r ? /* @__PURE__ */ (0, I.jsx)(aV, {+ r ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",children: e.surface ? "尚未取得可演示的视频或对应控件。请先添加视频,或跳过后稍后重看。" : "当前页面未显示这个入口,可能尚无内容、没有配置权限或仍在加载。可以跳过,稍后重看。"}) : null@@ -48373,13 +48373,13 @@ function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a,}),/* @__PURE__ */ (0, I.jsx)("footer", {className: "flex shrink-0 flex-wrap items-center gap-2 border-t border-separator-border px-4 py-3",- children: s ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(J, {+ children: s ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",size: "small",className: "ml-auto",onClick: o,children: "稍后再说"- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {size: "small","data-guide-next": "",onClick: () => i(),@@ -48394,20 +48394,20 @@ function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a," 步"]}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",size: "small",onClick: o,children: "跳过本章"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",disabled: t === 0,onClick: a,children: "上一步"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {size: "small","data-guide-next": "",onClick: () => i(r),@@ -48418,14 +48418,14 @@ function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a,]});}-function EU(e, t, n) {+function wU(e, t, n) {let r = document.createElement("div");e.replaceChildren(r, t);let i = (0, zt.createRoot)(r);- return (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(xye, { ...n }))), () => i.unmount();+ return (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Sye, { ...n }))), () => i.unmount();}// src/react/onboarding/tutorial-center.tsx-function Sye({ go: e }) {+function Cye({ go: e }) {let [t, n] = (0, F.useState)(null), [r, i] = (0, F.useState)(""), [a, o] = (0, F.useState)(0);(0, F.useEffect)(() => {let e = new AbortController();@@ -48439,21 +48439,21 @@ function Sye({ go: e }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, I.jsxs)(bU, {- icon: e_e,+ /* @__PURE__ */ (0, I.jsxs)(vU, {+ icon: t_e,title: "从第一份收藏开始",description: "连接媒体目录,查看入库结果,再打开馆藏。",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: "3 个入口 · 按当前进度选择"- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {onClick: () => e("/settings/library"),children: "连接媒体目录"})]}),- r ? /* @__PURE__ */ (0, I.jsx)(aV, {+ r ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: () => o(a + 1),@@ -48467,7 +48467,7 @@ function Sye({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(OB, {+ children: /* @__PURE__ */ (0, I.jsx)(EB, {"aria-hidden": !0,className: "size-5"})@@ -48476,7 +48476,7 @@ function Sye({ go: e }) {className: "min-w-0 flex-1",children: [/* @__PURE__ */ (0, I.jsx)("strong", { children: "连接媒体目录" }), /* @__PURE__ */ (0, I.jsx)("p", { children: "确认媒体文件夹、所属媒体库和读取策略。" })]}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: () => e("/settings/library"),@@ -48486,7 +48486,7 @@ function Sye({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(f_e, {+ children: /* @__PURE__ */ (0, I.jsx)(p_e, {"aria-hidden": !0,className: "size-5"})@@ -48495,7 +48495,7 @@ function Sye({ go: e }) {className: "min-w-0 flex-1",children: [/* @__PURE__ */ (0, I.jsx)("strong", { children: "查看首次扫描" }), /* @__PURE__ */ (0, I.jsx)("p", { children: t ? t.library.total ? `已入库 ${t.library.total.toLocaleString()} 项,可在任务中心查看处理情况。` : "馆藏尚无内容,查看扫描任务是否已开始。" : "在任务中心查看实际扫描进度。" })]}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: () => e("/tasks"),@@ -48505,7 +48505,7 @@ function Sye({ go: e }) {/* @__PURE__ */ (0, I.jsxs)("li", { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "peach-guide-topic-icon",- children: /* @__PURE__ */ (0, I.jsx)(IB, {+ children: /* @__PURE__ */ (0, I.jsx)(PB, {"aria-hidden": !0,className: "size-5"})@@ -48514,7 +48514,7 @@ function Sye({ go: e }) {className: "min-w-0 flex-1",children: [/* @__PURE__ */ (0, I.jsx)("strong", { children: "打开馆藏" }), /* @__PURE__ */ (0, I.jsx)("p", { children: "从首页搜索和浏览已经入库的内容。" })]}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: () => e("/"),@@ -48523,7 +48523,7 @@ function Sye({ go: e }) {] })]}),- /* @__PURE__ */ (0, I.jsx)(FH, {+ /* @__PURE__ */ (0, I.jsx)(NH, {summary: "更多接入方式",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-routes",@@ -48532,31 +48532,31 @@ function Sye({ go: e }) {title: "关注创作者",description: l ? "当前启用来源的必要凭据已具备。" : s.length ? "已有关注来源,请检查必要凭据。" : "添加想持续追踪的创作者与来源。",path: "/subscriptions",- icon: BB+ icon: RB},{title: "口味与记录",description: t?.taste.history_sources ? `已导入 ${t.taste.history_sources} 份浏览器历史。` : "按需要导入浏览历史或书签。",path: "/taste",- icon: _B+ icon: hB},{title: "云下载与浏览器添加",description: "连接渠道、设置目标目录,按需要配对用户脚本。",path: "/settings/downloads",- icon: CB+ icon: xB},{title: "手机访问",description: "查看访问范围、地址与密码。",path: "/settings/network",- icon: UB+ icon: VB},...u ? [{title: "人工复核",description: `当前有 ${u.toLocaleString()} 条待复核资料。`,path: "/review",- icon: yB+ icon: _B}] : []].map(({ title: t, description: n, path: r, icon: i }) => /* @__PURE__ */ (0, I.jsxs)("div", { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -48570,7 +48570,7 @@ function Sye({ go: e }) {className: "min-w-0 flex-1",children: [/* @__PURE__ */ (0, I.jsx)("strong", { children: t }), /* @__PURE__ */ (0, I.jsx)("p", { children: n })]}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",size: "small","aria-label": `查看${t}`,@@ -48583,16 +48583,16 @@ function Sye({ go: e }) {]});}-var DU = "tutorial-sync";-function Cye({ actions: e }) {- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(nye), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = FV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);+var TU = "tutorial-sync";+function wye({ actions: e }) {+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(rye), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = NV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);C.current = l;let w = (0, F.useRef)(0), T = (0, F.useRef)(null), E = (0, F.useRef)(""), D = (0, F.useRef)(!1), O = (0, F.useRef)(() => {}), k = (0, F.useRef)(Promise.resolve()), A = (0, F.useRef)(0), j = (0, F.useRef)(0), M = (0, F.useRef)(!0), ee = (e) => {C.current = e, u(e);}, N = async (e = !0) => {let t = j.current;try {- let n = await iye();+ let n = await aye();return !M.current || t !== j.current ? !1 : (ee(n), f(!0), e && m(""), b.current || i(!n.invited && !n.completed), !0);} catch {return M.current && m("未取得账本中的教程状态,请重新读取。"), !1;@@ -48602,7 +48602,7 @@ function Cye({ actions: e }) {let n = ++j.current;A.current += 1, k.current = k.current.then(async () => {try {- let r = await aye(e.campaign, t);+ let r = await oye(e.campaign, t);M.current && n === j.current && ee(r);} catch {M.current && (m("教程进度未保存到本机账本,其他设备尚未同步。请重新读取后继续。"), n === j.current && await N(!1));@@ -48612,8 +48612,8 @@ function Cye({ actions: e }) {});}, P = (0, F.useRef)(N);P.current = N, (0, F.useEffect)(() => {- !p || t ? BV.dismiss(DU) : BV.error(p, {- id: DU,+ !p || t ? RV.dismiss(TU) : RV.error(p, {+ id: TU,toasterId: "receipts",duration: Infinity,action: {@@ -48624,7 +48624,7 @@ function Cye({ actions: e }) {}});}, [p, t]), (0, F.useEffect)(() => () => {- BV.dismiss(DU);+ RV.dismiss(TU);}, []), (0, F.useEffect)(() => {if (!d && !p) return;let e = document.getElementById("tutorialBtn");@@ -48645,7 +48645,7 @@ function Cye({ actions: e }) {let i = !1, a = null;return import("./peach-app.guide-driver-BZX0VpRC.js").then(({ createGuideSession: t }) => {i || (a = t({- mountPopover: EU,+ mountPopover: wU,invitation: !0,navigate: e.navigate,previous: () => {},@@ -48680,16 +48680,16 @@ function Cye({ actions: e }) {M.current = !0;let e = (e) => {e.target.closest(".ui-configpage form") && (D.current = !0);- }, t = Bp.listen(() => {+ }, t = W.listen(() => {D.current = !1;});document.addEventListener("input", e), document.addEventListener("change", e);- let r = sye((e) => {+ let r = cye((e) => {(async () => {let t = document.activeElement;if (await k.current, !M.current || !await N() || e.invitation) return;ie(), T.current = t, g(""), c("");- let r = mU.find((t) => t.id === e.chapter);+ let r = fU.find((t) => t.id === e.chapter);e.reopen ? (i(!1), te({...C.current,invited: !0,@@ -48718,11 +48718,11 @@ function Cye({ actions: e }) {g("请先关闭当前详情或对话框,再开始导览。");return;}- if (t.steps.some((e) => e.surface) && g8()?.miniplayerActive()) {+ if (t.steps.some((e) => e.surface) && h8()?.miniplayerActive()) {g("请先关闭正在播放的小窗,再开始播放器导览。");return;}- let i = r ? rye(C.current, t) : 0;+ let i = r ? iye(C.current, t) : 0;if (D.current && t.steps.some((e) => e.route && e.route !== location.pathname)) {g("当前配置表单有编辑内容。请先处理表单,再开启需要切换页面的章节。");return;@@ -48732,7 +48732,7 @@ function Cye({ actions: e }) {try {let { createGuideSession: r } = await import("./peach-app.guide-driver-BZX0VpRC.js");if (a !== S.current) return;- let s = zf(location.pathname) ? Up() : null, c = new URL(zf(location.pathname) ? `${s?.pathname || "/"}${s?.search || ""}` : location.href, location.origin);+ let s = zf(location.pathname) ? Hp() : null, c = new URL(zf(location.pathname) ? `${s?.pathname || "/"}${s?.search || ""}` : location.href, location.origin);new URLSearchParams(location.search).has("edit") && c.searchParams.set("edit", ""), E.current = `${c.pathname}${c.search}${c.hash}`, w.current = Math.min(i, t.steps.length - 1), ne(), (0, Rt.flushSync)(() => n(!1)), document.body.classList.add("peach-guiding");let l = () => {let e = C.current, n = e.chapters[t.id] || {@@ -48756,7 +48756,7 @@ function Cye({ actions: e }) {}), b.current?.show(t.steps[w.current], w.current, t.steps.length);};b.current = r({- mountPopover: EU,+ mountPopover: wU,navigate: e.navigate,close: () => {ie(!0), o(t.kind);@@ -48767,18 +48767,18 @@ function Cye({ actions: e }) {},next: async (e = !1) => {let n = w.current + 1;- if (te(oye(C.current, t.id, t.steps[w.current].id, n, e), {+ if (te(sye(C.current, t.id, t.steps[w.current].id, n, e), {action: "step",chapter: t.id,step: t.steps[w.current].id,next: n,skipped: e}), n >= t.steps.length) {- if (t.id === "basics" && hU(C.current, t) && te({+ if (t.id === "basics" && pU(C.current, t) && te({...C.current,completed: !0}, { action: "complete" }), await k.current, a !== S.current) return;- ie(!0), o(t.kind), g(hU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");+ ie(!0), o(t.kind), g(pU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");} else w.current = n, l();}}), l();@@ -48791,8 +48791,8 @@ function Cye({ actions: e }) {O.current = (e, t) => {se(e, t);};- let ce = tye(location.pathname);- return (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(rV, {+ let ce = nye(location.pathname);+ return (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(tV, {isOpen: t,onOpenChange: (e) => {e || ae();@@ -48807,18 +48807,18 @@ function Cye({ actions: e }) {id: "guideTitle",className: "text-title-2-medium text-text-primary",children: "新手教程"- }), /* @__PURE__ */ (0, I.jsx)(lV, {+ }), /* @__PURE__ */ (0, I.jsx)(sV, {label: "关闭新手教程",onPress: ae})]}),/* @__PURE__ */ (0, I.jsx)("div", {className: "peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3",- children: /* @__PURE__ */ (0, I.jsx)($H, {+ children: /* @__PURE__ */ (0, I.jsx)(ZH, {"aria-label": "教程路径",name: "guide-path",orientation: "horizontal",- className: eU,+ className: QH,value: a,onChange: (e) => {o(e), c(""), g("");@@ -48827,9 +48827,9 @@ function Cye({ actions: e }) {["start", "开始使用"],["interface", "界面导览"],["settings", "设置导览"]- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Oz, {+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Ez, {value: e,- className: tU,+ className: $H,children: t}, e))})@@ -48840,10 +48840,10 @@ function Cye({ actions: e }) {ref: y,className: "peach-guide-body",children: [- p ? /* @__PURE__ */ (0, I.jsx)(aV, {+ p ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",className: "mb-4",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: () => {N();@@ -48852,12 +48852,12 @@ function Cye({ actions: e }) {}),children: p}) : null,- h ? /* @__PURE__ */ (0, I.jsx)(aV, {+ h ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",className: "mb-4",children: h}) : null,- a === "start" ? /* @__PURE__ */ (0, I.jsx)(Sye, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(vye, {+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(Cye, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(yye, {kind: a,query: s,setQuery: c,@@ -48875,15 +48875,15 @@ function Cye({ actions: e }) {}) }), document.body);}// src/react/client-updates.tsx-var wye = 12e4, Tye = 15e3, OU = () => document.visibilityState !== "hidden", kU = /* @__PURE__ */ new Set([+var Tye = 12e4, Eye = 15e3, EU = () => document.visibilityState !== "hidden", DU = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), AU = "/settings/maintenance#releaseUpdates";-function Eye() {+]), OU = "/settings/maintenance#releaseUpdates";+function Dye() {try {let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");return typeof e?.version == "string" && typeof e?.build_id == "string" ? {@@ -48894,23 +48894,23 @@ function Eye() {return null;}}-function jU() {- let e = (0, F.useRef)(Eye()), [t, n] = (0, F.useState)(null);+function kU() {+ let e = (0, F.useRef)(Dye()), [t, n] = (0, F.useState)(null);return (0, F.useEffect)(() => {let t = !1, r, i, a = async () => {- if (t || !OU()) return;+ if (t || !EU()) return;let o = new AbortController();i = o;- let s = setTimeout(() => o.abort(), Tye);+ let s = setTimeout(() => o.abort(), Eye);o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });try {let r = await B("/api/client-updates", o.signal);!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));} catch {} finally {- clearTimeout(s), i === o && (i = void 0, !t && OU() && (r = setTimeout(a, wye)));+ clearTimeout(s), i === o && (i = void 0, !t && EU() && (r = setTimeout(a, Tye)));}}, o = () => {- clearTimeout(r), i?.abort(), i = void 0, OU() && a();+ clearTimeout(r), i?.abort(), i = void 0, EU() && a();};return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);@@ -48920,12 +48920,12 @@ function jU() {refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)};}-function Dye({ navigate: e }) {- let { snapshot: t, refresh: n } = jU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");+function Oye({ navigate: e }) {+ let { snapshot: t, refresh: n } = kU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");if (!t || !a) return null;- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : kU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : DU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;if (!l) return null;- let u = (s.state === "ready" || kU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [+ let u = (s.state === "ready" || DU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [l,c.version,c.build_id@@ -48948,22 +48948,22 @@ function Dye({ navigate: e }) {children: [" Peach ", u]}) : null] })] }), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex-wrap",- children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(lH, {+ children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(sH, {variant: "secondary",size: "small",onClick: () => window.location.reload(),"data-copy-key": "clientUpdates.refresh.action",children: "刷新页面"- }) : /* @__PURE__ */ (0, I.jsx)(lH, {+ }) : /* @__PURE__ */ (0, I.jsx)(sH, {variant: "secondary",size: "small",- href: AU,+ href: OU,onClick: (t) => {- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(AU));+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(OU));},"data-copy-key": `clientUpdates.${l}.action`,children: l === "preparing" ? "查看进度" : "查看更新"- }), /* @__PURE__ */ (0, I.jsx)(lH, {+ }), /* @__PURE__ */ (0, I.jsx)(sH, {variant: "secondary",size: "small",onClick: () => i(d),@@ -48974,18 +48974,18 @@ function Dye({ navigate: e }) {}, d), a);}// src/react/router/pages/settings.tsx-function Oye() {- let e = (0, F.useContext)(uG), { pathname: t } = cf();+function kye() {+ let e = (0, F.useContext)(cG), { pathname: t } = cf();return (0, F.useEffect)(() => {e?.openSettings?.(Bf(t));}, [e, t]), (0, F.useEffect)(() => () => {queueMicrotask(() => {- zf(Bp.navigation.location.pathname) || e?.closeSettings?.();+ zf(W.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}// src/junk-queue.ts-var MU = [+var AU = [["","全部",@@ -49021,40 +49021,40 @@ var MU = ["其它","hard-drive"]-], kye = (e) => MU.find(([t]) => t === e)?.[0] ?? "";-function NU(e) {+], Aye = (e) => AU.find(([t]) => t === e)?.[0] ?? "";+function jU(e) {let t = new URLSearchParams(e);return {- kind: kye(t.get("type")),+ kind: Aye(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function PU(e = "", t = "pending") {+function MU(e = "", t = "pending") {let n = new URLSearchParams();e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");let r = n.toString();return `/junk-files${r ? `?${r}` : ""}`;}-function FU(e) {+function NU(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: PU("", "pending")+ href: MU("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: PU("", "dismissed")+ href: MU("", "dismissed")};}-var IU = (e) => e === "dismissed" ? "已排除" : "待判断", LU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function Aye({ kind: e, view: t }) {- let n = MU.map(([n, r, i]) => `<a href="${PU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${LU(i)}${z(r)}</a>`).join(""), r = FU(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ls(IU(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${LU(r.glyph)}${r.label}</a></nav></div></div></div>`;+var PU = (e) => e === "dismissed" ? "已排除" : "待判断", FU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function jye({ kind: e, view: t }) {+ let n = AU.map(([n, r, i]) => `<a href="${MU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${FU(i)}${z(r)}</a>`).join(""), r = NU(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ls(PU(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\"" : ""}>${FU(r.glyph)}${r.label}</a></nav></div></div></div>`;}// src/react/boardui/utils/use-dismiss-on-outside-press.ts-function jye(e, t, n) {+function Mye(e, t, n) {(0, F.useEffect)(() => {if (!e) return;let r = (e) => {@@ -49068,7 +49068,7 @@ function jye(e, t, n) {n]);}-function Mye(e, t) {+function Nye(e, t) {let n = (0, F.useRef)(!1);return (0, F.useEffect)(() => {if (!e) return;@@ -49081,33 +49081,33 @@ function Mye(e, t) {}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;}// src/react/boardui/components/base/select/select.tsx-var RU = (0, F.createContext)("md");-function zU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var IU = (0, F.createContext)("md");+function LU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);- jye(d, () => f(!1), [l, u]);- let p = Mye(d, l);- return /* @__PURE__ */ (0, I.jsx)(she, {+ Mye(d, () => f(!1), [l, u]);+ let p = Nye(d, l);+ return /* @__PURE__ */ (0, I.jsx)(che, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: q("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(PL, {+ className: J("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(ML, {ref: l,- className: q("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, I.jsx)(uhe, {- className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: J("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, I.jsx)(dhe, {+ className: J("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, I.jsx)(S_e, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, I.jsx)(sz, {+ }), /* @__PURE__ */ (0, I.jsx)(C_e, { className: J("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, I.jsx)(az, {ref: u,isNonModal: !0,offset: 4,- className: q(T_e, DV, "p-2", n),- children: /* @__PURE__ */ (0, I.jsx)(kme, {+ className: J(E_e, TV, "p-2", n),+ children: /* @__PURE__ */ (0, I.jsx)(Ame, {items: a,- className: q(E_e, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, I.jsx)(RU.Provider, {+ className: J(D_e, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, I.jsx)(IU.Provider, {value: r,children: i})@@ -49115,83 +49115,83 @@ function zU({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function BU({ className: e, children: t, ...n }) {- let r = (0, F.useContext)(RU);- return /* @__PURE__ */ (0, I.jsx)(Mme, {+function RU({ className: e, children: t, ...n }) {+ let r = (0, F.useContext)(IU);+ return /* @__PURE__ */ (0, I.jsx)(Nme, {...n,- className: (t) => q(OV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => J(EV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}// src/react/toaster.tsx-var VU = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {+var zU = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), HU = null, UU = { "--floating-radius": "var(--radius-2xl)" }, WU = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;-function GU() {- let e = HU;- HU = null, e?.root.unmount();-}-var KU = (e, t) => {- if (HU?.host === e) return;- GU();+}), BU = null, VU = { "--floating-radius": "var(--radius-2xl)" }, HU = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;+function UU() {+ let e = BU;+ BU = null, e?.root.unmount();+}+var WU = (e, t) => {+ if (BU?.host === e) return;+ UU();let n = (0, zt.createRoot)(e);- HU = {+ BU = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, I.jsxs)(LV, { children: [/* @__PURE__ */ (0, I.jsx)(GV, {+ }, n.render(/* @__PURE__ */ (0, I.jsxs)(FV, { children: [/* @__PURE__ */ (0, I.jsx)(UV, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...UU,+ ...VU,"--width": "min(560px, calc(100vw - 48px))"},offset: {right: 24,- bottom: `calc(${WU(24)} + var(--processing-toast-space, 0px))`+ bottom: `calc(${HU(24)} + var(--processing-toast-space, 0px))`},mobileOffset: {right: 16,left: 16,- bottom: `calc(${WU(16)} + var(--processing-toast-space, 0px))`+ bottom: `calc(${HU(16)} + var(--processing-toast-space, 0px))`},toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: VU(t.success, !0),- error: VU(t.error, !1)+ success: zU(t.success, !0),+ error: zU(t.error, !1)}- }), /* @__PURE__ */ (0, I.jsx)(GV, {+ }), /* @__PURE__ */ (0, I.jsx)(UV, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...UU,+ ...VU,"--width": "min(400px, calc(100vw - 32px))"},offset: {right: 24,- bottom: WU(24)+ bottom: HU(24)},mobileOffset: {right: 16,left: 16,- bottom: WU(16)+ bottom: HU(16)},toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, Nye = 6e3, qU = (e, t) => {+}, Pye = 6e3, GU = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? BV.error : BV.success, r = t.action;+ let n = t.alert ? RV.error : RV.success, r = t.action;n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : Nye,+ duration: t.timeout > 0 ? t.timeout : Pye,action: r ? {label: r.label,onClick: (e) => {@@ -49199,7 +49199,7 @@ var KU = (e, t) => {}} : void 0});-}, JU = OI({+}, KU = EI({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",@@ -49218,16 +49218,16 @@ var KU = (e, t) => {soft: "bg-background-secondary-default text-text-secondary"}});-function YU({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function qU({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("span", {ref: r,- className: q(JU.base, JU.variant[e], JU.color[t], n),+ className: J(KU.base, KU.variant[e], KU.color[t], n),...i});}// src/react/components/select.tsx-function XU({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, I.jsx)(zU, {+function JU({ prefix: e, renderValue: t, size: n, ...r }) {+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(LU, {...r,size: n,renderValue: t@@ -49237,20 +49237,20 @@ function XU({ 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, I.jsx)(zU, {+ return /* @__PURE__ */ (0, I.jsx)(LU, {...r,size: n,renderValue: a});}// src/react/components/table-pagination.tsx-function Pye({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function Fye({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",className: "inline-grid min-w-0 max-w-full items-center gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",disabled: e <= 1,@@ -49263,7 +49263,7 @@ function Pye({ page: e, pages: t, onPage: n, label: r = "关注列表分页" })"aria-hidden": !0,className: "px-1 text-body-2-regular text-text-tertiary",children: "…"- }) : /* @__PURE__ */ (0, I.jsx)(J, {+ }) : /* @__PURE__ */ (0, I.jsx)(Y, {variant: t === e ? "secondary" : "ghost",size: "small","aria-label": `第 ${t} 页`,@@ -49272,7 +49272,7 @@ function Pye({ page: e, pages: t, onPage: n, label: r = "关注列表分页" })children: t}) }, t === "…" ? `dots-${r}` : t))}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",disabled: e >= t,@@ -49283,8 +49283,8 @@ function Pye({ page: e, pages: t, onPage: n, label: r = "关注列表分页" })});}// src/react/components/icon-swap.tsx-function ZU({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = DC();+function YU({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = EC();return /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -49300,19 +49300,19 @@ function ZU({ a: e, b: t, state: n, className: r }) {})]});}-function QU({ className: e }) {- return /* @__PURE__ */ (0, I.jsx)(ZU, {- a: Sge,- b: xge,+function XU({ className: e }) {+ return /* @__PURE__ */ (0, I.jsx)(YU, {+ a: Cge,+ b: Sge,className: e});}// src/react/components/table-controls.tsx-function $U({ label: e, options: t, sorting: n, onChange: r }) {+function ZU({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsxs)(XU, {+ children: [/* @__PURE__ */ (0, I.jsxs)(JU, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -49322,18 +49322,18 @@ function $U({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, I.jsx)(BU, {+ children: [/* @__PURE__ */ (0, I.jsx)(RU, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(RU, {id: e.id,children: e.label}, e.id))]- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: QU,+ leadingIcon: XU,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -49345,7 +49345,7 @@ function $U({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function eW({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [+function QU({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [10,20,50,@@ -49360,7 +49360,7 @@ function eW({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(XU, {+ children: [/* @__PURE__ */ (0, I.jsx)(JU, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -49370,11 +49370,11 @@ function eW({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记pageSize: Number(e)});},- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(RU, {id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, I.jsx)(Pye, {+ }), /* @__PURE__ */ (0, I.jsx)(Fye, {label: `${e}分页`,page: c + 1,pages: s,@@ -49387,7 +49387,7 @@ function eW({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记});}// src/react/components/art-slot.tsx-function tW({ artwork: e, identity: t = e.html, relayout: n }) {+function $U({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, F.useState)({identity: t,artwork: e@@ -49406,7 +49406,7 @@ function tW({ artwork: e, identity: t = e.html, relayout: n }) {});}// src/react/activity/downloads-panel.tsx-var nW = "/api/downloads", rW = ["downloads"], Fye = "/api/downloads/cancel", Iye = "/api/downloads/postprocess", iW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Lye = {+var eW = "/api/downloads", tW = ["downloads"], Iye = "/api/downloads/cancel", Lye = "/api/downloads/postprocess", nW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Rye = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -49416,24 +49416,24 @@ var nW = "/api/downloads", rW = ["downloads"], Fye = "/api/downloads/cancel", Iylanded: "lime",submitted: "neutral",submit_pending: "yellow"-}, aW = (e) => {- let t = e.display_code || e.code || "", { title: n } = FI({+}, rW = (e) => {+ let t = e.display_code || e.code || "", { title: n } = NI({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}`;-}, oW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Rye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function zye() {+}, iW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", zye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function Bye() {let e = (0, F.useId)(), [t, n] = (0, F.useState)(1), [r, i] = (0, F.useState)(20), a = Ft({queryKey: [- ...rW,+ ...tW,"page",t,r],- queryFn: ({ signal: e }) => B(`${nW}?limit=${r}&page=${t}`, e),- refetchInterval: (e) => iW(e.state.data),+ queryFn: ({ signal: e }) => B(`${eW}?limit=${r}&page=${t}`, e),+ refetchInterval: (e) => nW(e.state.data),placeholderData: (e) => e}), [o, s] = (0, F.useState)(a.data);a.data && a.data !== o && s(a.data);@@ -49448,19 +49448,19 @@ function zye() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- a.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ a.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: lr(a.error)}) : null,l.length ? /* @__PURE__ */ (0, I.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: l.map((e) => /* @__PURE__ */ (0, I.jsx)(Bye, {+ children: l.map((e) => /* @__PURE__ */ (0, I.jsx)(Vye, {task: e,writable: c?.available ?? !1}, e.id))}) : null,- /* @__PURE__ */ (0, I.jsx)(eW, {+ /* @__PURE__ */ (0, I.jsx)(QU, {label: "云下载",total: c?.total ?? l.length,pagination: {@@ -49474,16 +49474,16 @@ function zye() {]});}-function Bye({ task: e, writable: t }) {- $I();- let n = ae(), r = uH(), [i, a] = (0, F.useState)(!1), o = (0, F.useId)(), s = oW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), c = e.artwork, l = c?.performer_entities || [], u = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, d = e.state === "failed" || e.postprocess_state === "failed", f = [+function Vye({ task: e, writable: t }) {+ ZI();+ let n = ae(), r = cH(), [i, a] = (0, F.useState)(!1), o = (0, F.useId)(), s = iW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), c = e.artwork, l = c?.performer_entities || [], u = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, d = e.state === "failed" || e.postprocess_state === "failed", f = [e.display_code || e.code ? "" : "番号未识别",e.target,- ZI(e.submitted_at)+ YI(e.submitted_at)].filter(Boolean).join(" · "), p = () => {- n.invalidateQueries({ queryKey: rW });+ n.invalidateQueries({ queryKey: tW });}, m = () => {- r.run("cancel", (t) => V(Fye, { id: e.id }, "POST", t), p);+ r.run("cancel", (t) => V(Iye, { id: e.id }, "POST", t), p);}, h = () => {let t = {magnet: e.source_uri,@@ -49493,26 +49493,26 @@ function Bye({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(nW, t, "POST", e), p);+ r.run("resubmit", (e) => V(eW, t, "POST", e), p);}, g = () => {- navigator.clipboard.writeText(e.source_uri).then(() => qU(`download-copy-${e.id}`, {+ navigator.clipboard.writeText(e.source_uri).then(() => GU(`download-copy-${e.id}`, {html: "已复制磁力",alert: !1,timeout: 4e3,action: null- }), () => qU(`download-copy-${e.id}`, {+ }), () => GU(`download-copy-${e.id}`, {html: "复制失败,请检查剪贴板权限",alert: !0,timeout: 6e3,action: null}));}, _ = () => {- r.run("postprocess", (t) => V(Iye, { id: e.id }, "POST", t), p);+ r.run("postprocess", (t) => V(Lye, { id: e.id }, "POST", t), p);};return /* @__PURE__ */ (0, I.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: yU({+ className: _U({padding: "none",bordered: d ? "error" : void 0,className: "flex flex-col"@@ -49523,14 +49523,14 @@ function Bye({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(iM) },+ style: { "--card-ratio": String(nM) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [c?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- c?.has_cover ? /* @__PURE__ */ (0, I.jsx)(tW, {+ c?.has_cover ? /* @__PURE__ */ (0, I.jsx)($U, {artwork: {kind: "cover",html: Co(c, "big")@@ -49540,7 +49540,7 @@ function Bye({ task: e, writable: t }) {u ? /* @__PURE__ */ (0, I.jsx)("a", {"data-download-cover-link": "",href: u,- "aria-label": `打开作品详情:${aW(e)}`,+ "aria-label": `打开作品详情:${rW(e)}`,className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"}) : null]@@ -49551,19 +49551,19 @@ function Bye({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, I.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: aW(e),+ title: rW(e),children: u ? /* @__PURE__ */ (0, I.jsx)("a", {"data-download-title-link": "",href: u,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: aW(e)- }) : aW(e)+ children: rW(e)+ }) : rW(e)}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(YU, {- color: Lye[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, I.jsx)(qU, {+ color: Rye[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(YU, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(qU, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -49573,7 +49573,7 @@ function Bye({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, I.jsx)(zH, {+ children: /* @__PURE__ */ (0, I.jsx)(LH, {source: e.provider,label: e.provider_label})@@ -49600,7 +49600,7 @@ function Bye({ task: e, writable: t }) {children: [l.map((e) => nn("performer", e.name, e.id)).join("、"), (c?.performer_total || 0) > l.length ? ` 等 ${c.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(TH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(CH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -49610,12 +49610,12 @@ function Bye({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, I.jsx)(NH, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, I.jsx)(jH, { children: r.error }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",children: [- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",size: "small","aria-expanded": i,@@ -49623,7 +49623,7 @@ function Bye({ task: e, writable: t }) {onClick: () => a(!i),children: i ? "收起标题" : "展开标题"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",size: "small",onClick: g,@@ -49632,24 +49632,24 @@ function Bye({ task: e, writable: t }) {t && (e.cancellable || e.resubmittable || e.postprocess_retryable) ? /* @__PURE__ */ (0, I.jsxs)("div", {className: "ml-auto flex flex-wrap items-center gap-2",children: [- e.cancellable ? /* @__PURE__ */ (0, I.jsx)(J, {+ e.cancellable ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- ...uV(r.busy === "cancel"),+ ...cV(r.busy === "cancel"),onClick: m,children: "取消"}) : null,- e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(J, {+ e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- ...uV(r.busy === "resubmit"),+ ...cV(r.busy === "resubmit"),onClick: h,children: "重新提交"}) : null,- e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(J, {+ e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- ...uV(r.busy === "postprocess"),+ ...cV(r.busy === "postprocess"),onClick: _,children: "重试入库后整理"}) : null@@ -49660,48 +49660,48 @@ function Bye({ task: e, writable: t }) {]})]}),- /* @__PURE__ */ (0, I.jsx)(OH, {+ /* @__PURE__ */ (0, I.jsx)(EH, {open: i,id: o,children: /* @__PURE__ */ (0, I.jsx)("p", {"data-download-title-full": !0,className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",- children: aW(e)+ children: rW(e)})}),s || e.postprocess_detail ? /* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, I.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: s || Rye(e)+ children: s || zye(e)})}) : null]});}// src/react/activity/work-code.ts-var sW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), cW = (e, t) => !!sW(e) && sW(e) === sW(t);+var aW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), oW = (e, t) => !!aW(e) && aW(e) === aW(t);// src/react/components/ime.ts-function lW(e) {+function sW(e) {return e.isComposing || e.keyCode === 229;}// src/react/activity/resource-search.tsx-function Vye({ className: e }) {+function Hye({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Hs("") }});}-function Hye(e) {+function Uye(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码","无码流出","无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => Hye(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = uH(), b = (0, F.useRef)(null);+function Wye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => Uye(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = cH(), b = (0, F.useRef)(null);(0, F.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -49717,7 +49717,7 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => cW(e.code, t));+ let r = (n.items || []).find((e) => oW(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -49738,28 +49738,28 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, I.jsxs)(MH, { children: [+ t ? /* @__PURE__ */ (0, I.jsxs)(AH, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, I.jsx)(nV, {+ /* @__PURE__ */ (0, I.jsx)(eV, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? Vye : VB,+ leadingIcon: y.busy ? Hye : zB,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,onKeyDown: (e) => {- e.key === "Enter" && !lW(e.nativeEvent) && (e.preventDefault(), x());+ e.key === "Enter" && !sW(e.nativeEvent) && (e.preventDefault(), x());}}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, I.jsx)(PH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(zU, {+ children: [/* @__PURE__ */ (0, I.jsx)(MH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(LU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -49767,15 +49767,15 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, I.jsx)(BU, {+ /* @__PURE__ */ (0, I.jsx)(RU, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, I.jsx)(BU, {+ /* @__PURE__ */ (0, I.jsx)(RU, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, I.jsx)(BU, {+ /* @__PURE__ */ (0, I.jsx)(RU, {id: "uncensored",children: "无码"})@@ -49784,32 +49784,32 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, I.jsx)(nV, {+ children: [/* @__PURE__ */ (0, I.jsx)(eV, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, I.jsx)(nV, {+ }), /* @__PURE__ */ (0, I.jsx)(eV, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, I.jsx)(MH, {+ y.busy ? /* @__PURE__ */ (0, I.jsx)(AH, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, I.jsx)(NH, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, I.jsx)(MH, {+ y.error ? /* @__PURE__ */ (0, I.jsx)(jH, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, I.jsx)(AH, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(MH, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(AH, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(MH, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(AH, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {@@ -49819,7 +49819,7 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, I.jsx)(MH, { children: [+ /* @__PURE__ */ (0, I.jsx)(AH, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -49828,7 +49828,7 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e.uncensored ? "无码" : "",e.origins.join("、")].filter(Boolean).join(" · ") }),- /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(Y, {type: "button",variant: "secondary",onClick: () => {@@ -49843,20 +49843,20 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});}// src/react/activity/cloud-download-dialog.tsx-var Wye = {+var Gye = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度",deferred: "网盘暂时没有响应,Peach 会自动重新提交,进度在任务中心"};-function uW({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, I.jsx)(rV, {+function cW({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, I.jsx)(tV, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, I.jsx)(Gye, {+ children: e ? /* @__PURE__ */ (0, I.jsx)(Kye, {prefill: e,close: t,receipt: n,@@ -49864,26 +49864,26 @@ function uW({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function Gye({ prefill: e, close: t, receipt: n, provider: r }) {+function Kye({ prefill: e, close: t, receipt: n, provider: r }) {let i = Ft({- queryKey: rW,- queryFn: ({ signal: e }) => B(`${nW}?limit=50`, e),- refetchInterval: (e) => iW(e.state.data)+ queryKey: tW,+ queryFn: ({ signal: e }) => B(`${eW}?limit=50`, e),+ refetchInterval: (e) => nW(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, I.jsx)(IL, {+ children: [/* @__PURE__ */ (0, I.jsx)(PL, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",iconOnly: !0,- leadingIcon: bB,+ leadingIcon: vB,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, I.jsx)(Kye, {+ return a ? /* @__PURE__ */ (0, I.jsx)(qye, {header: o,snapshot: a,prefill: e,@@ -49896,14 +49896,14 @@ function Gye({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, I.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ children: i.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: lr(i.error)}) : null}),/* @__PURE__ */ (0, I.jsx)("div", {className: "flex justify-end p-3",- children: /* @__PURE__ */ (0, I.jsx)(J, {+ children: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: t,children: "关闭"@@ -49912,8 +49912,8 @@ function Gye({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = uH(), C = (0, F.useRef)(null), w = (e) => {+function qye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = cH(), C = (0, F.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, I.jsxs)("form", {@@ -49929,14 +49929,14 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(nW, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: rW });- let t = Wye[e.outcome];+ b(""), S.run("submit", (e) => V(eW, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: tW });+ let t = Gye[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = oW(e.task);+ let n = iW(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -49960,7 +49960,7 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, I.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, I.jsx)(MH, { children: [+ }), _ ? /* @__PURE__ */ (0, I.jsx)(AH, { children: [_.performers,_.studio,_.release_date,@@ -49968,22 +49968,22 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, I.jsx)(Uye, {+ /* @__PURE__ */ (0, I.jsx)(Wye, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- cW(e, _?.code) || (v(cW(e, n.code) ? n : null), f("")), m(e);+ oW(e, _?.code) || (v(oW(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? cW(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? oW(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : cW(t?.code, n.code) ? t : null),+ } : e : oW(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, I.jsx)(nV, {+ /* @__PURE__ */ (0, I.jsx)(eV, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -49995,38 +49995,38 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, I.jsx)(PH, { children: "下载到" }),- /* @__PURE__ */ (0, I.jsx)(zU, {+ /* @__PURE__ */ (0, I.jsx)(MH, { children: "下载到" }),+ /* @__PURE__ */ (0, I.jsx)(LU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(RU, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, I.jsx)(zH, {+ children: /* @__PURE__ */ (0, I.jsx)(LH, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, I.jsx)(MH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, I.jsx)(AH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, I.jsx)(aV, {+ t.available ? null : /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, I.jsxs)(aV, {+ s.length ? null : /* @__PURE__ */ (0, I.jsxs)(rV, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, I.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, I.jsx)(nV, {+ /* @__PURE__ */ (0, I.jsx)(eV, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -50034,29 +50034,29 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, I.jsx)(nV, {+ n.code ? null : /* @__PURE__ */ (0, I.jsx)(eV, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), cW(e, _?.code) || v(null);+ m(e), oW(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, I.jsx)(NH, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, I.jsx)(jH, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex justify-between gap-4 p-3",- children: [/* @__PURE__ */ (0, I.jsx)(J, {+ children: [/* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: r,children: "取消"- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {type: "submit",disabled: !d.trim() || !x,- ...uV(S.busy === "submit"),+ ...cV(S.busy === "submit"),children: "提交下载"})]})@@ -50064,18 +50064,18 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide});}// src/react/wants/wants.ts-var dW = "/api/wants", fW = ["wants"], qye = (e) => [+var lW = "/api/wants", uW = ["wants"], Jye = (e) => ["wants","follow",e-], Jye = [+], Yye = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], pW = (e) => B(dW, e);-function Yye(e, t) {- H.setQueryData(fW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], dW = (e) => B(lW, e);+function Xye(e, t) {+ H.setQueryData(uW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -50083,21 +50083,21 @@ function Yye(e, t) {} : n)} : n);}-var Xye = (e, t) => B(`${dW}?follow=${encodeURIComponent(e)}`, t), mW = (e, t) => V(dW, {+var Zye = (e, t) => B(`${lW}?follow=${encodeURIComponent(e)}`, t), fW = (e, t) => V(lW, {action: "add",...e-}, "POST", t), hW = (e, t) => V(dW, {+}, "POST", t), pW = (e, t) => V(lW, {action: "remove",ids: e-}, "POST", t), Zye = (e, t) => V(dW, {+}, "POST", t), Qye = (e, t) => V(lW, {action: "reset",ids: e-}, "POST", t), gW = () => H.invalidateQueries({ queryKey: fW }), Qye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function $ye(e) {+}, "POST", t), mW = () => H.invalidateQueries({ queryKey: uW }), $ye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function ebe(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}// src/react/jav/discovery-sorts.ts-var _W = [+var hW = [["taste","口味",@@ -50105,7 +50105,7 @@ var _W = [],["release_date",- Sj[1],+ bj[1],"按发行日期排序"],[@@ -50123,10 +50123,10 @@ var _W = ["番号","按番号排序"]-], vW = [+], gW = [["release_date",- Sj[1],+ bj[1],"按发行日期排序"],[@@ -50150,10 +50150,10 @@ var _W = ["按口味匹配排序"]];-function ebe(e) {+function tbe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function tbe(e) {+function nbe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -50178,31 +50178,31 @@ function tbe(e) {};}// src/react/jav/jav.ts-function nbe(e) {+function rbe(e) {let t = new URLSearchParams(location.search);for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);- Vp(location.pathname + (t.size ? `?${t}` : ""), {+ Bp(location.pathname + (t.size ? `?${t}` : ""), {replace: !0,- state: Bp.navigation.location.state+ state: W.navigation.location.state});}-var yW = /* @__PURE__ */ new Set(), bW = /* @__PURE__ */ new Set(), xW = 0, SW = () => {- xW += 1, bW.forEach((e) => e());-}, rbe = {+var _W = /* @__PURE__ */ new Set(), vW = /* @__PURE__ */ new Set(), yW = 0, bW = () => {+ yW += 1, vW.forEach((e) => e());+}, ibe = {subscribe(e) {- return bW.add(e), () => {- bW.delete(e);+ return vW.add(e), () => {+ vW.delete(e);};},- revision: () => xW,- has: (e) => yW.has(e)+ revision: () => yW,+ has: (e) => _W.has(e)};-function CW(e, t) {- return yW.add(e), SW(), V("/api/jav/cover", { code: e }, "POST", t).finally(() => {- yW.delete(e), SW();+function xW(e, t) {+ return _W.add(e), bW(), V("/api/jav/cover", { code: e }, "POST", t).finally(() => {+ _W.delete(e), bW();});}-async function ibe(e, t, n, r, i = 2) {+async function abe(e, t, n, r, i = 2) {let a = [...e], o = 0, s = 0;return await Promise.all(Array.from({ length: i }, async () => {for (let e = a.shift(); e && r(); e = a.shift()) {@@ -50212,7 +50212,7 @@ async function ibe(e, t, n, r, i = 2) {}})), s;}-function abe(e, t) {+function obe(e, t) {let n = (n) => {let r = n?.items;return r ? {@@ -50229,13 +50229,13 @@ function abe(e, t) {};for (let e of ["jav-releases", "jav-discoveries"]) H.setQueriesData({ queryKey: [e] }, n);}-var wW = (e, t = "taste", n = "desc") => [+var SW = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function TW(e, t, n = {}) {+function CW(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -50244,15 +50244,15 @@ function TW(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);}-var EW = [+var wW = [10,20,24,50,100];-function DW(e) {- let t = new URLSearchParams(e), n = t.get("sort"), r = t.get("seed") || "", i = Number(t.get("page")), a = EW.find((e) => e === Number(t.get("size"))) || 24;+function TW(e) {+ let t = new URLSearchParams(e), n = t.get("sort"), r = t.get("seed") || "", i = Number(t.get("page")), a = wW.find((e) => e === Number(t.get("size"))) || 24;return {page: Number.isFinite(i) ? Math.max(1, Math.floor(i)) : 1,size: a,@@ -50260,12 +50260,12 @@ function DW(e) {studio: t.get("studio") || "",tag: t.get("tag") || "",q: (t.get("q") || "").trim(),- sort: n === "random" && r ? "random" : vW.find(([e]) => e === n)?.[0] || "release_date",+ sort: n === "random" && r ? "random" : gW.find(([e]) => e === n)?.[0] || "release_date",dir: t.get("dir") === "asc" ? "asc" : "desc",seed: r};}-var OW = (e) => [+var EW = (e) => ["jav-releases",e.page,e.size,@@ -50277,7 +50277,7 @@ var OW = (e) => [e.dir,e.seed];-function kW(e, t, n = "") {+function DW(e, t, n = "") {let r = new URLSearchParams({page: String(e.page),size: String(e.size),@@ -50293,7 +50293,7 @@ function kW(e, t, n = "") {]) e[t] && r.set(t, e[t]);return n && r.set("metadata_job_id", n), B(`/api/jav/releases?${r}`, t);}-function obe(e, t, n) {+function sbe(e, t, n) {let r = To({...e,is_jav: !0@@ -50302,40 +50302,40 @@ function obe(e, t, n) {let i = z(po(e));return Co(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 sbe(e, t) {+async function cbe(e, t) {if (e === "wants") await H.ensureQueryData({- queryKey: fW,- queryFn: () => pW(t),+ queryKey: uW,+ queryFn: () => dW(t),staleTime: 3e4,revalidateIfStale: !0});else if (e === "discover") await H.ensureQueryData({- queryKey: wW("external"),- queryFn: () => TW("external", t),+ queryKey: SW("external"),+ queryFn: () => CW("external", t),staleTime: 3e4,revalidateIfStale: !0});else if (e === "releases") {- let e = DW(location.search);+ let e = TW(location.search);await H.ensureQueryData({- queryKey: OW(e),- queryFn: () => kW(e, t),+ queryKey: EW(e),+ queryFn: () => DW(e, t),staleTime: 3e4,revalidateIfStale: !0});}}// src/react/components/board-tabs.tsx-function AW({ value: e }) {+function OW({ value: e }) {return /* @__PURE__ */ (0, I.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var cbe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";-function jW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, F.useRef)(null), o = aL(a);+var lbe = "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 kW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, F.useRef)(null), o = rL(a);return (0, F.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -50344,7 +50344,7 @@ function jW({ 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, I.jsx)(AI, {+ }, [t]), /* @__PURE__ */ (0, I.jsx)(OI, {ref: o,role: "tablist","aria-label": n,@@ -50359,7 +50359,7 @@ function jW({ 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 ? cV(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? oV(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",@@ -50368,7 +50368,7 @@ function jW({ 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: cbe,+ className: lbe,onClick: () => {i || r(e.value);},@@ -50378,7 +50378,7 @@ function jW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"});}// src/react/jav/jav-header.tsx-function MW({ tab: e, navigate: t, find: n, search: r }) {+function AW({ tab: e, navigate: t, find: n, search: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -50390,39 +50390,39 @@ function MW({ tab: e, navigate: t, find: n, search: r }) {children: "JAV"}),r,- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "primary",className: r ? "flex-none" : "ml-auto flex-none",onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, I.jsx)(jW, {- tabs: iU.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, I.jsx)(kW, {+ tabs: nU.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(oU(e))+ onChange: (e) => t(iU(e))})]});}-function lbe({ navigate: e, receipt: t }) {+function ube({ navigate: e, receipt: t }) {let [n, r] = (0, F.useState)(null);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(MW, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(AW, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, I.jsx)(uW, {+ }), /* @__PURE__ */ (0, I.jsx)(cW, {prefill: n,close: () => r(null),receipt: t})] });}// src/react/video-wall/folia/blockReflows.ts-var ube = [+var dbe = [[[{@@ -53983,7 +53983,7 @@ var ube = [}]]-], NW = [+], jW = [[{x: 0,@@ -54280,89 +54280,89 @@ var ube = [rows: 2}]-], PW = (e) => e.map((e) => ({+], MW = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), FW = (e) => e.map((e) => ({+})), NW = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), IW = [+})), PW = [(e) => e,- PW,- FW,- (e) => PW(FW(e))-], LW = NW.flatMap((e) => IW.map((t) => t(e))), dbe = ube.flatMap((e) => IW.map((t) => e.map(t)));-LW.length;-var fbe = (e, t) => {+ MW,+ NW,+ (e) => MW(NW(e))+], FW = jW.flatMap((e) => PW.map((t) => t(e))), fbe = dbe.flatMap((e) => PW.map((t) => e.map(t)));+FW.length;+var pbe = (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;-}, RW = (e, t) => {- let n = NW.length;- return ((e + t * 2) % n + n) % n * IW.length + fbe(e, t) % IW.length;-}, pbe = (e, t) => LW[RW(e, t)], mbe = (e, t, n) => n < 0 || n >= 12 ? null : dbe[RW(e, t)][n], zW = 103.36, BW = 6.08, VW = 12 * zW, HW = 8 * zW, UW = 12, WW = (e, t) => (e % t + t) % t, hbe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;-function GW(e, t) {- let n = Math.max(1, Math.ceil(e / UW)), r = t ? 3 : Math.min(3, n);+}, IW = (e, t) => {+ let n = jW.length;+ return ((e + t * 2) % n + n) % n * PW.length + pbe(e, t) % PW.length;+}, mbe = (e, t) => FW[IW(e, t)], hbe = (e, t, n) => n < 0 || n >= 12 ? null : fbe[IW(e, t)][n], LW = 103.36, RW = 6.08, zW = 12 * LW, BW = 8 * LW, VW = 12, HW = (e, t) => (e % t + t) % t, gbe = (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 UW(e, t) {+ let n = Math.max(1, Math.ceil(e / VW)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * VW,- height: Math.ceil(n / r) * HW+ width: r * zW,+ height: Math.ceil(n / r) * BW};}-function KW(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = pbe(e, t)[n];+function WW(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = mbe(e, t)[n];return {- x: e * VW + r * zW,- y: t * HW + i * zW,- width: a * zW - BW,- height: o * zW - BW+ x: e * zW + r * LW,+ y: t * BW + i * LW,+ width: a * LW - RW,+ height: o * LW - RW};}-function gbe(e) {+function _be(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function qW(e, t, n) {+function GW(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 >= UW) return null;- let o = GW(e, t), s = o.height / HW;+ ].every(Number.isInteger) || a < 0 || a >= VW) return null;+ let o = UW(e, t), s = o.height / BW;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : WW(r, o.columns), l = ((t ? i : WW(i, s)) * o.columns + c) * UW + a;+ let c = t ? r : HW(r, o.columns), l = ((t ? i : HW(i, s)) * o.columns + c) * VW + a;return t && l >= e ? null : {- ...KW(r, i, a),+ ...WW(r, i, a),index: l % e,key: n};}-function _be(e, t) {+function vbe(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / UW);- return qW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % UW}`);+ let n = Math.floor(t / VW);+ return GW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % VW}`);}-function JW(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = mbe(r, i, a);+function KW(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = hbe(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * VW + e.x * zW,- y: i * HW + e.y * zW,- width: e.cols * zW - BW,- height: e.rows * zW - BW+ x: r * zW + e.x * LW,+ y: i * BW + e.y * LW,+ width: e.cols * LW - RW,+ height: e.rows * LW - RW}]));}-function vbe(e) {+function ybe(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / UW), i = KW(e % 3, Math.floor(e / 3), r % UW);+ let e = Math.floor(r / VW), i = WW(e % 3, Math.floor(e / 3), r % VW);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * VW - BW : t,+ width: e >= 36 ? 3 * zW - RW : t,height: n};}-function ybe(e, t, n, r) {+function bbe(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 {@@ -54371,22 +54371,22 @@ function ybe(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function YW(e, t, n, r) {+function qW(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 = GW(e, t), s = o.height / HW, c = [];- for (let n = Math.floor(a.y / HW); n <= Math.floor((a.y + a.height) / HW); n += 1) for (let r = Math.floor(a.x / VW); r <= Math.floor((a.x + a.width) / VW); r += 1) {+ }, o = UW(e, t), s = o.height / BW, c = [];+ for (let n = Math.floor(a.y / BW); n <= Math.floor((a.y + a.height) / BW); n += 1) for (let r = Math.floor(a.x / zW); r <= Math.floor((a.x + a.width) / zW); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : WW(r, o.columns), l = t ? n : WW(n, s);- for (let s = 0; s < UW; s += 1) {- let u = (l * o.columns + i) * UW + s;+ let i = t ? r : HW(r, o.columns), l = t ? n : HW(n, s);+ for (let s = 0; s < VW; s += 1) {+ let u = (l * o.columns + i) * VW + s;if (t && u >= e) continue;- let d = KW(r, n, s);- hbe(d, a) && c.push({+ let d = WW(r, n, s);+ gbe(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -54395,7 +54395,7 @@ function YW(e, t, n, r) {}return c;}-var bbe = class {+var xbe = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -54407,7 +54407,7 @@ var bbe = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : qW(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : GW(t, !1, e);return r ? {...r,index: n@@ -54437,7 +54437,7 @@ var bbe = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * VW,+ x: (e + 2) * zW,y: 0};}@@ -54450,10 +54450,10 @@ var bbe = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / VW)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / zW)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, XW = [+}, JW = ["q","performer","series",@@ -54468,40 +54468,40 @@ var bbe = class {"dur_max","region"];-function xbe(e = {}) {- return XW.some((t) => !!e[t]);+function Sbe(e = {}) {+ return JW.some((t) => !!e[t]);}// src/react/video-wall/wall-boot.ts-function Sbe() {+function Cbe() {if (document.querySelector("[data-wall-boot]")) return;let e = innerWidth < 640 ? .68 : 1, t = document.createElement("div");t.className = "peach-react", t.dataset.wallBoot = "", t.innerHTML = `<div data-video-wall="" data-fullscreen=""><div data-wall-viewport="" data-skeleton="wall" role="status" aria-busy="true" aria-label="正在读取播放墙"><div data-wall-world="" style="transform:translate3d(0px, 0px, 0) scale(${e})"></div></div></div>`, document.body.append(t);let n = t.querySelector("[data-wall-viewport]").getBoundingClientRect();- t.querySelector("[data-wall-world]").innerHTML = YW(12, !1, {+ t.querySelector("[data-wall-world]").innerHTML = qW(12, !1, {x: 0,y: 0,scale: e}, n).map((e) => `<span data-wall-skeleton="" aria-hidden="true" style="--wall-left:${e.x}px;--wall-top:${e.y}px;--wall-width:${e.width}px;--wall-height:${e.height}px"></span>`).join("");}-function ZW() {+function YW() {document.querySelectorAll("[data-wall-boot]").forEach((e) => e.remove());}// src/react/router/pages/catalog.tsx-var Cbe = () => yu, QW = Bp.navigation.seq, $W = Bp.navigation.openEpoch, eG = Bp.navigation.location.pathname, tG = {- seq: QW,+var wbe = () => yu, XW = W.navigation.seq, ZW = W.navigation.openEpoch, QW = W.navigation.location.pathname, $W = {+ seq: XW,claimed: !0,- from: eG+ from: QW};-Bp.listen((e) => {- tG = {+W.listen((e) => {+ $W = {seq: e.seq,- claimed: e.openEpoch === $W,- from: eG- }, $W = e.openEpoch, eG = e.location.pathname;+ claimed: e.openEpoch === ZW,+ from: QW+ }, ZW = e.openEpoch, QW = e.location.pathname;});-var nG = !1;-function rG(e) {- let { seq: t, openEpoch: n, location: r } = Bp.navigation, i = qf(r.pathname), a = Up() ?? r, o = U ?? {};+var eG = !1;+function tG(e) {+ let { seq: t, openEpoch: n, location: r } = W.navigation, i = qf(r.pathname), a = Hp() ?? r, o = U ?? {};return {seq: t,epoch: n,@@ -54512,8 +54512,8 @@ function rG(e) {opened: e};}-function wbe(e, t, n, r) {- let i = { ...U }, a = Sm("catalog");+function Tbe(e, t, n, r) {+ let i = { ...U }, a = xm("catalog");if (a) return { ...a };if (e === "/trash") return {...i,@@ -54524,7 +54524,7 @@ function wbe(e, t, n, r) {state: "trash",q: ""};- let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = Yj().value;+ let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = qj().value;return {...i,loc: o.get("loc") ?? r.defaultLoc(),@@ -54538,7 +54538,7 @@ function wbe(e, t, n, r) {dur_max: o.get("dur_max") || "",orient: o.get("orient") || "",state: kn[e] || o.get("state") || "",- ...Aj(o.get("sort"), o.get("dir"), s, c),+ ...Oj(o.get("sort"), o.get("dir"), s, c),seed: o.get("seed") || (n ? ir() : i.seed || ir()),q: o.get("q") || "",jav: o.get("jav") || "",@@ -54549,58 +54549,58 @@ function wbe(e, t, n, r) {folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""};}-function iG(e) {- let t = Bp.navigation.seq;- xm("catalog", { ...U });- let n = e(), r = () => Bp.navigation.seq === t, i = () => document.querySelector("#grid");- Tm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => Tm(r, i()));+function nG(e) {+ let t = W.navigation.seq;+ bm("catalog", { ...U });+ let n = e(), r = () => W.navigation.seq === t, i = () => document.querySelector("#grid");+ wm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => wm(r, i()));}-function Tbe(e, t) {- let n = { ...e }, r = rG(n.opened);+function Ebe(e, t) {+ let n = { ...e }, r = tG(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- Up() || i.fill();+ Hp() || i.fill();return;}let a = !1;if (r.opens === n.opens) {if (r.epoch === n.epoch && n.opened) {if (r.seq === n.seq || n.covered && r.address === n.address && r.filters === n.filters) return;- iG(() => i.load());+ nG(() => i.load());return;}- r.epoch !== n.epoch && (a = Bp.navigation.action === "POP" && tG.from !== "/");+ r.epoch !== n.epoch && (a = W.navigation.action === "POP" && $W.from !== "/");}- let { pathname: o, search: s } = Bp.navigation.location;+ let { pathname: o, search: s } = W.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = NU(s);- nG = !0, Vp(PU(e, t), { replace: !0 });+ let { kind: e, view: t } = jU(s);+ eG = !0, Bp(MU(e, t), { replace: !0 });return;}- let c = nG;- nG = !1, a &&= o === "/" && !Cm(), e.opened = !0, Ou({ state: wbe(o, s, a, i) }), iG(() => i.open(o, {+ let c = eG;+ eG = !1, a &&= o === "/" && !Sm(), e.opened = !0, Ou({ state: Tbe(o, s, a, i) }), nG(() => i.open(o, {entering: a,retitle: c}));}-function Ebe() {- let e = (0, F.useContext)(uG), t = lG(), n = (0, F.useSyncExternalStore)(Au, Cbe), r = cf(), i = (0, F.useRef)(null), a = (0, F.useRef)({+function Dbe() {+ let e = (0, F.useContext)(cG), t = sG(), n = (0, F.useSyncExternalStore)(Au, wbe), r = cf(), i = (0, F.useRef)(null), a = (0, F.useRef)({mounted: !0,queued: !1});return (0, F.useEffect)(() => {let e = a.current;e.mounted = !0;- let t = rG(!qf(Bp.navigation.location.pathname));- return !t.covered && t.opens > 0 && (nG || tG.seq === QW ? t.opens = -1 : tG.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {+ let t = tG(!qf(W.navigation.location.pathname));+ return !t.covered && t.opens > 0 && (eG || $W.seq === XW ? t.opens = -1 : $W.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {e.mounted = !1;};}, []), (0, F.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && Tbe(i.current, e);+ t.queued = !1, t.mounted && i.current && Ebe(i.current, e);}));}, [t,@@ -54609,7 +54609,7 @@ function Ebe() {e]), null;}-function aG() {+function rG() {let { pathname: e } = cf();return (0, F.useLayoutEffect)(() => {if (e !== "/wall") return;@@ -54618,23 +54618,23 @@ function aG() {return t.forEach((e) => {e.inert = !0;}), () => {- document.body.removeAttribute("data-wall-open"), ZW(), t.forEach((e, t) => {+ document.body.removeAttribute("data-wall-open"), YW(), t.forEach((e, t) => {e.inert = n[t] || !1;});};- }, [e]), qf(e) && !Kf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Ebe, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(hG, {}) : null] });+ }, [e]), qf(e) && !Kf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Dbe, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(pG, {}) : null] });}-function Dbe() {- let e = (0, F.useContext)(uG), t = document.getElementById("javLibraryHeader");- return t && e ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(lbe, {+function Obe() {+ let e = (0, F.useContext)(cG), t = document.getElementById("javLibraryHeader");+ return t && e ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(ube, {navigate: e.navigate,receipt: (t) => e.receipt(t)}), t) : null;}// src/react/router/pages/overlay.tsx-var oG = () => yu, Obe = () => bu;-function kbe() {- let e = (0, F.useContext)(uG), t = (0, F.useSyncExternalStore)(Au, Obe), n = (0, F.useSyncExternalStore)(Au, oG);+var iG = () => yu, kbe = () => bu;+function Abe() {+ let e = (0, F.useContext)(cG), t = (0, F.useSyncExternalStore)(Au, kbe), n = (0, F.useSyncExternalStore)(Au, iG);return (0, F.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -54649,11 +54649,11 @@ function kbe() {e]), null;}-function sG(e, t = !1) {- let n = (0, F.useSyncExternalStore)(Au, oG), r = (0, F.useRef)(void 0);+function aG(e, t = !1) {+ let n = (0, F.useSyncExternalStore)(Au, iG), r = (0, F.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = Bp.navigation;- r.current = yu === 0 || Hp() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = W.navigation;+ r.current = yu === 0 || Vp() ? "boot" : e && !t ? null : "history";}let i = (0, F.useRef)(e);(0, F.useEffect)(() => {@@ -54669,22 +54669,22 @@ function sG(e, t = !1) {}));}, [n]);}-function Abe() {- let e = (0, F.useContext)(uG), t = (0, F.useRef)(e);+function jbe() {+ let e = (0, F.useContext)(cG), t = (0, F.useRef)(e);return (0, F.useLayoutEffect)(() => {t.current = e;- }, [e]), sG((t) => {- let n = Bp.navigation.location, { pathname: r, search: i } = zf(n.pathname) && Hf(n.state) || n, a = Kf(r, i);- e && a && (Qf(), t || $f(Bp.navigation.location.state), e.openOverlay(a));+ }, [e]), aG((t) => {+ let n = W.navigation.location, { pathname: r, search: i } = zf(n.pathname) && Hf(n.state) || n, a = Kf(r, i);+ e && a && (Qf(), t || $f(W.navigation.location.state), e.openOverlay(a));}, !0), (0, F.useEffect)(() => () => {queueMicrotask(() => {- qf(Bp.navigation.location.pathname) || t.current?.closeStage();+ qf(W.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function jbe({ path: e }) {- lG();- let { location: t, seq: n, action: r } = Bp.navigation, i = zf(t.pathname) ? Hf(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({+function Mbe({ path: e }) {+ sG();+ let { location: t, seq: n, action: r } = W.navigation, i = zf(t.pathname) ? Hf(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -54695,61 +54695,61 @@ function jbe({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, I.jsx)(Abe, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, I.jsx)(jbe, {}, `${e} ${o.current.seq}`);}-function Mbe() {- let e = (0, F.useContext)(uG);- return sG(() => {+function Nbe() {+ let e = (0, F.useContext)(cG);+ return aG(() => {e?.follow?.ground();}), null;}-function Nbe() {- return /* @__PURE__ */ (0, I.jsx)(Mbe, {}, lG());+function Pbe() {+ return /* @__PURE__ */ (0, I.jsx)(Nbe, {}, sG());}// src/react/router/router.tsx-var cG = (0, F.createContext)(0), lG = () => (0, F.useContext)(cG), uG = (0, F.createContext)(null);-function Pbe({ children: e }) {- let [t, n] = (0, F.useState)(() => Bp.navigation);- return (0, F.useLayoutEffect)(() => (n(Bp.navigation), Bp.listen((e) => {+var oG = (0, F.createContext)(0), sG = () => (0, F.useContext)(oG), cG = (0, F.createContext)(null);+function Fbe({ children: e }) {+ let [t, n] = (0, F.useState)(() => W.navigation);+ return (0, F.useLayoutEffect)(() => (n(W.navigation), W.listen((e) => {(0, Rt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, I.jsx)(cG.Provider, {+ })), []), /* @__PURE__ */ (0, I.jsx)(oG.Provider, {value: t.openEpoch,children: /* @__PURE__ */ (0, I.jsx)(Mf, {location: t.location,navigationType: t.action,- navigator: Bp,+ navigator: W,children: e})});}-function Fbe({ target: e }) {+function Ibe({ target: e }) {let t = uf();return (0, F.useLayoutEffect)(() => {e.current = t;}), null;}-function Ibe(e, t, n) {+function Lbe(e, t, n) {let r = new URL(e, window.location.href);- K6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ G6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Lbe() {- let e = (0, F.useContext)(uG), [t, n] = (0, F.useState)(Cp), r = (0, F.useRef)(null);+function Rbe() {+ let e = (0, F.useContext)(cG), [t, n] = (0, F.useState)(Cp), r = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => (n(Cp()), wp((e, t) => {t ? (0, Rt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, F.useMemo)(() => (t) => {- e && r.current && Ibe(t, e, r.current);+ e && r.current && Lbe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Fbe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(Rbe, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Ibe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(zbe, {entry: t,- children: /* @__PURE__ */ (0, I.jsx)(zbe, {+ children: /* @__PURE__ */ (0, I.jsx)(Bbe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Rbe = class extends F.Component {+var zbe = class extends F.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };@@ -54760,18 +54760,18 @@ var Rbe = class extends F.Component {render() {return this.state.failed ? null : this.props.children;}-}, zbe = (0, F.memo)(function({ entry: e, actions: t, go: n }) {- return o8(e.path) ? (0, Rt.createPortal)(TLe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, Bbe = (0, F.memo)(function({ entry: e, actions: t, go: n }) {+ return a8(e.path) ? (0, Rt.createPortal)(TLe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function Bbe({ children: e }) {+function Vbe({ children: e }) {let t = cf();- lG();- let n = Up(), r = zf(t.pathname) && !Hp() ? Hf(t.state) : null;+ sG();+ let n = Hp(), r = zf(t.pathname) && !Vp() ? Hf(t.state) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(Nf, {location: n ?? t,children: [- Object.entries(G6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {+ Object.entries(W6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,element: t.element}, e)),@@ -54779,21 +54779,21 @@ function Bbe({ children: e }) {path: e,element: t.element}, e)),- Object.entries(q6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {+ Object.entries(K6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,element: t.element}, e)),- Object.entries(X6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {+ Object.entries(Y6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,element: t.element}, e)),- Object.entries(Q6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {+ Object.entries(Z6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,element: t.element}, e)),- a8.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {+ i8.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,- element: $6["/"].element+ element: Q6["/"].element}, e)),Object.entries(SLe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,@@ -54801,7 +54801,7 @@ function Bbe({ children: e }) {}, e)),Uf.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(Nbe, {}) : $6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(Pbe, {}) : Q6["/"].element}, e)),Rf.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,@@ -54817,7 +54817,7 @@ function Bbe({ children: e }) {location: r ?? t,children: [Uf.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(jbe, { path: e })+ element: /* @__PURE__ */ (0, I.jsx)(Mbe, { path: e })}, e)), /* @__PURE__ */ (0, I.jsx)(jf, {path: "*",element: null@@ -54825,38 +54825,38 @@ function Bbe({ children: e }) {}),/* @__PURE__ */ (0, I.jsxs)(Nf, { children: [Rf.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(Oye, {})+ element: /* @__PURE__ */ (0, I.jsx)(kye, {})}, e)), /* @__PURE__ */ (0, I.jsx)(jf, {path: "*",element: null})] })] });}-function Vbe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, I.jsxs)(LV, { children: [n, /* @__PURE__ */ (0, I.jsx)(uG.Provider, {+function Hbe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, I.jsxs)(FV, { children: [n, /* @__PURE__ */ (0, I.jsx)(cG.Provider, {value: t,- children: /* @__PURE__ */ (0, I.jsxs)(Pbe, { children: [- /* @__PURE__ */ (0, I.jsx)(Lbe, {}),- /* @__PURE__ */ (0, I.jsx)(Dbe, {}),- /* @__PURE__ */ (0, I.jsx)(kbe, {}),- r && t ? /* @__PURE__ */ (0, I.jsx)(Wve, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Jve, {}) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Dye, { navigate: t.navigate }) : null,- r && t ? /* @__PURE__ */ (0, I.jsx)(Cye, { actions: t }) : null,- /* @__PURE__ */ (0, I.jsx)(Bbe, { children: e })+ children: /* @__PURE__ */ (0, I.jsxs)(Fbe, { children: [+ /* @__PURE__ */ (0, I.jsx)(Rbe, {}),+ /* @__PURE__ */ (0, I.jsx)(Obe, {}),+ /* @__PURE__ */ (0, I.jsx)(Abe, {}),+ r && t ? /* @__PURE__ */ (0, I.jsx)(Gve, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(Yve, {}) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(Oye, { navigate: t.navigate }) : null,+ r && t ? /* @__PURE__ */ (0, I.jsx)(wye, { actions: t }) : null,+ /* @__PURE__ */ (0, I.jsx)(Vbe, { children: e })] })})] });}-var Hbe = { onCaughtError: (e) => {+var Ube = { onCaughtError: (e) => {globalThis.reportError?.(e);-} }, dG = {+} }, lG = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function fG(e, t = "", n = "") {+function uG(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -54868,14 +54868,14 @@ function fG(e, t = "", n = "") {queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)};}-function pG(e, t) {+function dG(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}// src/react/catalog-folders/folder-rule-dialog.tsx-function Ube({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, F.useContext)(uG), a = uH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {+function Wbe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, F.useContext)(cG), a = cH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -54904,7 +54904,7 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Hs(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, I.jsx)(rV, {+ return g ? null : /* @__PURE__ */ (0, I.jsx)(tV, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -54918,7 +54918,7 @@ function Ube({ 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, I.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, I.jsx)(IL, {+ children: [/* @__PURE__ */ (0, I.jsx)(PL, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -54926,7 +54926,7 @@ function Ube({ 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, I.jsx)(lV, {+ }), /* @__PURE__ */ (0, I.jsx)(sV, {label: "关闭目录用途",onPress: () => {w || r();@@ -54938,20 +54938,20 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, I.jsx)(XB, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(zU, {+ children: [/* @__PURE__ */ (0, I.jsx)(JB, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(LU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(dG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(BU, {+ children: Object.entries(lG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(RU, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(nV, {+ o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(eV, {label: "关联名称",value: c,onChange: (e) => {@@ -54962,7 +54962,7 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, I.jsx)(PV, {+ /* @__PURE__ */ (0, I.jsx)(MV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -54970,7 +54970,7 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, I.jsx)(PV, {+ /* @__PURE__ */ (0, I.jsx)(MV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -55007,9 +55007,9 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(aV, {+ m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "warning",- extra: /* @__PURE__ */ (0, I.jsx)(FH, {+ extra: /* @__PURE__ */ (0, I.jsx)(NH, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, I.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -55027,7 +55027,7 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ a.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: a.error}) : null@@ -55036,31 +55036,31 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center justify-end gap-2 border-t border-separator-border p-4",children: [- t ? /* @__PURE__ */ (0, I.jsx)(J, {+ t ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",className: "mr-auto",onClick: () => {w || C();},- ...uV(a.busy === "remove"),+ ...cV(a.busy === "remove"),children: "移除规则"}) : null,- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: () => {w || r();},children: "取消"}),- m ? /* @__PURE__ */ (0, I.jsx)(J, {+ m ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "primary",- ...uV(a.busy === "save"),+ ...cV(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"- }) : /* @__PURE__ */ (0, I.jsx)(J, {+ }) : /* @__PURE__ */ (0, I.jsx)(Y, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...uV(a.busy === "preview"),+ ...cV(a.busy === "preview"),onClick: () => {x();},@@ -55073,7 +55073,7 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {});}// src/react/catalog-folders/use-folder-sticky-offset.ts-function Wbe(e, t) {+function Gbe(e, t) {(0, F.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -55096,34 +55096,34 @@ function Wbe(e, t) {}, [e, t]);}// src/react/catalog-folders/catalog-folders-page.tsx-function mG() {- return sf() ? /* @__PURE__ */ (0, I.jsx)(Gbe, {}) : null;+function fG() {+ return sf() ? /* @__PURE__ */ (0, I.jsx)(Kbe, {}) : null;}-function Gbe() {- let e = cf(), t = (0, F.useContext)(uG);+function Kbe() {+ let e = cf(), t = (0, F.useContext)(cG);if (!jn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, I.jsx)(nL, {+ return /* @__PURE__ */ (0, I.jsx)(eL, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: DB,- onClick: () => t?.navigate(pG(e, r ? {+ icon: TB,+ onClick: () => t?.navigate(dG(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function Kbe({ children: e, enabled: t }) {- return sf() ? /* @__PURE__ */ (0, I.jsx)(qbe, {+function qbe({ children: e, enabled: t }) {+ return sf() ? /* @__PURE__ */ (0, I.jsx)(Jbe, {enabled: t,children: e}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });}-function qbe({ children: e, enabled: t }) {+function Jbe({ children: e, enabled: t }) {let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = cf(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "entity-folder-workspace",@@ -55143,7 +55143,7 @@ function qbe({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, I.jsx)(hG, {+ n && i ? /* @__PURE__ */ (0, I.jsx)(pG, {treeTarget: n,headerTarget: i,enabled: t@@ -55151,14 +55151,14 @@ function qbe({ children: e, enabled: t }) {]});}-function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = cf(), i = (0, F.useContext)(uG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function pG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = cf(), i = (0, F.useContext)(cG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- Wbe(o, e);+ Gbe(o, e);let c = a.get("folder") || "", l = Ft({- ...fG(s, c),+ ...uG(s, c),enabled: o}), [u, d] = (0, F.useState)(!1), [f, p] = (0, F.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, F.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -55172,11 +55172,11 @@ function hG({ 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(pG(r, {+ d(!1), i.navigate(dG(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(Ybe, {+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(Xbe, {scope: s,selected: c,current: _,@@ -55193,21 +55193,21 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, I.jsx)(nL, {+ children: /* @__PURE__ */ (0, I.jsx)(eL, {"aria-label": "打开文件夹目录",- icon: n_e,+ icon: r_e,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, I.jsxs)(w_e, {+ /* @__PURE__ */ (0, I.jsxs)(T_e, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, I.jsx)(TV, {+ children: [/* @__PURE__ */ (0, I.jsx)(CV, {current: !c,onClick: () => g(""),- icon: DB,+ icon: TB,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(TV, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(CV, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, I.jsx)("span", {@@ -55217,17 +55217,17 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, I.jsx)(nL, {+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(eL, {"aria-label": "设置目录用途",- icon: Uge,+ icon: Wge,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, I.jsx)(aV, {+ l.error && !u ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: () => {@@ -55237,9 +55237,9 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),children: lr(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(aV, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(rV, {tone: "warning",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: () => p(!0),@@ -55249,14 +55249,14 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, I.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, I.jsx)(PV, {+ children: [/* @__PURE__ */ (0, I.jsx)(MV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(pG(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(dG(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${dG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${lG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -55266,13 +55266,13 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, I.jsx)(Jbe, {+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(Ybe, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, I.jsxs)(rV, {+ /* @__PURE__ */ (0, I.jsxs)(tV, {isOpen: u,onOpenChange: d,width: "form",@@ -55282,7 +55282,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, I.jsx)(lV, {+ }), /* @__PURE__ */ (0, I.jsx)(sV, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -55291,7 +55291,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(Ube, {+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(Wbe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -55299,7 +55299,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function Jbe({ nodes: e, go: t }) {+function Ybe({ nodes: e, go: t }) {let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -55307,17 +55307,17 @@ function Jbe({ nodes: e, go: t }) {id: i,className: "folder-children","aria-label": "子文件夹",- children: a.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {+ children: a.map((e) => /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- leadingIcon: DB,+ leadingIcon: TB,onClick: () => t(e.id),children: /* @__PURE__ */ (0, I.jsx)("span", {className: "truncate",children: e.name})}, e.id))- }), e.length > 12 ? /* @__PURE__ */ (0, I.jsx)(J, {+ }), e.length > 12 ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",size: "small","aria-expanded": n,@@ -55327,28 +55327,28 @@ function Jbe({ nodes: e, go: t }) {}) : null]});}-function Ybe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = Ft(fG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({- ...fG(e, "", u),+function Xbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = Ft(uG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({+ ...uG(e, "", u),enabled: !!u.trim()- }), f = FV();+ }), f = NV();(0, F.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = Nt({ queries: p.map((t) => fG(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = Nt({ queries: p.map((t) => uG(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, I.jsx)(AV, {+ return /* @__PURE__ */ (0, I.jsx)(OV, {id: e.id,label: e.name,- icon: DB,- expandedIcon: kB,+ icon: TB,+ expandedIcon: DB,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(AV, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(OV, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -55364,17 +55364,17 @@ function Ybe({ 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, I.jsx)(nV, {+ /* @__PURE__ */ (0, I.jsx)(eV, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: VB,+ leadingIcon: zB,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, I.jsx)(aV, {+ v ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: () => {@@ -55407,29 +55407,29 @@ function Ybe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ }) : d.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: lr(d.error)- }) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {+ }) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- leadingIcon: DB,+ leadingIcon: TB,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, I.jsx)(oV, {+ }, e.id)) : /* @__PURE__ */ (0, I.jsx)(iV, {size: "compact",- icon: VB,+ icon: zB,title: "没有匹配的文件夹",- actions: /* @__PURE__ */ (0, I.jsx)(J, {+ actions: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: () => l(""),children: "清除搜索"}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(D_e, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(O_e, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -55437,11 +55437,11 @@ function Ybe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, I.jsx)(oV, {+ }) : /* @__PURE__ */ (0, I.jsx)(iV, {size: "compact",- icon: DB,+ icon: TB,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, I.jsx)(mL, {+ actions: /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: "/settings/library",children: "添加媒体"@@ -55454,63 +55454,63 @@ function Ybe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {});}// src/react/catalog-grid/catalog-view.ts-var gG = "peach.catalog-view.v1", _G = /* @__PURE__ */ new Set(), vG = "cards";-function yG() {+var mG = "peach.catalog-view.v1", hG = /* @__PURE__ */ new Set(), gG = "cards";+function _G() {try {- return localStorage.getItem(gG) === "list" ? "list" : "cards";+ return localStorage.getItem(mG) === "list" ? "list" : "cards";} catch {- return vG;+ return gG;}}-function Xbe(e) {- vG = e === "list" ? "list" : "cards";+function Zbe(e) {+ gG = e === "list" ? "list" : "cards";try {- localStorage.setItem(gG, vG);+ localStorage.setItem(mG, gG);} catch {}- _G.forEach((e) => e());+ hG.forEach((e) => e());}-function Zbe(e) {- _G.add(e);+function Qbe(e) {+ hG.add(e);let t = (t) => {- (t.key === gG || t.key === null) && e();+ (t.key === mG || t.key === null) && e();};return addEventListener("storage", t), () => {- _G.delete(e), removeEventListener("storage", t);+ hG.delete(e), removeEventListener("storage", t);};}-var bG = () => (0, F.useSyncExternalStore)(Zbe, yG, () => "cards");+var vG = () => (0, F.useSyncExternalStore)(Qbe, _G, () => "cards");// src/react/catalog-grid/catalog-view-toggle.tsx-function xG() {- let e = bG();- return /* @__PURE__ */ (0, I.jsxs)(Dz, {+function yG() {+ let e = vG();+ return /* @__PURE__ */ (0, I.jsxs)(Tz, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: Xbe,+ onChange: Zbe,"data-entity-layout": "",- className: nU,- children: [/* @__PURE__ */ (0, I.jsx)(Oz, {+ className: eU,+ children: [/* @__PURE__ */ (0, I.jsx)(Ez, {value: "cards","aria-label": "卡片",- className: rU,+ className: tU,"data-glass-segment": "",children: /* @__PURE__ */ (0, I.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, I.jsx)(NB, {+ children: /* @__PURE__ */ (0, I.jsx)(jB, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, I.jsx)(Oz, {+ }), /* @__PURE__ */ (0, I.jsx)(Ez, {value: "list","aria-label": "列表",- className: rU,+ className: tU,"data-glass-segment": "",children: /* @__PURE__ */ (0, I.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, I.jsx)(Qge, {+ children: /* @__PURE__ */ (0, I.jsx)($ge, {"aria-hidden": "true",className: "size-4"})@@ -55519,106 +55519,106 @@ function xG() {});}// src/react/follow-feed/follow-marks.ts-var SG = (e) => typeof e == "string" ? e : "", CG = (e) => e.aliases;-function wG(e, t = "") {+var bG = (e) => typeof e == "string" ? e : "", xG = (e) => e.aliases;+function SG(e, t = "") {let n = Yi(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function TG(e, t = "") {+function CG(e, t = "") {let n = z(si(t || e)), r = Yi(e);return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;}-var EG = (e) => SG(e.title).trim() || "未命名内容", DG = (e, t) => oi(e, CG(t));-function OG(e) {+var wG = (e) => bG(e.title).trim() || "未命名内容", TG = (e, t) => oi(e, xG(t));+function EG(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 = SG(n.entity_name);+ let n = t[0], r = bG(n.entity_name);return ln("creator", r, n.entity_id), r;}-function kG(e, t) {+function DG(e, t) {let { src: n, fallback: r } = ci(e), i = si(t);if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;let a = r ? ` data-fallbacks="${z(r)}"` : "";return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;}-function AG(e, t, n) {- let r = CG(n), i = e.credit, a = i?.poster;+function OG(e, t, n) {+ let r = xG(n), i = e.credit, a = i?.poster;if (!a) {let n = oi(t, r);return {- author: n || SG(e.author) || SG(e.source_label) || "创作者未取得",- avatar: kG(t, n),+ author: n || bG(e.author) || bG(e.source_label) || "创作者未取得",+ avatar: DG(t, n),credited: "",- entityName: OG(t)+ entityName: EG(t)};}let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && oi(c, r) || a;return {author: l,- avatar: kG(c, l),+ avatar: DG(c, l),credited: i.credited || "",- entityName: OG(c)+ entityName: EG(c)};}-function jG(e, t = e.primary) {+function kG(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 = SG(e.primary.version);+ let i = bG(e.primary.version);i && n.push(r("version", z(i)));- let a = SG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = bG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function MG(e, t = e.primary) {+function AG(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]) => wG(e, t) || `<span>${z(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => SG(e, t) || `<span>${z(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function NG(e, t) {- let n = SG(e.media_error);+function jG(e, t) {+ let n = bG(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var Qbe = 864e5, $be = (e, t) => {+var $be = 864e5, exe = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > Qbe;+ return Number.isFinite(n) && n - t > $be;};-function PG(e, t) {- let n = SG(e.published_at);+function MG(e, t) {+ let n = bG(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Cr(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: $be(n, t) ? " · 晚于现在" : ""+ suffix: exe(n, t) ? " · 晚于现在" : ""};}-function FG(e, t = Date.now()) {- let n = PG(e, t);+function NG(e, t = Date.now()) {+ let n = MG(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function IG(e, t = Date.now()) {- let n = PG(e, t);+function PG(e, t = Date.now()) {+ let n = MG(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 LG = /* @__PURE__ */ new Set(), RG = [], zG = null;-function BG() {- if (zG = null, !RG.length) return;- let e = RG.splice(0, 200);+var FG = /* @__PURE__ */ new Set(), IG = [], LG = null;+function RG() {+ if (LG = null, !IG.length) return;+ let e = IG.splice(0, 200);Tn("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), RG.length && (zG = setTimeout(BG, 800));+ }).catch(() => {}), IG.length && (LG = setTimeout(RG, 800));}-function exe(e, t, n, r) {+function txe(e, t, n, r) {let i = `${e}:${t ?? ""}`;- LG.has(i) || (LG.add(i), RG.push(t === null ? {+ FG.has(i) || (FG.add(i), IG.push(t === null ? {item: e,width: n,height: r@@ -55627,25 +55627,25 @@ function exe(e, t, n, r) {width: n,height: r,media: t- }), zG ||= setTimeout(BG, 800));+ }), LG ||= setTimeout(RG, 800));}// src/react/entity-filter/entity-filter.ts-var txe = (e) => e === "videos", VG = () => /* @__PURE__ */ (0, I.jsx)("span", {+var nxe = (e) => e === "videos", zG = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), nxe = cV("shuffle"), rxe = cV("arrow-up"), ixe = cV("arrow-down");-function axe(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = txe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), rxe = oV("shuffle"), ixe = oV("arrow-up"), axe = oV("arrow-down");+function oxe(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = nxe(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, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = fL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = fL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = fL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = uL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = uL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = uL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, F.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(HG, {+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(BG, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, I.jsx)(sL, {+ }), /* @__PURE__ */ (0, I.jsx)(aL, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -55674,19 +55674,19 @@ function axe(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(lxe, {+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(uxe, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, I.jsx)(VG, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(sxe, {+ }), d ? /* @__PURE__ */ (0, I.jsx)(zG, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(cxe, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, I.jsx)(VG, {})] }) : null,+ }), /* @__PURE__ */ (0, I.jsx)(zG, {})] }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -55707,11 +55707,11 @@ function axe(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(VG, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(zG, {}) : null]}), /* @__PURE__ */ (0, I.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(cL, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(oL, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -55720,17 +55720,17 @@ function axe(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(cxe, {+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(lxe, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, I.jsx)(uxe, { ...e })+ bottom: /* @__PURE__ */ (0, I.jsx)(dxe, { ...e })})] });}-var oxe = [[+var sxe = [["videos","视频","play",@@ -55741,7 +55741,7 @@ var oxe = [["pics","image"]];-function sxe({ head: e, row: t, glide: n, onMedia: r }) {+function cxe({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {ref: t,role: "group",@@ -55749,7 +55749,7 @@ function sxe({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: oxe.map(([t, i, a, o]) => {+ children: sxe.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -55767,7 +55767,7 @@ function sxe({ head: e, row: t, glide: n, onMedia: r }) {})});}-function cxe({ head: e, actions: t }) {+function lxe({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -55777,10 +55777,10 @@ function cxe({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: wG(n) }+ dangerouslySetInnerHTML: { __html: SG(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(VG, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(cL, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(zG, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(oL, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -55793,7 +55793,7 @@ function cxe({ head: e, actions: t }) {}, e.k))] });}-function lxe({ keys: e, view: t, row: n, glide: r, onView: i }) {+function uxe({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -55841,7 +55841,7 @@ function lxe({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function HG({ items: e, hidden: t, actions: n }) {+function BG({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -55861,7 +55861,7 @@ function HG({ items: e, hidden: t, actions: n }) {})] }) : null});}-function uxe(e) {+function dxe(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {@@ -55873,30 +55873,30 @@ function uxe(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, I.jsx)(dxe, {+ /* @__PURE__ */ (0, I.jsx)(fxe, {text: n,busy: r}),- /* @__PURE__ */ (0, I.jsx)(CV, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(fxe, {+ /* @__PURE__ */ (0, I.jsx)(xV, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(pxe, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(mxe, {+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(hxe, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(pxe, {+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(mxe, {head: e.online,actions: o}) : null] });}-function dxe({ text: e, busy: t }) {+function fxe({ text: e, busy: t }) {return /* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "",- children: /* @__PURE__ */ (0, I.jsx)(eL, {+ children: /* @__PURE__ */ (0, I.jsx)(QI, {text: t ? void 0 : e,busy: t,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -55907,22 +55907,22 @@ function dxe({ text: e, busy: t }) {})});}-function UG({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, I.jsx)(Dz, {+function VG({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, I.jsx)(Tz, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: nU,+ className: eU,children: r.map(([e, t, n]) => {- let r = cV(n);- return /* @__PURE__ */ (0, I.jsx)(Oz, {+ let r = oV(n);+ return /* @__PURE__ */ (0, I.jsx)(Ez, {value: e,"aria-label": t,"data-glass-segment": "",- className: rU,+ className: tU,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -55932,38 +55932,38 @@ function UG({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function WG({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, I.jsx)(oL, {+function HG({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, I.jsx)(iL, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: nxe,+ icon: rxe,onPress: e});}-function fxe({ head: e, actions: t }) {- let n = bG();+function pxe({ head: e, actions: t }) {+ let n = vG();return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(WG, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(UG, {+ /* @__PURE__ */ (0, I.jsx)(HG, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(VG, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, I.jsx)(xG, {}),- /* @__PURE__ */ (0, I.jsx)(mG, {}),- /* @__PURE__ */ (0, I.jsx)(GG, {+ /* @__PURE__ */ (0, I.jsx)(yG, {}),+ /* @__PURE__ */ (0, I.jsx)(fG, {}),+ /* @__PURE__ */ (0, I.jsx)(UG, {sorts: e.sorts,onSort: t.setSort})]});}-function GG({ sorts: e, onSort: t }) {+function UG({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -55971,20 +55971,20 @@ function GG({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(ZU, {- a: rxe,- b: ixe,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(YU, {+ a: ixe,+ b: axe,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function pxe({ head: e, actions: t }) {+function mxe({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(WG, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, {+ /* @__PURE__ */ (0, I.jsx)(HG, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(VG, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -56004,27 +56004,27 @@ function pxe({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, I.jsx)(GG, {+ /* @__PURE__ */ (0, I.jsx)(UG, {sorts: e.sorts,onSort: t.onlineSort})]});}-function mxe({ head: e, actions: t, helpers: n }) {+function hxe({ head: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, F.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, I.jsx)(WG, {+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(HG, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, I.jsx)(UG, {+ /* @__PURE__ */ (0, I.jsx)(VG, {label: "图片布局",value: e.layout,options: e.layouts,@@ -56039,8 +56039,8 @@ function mxe({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var hxe = "peach.catalog.tiers.v1";-function KG() {+var gxe = "peach.catalog.tiers.v1";+function WG() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -56054,40 +56054,40 @@ function KG() {};}}-function gxe(e) {+function _xe(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(hxe, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(gxe, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-function _xe(e) {- let t = !e.tiers, n = wxe(e.comboHost);+function vxe(e) {+ let t = !e.tiers, n = Txe(e.comboHost);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(HG, {+ n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(BG, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, I.jsx)(bxe, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(vxe, { ...e })+ /* @__PURE__ */ (0, I.jsx)(xxe, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(yxe, { ...e })]});}-function vxe(e) {- let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = fL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function yxe(e) {+ let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = uL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, F.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = JG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = KG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, F.useLayoutEffect)(() => {if (d) {l(!1);@@ -56111,7 +56111,7 @@ function vxe(e) {e.sorts]), (0, F.useLayoutEffect)(() => {nc(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, I.jsx)(sL, {+ }, [f]), /* @__PURE__ */ (0, I.jsx)(aL, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -56155,23 +56155,23 @@ function vxe(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(qG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(yxe, {+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(GG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(bxe, {tag: n,pending: e.tiersPending,onPress: t.toggleTag}, n.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Sxe, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Cxe, { ...e })});}-function yxe({ tag: e, pending: t, onPress: n }) {- return /* @__PURE__ */ (0, I.jsxs)(cL, {+function bxe({ tag: e, pending: t, onPress: n }) {+ return /* @__PURE__ */ (0, I.jsxs)(oL, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,onPress: () => n(e.k),- children: [/* @__PURE__ */ (0, I.jsx)(eL, {+ children: [/* @__PURE__ */ (0, I.jsx)(QI, {text: e.label,busy: t}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {@@ -56180,15 +56180,15 @@ function yxe({ tag: e, pending: t, onPress: n }) {})]});}-function bxe(e) {- $I();+function xxe(e) {+ ZI();let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = JG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = JG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? KG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;+ }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = KG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = KG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? WG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, F.useEffect)(() => {- i || gxe({+ i || _xe({performers: f,studios: p});@@ -56209,7 +56209,7 @@ function bxe(e) {children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, I.jsx)(qG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, I.jsx)(GG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -56220,7 +56220,7 @@ function bxe(e) {dangerouslySetInnerHTML: { __html: n.ringHtml }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-name": "",- children: /* @__PURE__ */ (0, I.jsx)(eL, {+ children: /* @__PURE__ */ (0, I.jsx)(QI, {text: nn("performer", n.name),busy: e.tiersPending})@@ -56229,13 +56229,13 @@ function bxe(e) {}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, I.jsx)(qG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, I.jsx)(GG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": n.name,onClick: () => t.openEntity("studio", n.name),- children: [/* @__PURE__ */ (0, I.jsx)(xxe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(eL, {+ children: [/* @__PURE__ */ (0, I.jsx)(Sxe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(QI, {text: n.name,busy: e.tiersPending})]@@ -56243,7 +56243,7 @@ function bxe(e) {}) : null]});}-function xxe({ studio: e }) {+function Sxe({ studio: e }) {let [t, n] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-mark": "",@@ -56261,7 +56261,7 @@ function xxe({ studio: e }) {}) : e.fallback});}-function qG({ kind: e }) {+function GG({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-placeholder": "tag",@@ -56277,43 +56277,43 @@ function qG({ kind: e }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]}, t)) });}-function Sxe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = bG(), [o, s] = (0, F.useState)(!1);+function Cxe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = vG(), [o, s] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, I.jsx)(Cxe, { count: e }), /* @__PURE__ */ (0, I.jsx)(CV, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, I.jsx)(wxe, { count: e }), /* @__PURE__ */ (0, I.jsx)(xV, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(WG, {+ /* @__PURE__ */ (0, I.jsx)(HG, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(UG, {+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(VG, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, I.jsx)(xG, {}),- /* @__PURE__ */ (0, I.jsx)(mG, {}),- /* @__PURE__ */ (0, I.jsx)(GG, {+ /* @__PURE__ */ (0, I.jsx)(yG, {}),+ /* @__PURE__ */ (0, I.jsx)(fG, {}),+ /* @__PURE__ */ (0, I.jsx)(UG, {sorts: r,onSort: i.setSort})]})] });}-function Cxe({ count: e }) {+function wxe({ count: e }) {let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;return /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-readout": "","data-count-readout": "",role: "status",- children: /* @__PURE__ */ (0, I.jsx)(eL, {+ children: /* @__PURE__ */ (0, I.jsx)(QI, {text: t,busy: e === null,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -56324,7 +56324,7 @@ function Cxe({ count: e }) {})});}-function wxe(e) {+function Txe(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -56334,7 +56334,7 @@ function wxe(e) {};}, [e]), t;}-function JG(e, t, n, r, i) {+function KG(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -56377,8 +56377,8 @@ function JG(e, t, n, r, i) {}), l.slice(0, c.limit);}// src/react/components/grid-reveal.tsx-var YG = "100% 0px";-function Txe(e, t) {+var qG = "100% 0px";+function Exe(e, t) {let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {a.current && hc(a.current);@@ -56404,7 +56404,7 @@ function Txe(e, t) {fading: n === "fade"};}-function XG({ message: e, onRetry: t }) {+function JG({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -56417,7 +56417,7 @@ function XG({ message: e, onRetry: t }) {});}// src/react/components/skeleton-content.tsx-function ZG({ pending: e, skeletonHtml: t, children: n }) {+function YG({ pending: e, skeletonHtml: t, children: n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = t();return (0, F.useLayoutEffect)(() => {e || (r.current = n);@@ -56441,25 +56441,25 @@ function ZG({ pending: e, skeletonHtml: t, children: n }) {});}// src/react/components/card-meta.tsx-function QG({ name: e }) {+function XG({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function $G({ name: e }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })] });+function ZG({ name: e }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(XG, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })] });}-function eK({ value: e, label: t, title: n }) {+function QG({ value: e, label: t, title: n }) {return /* @__PURE__ */ (0, I.jsxs)("time", {"data-media-release": "",dateTime: e,title: n || t,- children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "calendar" }), t]+ children: [/* @__PURE__ */ (0, I.jsx)(XG, { name: "calendar" }), t]});}-function tK({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {+function $G({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("div", {...i,"data-media-tags": "",@@ -56477,12 +56477,12 @@ function tK({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {});}// src/react/components/recommendation-reason.tsx-var Exe = 3;-function Dxe(e, t, n = Exe) {+var Dxe = 3;+function Oxe(e, t, n = Dxe) {return [...e, t.slice(0, n).join("、")].filter(Boolean).join(" · ");}-function nK({ reasons: e, tags: t = [] }) {- let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = Dxe(e, t);+function eK({ reasons: e, tags: t = [] }) {+ let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = Oxe(e, t);if (!a) return null;let o = [e.join(" · "), t.length ? `共同标签:${t.join("、")}` : ""].filter(Boolean).join("\n");return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {@@ -56497,15 +56497,15 @@ function nK({ reasons: e, tags: t = [] }) {e.stopPropagation(), i(!0);},children: a- }), /* @__PURE__ */ (0, I.jsx)(sz, {+ }), /* @__PURE__ */ (0, I.jsx)(az, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "top",offset: 8,containerPadding: 12,- className: DV,- children: /* @__PURE__ */ (0, I.jsx)(bz, {+ className: TV,+ children: /* @__PURE__ */ (0, I.jsx)(vz, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-pre-line break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -56514,63 +56514,63 @@ function nK({ reasons: e, tags: t = [] }) {})] });}// src/library-catalog.ts-var rK = "peach.library-colors.v1", iK = null, aK = /* @__PURE__ */ new Set();-function Oxe() {+var tK = "peach.library-colors.v1", nK = null, rK = /* @__PURE__ */ new Set();+function kxe() {try {- let e = JSON.parse(localStorage.getItem(rK) || "{}");+ let e = JSON.parse(localStorage.getItem(tK) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function oK(e) {- iK = e;+function iK(e) {+ nK = e;try {- localStorage.setItem(rK, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(tK, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- aK.forEach((t) => t(e));+ rK.forEach((t) => t(e));}-function sK() {- return iK;+function aK() {+ return nK;}-function kxe(e) {- return aK.add(e), () => {- aK.delete(e);+function Axe(e) {+ return rK.add(e), () => {+ rK.delete(e);};}// src/react/components/library-tint.ts-var cK = /* @__PURE__ */ new Map(), lK = !1, uK = /* @__PURE__ */ new Set();-function Axe(e) {+var oK = /* @__PURE__ */ new Map(), sK = !1, cK = /* @__PURE__ */ new Set();+function jxe(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 dK(e) {- cK = e;+function lK(e) {+ oK = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...cK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Axe(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...oK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${jxe(e.color)}}`).join("\n");}-function fK(e) {- dK(e), uK.forEach((e) => e());+function uK(e) {+ lK(e), cK.forEach((e) => e());}-var pK = (e) => new Map(e.map((e) => [e.id, {+var dK = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: vs[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), mK = !1;-function jxe() {- if (mK) return;- mK = !0, kxe((e) => fK(pK(e)));- let e = sK();+}])), fK = !1;+function Mxe() {+ if (fK) return;+ fK = !0, Axe((e) => uK(dK(e)));+ let e = aK();if (e) {- dK(pK(e));+ lK(dK(e));return;}- let t = Object.entries(Oxe()).filter(([, e]) => e);- t.length && dK(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(kxe()).filter(([, e]) => e);+ t.length && lK(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -56578,56 +56578,56 @@ function jxe() {color: t}])));}-function Mxe() {- lK || sK() || (lK = !0, B("/api/libraries").then((e) => oK(e.libraries || [])).catch(() => {- lK = !1;+function Nxe() {+ sK || aK() || (sK = !0, B("/api/libraries").then((e) => iK(e.libraries || [])).catch(() => {+ sK = !1;}));}-function Nxe(e, t) {- let n = cK.get(e) ?? {+function Pxe(e, t) {+ let n = oK.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- fK(new Map([...cK, [e, {+ uK(new Map([...oK, [e, {...n,color: t}]]));}-function Pxe(e) {- return uK.add(e), () => {- uK.delete(e);+function Fxe(e) {+ return cK.add(e), () => {+ cK.delete(e);};}-function hK({ names: e = !1 } = {}) {- return jxe(), e && Mxe(), (0, F.useSyncExternalStore)(Pxe, () => cK, () => cK);+function pK({ names: e = !1 } = {}) {+ return Mxe(), e && Nxe(), (0, F.useSyncExternalStore)(Fxe, () => oK, () => oK);}// src/react/components/row-click.ts-var Fxe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";-function gK(e, t) {+var Ixe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+function mK(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(Fxe);+ let r = n.closest(Ixe);return !r || !t.contains(r) || r === t;}-function _K(e) {+function hK(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var vK = 9 / 16, yK = "未命名视频", Ixe = {+var gK = 9 / 16, _K = "未命名视频", Lxe = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, Lxe = {+}, Rxe = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function Rxe(e) {+function zxe(e) {if (Number(e.duration) < 0) return {key: "unavailable",label: "探查错误"@@ -56655,16 +56655,16 @@ function Rxe(e) {label: "尚未探查"};}-function bK({ item: e }) {+function vK({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && Lxe[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && Rxe[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, I.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function xK({ item: e, actions: t }) {+function yK({ item: e, actions: t }) {let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -56683,10 +56683,10 @@ function xK({ item: e, actions: t }) {children: i}) : null] });}-function SK(e, t, n) {- return t === "short" ? vK : mM(n);+function bK(e, t, n) {+ return t === "short" ? gK : fM(n);}-function CK(e) {+function xK(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = jo(e), s = i[0] || "", c = go(e);return {avatar: r ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -56718,7 +56718,7 @@ function CK(e) {"data-entity-kind": "performer","data-entity-name": s,title: nn("performer", s),- children: /* @__PURE__ */ (0, I.jsx)($G, { name: nn("performer", s) })+ children: /* @__PURE__ */ (0, I.jsx)(ZG, { name: nn("performer", s) })}), /* @__PURE__ */ (0, I.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -56728,16 +56728,16 @@ function CK(e) {"data-entity-kind": t,"data-entity-name": n,title: nn(t, n),- children: /* @__PURE__ */ (0, I.jsx)($G, { name: nn(t, n) })+ children: /* @__PURE__ */ (0, I.jsx)(ZG, { name: nn(t, n) })}) : /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: /* @__PURE__ */ (0, I.jsx)($G, { name: n })+ children: /* @__PURE__ */ (0, I.jsx)(ZG, { name: n })})};}-function zxe() {+function Bxe() {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-media-preview": "",@@ -56756,7 +56756,7 @@ function zxe() {})]});}-function Bxe({ item: e, actions: t, on: n, onChange: r }) {+function Vxe({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-later": "",@@ -56771,22 +56771,22 @@ function Bxe({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: n ? "check" : "bookmark-plus" })})});}-function wK(e, t) {+function SK(e, t) {let n = e?.querySelector("video.hv");n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));}-function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- $I();- let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = hK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);+function Hxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ ZI();+ let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = pK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);_.current = e;let v = (0, F.useCallback)((e) => {let t = _.current;u.current && u.current !== e && Bl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Hl(e, t);- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = SK(e, t, n), w = S ? n.size : "small", T = C === vK && !!e.is_jav, E = T ? Oo(e, !1) : Eo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Eo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || yK, A = o.titleHtml(e, O).trim() || z(yK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Rxe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = CK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {+ }, []), 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 = bK(e, t, n), w = S ? n.size : "small", T = C === gK && !!e.is_jav, E = T ? Oo(e, !1) : Eo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Eo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || _K, A = o.titleHtml(e, O).trim() || z(_K), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : zxe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = xK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -56813,10 +56813,10 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSl && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, ie = /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === vK ? "" : void 0,+ "data-pic-portrait": C === gK ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, I.jsx)(tW, {+ E.html ? /* @__PURE__ */ (0, I.jsx)($U, {artwork: E,identity: D,relayout: (e) => Ol(e, w)@@ -56830,11 +56830,11 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: "check" })}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, I.jsx)(XG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-group": "",@@ -56850,7 +56850,7 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-copy-key": ee ? `media.duration.${ee.key}` : void 0,children: ee ? ee.label : Jn(M)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(xK, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(yK, {item: e,actions: s}) : null,@@ -56866,22 +56866,22 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, I.jsx)(zxe, {}),+ /* @__PURE__ */ (0, I.jsx)(Bxe, {}),p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "bookmark" })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, I.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "heart" })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, I.jsx)(Bxe, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(Vxe, {item: e,actions: s,on: p,@@ -56896,27 +56896,27 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), wK(u.current, -a);+ e.stopPropagation(), SK(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), wK(u.current, a);+ e.stopPropagation(), SK(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: "rotate-cw" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "expand" })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: "expand" })})]})@@ -56936,7 +56936,7 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: re,- onMouseDown: _K,+ onMouseDown: hK,children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -56974,33 +56974,33 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-facts": "",- children: [e.is_jav && e.release_date ? /* @__PURE__ */ (0, I.jsx)(eK, {+ children: [e.is_jav && e.release_date ? /* @__PURE__ */ (0, I.jsx)(QG, {value: e.release_date,label: e.release_date}) : null, /* @__PURE__ */ (0, I.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "hard-drive" }), Number(j) > 0 ? Xn(Number(j)) : "大小未知"]+ children: [/* @__PURE__ */ (0, I.jsx)(XG, { name: "hard-drive" }), Number(j) > 0 ? Xn(Number(j)) : "大小未知"]})]})]}),- t === "next" ? /* @__PURE__ */ (0, I.jsx)(nK, {+ t === "next" ? /* @__PURE__ */ (0, I.jsx)(eK, {reasons: e.why ? e.why.split(" · ") : [],tags: (e.why_tags || []).map(o.tagLabel)- }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(tK, {+ }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)($G, {tags: ne,label: o.tagLabel,readOnly: !!e.follow_item_id}) : null,- /* @__PURE__ */ (0, I.jsx)(bK, { item: e })+ /* @__PURE__ */ (0, I.jsx)(vK, { item: e })]})]})]});}-function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Ixe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function Uxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Lxe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, I.jsxs)("article", {ref: o,"data-media-card": "",@@ -57012,14 +57012,14 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOponClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: _K,+ onMouseDown: hK,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, I.jsx)(XG, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-art": "thumb",@@ -57031,13 +57031,13 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: "check" })}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, I.jsx)(XG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, I.jsx)(xK, {+ n ? null : /* @__PURE__ */ (0, I.jsx)(yK, {item: e,actions: i})@@ -57048,7 +57048,7 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(QG, { name: u })+ children: /* @__PURE__ */ (0, I.jsx)(XG, { name: u })}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-text": "",children: [@@ -57076,29 +57076,29 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp]}),e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, I.jsx)(bK, { item: e })+ /* @__PURE__ */ (0, I.jsx)(vK, { item: e })]})]})]});}-function Uxe(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(Hxe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(Vxe, { ...e });+function Wxe(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(Uxe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(Hxe, { ...e });}-var TK = (0, F.memo)(Uxe), Wxe = 1100, Gxe = 340, Kxe = 5e3;-function qxe(e, t, n) {+var CK = (0, F.memo)(Wxe), Gxe = 1100, Kxe = 340, qxe = 5e3;+function Jxe(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, Kxe);+ }, s = () => o(!1), c = setTimeout(s, qxe);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 EK({ load: e, canFlip: t, referrerPolicy: n }) {+function wK({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, F.useState)([]), [a, o] = (0, F.useState)(0), [s, c] = (0, F.useState)(null), l = (0, F.useRef)({live: !1,generation: 0,@@ -57140,11 +57140,11 @@ function EK({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => qxe(t, e, n)));+ let s = await Promise.all(a.map((t) => Jxe(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, Wxe);+ p(), e.cycle = setInterval(p, Gxe);}));};return (0, F.useEffect)(() => d, [d]), {@@ -57153,7 +57153,7 @@ function EK({ 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(Gxe, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Kxe, () => {e.armed = null, m();});},@@ -57163,8 +57163,8 @@ function EK({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var DK = cV("play");-function Jxe({ src: e }) {+var TK = oV("play");+function Yxe({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {"data-mix-poster": "",@@ -57177,8 +57177,8 @@ function Jxe({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var OK = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";-function Yxe({ faces: e, fallback: t, onOpenEntity: n }) {+var EK = "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 Xxe({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {@@ -57186,18 +57186,18 @@ function Yxe({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${OK} cursor-pointer outline-none`,+ className: `${EK} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: vo(e.name, e, Qa(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${OK} mt-0.5`,+ className: `${EK} mt-0.5`,children: t});}-function kK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {- let b = EK({+function DK({ 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 = wK({load: i,canFlip: a}), x = (0, F.useRef)(b.onPointerLeave);@@ -57224,11 +57224,11 @@ function kK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, I.jsx)(tW, {+ f?.html ? /* @__PURE__ */ (0, I.jsx)($U, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, I.jsx)(Jxe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, I.jsx)(Yxe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -57258,7 +57258,7 @@ function kK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, I.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, I.jsx)(DK, {+ children: [/* @__PURE__ */ (0, I.jsx)(TK, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -57271,8 +57271,8 @@ function kK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, I.jsx)(DK, {})- }) : /* @__PURE__ */ (0, I.jsx)(Yxe, {+ children: /* @__PURE__ */ (0, I.jsx)(TK, {})+ }) : /* @__PURE__ */ (0, I.jsx)(Xxe, {faces: o,fallback: er(e),onOpenEntity: s@@ -57295,20 +57295,20 @@ function kK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:});}// src/react/video-wall/use-wall-camera.ts-var AK = {+var OK = {x: 16,y: 16,scale: 1-}, Xxe = .65, Zxe = 1.6, jK = (e) => Math.min(Zxe, Math.max(Xxe, e)), MK = (e, t, n, r) => ({+}, Zxe = .65, Qxe = 1.6, kK = (e) => Math.min(Qxe, Math.max(Zxe, e)), AK = (e, t, n, r) => ({scale: t,x: n - (n - e.x) * t / e.scale,y: r - (r - e.y) * t / e.scale});-function Qxe(e, t, n) {+function $xe(e, t, n) {let r = 120 / t.scale, i = -e.x / e.scale, a = -e.y / e.scale, o = -t.x / t.scale - r, s = -t.y / t.scale - r;return i >= o && a >= s && i + n.width / e.scale <= o + n.width / t.scale + r * 2 && a + n.height / e.scale <= s + n.height / t.scale + r * 2;}-function $xe(e, t, n = AK, r = !1) {+function eSe(e, t, n = OK, r = !1) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({width: 0,height: 0@@ -57340,12 +57340,12 @@ function $xe(e, t, n = AK, r = !1) {previous: 0});}, []), y = (0, F.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = ybe(e, o.current, vbe(r), c && !f && !n), h = s.current;+ let { count: r, finite: c, focused: f } = d.current, p = bbe(e, o.current, ybe(r), c && !f && !n), h = s.current;s.current = p;let g = window.devicePixelRatio || 1, _ = a.current;_ && (_.style.transform = `translate3d(${Math.round(p.x * g) / g}px, ${Math.round(p.y * g) / g}px, 0) scale(${p.scale})`, (p.x !== h.x || p.y !== h.y || p.scale !== h.scale) && (_.style.willChange = "transform", m.current !== null && clearTimeout(m.current), m.current = setTimeout(() => {m.current = null, _.style.willChange = "";- }, 240))), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y), i.current.dataset.cameraScale = String(p.scale)), (t || !Qxe(p, u.current, o.current)) && (u.current = p, l({+ }, 240))), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y), i.current.dataset.cameraScale = String(p.scale)), (t || !$xe(p, u.current, o.current)) && (u.current = p, l({camera: p,size: { ...o.current }}));@@ -57375,7 +57375,7 @@ function $xe(e, t, n = AK, r = !1) {let r = s.current, i = r;if (t.scale) {let e = Math.abs(t.scale - r.scale) < .002;- i = MK(r, e ? t.scale : r.scale + (t.scale - r.scale) * n, t.anchorX, t.anchorY), e && (t.scale = 0);+ i = AK(r, e ? t.scale : r.scale + (t.scale - r.scale) * n, t.anchorX, t.anchorY), e && (t.scale = 0);}let a = Math.hypot(t.x, t.y) < .5, o = a ? t.x : t.x * n, c = a ? t.y : t.y * n;y({@@ -57388,13 +57388,13 @@ function $xe(e, t, n = AK, r = !1) {let n = h.current;if (b()) {let n = s.current;- t && (n = MK(n, jK(n.scale * t.factor), t.x, t.y)), e && (n = {+ t && (n = AK(n, kK(n.scale * t.factor), t.x, t.y)), e && (n = {...n,x: n.x + e.x,y: n.y + e.y}), y(n);} else t && Object.assign(n, {- scale: jK((n.scale || s.current.scale) * t.factor),+ scale: kK((n.scale || s.current.scale) * t.factor),anchorX: t.x,anchorY: t.y}), e && (n.x += e.x, n.y += e.y), f.current === null && (n.scale || n.x || n.y) && (n.previous = 0, f.current = requestAnimationFrame(x));@@ -57436,7 +57436,7 @@ function $xe(e, t, n = AK, 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 || b() ? y(a, !0, n) : p.current = fS(0, 1, {+ !t || b() ? y(a, !0, n) : p.current = dS(0, 1, {duration: .42,ease: [.22,@@ -57461,7 +57461,7 @@ function $xe(e, t, n = AK, r = !1) {}),snapshot: () => ({ ...s.current }),reset: () => {- v(), y({ ...AK }, !0);+ v(), y({ ...OK }, !0);},pan: (e, t) => {v(), y({@@ -57522,16 +57522,16 @@ function $xe(e, t, n = AK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var eSe = {+var tSe = {type: "spring",stiffness: 300,damping: 34-}, tSe = {+}, nSe = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function nSe(e, t, n) {+function rSe(e, t, n) {let [r, i] = (0, F.useState)({paused: !0,time: 0,@@ -57572,15 +57572,15 @@ function nSe(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function rSe({ 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 = tS(), x = nSe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function iSe({ 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 = eS(), x = rSe(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(xn(e));}};- return /* @__PURE__ */ (0, I.jsxs)(pS.div, {+ return /* @__PURE__ */ (0, I.jsxs)(fS.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -57590,7 +57590,7 @@ function rSe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : tSe,+ transition: b ? { duration: 0 } : nSe,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-control-row": "",children: [@@ -57598,7 +57598,7 @@ function rSe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groutype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...uV(C),+ ...cV(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -57648,7 +57648,7 @@ function rSe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",- ...uV(d),+ ...cV(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -57694,7 +57694,7 @@ function rSe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou});}// src/react/components/mix-queue.tsx-function NK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function jK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, F.useRef)(null), l = (0, F.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -57730,7 +57730,7 @@ function NK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function PK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function MK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-item-text": "",children: a@@ -57753,7 +57753,7 @@ function PK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var iSe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {+var aSe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -57762,28 +57762,28 @@ var iSe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function aSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function oSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, I.jsx)(NK, {+ children: /* @__PURE__ */ (0, I.jsx)(jK, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(PK, {+ children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(MK, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? MP(e.part_label) : "",+ e.part_label ? AP(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, I.jsx)(tW, { artwork: Eo(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, I.jsx)($U, { artwork: Eo(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [e.edition_label,- e.part_label ? MP(e.part_label) : "",+ e.part_label ? AP(e.part_label) : "",Jn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -57791,7 +57791,7 @@ function aSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })});}// src/react/video-wall/wall-route.ts-function oSe(e = `${location.pathname}${location.search}`, t = {}) {+function sSe(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",@@ -57806,17 +57806,17 @@ function oSe(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function FK(e = `${location.pathname}${location.search}`) {+function NK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of XW) t.delete(e);+ for (let e of JW) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function IK() {- let e = new URLSearchParams(Bp.navigation.location.search).get("returnTo") || "/";- Bp.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function PK() {+ let e = new URLSearchParams(W.navigation.location.search).get("returnTo") || "/";+ W.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsx-var LK = /* @__PURE__ */ new Map(), RK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var FK = /* @__PURE__ */ new Map(), IK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = Eo(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -57829,7 +57829,7 @@ var LK = /* @__PURE__ */ new Map(), RK = (0, F.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, I.jsx)(tW, {+ children: /* @__PURE__ */ (0, I.jsx)($U, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && ml(e, r);@@ -57837,31 +57837,31 @@ var LK = /* @__PURE__ */ new Map(), RK = (0, F.memo)(function({ item: e, image:})});});-function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {+function cSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, F.useState)(() => {- let e = LK.get(f);+ let e = FK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, F.useState)(() => m?.exploration || new bbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {+ }), [h] = (0, F.useState)(() => m?.exploration || new xbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, ee = Ft({- queryKey: dP(M || {+ queryKey: lP(M || {kind: "parts",seedId: 0}),enabled: !!M,- queryFn: ({ signal: e }) => bP(M, {+ queryFn: ({ signal: e }) => vP(M, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === CP(N, O || w?.id || null)) || w, P = $xe(e.length, t && !!e.length, m?.camera || {+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === xP(N, O || w?.id || null)) || w, P = eSe(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), ne = tS(), [re, ie] = (0, F.useState)(!!m);+ }, !!w), ne = eS(), [re, ie] = (0, F.useState)(!!m);(0, F.useEffect)(() => {if (!e.length || re || ne) return;let t = setTimeout(() => ie(!0), 1100);@@ -57876,9 +57876,9 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:return e.className = "peach-react", e;});(0, F.useLayoutEffect)(() => {- document.body.append(Ce), ZW(), P.viewport.current?.focus({ preventScroll: !0 });+ document.body.append(Ce), YW(), P.viewport.current?.focus({ preventScroll: !0 });}, [Ce]), (0, F.useEffect)(() => () => Ce.remove(), [Ce]);- let [we, Te] = (0, F.useState)(() => qf(Bp.navigation.location.pathname)), [Ee, De] = (0, F.useState)(m?.image || d), Oe = (0, F.useRef)(null), ke = (0, F.useRef)(p), Ae = (0, F.useRef)(!!e.length);+ let [we, Te] = (0, F.useState)(() => qf(W.navigation.location.pathname)), [Ee, De] = (0, F.useState)(m?.image || d), Oe = (0, F.useRef)(null), ke = (0, F.useRef)(p), Ae = (0, F.useRef)(!!e.length);Ae.current = !!e.length;let je = (0, F.useRef)({selectedId: w?.id || null,@@ -57895,20 +57895,20 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let Me = () => {- Ae.current && (LK.delete(f), LK.set(f, {+ Ae.current && (FK.delete(f), FK.set(f, {...je.current,camera: P.snapshot(),exploration: h- }), LK.size > 8 && LK.delete(LK.keys().next().value));+ }), FK.size > 8 && FK.delete(FK.keys().next().value));};(0, F.useLayoutEffect)(Me);- let Ne = YW(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Pe = i ? Ne.map((e) => ({+ let Ne = qW(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Pe = i ? Ne.map((e) => ({...e,index: -1})) : t ? Ne : h.assign(Ne, e.length, n).map((t) => t.index < e.length || w && t.key === E ? t : {...t,index: -1- }), Fe = w && (t ? qW(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? JW(e.length, t, Fe) : /* @__PURE__ */ new Map();+ }), Fe = w && (t ? GW(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? KW(e.length, t, Fe) : /* @__PURE__ */ new Map();Fe && !Pe.some((e) => e.key === Fe.key) && Pe.push(Fe);let Le = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);@@ -57925,7 +57925,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, F.useEffect)(() => Bp.listen((e) => {+ ]), (0, F.useEffect)(() => W.listen((e) => {let t = qf(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1)), Te(t);}), []), (0, F.useEffect)(() => () => {@@ -57949,7 +57949,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Le(!1), Oe.current = {key: r.key,id: n.id- }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(JW(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(KW(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, Ve = () => {te && y.current && (Me(), Le(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));}, He = async (e = te) => {@@ -57971,7 +57971,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && de(!1);}}, Ue = () => {- let e = wP(N || null, oe || 0);+ let e = SP(N || null, oe || 0);e && (k(e.id), He(e));};(0, F.useEffect)(() => {@@ -57993,7 +57993,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (P.view.size.width / 2 - r.x) / r.scale,y: (P.view.size.height / 2 - r.y) / r.scale- }, o = t ? _be(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? vbe(e.length, i) : h.nearest(e.length, i, a);o && (Be(n, o), le(n.id));}, qe = async () => {if (!(r || g.current)) {@@ -58085,7 +58085,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, I.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(RK, {+ children: /* @__PURE__ */ (0, I.jsx)(IK, {item: w,image: Ee,big: !0@@ -58093,7 +58093,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, I.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, I.jsx)(RK, {+ children: /* @__PURE__ */ (0, I.jsx)(IK, {item: w,image: Ee,big: !0@@ -58122,7 +58122,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Qe.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Ze(Qe).startsWith(Qe.code) ? Ze(Qe).slice(Qe.code.length).trim() : Ze(Qe) }) : null,/* @__PURE__ */ (0, I.jsx)("span", { children: Qe.performers?.join(" · ") || Qe.creator || "未归属" }),- N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Qe.edition_label, Qe.part_label ? MP(Qe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Qe.edition_label, Qe.part_label ? AP(Qe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -58139,17 +58139,17 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),fe || M && ee.error && !N ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(aV, {+ children: [/* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: fe || xn(ee.error)- }), ee.error && !N ? /* @__PURE__ */ (0, I.jsx)(J, {+ }), ee.error && !N ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "ghost",onClick: () => void ee.refetch(),children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, I.jsx)(rSe, {+ /* @__PURE__ */ (0, I.jsx)(iSe, {item: Qe,playing: oe,frame: b,@@ -58171,7 +58171,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ue,error: pe}),- A ? /* @__PURE__ */ (0, I.jsx)(aSe, {+ A ? /* @__PURE__ */ (0, I.jsx)(oSe, {items: We,activeId: Qe.id,kind: N?.kind || "wall",@@ -58187,7 +58187,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: we,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? ze() : be ? Re() : IK());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? ze() : be ? Re() : PK());},children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -58198,7 +58198,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: IK,+ onClick: PK,children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -58207,7 +58207,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!t && (n || e.length > 0) ? /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, I.jsx)(WG, {+ children: /* @__PURE__ */ (0, I.jsx)(HG, {busy: r,onPress: () => void Ye()})@@ -58233,7 +58233,7 @@ function sSe({ 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.get("q") || "") ? Re() : (n ? t.set("q", n) : t.delete("q"), Me(), Bp.push(`/wall?${t}`), xe(!1));+ n === (t.get("q") || "") ? Re() : (n ? t.set("q", n) : t.delete("q"), Me(), W.push(`/wall?${t}`), xe(!1));},children: [/* @__PURE__ */ (0, I.jsx)("button", {ref: Se,@@ -58270,10 +58270,10 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-info" })- }), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "ghost",- onClick: () => Bp.push(FK()),+ onClick: () => W.push(NK()),children: "清除筛选"})]}) : null@@ -58329,7 +58329,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = !!w && t.key === E, r = n ? w : e[t.index], i = Ie.get(t.key) || t, a = !re && !n, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, I.jsx)(pS.article, {+ return /* @__PURE__ */ (0, I.jsx)(fS.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -58350,7 +58350,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ae && !ne && !n && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: ne ? { duration: 0 } : {- layout: eSe,+ layout: tSe,transform: a ? {type: "spring",stiffness: 360,@@ -58383,7 +58383,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!n && ["Enter", " "].includes(e.key) && (e.preventDefault(), Be(r, t, !1));},children: n ? $e : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(RK, {+ /* @__PURE__ */ (0, I.jsx)(IK, {item: r,image: Ee,ratio: i.width / i.height@@ -58409,7 +58409,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(r.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, I.jsx)(pS.span, {+ /* @__PURE__ */ (0, I.jsx)(fS.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: ne ? 0 : .24 }@@ -58421,10 +58421,10 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(aV, {+ children: [/* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: a- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "ghost",onClick: o,@@ -58448,23 +58448,23 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,n && t && e.length > 0 ? /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-footer": "",- children: /* @__PURE__ */ (0, I.jsxs)(J, {+ children: /* @__PURE__ */ (0, I.jsxs)(Y, {size: "small",variant: "secondary",- ...uV(r),+ ...cV(r),onClick: () => void qe(),children: [r ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Hs() } }) : null, "载入更多"]})}) : null,me ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, I.jsx)(aV, {+ children: [/* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: me- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "ghost",- ...uV(r),+ ...cV(r),onClick: () => void qe(),children: "立即重试"})]@@ -58474,7 +58474,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:return (0, Rt.createPortal)(et, Ce);}// src/catalog-onboarding.ts-var zK = [+var LK = ["loc","creator","performer",@@ -58493,19 +58493,19 @@ var zK = ["jav","thumb"];-function cSe(e = typeof location > "u" ? "/" : location.href) {+function lSe(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...zK,+ ...LK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function lSe(e, t) {+async function uSe(e, t) {let n = new URLSearchParams();- for (let t of zK) e[t] && n.set(t, e[t]);+ for (let t of LK) 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 || [],@@ -58516,9 +58516,9 @@ async function lSe(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function BK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function RK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return Ks("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(cSe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Ks("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(lSe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -58536,28 +58536,28 @@ function BK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:return Ks("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function uSe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || BK() : t ? Ks("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ks("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${FK()}">清除筛选</a>` });+function dSe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || RK() : t ? Ks("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ks("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${NK()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsx-function VK({ label: e, maintenance: t = !1, children: n }) {- let r = fH("hover");+function zK({ label: e, maintenance: t = !1, children: n }) {+ let r = uH("hover");return /* @__PURE__ */ (0, I.jsx)("div", {ref: r,role: "group","aria-label": e,"data-processing-maintenance": t || void 0,- className: q("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),+ className: J("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),children: n});}-function HK({ option: e, metadataOnly: t, onRun: n }) {+function BK({ option: e, metadataOnly: t, onRun: n }) {let r = t && e.command.stage === "previews", i = r || e.disabled;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",disabled: i,title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: q(OV, i ? "cursor-not-allowed opacity-50" : kV, "text-body-2-medium"),+ className: J(EV, i ? "cursor-not-allowed opacity-50" : DV, "text-body-2-medium"),onClick: () => n(e.command),children: /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -58568,12 +58568,12 @@ function HK({ option: e, metadataOnly: t, onRun: n }) {})});}-function dSe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function fSe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");(0, F.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await nve(e, t.signal, a);+ let o = await rve(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(() => {@@ -58598,7 +58598,7 @@ function dSe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}),/* @__PURE__ */ (0, I.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, I.jsx)(yH, {+ children: /* @__PURE__ */ (0, I.jsx)(_H, {value: a,busy: i,onChange: (e) => {@@ -58606,7 +58606,7 @@ function dSe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, I.jsx)(UH, {+ s ? /* @__PURE__ */ (0, I.jsx)(VH, {traffic: s,initial: !0}) : null,@@ -58618,7 +58618,7 @@ function dSe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {+function VK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {let c = (0, F.useRef)(null), l = (0, F.useRef)(null), [u, d] = (0, F.useState)(null), f = (0, F.useRef)(i);(0, F.useEffect)(() => () => l.current?.close(), []);let [p, m] = (0, F.useState)(!1), h = {@@ -58666,7 +58666,7 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spedescription: "为已入库的本地视频生成九宫格",command: { stage: "previews" }}- ], v = e || t, y = e ? uV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {+ ], v = e || t, y = e ? cV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {if (e) return;if (t) {s?.();@@ -58701,7 +58701,7 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(dSe, {+ u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(fSe, {command: u.command,dialog: u.dialog,speed: i,@@ -58710,11 +58710,11 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spef.current = e;}}), u.host) : null,- u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(lH, {+ u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(sH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: mB,+ trailingIcon: fB,disabled: v,onClick: (e) => {u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();@@ -58725,14 +58725,14 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe"data-button-group": !0,"data-split-button": !0,"data-variant": "primary",- children: [/* @__PURE__ */ (0, I.jsx)(J, {+ children: [/* @__PURE__ */ (0, I.jsx)(Y, {...y,onClick: () => b(h.command),children: h.label- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {ref: c,iconOnly: !0,- leadingIcon: pB,+ leadingIcon: dB,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": p,@@ -58742,27 +58742,27 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}})]}),- /* @__PURE__ */ (0, I.jsx)(sz, {+ /* @__PURE__ */ (0, I.jsx)(az, {triggerRef: c,isOpen: p,onOpenChange: m,placement: "bottom end",offset: 4,- className: DV,- children: /* @__PURE__ */ (0, I.jsxs)(bz, {+ className: TV,+ children: /* @__PURE__ */ (0, I.jsxs)(vz, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",- children: [n ? /* @__PURE__ */ (0, I.jsxs)(VK, {+ children: [n ? /* @__PURE__ */ (0, I.jsxs)(zK, {label: "日常同步",children: [/* @__PURE__ */ (0, I.jsx)("p", {className: "px-2 py-1 text-caption-1-medium text-text-secondary",children: "日常同步"- }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(HK, {+ }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(BK, {option: e,metadataOnly: r,onRun: b}, e.label))]- }) : null, /* @__PURE__ */ (0, I.jsxs)(VK, {+ }) : null, /* @__PURE__ */ (0, I.jsxs)(zK, {label: n ? "全库维护" : "补全方式",maintenance: n,children: [n ? /* @__PURE__ */ (0, I.jsxs)("div", {@@ -58774,7 +58774,7 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speclassName: "text-caption-1-regular text-text-secondary",children: "检查全部文件,复用已有资料和预览"})]- }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(HK, {+ }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(BK, {option: e,metadataOnly: r,onRun: b@@ -58785,48 +58785,48 @@ function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe] });}// src/react/library-processing/library-completion.tsx-function WK(e, t) {+function HK(e, t) {return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !Eo(e, "small", !1, t).html).map((e) => e.id))];}-function GK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, I.jsx)(fSe, {+function UK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, I.jsx)(pSe, {assetIds: e,onComplete: t,className: n}) : null;}-function fSe({ assetIds: e, onComplete: t, className: n }) {+function pSe({ assetIds: e, onComplete: t, className: n }) {let r = Ft({- queryKey: qV,- queryFn: ({ signal: e }) => tH(e),- refetchInterval: (e) => iH(e.state.data, !0)+ queryKey: GV,+ queryFn: ({ signal: e }) => $V(e),+ refetchInterval: (e) => nH(e.state.data, !0)}), [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = It({- mutationFn: (t) => V(KV, {+ mutationFn: (t) => V(WV, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), H.setQueryData(qV, e), H.invalidateQueries({ queryKey: qV });+ a(e.job_id || null), H.setQueryData(GV, e), H.invalidateQueries({ queryKey: GV });}}), u = r.data;(0, F.useEffect)(() => {- u && i && u.job_id === i && !XV(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !JV(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t]);- let d = l.isPending || XV(u), f = l.error ? lr(l.error) : r.error ? rH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${XV(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);+ let d = l.isPending || JV(u), f = l.error ? lr(l.error) : r.error ? tH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${JV(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);return /* @__PURE__ */ (0, I.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: q("@container", n),- children: /* @__PURE__ */ (0, I.jsxs)(aV, {+ className: J("@container", n),+ children: /* @__PURE__ */ (0, I.jsxs)(rV, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, I.jsx)(UK, {+ children: /* @__PURE__ */ (0, I.jsx)(VK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -58837,10 +58837,10 @@ function fSe({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, I.jsx)(lH, {+ /* @__PURE__ */ (0, I.jsx)(sH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: mB,+ trailingIcon: fB,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -58848,31 +58848,31 @@ function fSe({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function pSe(e) {- return mSe(e) || typeof e == "function" || hSe(e);-}function mSe(e) {+ return hSe(e) || typeof e == "function" || gSe(e);+}+function hSe(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function hSe(e) {+function gSe(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function KK(e, t) {- return e == null ? null : pSe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;+function WK(e, t) {+ return e == null ? null : mSe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;}-function gSe(e) {+function _Se(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? KK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : KK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? WK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : WK(n.cell, t.getContext());}- return "header" in e && e.header ? KK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? KK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? WK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? WK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function _Se({ update: e, notify: t, unwatched: n }) {+function vSe({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -58989,7 +58989,7 @@ function _Se({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function vSe(e, t, n) {+function ySe(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -58997,38 +58997,38 @@ function vSe(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var qK = [], JK = 0, { link: YK, unlink: ySe, propagate: bSe, checkDirty: XK, shallowPropagate: ZK } = /* @__PURE__ */ _Se({+var GK = [], KK = 0, { link: qK, unlink: bSe, propagate: xSe, checkDirty: JK, shallowPropagate: YK } = /* @__PURE__ */ vSe({update(e) {return e._update();},notify(e) {- qK[$K++] = e, e.flags &= -3;+ GK[ZK++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, nq(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, eq(e));}-}), QK = 0, $K = 0, eq, tq = 0;-function xSe(e) {+}), XK = 0, ZK = 0, QK, $K = 0;+function SSe(e) {try {- ++tq, e();+ ++$K, e();} finally {- --tq || rq();+ --$K || tq();}}-function nq(e) {+function eq(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = ySe(n, e);+ for (; n !== void 0;) n = bSe(n, e);}-function rq() {- if (!(tq > 0)) {- for (; QK < $K;) {- let e = qK[QK];- qK[QK++] = void 0, e.notify();+function tq() {+ if (!($K > 0)) {+ for (; XK < ZK;) {+ let e = GK[XK];+ GK[XK++] = void 0, e.notify();}- QK = 0, $K = 0;+ XK = 0, ZK = 0;}}-function SSe(e, t) {+function CSe(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -59037,53 +59037,53 @@ function SSe(e, t) {depsTail: void 0,flags: +!n,get() {- return eq !== void 0 && YK(i, eq, JK), i._snapshot;+ return QK !== void 0 && qK(i, QK, KK), i._snapshot;},subscribe(e) {- let t = vSe(e), n = { current: !1 }, r = CSe(() => {- i.get(), n.current ? (eq = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = ySe(e), n = { current: !1 }, r = wSe(() => {+ i.get(), n.current ? (QK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = eq, o = t?.compare ?? Object.is;- if (n) eq = i, ++JK, i.depsTail = void 0;+ let a = QK, o = t?.compare ?? Object.is;+ if (n) QK = i, ++KK, 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 {- eq = a, n && (i.flags &= -5), nq(i);+ QK = a, n && (i.flags &= -5), eq(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && XK(i.deps, i)) {+ if (e & 16 || e & 32 && JK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && ZK(e);+ e !== void 0 && YK(e);}} else e & 32 && (i.flags = e & -33);- return eq !== void 0 && YK(i, eq, JK), i._snapshot;+ return QK !== void 0 && qK(i, QK, KK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (bSe(e), ZK(e), rq());+ e !== void 0 && (xSe(e), YK(e), tq());}}, i;}-function CSe(e) {+function wSe(e) {let t = () => {- let t = eq;- eq = n, ++JK, n.depsTail = void 0, n.flags = 6;+ let t = QK;+ QK = n, ++KK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- eq = t, n.flags &= -5, nq(n);+ QK = t, n.flags &= -5, eq(n);}}, n = {deps: void 0,@@ -59093,16 +59093,16 @@ function CSe(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && XK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && JK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, nq(this);+ this.flags = 0, this.depsTail = void 0, eq(this);}};return t(), n;}// node_modules/@tanstack/store/dist/shallow.js-function iq(e, t) {+function nq(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) {@@ -59116,17 +59116,17 @@ function iq(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = aq(e);- if (n.length !== aq(t).length) return !1;+ let n = rq(e);+ if (n.length !== rq(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 aq(e) {+function rq(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var wSe = /* @__PURE__ */ o(((e) => {- var t = A(), n = iw();+var TSe = /* @__PURE__ */ o(((e) => {+ var t = A(), n = rw();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -59170,33 +59170,33 @@ var wSe = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), oq = /* @__PURE__ */ o(((e, t) => {- t.exports = wSe();-})), TSe = oq();-function ESe(e, t) {+})), iq = /* @__PURE__ */ o(((e, t) => {+ t.exports = TSe();+})), ESe = iq();+function DSe(e, t) {return e === t;}-function sq(e, t = (e) => e, n) {- let r = n?.compare ?? ESe, i = (0, F.useCallback)((t) => {+function aq(e, t = (e) => e, n) {+ let r = n?.compare ?? DSe, i = (0, F.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);- return (0, TSe.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, ESe.useSyncExternalStoreWithSelector)(i, a, a, t, r);}// node_modules/@tanstack/react-table/dist/Subscribe.js-function DSe(e) {- let t = sq(e.source, e.selector, { compare: iq });+function OSe(e) {+ let t = aq(e.source, e.selector, { compare: nq });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function OSe(e) {+function kSe(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();} }), "set" in e && (t.setState = e.set.bind(e)), t;}// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function kSe(e) {+function ASe(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -59226,7 +59226,7 @@ function kSe(e) {}};}-function ASe(e, t = Object.is) {+function jSe(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -59239,28 +59239,28 @@ function ASe(e, t = Object.is) {};}// node_modules/@tanstack/react-table/dist/reactivity.js-function jSe() {- return kSe({- createAtom: SSe,- batch: xSe+function MSe() {+ return ASe({+ createAtom: CSe,+ batch: SSe});}// node_modules/@tanstack/table-core/dist/utils.js-function cq(e, t) {+function oq(e, t) {return typeof e == "function" ? e(t) : e;}-function lq(e) {- if (Array.isArray(e)) return e.map(lq);+function sq(e) {+ if (Array.isArray(e)) return e.map(sq);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? dq() : {}, r = Object.keys(e);+ let n = t === null ? lq() : {}, 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: lq(e[i]),+ value: sq(e[i]),writable: !0});}@@ -59268,7 +59268,7 @@ function lq(e) {}return e;}-function uq(e, t) {+function cq(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -59276,53 +59276,53 @@ function uq(e, t) {}return e;}-function dq() {+function lq() {return Object.create(null);}-function fq(e, t) {+function uq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function pq(e, t) {+function dq(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => cq(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => oq(n, e));};}-function mq(e) {+function fq(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 hq(e) {+function pq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var MSe = 3;-function NSe(e, t) {- return gq(e, t, MSe);+var NSe = 3;+function PSe(e, t) {+ return mq(e, t, NSe);}-function gq(e, t, n) {+function mq(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !mq(e) || !mq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = hq(e), i = hq(t);+ if (n <= 0 || !fq(e) || !fq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = pq(e), i = pq(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) || !gq(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !mq(a[i], o[i], n - 1)) return !1;}return !0;}-function _q(e, t, n, r = NSe) {+function hq(e, t, n, r = PSe) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = cq(n, e);+ let t = oq(n, e);return r(e, t) ? e : t;});}-function PSe(e) {+function FSe(e) {return e instanceof Function;}-function FSe(e, t) {+function ISe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -59332,7 +59332,7 @@ function FSe(e, t) {};return r(e), n;}-var ISe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var LSe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -59346,23 +59346,23 @@ var ISe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCoreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function vq(e) {+function gq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function yq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function _q({ 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 ISe({+ return LSe({...a,...o});}-function bq(e, t = "_") {+function vq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -59370,10 +59370,10 @@ function bq(e, t = "_") {parentName: n};}-function xq(e, t, n) {+function yq(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = bq(r);- t[n] = a ? yq({+ let { fnKey: n, fnName: o } = vq(r);+ t[n] = a ? _q({memoDeps: a,fn: i,fnName: o,@@ -59382,15 +59382,15 @@ function xq(e, t, n) {}) : i;}}-function Sq(e, t, n, r) {+function bq(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = bq(i);+ let { fnKey: r, fnName: s } = vq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = yq({+ this[i] = _q({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -59406,17 +59406,17 @@ function Sq(e, t, n, r) {};}}-function Cq(e, t, n, ...r) {+function xq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function LSe(e) {+function RSe(e) {return e.row.getValue(e.column.id);}-function RSe(e) {+function zSe(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function zSe(e) {+function BSe(e) {return {table: e.table,column: e.column,@@ -59427,18 +59427,18 @@ function zSe(e) {};}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var BSe = { assignCellPrototype: (e, t) => {- Sq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => LSe(e) },- cell_renderValue: { fn: (e) => RSe(e) },+var VSe = { assignCellPrototype: (e, t) => {+ bq("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => RSe(e) },+ cell_renderValue: { fn: (e) => zSe(e) },cell_getContext: {- fn: (e) => zSe(e),+ fn: (e) => BSe(e),memoDeps: (e) => [e]}});} };// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function VSe(e) {+function HSe(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -59446,7 +59446,7 @@ function VSe(e) {}return e._columnPrototype;}-function HSe(e, t, n, r) {+function USe(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -59466,53 +59466,53 @@ function HSe(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = VSe(e), u = Object.create(l);+ let l = HSe(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);return u;}// node_modules/@tanstack/table-core/dist/core/featureStubs.js-function wq(e) {+function Sq(e) {return e.getIsVisible?.() ?? !0;}-function USe(e) {+function WSe(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function Tq(e, t) {+function Cq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function Eq(e, t, n, r) {+function wq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function Dq(e, t) {+function Tq(e, t) {return e._expandRows?.(t) ?? t;}-function WSe(e) {+function GSe(e) {e.autoResetExpanded?.();}-function Oq(e) {+function Eq(e) {e.autoResetPageIndex?.();}-function GSe(e) {+function KSe(e) {e.autoResetSorting?.();}-function KSe(e) {+function qSe(e) {e.autoResetCellSelection?.();}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function qSe(e) {+function JSe(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function JSe(e) {+function YSe(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return Tq(e.table, t);+ return Cq(e.table, t);}return [e];}-function YSe(e) {+function XSe(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -59523,53 +59523,53 @@ function YSe(e) {...e.options.defaultColumn};}-function kq(e, t, n, r = 0) {+function Dq(e, t, n, r = 0) {let i = Array(t.length);for (let a = 0; a < t.length; a++) {if (!(a in t)) continue;- let o = t[a], s = HSe(e, o, r, n), c = o;- s.columns = c.columns ? kq(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = USe(e, o, r, n), c = o;+ s.columns = c.columns ? Dq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function XSe(e) {- return kq(e, e.options.columns);-}function ZSe(e) {- return e.getAllColumns().flatMap((e) => e.getFlatColumns());+ return Dq(e, e.options.columns);}function QSe(e) {- let t = dq(), n = e.getAllFlatColumns();+ return e.getAllColumns().flatMap((e) => e.getFlatColumns());+}+function $Se(e) {+ let t = lq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function $Se(e) {- return Tq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));-}function eCe(e) {- let t = dq(), n = e.getAllLeafColumns();+ return Cq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+}+function tCe(e) {+ let t = lq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function tCe(e, t) {+function nCe(e, t) {return e.getAllFlatColumnsById()[t];}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var nCe = {+var rCe = {assignColumnPrototype: (e, t) => {- Sq("coreColumnsFeature", e, t, {+ bq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => qSe(e),+ fn: (e) => JSe(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => JSe(e),+ fn: (e) => YSe(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -59580,25 +59580,25 @@ var nCe = {});},constructTableAPIs: (e) => {- xq("coreColumnsFeature", e, {+ yq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => YSe(e),+ fn: () => XSe(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => XSe(e),+ fn: () => ZSe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => ZSe(e),+ fn: () => QSe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => QSe(e),+ fn: () => $Se(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => $Se(e),+ fn: () => eCe(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -59607,15 +59607,15 @@ var nCe = {]},table_getAllLeafColumnsById: {- fn: () => eCe(e),+ fn: () => tCe(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => tCe(e, t) }+ table_getColumn: { fn: (t) => nCe(e, t) }});}};// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function rCe(e) {+function iCe(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -59623,38 +59623,38 @@ function rCe(e) {}return e._headerPrototype;}-function Aq(e, t, n) {- let r = rCe(e), i = Object.create(r);+function Oq(e, t, n) {+ let r = iCe(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);return i;}// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function jq(e, t = 1) {+function kq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- wq(i) && i.columns.length && (n = Math.max(n, jq(i.columns, t + 1)));+ Sq(i) && i.columns.length && (n = Math.max(n, kq(i.columns, t + 1)));}return n;}-function iCe(e, t) {+function aCe(e, t) {return e ? `${e}_${t}` : String(t);}-function aCe(e, t, n, r) {+function oCe(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 oCe(e, t) {+function sCe(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function Mq(e, t, n, r, i, a) {+function Aq(e, t, n, r, i, a) {let o = {depth: t,- id: iCe(r, t),+ id: aCe(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -59662,10 +59662,10 @@ function Mq(e, t, n, r, i, a) {let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);else {- let e = Aq(n, u, {- id: aCe(r, t, u.id, a.id),+ let e = Oq(n, u, {+ id: oCe(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(oCe(s, u)) : void 0,+ placeholderId: d ? String(sCe(s, u)) : void 0,depth: t,index: s.length});@@ -59674,18 +59674,18 @@ function Mq(e, t, n, r, i, a) {o.headers.push(a), a.headerGroup = o;}for (let e = 0; e < a.length; e++) a[e](o);- i.push(o), t > 0 && Mq(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && Aq(s, t - 1, n, r, i, a);}-function Nq(e) {+function jq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!wq(n.column)) continue;+ if (!Sq(n.column)) continue;let r = 0;if (n.subHeaders.length) {- Nq(n.subHeaders);+ jq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- wq(t.column) && (r += t.colSpan);+ Sq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -59695,37 +59695,37 @@ function Nq(e) {} else n.rowSpan = 1;}}-function sCe(e, t, n, r) {- let i = jq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = Aq(n, t[e], {+function cCe(e, t, n, r) {+ let i = kq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Oq(n, t[e], {depth: i,index: e}));- return Mq(s, i - 1, n, r, a, o), a.reverse(), Nq(a[0]?.headers ?? []), a;+ return Aq(s, i - 1, n, r, a, o), a.reverse(), jq(a[0]?.headers ?? []), a;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function Pq(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) Pq(e.subHeaders[n], t);+function Mq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) Mq(e.subHeaders[n], t);t.push(e);}-function cCe(e) {+function lCe(e) {let t = [];- return Pq(e, t), t;+ return Mq(e, t), t;}-function lCe(e) {+function uCe(e) {return {column: e.column,header: e,table: e.column.table};}-function uCe(e) {- return sCe(e.getAllColumns(), Eq(e, USe(e), (e) => e.id), e);-}function dCe(e) {- return [...e.getHeaderGroups()].reverse();+ return cCe(e.getAllColumns(), wq(e, WSe(e), (e) => e.id), e);}function fCe(e) {+ return [...e.getHeaderGroups()].reverse();+}+function pCe(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -59733,7 +59733,7 @@ function fCe(e) {}return n;}-function pCe(e) {+function mCe(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -59742,23 +59742,23 @@ function pCe(e) {return n;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var mCe = {+var hCe = {assignHeaderPrototype: (e, t) => {- Sq("coreHeadersFeature", e, t, {+ bq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => cCe(e),+ fn: (e) => lCe(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => lCe(e),+ fn: (e) => uCe(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- xq("coreHeadersFeature", e, {+ yq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => uCe(e),+ fn: () => dCe(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -59769,22 +59769,22 @@ var mCe = {]},table_getFooterGroups: {- fn: () => dCe(e),+ fn: () => fCe(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => fCe(e),+ fn: () => pCe(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => pCe(e),+ fn: () => mCe(e),memoDeps: () => [e.getHeaderGroups()]}});}};// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function hCe(e) {+function gCe(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -59792,98 +59792,98 @@ function hCe(e) {}return e._rowPrototype;}-var gCe = (e, t, n, r, i, a, o) => {- let s = hCe(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = dq(), c._valuesCache = dq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var _Ce = (e, t, n, r, i, a, o) => {+ let s = gCe(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = lq(), c._valuesCache = lq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function _Ce() {- return (e) => yq({+function vCe() {+ return (e) => _q({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => vCe(e, e.options.data),- onAfterUpdate: vq(() => {- WSe(e), Oq(e), GSe(e), KSe(e);+ fn: () => yCe(e, e.options.data),+ onAfterUpdate: gq(() => {+ GSe(e), Eq(e), KSe(e), qSe(e);})});}-function Fq(e, t, n, r = 0, i) {+function Nq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = gCe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);- t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Fq(e, t, c.originalSubRows, r + 1, c)));+ let s = n[o], c = _Ce(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 = Nq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function vCe(e, t) {+function yCe(e, t) {let n = {rows: [],flatRows: [],- rowsById: dq()+ rowsById: lq()};- return n.rows = Fq(e, n, t), n;+ return n.rows = Nq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function yCe(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? _Ce()(e)), e._rowModels.coreRowModel();-}function bCe(e) {- return e.getCoreRowModel();+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? vCe()(e)), e._rowModels.coreRowModel();}function xCe(e) {- return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();+ return e.getCoreRowModel();}function SCe(e) {- return e.getFilteredRowModel();+ return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}function CCe(e) {- return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();+ return e.getFilteredRowModel();}function wCe(e) {- return e.getGroupedRowModel();+ return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}function TCe(e) {- return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();+ return e.getGroupedRowModel();}function ECe(e) {- return e.getSortedRowModel();+ return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}function DCe(e) {- return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();+ return e.getSortedRowModel();}function OCe(e) {- return e.getExpandedRowModel();+ return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}function kCe(e) {- return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();+ return e.getExpandedRowModel();}function ACe(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 jCe(e) {return e.getPaginatedRowModel();}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var jCe = { constructTableAPIs: (e) => {- xq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => yCe(e) },- table_getPreFilteredRowModel: { fn: () => bCe(e) },- table_getFilteredRowModel: { fn: () => xCe(e) },- table_getPreGroupedRowModel: { fn: () => SCe(e) },- table_getGroupedRowModel: { fn: () => CCe(e) },- table_getPreSortedRowModel: { fn: () => wCe(e) },- table_getSortedRowModel: { fn: () => TCe(e) },- table_getPreExpandedRowModel: { fn: () => ECe(e) },- table_getExpandedRowModel: { fn: () => DCe(e) },- table_getPrePaginatedRowModel: { fn: () => OCe(e) },- table_getPaginatedRowModel: { fn: () => kCe(e) },- table_getRowModel: { fn: () => ACe(e) }+var MCe = { constructTableAPIs: (e) => {+ yq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => bCe(e) },+ table_getPreFilteredRowModel: { fn: () => xCe(e) },+ table_getFilteredRowModel: { fn: () => SCe(e) },+ table_getPreGroupedRowModel: { fn: () => CCe(e) },+ table_getGroupedRowModel: { fn: () => wCe(e) },+ table_getPreSortedRowModel: { fn: () => TCe(e) },+ table_getSortedRowModel: { fn: () => ECe(e) },+ table_getPreExpandedRowModel: { fn: () => DCe(e) },+ table_getExpandedRowModel: { fn: () => OCe(e) },+ table_getPrePaginatedRowModel: { fn: () => kCe(e) },+ table_getPaginatedRowModel: { fn: () => ACe(e) },+ table_getRowModel: { fn: () => jCe(e) }});} };// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function MCe(e) {+function NCe(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -59891,48 +59891,48 @@ function MCe(e) {}return e._cellPrototype;}-function NCe(e, t, n) {- let r = MCe(n), i = Object.create(r);+function PCe(e, t, n) {+ let r = NCe(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);return i;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function PCe(e) {+function FCe(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function FCe(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Dq(e, t).rows : t.rows;+function ICe(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Tq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function ICe(e, t) {- if (fq(e._valuesCache, t)) return e._valuesCache[t];+function LCe(e, t) {+ if (uq(e._valuesCache, t)) return e._valuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];}-function LCe(e, t) {- if (fq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function RCe(e, t) {+ if (uq(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 RCe(e, t) {+function zCe(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function zCe(e) {- return FSe(e.subRows, (e) => e.subRows);-}function BCe(e) {+ return ISe(e.subRows, (e) => e.subRows);+}+function VCe(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 VCe(e) {+function HCe(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function HCe(e) {+function UCe(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -59941,77 +59941,77 @@ function HCe(e) {}return t.reverse();}-function UCe(e) {+function WCe(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 = NCe(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = PCe(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function WCe(e) {- let t = dq(), n = e.getAllCells();+function GCe(e) {+ let t = lq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function GCe(e, t, n, r) {+function KCe(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function KCe(e, t, n) {+function qCe(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var qCe = {+var JCe = {assignRowPrototype: (e, t) => {- Sq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => PCe(e) },+ bq("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => FCe(e) },row_getAllCellsByColumnId: {- fn: (e) => WCe(e),+ fn: (e) => GCe(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => UCe(e),+ fn: (e) => WCe(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => zCe(e),+ fn: (e) => BCe(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => VCe(e) },- row_getParentRows: { fn: (e) => HCe(e) },- row_getUniqueValues: { fn: (e, t) => LCe(e, t) },- row_getValue: { fn: (e, t) => ICe(e, t) },- row_renderValue: { fn: (e, t) => RCe(e, t) }+ row_getParentRow: { fn: (e) => HCe(e) },+ row_getParentRows: { fn: (e) => UCe(e) },+ row_getUniqueValues: { fn: (e, t) => RCe(e, t) },+ row_getValue: { fn: (e, t) => LCe(e, t) },+ row_renderValue: { fn: (e, t) => zCe(e, t) }});},constructTableAPIs: (e) => {- xq("coreRowsFeature", e, {+ yq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => FCe(e),+ fn: () => ICe(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => GCe(t, e, n, r) },- table_getRow: { fn: (t, n) => KCe(e, t, n) },+ table_getRowId: { fn: (t, n, r) => KCe(t, e, n, r) },+ table_getRow: { fn: (t, n) => qCe(e, t, n) },table_getMaxSubRowDepth: {- fn: () => BCe(e),+ fn: () => VCe(e),memoDeps: () => [e.getCoreRowModel()]}});}};// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function Iq(e, t, n = (e, t) => e === t) {+function Pq(e, t, n = (e, t) => e === t) {let r = t === void 0 ? e.options.state : t;e._reactivity.batch(() => {if (r) for (let t in r) {@@ -60022,13 +60022,13 @@ function Iq(e, t, n = (e, t) => e === t) {}});}-function Lq(e, t, n = (e, t) => e === t) {+function Fq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- Iq(e, t, n), e._reactivity.commit?.();+ Pq(e, t, n), e._reactivity.commit?.();});}-function JCe(e) {- let t = lq(e.initialState);+function YCe(e) {+ let t = sq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -60039,7 +60039,7 @@ function JCe(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function YCe(e, t) {+function XCe(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -60071,26 +60071,26 @@ function YCe(e, t) {}});}-function Rq(e, t, n) {- let r = YCe(e, cq(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Lq(e, r.state ?? null);+function Iq(e, t, n) {+ let r = XCe(e, oq(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Fq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var XCe = {- coreCellsFeature: BSe,- coreColumnsFeature: nCe,- coreHeadersFeature: mCe,- coreRowModelsFeature: jCe,- coreRowsFeature: qCe,+var ZCe = {+ coreCellsFeature: VSe,+ coreColumnsFeature: rCe,+ coreHeadersFeature: hCe,+ coreRowModelsFeature: MCe,+ coreRowsFeature: JCe,coreTablesFeature: { constructTableAPIs: (e) => {- xq("coreTablesFeature", e, {- table_reset: { fn: () => JCe(e) },- table_setOptions: { fn: (t) => Rq(e, t) }+ yq("coreTablesFeature", e, {+ table_reset: { fn: () => YCe(e) },+ table_setOptions: { fn: (t) => Iq(e, t) }});} }};// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function zq() {+function Lq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -60105,21 +60105,21 @@ function zq() {};}// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function Bq(e) {+function Rq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function ZCe(e, t = {}) {+function QCe(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), lq(t);+ }), sq(t);}-function QCe(e) {+function $Ce(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: {- ...XCe,+ ...ZCe,..._},_headerGroupInstanceInitFns: [],@@ -60157,7 +60157,7 @@ function QCe(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = ZCe(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = QCe(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -60165,14 +60165,14 @@ function QCe(e) {let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();if (t) return r;let i = e.state;- if (i && fq(i, n)) {+ if (i && uq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Iq(v), v.store = OSe(t.createReadonlyAtom(() => {+ Pq(v), v.store = kSe(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -60180,7 +60180,7 @@ function QCe(e) {}return e;}, {- compare: iq,+ compare: nq,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -60190,107 +60190,107 @@ function QCe(e) {return v;}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function $Ce() {- return dq();+function ewe() {+ return lq();}-function Vq(e, t) {- Uq(e) && Gq(e.table, (n) => {- let r = Object.assign(dq(), n), i = t ?? !Cq(e, "getIsVisible", Hq), a = e.getLeafColumns();+function zq(e, t) {+ Vq(e) && Uq(e.table, (n) => {+ let r = Object.assign(lq(), n), i = t ?? !xq(e, "getIsVisible", Bq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- Uq(t) && (r[t.id] = i);+ Vq(t) && (r[t.id] = i);}return r;});}-function Hq(e) {+function Bq(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => Cq(e, "getIsVisible", Hq)) : (fq(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => xq(e, "getIsVisible", Bq)) : (uq(t, e.id) ? t[e.id] : void 0) ?? !0;}-function Uq(e) {+function Vq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function ewe(e) {+function twe(e) {return (t) => {- Vq(e, t.target.checked);+ zq(e, t.target.checked);};}-function twe(e) {+function nwe(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- Cq(r.column, "getIsVisible", Hq) && n.push(r);+ xq(r.column, "getIsVisible", Bq) && n.push(r);}- return Eq(e.table, n, (e) => e.column.id, () => Cq(e, "getVisibleCellsByColumnId", Wq));+ return wq(e.table, n, (e) => e.column.id, () => xq(e, "getVisibleCellsByColumnId", Hq));}-function Wq(e) {- let t = dq(), n = e.getAllCells();+function Hq(e) {+ let t = lq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- Cq(r.column, "getIsVisible", Hq) && (t[r.column.id] = r);+ xq(r.column, "getIsVisible", Bq) && (t[r.column.id] = r);}return t;}-function nwe(e) {- return e.getAllFlatColumns().filter((e) => Cq(e, "getIsVisible", Hq));-}function rwe(e) {- return e.getAllLeafColumns().filter((e) => Cq(e, "getIsVisible", Hq));+ return e.getAllFlatColumns().filter((e) => xq(e, "getIsVisible", Bq));+}+function iwe(e) {+ return e.getAllLeafColumns().filter((e) => xq(e, "getIsVisible", Bq));}-function Gq(e, t) {- _q(e, "columnVisibility", t);+function Uq(e, t) {+ hq(e, "columnVisibility", t);}-function iwe(e, t) {- Gq(e, t ? dq() : Object.assign(dq(), lq(e.initialState.columnVisibility ?? {})));+function awe(e, t) {+ Uq(e, t ? lq() : Object.assign(lq(), sq(e.initialState.columnVisibility ?? {})));}-function Kq(e, t) {- t ??= !qq(e);- let n = dq(), r = e.getAllLeafColumns();+function Wq(e, t) {+ t ??= !Gq(e);+ let n = lq(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !Uq(i);+ n[i.id] = t || !Vq(i);}- Gq(e, n);+ Uq(e, n);}-function qq(e) {- return !e.getAllLeafColumns().some((e) => !Cq(e, "getIsVisible", Hq));-}-function awe(e) {- return e.getAllLeafColumns().some((e) => Cq(e, "getIsVisible", Hq));+function Gq(e) {+ return !e.getAllLeafColumns().some((e) => !xq(e, "getIsVisible", Bq));}function owe(e) {+ return e.getAllLeafColumns().some((e) => xq(e, "getIsVisible", Bq));+}+function swe(e) {return (t) => {- Kq(e, t.target.checked);+ Wq(e, t.target.checked);};}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var Jq = {+var Kq = {getInitialState: (e) => ({- columnVisibility: $Ce(),+ columnVisibility: ewe(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: pq("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: dq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- Sq("columnVisibilityFeature", e, t, {+ bq("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => Hq(e),+ fn: (e) => Bq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => Uq(e) },- column_getToggleVisibilityHandler: { fn: (e) => ewe(e) },- column_toggleVisibility: { fn: (e, t) => Vq(e, t) }+ column_getCanHide: { fn: (e) => Vq(e) },+ column_getToggleVisibilityHandler: { fn: (e) => twe(e) },+ column_toggleVisibility: { fn: (e, t) => zq(e, t) }});},assignRowPrototype: (e, t) => {- Sq("columnVisibilityFeature", e, t, {+ bq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => twe(e),+ fn: (e) => nwe(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -60298,15 +60298,15 @@ var Jq = {]},row_getVisibleCellsByColumnId: {- fn: (e) => Wq(e),+ fn: (e) => Hq(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- xq("columnVisibilityFeature", e, {+ yq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => nwe(e),+ fn: () => rwe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -60316,7 +60316,7 @@ var Jq = {]},table_getVisibleLeafColumns: {- fn: () => rwe(e),+ fn: () => iwe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -60325,51 +60325,51 @@ var Jq = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => Gq(e, t) },- table_resetColumnVisibility: { fn: (t) => iwe(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => Kq(e, t) },- table_getIsAllColumnsVisible: { fn: () => qq(e) },- table_getIsSomeColumnsVisible: { fn: () => awe(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => owe(e) }+ table_setColumnVisibility: { fn: (t) => Uq(e, t) },+ table_resetColumnVisibility: { fn: (t) => awe(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => Wq(e, t) },+ table_getIsAllColumnsVisible: { fn: () => Gq(e) },+ table_getIsSomeColumnsVisible: { fn: () => owe(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => swe(e) }});}-}, Yq = 0, Xq = 10;-function Zq() {+}, qq = 0, Jq = 10;+function Yq() {return {- pageIndex: Yq,- pageSize: Xq+ pageIndex: qq,+ pageSize: Jq};}-function swe(e) {+function cwe(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? Yq) === Yq) return;- eJ(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? qq) === qq) return;+ Qq(e, !0);}}-function Qq(e, t) {- _q(e, "pagination", t);+function Xq(e, t) {+ hq(e, "pagination", t);}-function cwe(e, t) {- Qq(e, t ? Zq() : lq(e.initialState.pagination ?? Zq()));+function lwe(e, t) {+ Xq(e, t ? Yq() : sq(e.initialState.pagination ?? Yq()));}-function $q(e, t) {- Qq(e, (n) => {- let r = cq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+function Zq(e, t) {+ Xq(e, (n) => {+ let r = oq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;return r = Math.max(0, Math.min(r, i)), {...n,pageIndex: r};});}-function eJ(e, t) {- $q(e, t ? Yq : e.initialState.pagination?.pageIndex ?? Yq);+function Qq(e, t) {+ Zq(e, t ? qq : e.initialState.pagination?.pageIndex ?? qq);}-function lwe(e, t) {- tJ(e, t ? Xq : e.initialState.pagination?.pageSize ?? Xq);+function uwe(e, t) {+ $q(e, t ? Jq : e.initialState.pagination?.pageSize ?? Jq);}-function tJ(e, t) {- Qq(e, (e) => {- let n = Math.max(1, cq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+function $q(e, t) {+ Xq(e, (e) => {+ let n = Math.max(1, oq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -60377,231 +60377,231 @@ function tJ(e, t) {};});}-function uwe(e) {- let t = nJ(e), n = [];- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;-}function dwe(e) {- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;+ let t = eJ(e), n = [];+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}function fwe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Yq, n = nJ(e);- return n === -1 || n !== 0 && t < n - 1;+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}function pwe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Yq, n = nJ(e);- return Number.isFinite(n) && n > 0 && t < n - 1;+ let t = e.atoms.pagination?.get()?.pageIndex ?? qq, n = eJ(e);+ return n === -1 || n !== 0 && t < n - 1;}function mwe(e) {- return $q(e, (e) => e - 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? qq, n = eJ(e);+ return Number.isFinite(n) && n > 0 && t < n - 1;}function hwe(e) {- return $q(e, (e) => e + 1);+ return Zq(e, (e) => e - 1);}function gwe(e) {- return $q(e, 0);+ return Zq(e, (e) => e + 1);}function _we(e) {- let t = nJ(e);- if (!(!Number.isFinite(t) || t <= 0)) return $q(e, t - 1);+ return Zq(e, 0);+}+function vwe(e) {+ let t = eJ(e);+ if (!(!Number.isFinite(t) || t <= 0)) return Zq(e, t - 1);}-function nJ(e) {+function eJ(e) {let t = e.options.pageCount;if (t != null) return t;- let n = rJ(e), r = e.atoms.pagination?.get()?.pageSize ?? Xq;+ let n = tJ(e), r = e.atoms.pagination?.get()?.pageSize ?? Jq;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function rJ(e) {+function tJ(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var iJ = {+var nJ = {getInitialState: (e) => ({...e,pagination: {- ...Zq(),+ ...Yq(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: pq("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: dq("pagination", e) }),constructTableAPIs: (e) => {- xq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => swe(e) },- table_setPagination: { fn: (t) => Qq(e, t) },- table_resetPagination: { fn: (t) => cwe(e, t) },- table_setPageIndex: { fn: (t) => $q(e, t) },- table_resetPageIndex: { fn: (t) => eJ(e, t) },- table_setPageSize: { fn: (t) => tJ(e, t) },- table_getPageCount: { fn: () => nJ(e) },- table_resetPageSize: { fn: (t) => lwe(e, t) },- table_getPageOptions: { fn: () => uwe(e) },- table_getCanPreviousPage: { fn: () => dwe(e) },- table_getCanNextPage: { fn: () => fwe(e) },- table_getCanLastPage: { fn: () => pwe(e) },- table_previousPage: { fn: () => mwe(e) },- table_nextPage: { fn: () => hwe(e) },- table_firstPage: { fn: () => gwe(e) },- table_lastPage: { fn: () => _we(e) },- table_getRowCount: { fn: () => rJ(e) }+ yq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => cwe(e) },+ table_setPagination: { fn: (t) => Xq(e, t) },+ table_resetPagination: { fn: (t) => lwe(e, t) },+ table_setPageIndex: { fn: (t) => Zq(e, t) },+ table_resetPageIndex: { fn: (t) => Qq(e, t) },+ table_setPageSize: { fn: (t) => $q(e, t) },+ table_getPageCount: { fn: () => eJ(e) },+ table_resetPageSize: { fn: (t) => uwe(e, t) },+ table_getPageOptions: { fn: () => dwe(e) },+ table_getCanPreviousPage: { fn: () => fwe(e) },+ table_getCanNextPage: { fn: () => pwe(e) },+ table_getCanLastPage: { fn: () => mwe(e) },+ table_previousPage: { fn: () => hwe(e) },+ table_nextPage: { fn: () => gwe(e) },+ table_firstPage: { fn: () => _we(e) },+ table_lastPage: { fn: () => vwe(e) },+ table_getRowCount: { fn: () => tJ(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function vwe() {- return dq();+function ywe() {+ return lq();}-function aJ(e, t) {+function rJ(e, t) {e.options.onRowSelectionChange?.(t);}-function ywe(e, t) {- e._lastSelectedRowId = null, aJ(e, t ? dq() : Object.assign(dq(), lq(e.initialState.rowSelection ?? {})));+function bwe(e, t) {+ e._lastSelectedRowId = null, rJ(e, t ? lq() : Object.assign(lq(), sq(e.initialState.rowSelection ?? {})));}-function oJ(e, t, n) {- e._lastSelectedRowId = null, aJ(e, (r) => {- if (t = t === void 0 ? !Cq(e, "getIsAllRowsSelected", lJ) : t, n?.deselectAll && !t) return dq();- let i = Object.assign(dq(), r), a = e.getPreGroupedRowModel().flatRows;+function iJ(e, t, n) {+ e._lastSelectedRowId = null, rJ(e, (r) => {+ if (t = t === void 0 ? !xq(e, "getIsAllRowsSelected", sJ) : t, n?.deselectAll && !t) return lq();+ let i = Object.assign(lq(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- yJ(t, e) && (i[t.id] = !0);+ _J(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- hJ(e) && delete i[e.id];+ pJ(e) && delete i[e.id];});return i;});}-function sJ(e, t, n) {- e._lastSelectedRowId = null, aJ(e, (r) => {- let i = t === void 0 ? !Cq(e, "getIsAllPageRowsSelected", uJ) : t;- if (n?.deselectAll && !i) return dq();- let a = Object.assign(dq(), r);+function aJ(e, t, n) {+ e._lastSelectedRowId = null, rJ(e, (r) => {+ let i = t === void 0 ? !xq(e, "getIsAllPageRowsSelected", cJ) : t;+ if (n?.deselectAll && !i) return lq();+ let a = Object.assign(lq(), r);return e.getRowModel().rows.forEach((t) => {- vJ(a, t.id, i, !0, e, !0);+ gJ(a, t.id, i, !0, e, !0);}), a;});}-function bwe(e) {+function xwe(e) {return e.getCoreRowModel();}-function xwe(e) {+function Swe(e) {let t = e.getCoreRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return xq(e, "getIsSomeRowsSelected", lJ) ? bJ(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: lq()};}-function Swe(e) {+function Cwe(e) {let t = e.getFilteredRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return xq(e, "getIsSomeRowsSelected", lJ) ? bJ(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: lq()};}-function Cwe(e) {+function wwe(e) {let t = e.getSortedRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return xq(e, "getIsSomeRowsSelected", lJ) ? bJ(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: lq()};}-function cJ(e) {+function oJ(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function lJ(e) {+function sJ(e) {let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);if (r) {let e = /* @__PURE__ */ new Map();- t.some((t) => !CJ(t, n) && yJ(t, e)) && (r = !1);+ t.some((t) => !xJ(t, n) && _J(t, e)) && (r = !1);}return r;}-function uJ(e) {+function cJ(e) {let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;for (let e = 0; e < t.length; e++) {let a = t[e];- if (CJ(a, n)) !i && yJ(a, r) && (i = !0);- else if (yJ(a, r)) return !1;+ if (xJ(a, n)) !i && _J(a, r) && (i = !0);+ else if (_J(a, r)) return !1;}return i;}-function dJ(e) {- return Cq(e, "getSelectedRowIds", cJ).length > 0;-}-function wwe(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => hJ(e)).some((e) => pJ(e) || Cq(e, "getIsSomeSelected", mJ));+function lJ(e) {+ return xq(e, "getSelectedRowIds", oJ).length > 0;}function Twe(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => pJ(e)).some((e) => dJ(e) || xq(e, "getIsSomeSelected", fJ));+}+function Ewe(e) {return (t) => {- oJ(e, t.target.checked);+ iJ(e, t.target.checked);};}-function Ewe(e) {+function Dwe(e) {return (t) => {- sJ(e, t.target.checked);+ aJ(e, t.target.checked);};}-function fJ(e, t, n) {- let r = pJ(e);- aJ(e.table, (i) => {+function uJ(e, t, n) {+ let r = dJ(e);+ rJ(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(dq(), i);- return vJ(a, e.id, t, (n?.selectChildren ?? !0) && _J(e), e.table), !t && n?.deselectParents && bJ(a, e), a;+ let a = Object.assign(lq(), i);+ return gJ(a, e.id, t, (n?.selectChildren ?? !0) && hJ(e), e.table), !t && n?.deselectParents && vJ(a, e), a;});}-function pJ(e) {- return CJ(e, e.table.atoms.rowSelection?.get() ?? {});+function dJ(e) {+ return xJ(e, e.table.atoms.rowSelection?.get() ?? {});}-function mJ(e) {- return wJ(e) === "some";+function fJ(e) {+ return SJ(e) === "some";}-function Dwe(e) {- return wJ(e) === "all";+function Owe(e) {+ return SJ(e) === "all";}-function hJ(e) {+function pJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function gJ(e) {+function mJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function _J(e) {+function hJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function Owe(e, t) {- let n = hJ(e);+function kwe(e, t) {+ let n = pJ(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 && _J(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && kwe(e, s, o, t) || fJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && hJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && Awe(e, s, o, t) || uJ(e, o, t), a._lastSelectedRowId = e.id;};}-function kwe(e, t, n, r) {+function Awe(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 || !_J(s) || !_J(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !hJ(s) || !hJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return aJ(a, (e) => {- let t = Object.assign(dq(), e);+ return rJ(a, (e) => {+ let t = Object.assign(lq(), e);for (let e = f; e <= p; e++) {let s = o[e];- hJ(s) && _J(s) && (vJ(t, s.id, n, i, a), !n && r?.deselectParents && bJ(t, s));+ pJ(s) && hJ(s) && (gJ(t, s.id, n, i, a), !n && r?.deselectParents && vJ(t, s));}return t;}), !0;}-function vJ(e, t, n, r, i, a) {+function gJ(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (_J(o) || Object.keys(e).forEach((t) => delete e[t]), hJ(o) && (e[t] = !0)) : (!a || hJ(o)) && delete e[t], r && o.subRows.length && gJ(o) && o.subRows.forEach((t) => vJ(e, t.id, n, r, i, a));+ n ? (hJ(o) || Object.keys(e).forEach((t) => delete e[t]), pJ(o) && (e[t] = !0)) : (!a || pJ(o)) && delete e[t], r && o.subRows.length && mJ(o) && o.subRows.forEach((t) => gJ(e, t.id, n, r, i, a));}-function yJ(e, t) {- if (!hJ(e)) return !1;+function _J(e, t) {+ if (!pJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -60617,7 +60617,7 @@ function yJ(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!gJ(r)) {+ if (!mJ(r)) {s = !1;break;}@@ -60625,50 +60625,50 @@ function yJ(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function bJ(e, t) {+function vJ(e, t) {let n = t.table.getCoreRowModel().rowsById, r = t.parentId;for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;}-function xJ(e, t, n, r) {+function yJ(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = CJ(o, t);+ let o = e[a], s = xJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = xJ(o.subRows, t, n, r);+ let e = yJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- uq(t, o), t.subRows = e, i.push(t);+ cq(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function SJ(e, t) {- let n = [], r = dq(), i = t.atoms.rowSelection?.get() ?? {};+function bJ(e, t) {+ let n = [], r = lq(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: xJ(e.rows, i, n, r),+ rows: yJ(e.rows, i, n, r),flatRows: n,rowsById: r};}-function CJ(e, t) {- return !!(fq(t, e.id) && t[e.id]);+function xJ(e, t) {+ return !!(uq(t, e.id) && t[e.id]);}-function wJ(e) {+function SJ(e) {if (!e.subRows.length) return !1;let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;for (let a = 0; a < e.subRows.length; a++) {let o = e.subRows[a];if (n && !r) break;- if (hJ(o) && (i = !0, CJ(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = wJ(o);+ if (pJ(o) && (i = !0, xJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = SJ(o);e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;}}return i ? r ? "all" : n ? "some" : !1 : !1;}// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js-var TJ = {+var CJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -60676,11 +60676,11 @@ var TJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: vwe(),+ rowSelection: ywe(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: pq("rowSelection", e),+ onRowSelectionChange: dq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -60691,11 +60691,11 @@ var TJ = {}}),assignRowPrototype: (e, t) => {- Sq("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => fJ(e, t, n) },- row_getIsSelected: { fn: (e) => pJ(e) },+ bq("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => uJ(e, t, n) },+ row_getIsSelected: { fn: (e) => dJ(e) },row_getIsSomeSelected: {- fn: (e) => mJ(e),+ fn: (e) => fJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -60703,44 +60703,44 @@ var TJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => Dwe(e),+ fn: (e) => Owe(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => hJ(e) },- row_getCanSelectSubRows: { fn: (e) => gJ(e) },- row_getCanMultiSelect: { fn: (e) => _J(e) },- row_getToggleSelectedHandler: { fn: (e, t) => Owe(e, t) }+ row_getCanSelect: { fn: (e) => pJ(e) },+ row_getCanSelectSubRows: { fn: (e) => mJ(e) },+ row_getCanMultiSelect: { fn: (e) => hJ(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => kwe(e, t) }});},constructTableAPIs: (e) => {- xq("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => aJ(e, t) },- table_resetRowSelection: { fn: (t) => ywe(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => oJ(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => sJ(e, t, n) },- table_getPreSelectedRowModel: { fn: () => bwe(e) },+ yq("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => rJ(e, t) },+ table_resetRowSelection: { fn: (t) => bwe(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => iJ(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => aJ(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => xwe(e) },table_getSelectedRowModel: {- fn: () => xwe(e),+ fn: () => Swe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => Swe(e),+ fn: () => Cwe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => Cwe(e),+ fn: () => wwe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => cJ(e),+ fn: () => oJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => lJ(e),+ fn: () => sJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -60749,7 +60749,7 @@ var TJ = {]},table_getIsAllPageRowsSelected: {- fn: () => uJ(e),+ fn: () => cJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -60758,48 +60758,48 @@ var TJ = {]},table_getIsSomeRowsSelected: {- fn: () => dJ(e),+ fn: () => lJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => wwe(e),+ fn: () => Twe(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => Twe(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => Ewe(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => Ewe(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => Dwe(e) }});}-}, Awe = /([0-9]+)/gm;+}, jwe = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function jwe(e) {+function Mwe(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 EJ = /* @__PURE__ */ jwe({ sort: (e, t) => Mwe(e, t) });-function Mwe(e, t) {+var wJ = /* @__PURE__ */ Mwe({ sort: (e, t) => Nwe(e, t) });+function Nwe(e, t) {return e === t ? 0 : e > t ? 1 : -1;}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function Nwe() {+function Pwe() {return [];}-function DJ(e, t) {- _q(e, "sorting", t);+function TJ(e, t) {+ hq(e, "sorting", t);}-function OJ(e, t) {- DJ(e, t ? [] : lq(e.initialState.sorting ?? []));+function EJ(e, t) {+ TJ(e, t ? [] : sq(e.initialState.sorting ?? []));}-function Pwe(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && OJ(e);+function Fwe(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && EJ(e);}-function kJ(e) {+function DJ(e) {let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;for (let t = 0; t < n.length; t++) {let a = n[t].getValue(e.id);@@ -60807,7 +60807,7 @@ function kJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(Awe).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(jwe).length > 1)) {r = "alphanumeric";break;}@@ -60816,9 +60816,9 @@ function kJ(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return EJ;+ return wJ;}-function AJ(e) {+function OJ(e) {let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);for (let n = 0; n < t.length; n++) {let r = t[n].getValue(e.id);@@ -60826,14 +60826,14 @@ function AJ(e) {}return "desc";}-function jJ(e) {+function kJ(e) {let t = e.table._rowModelFns.sortFns;- return PSe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? kJ(e) : t?.[e.columnDef.sortFn] ?? EJ;+ return FSe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? DJ(e) : t?.[e.columnDef.sortFn] ?? wJ;}-function MJ(e, t, n) {- let r = PJ(e, n && IJ(e)), i = t !== void 0;- DJ(e.table, (a) => {- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && IJ(e) && n);+function AJ(e, t, n) {+ let r = MJ(e, n && PJ(e)), i = t !== void 0;+ TJ(e.table, (a) => {+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && PJ(e) && n);return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {id: e.id,desc: u@@ -60849,40 +60849,40 @@ function MJ(e, t, n) {}], c;});}-function NJ(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? AJ(e) === "desc" ? "desc" : "asc";+function jJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? OJ(e) === "desc" ? "desc" : "asc";}-function PJ(e, t) {- let n = NJ(e), r = LJ(e);+function MJ(e, t) {+ let n = jJ(e), r = FJ(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function FJ(e) {+function NJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function IJ(e) {+function PJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function LJ(e) {+function FJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function Fwe(e) {- return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;-}function Iwe(e) {- DJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+ return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}function Lwe(e) {- let t = FJ(e);+ TJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+}+function Rwe(e) {+ let t = NJ(e);return (n) => {- t && MJ(e, void 0, IJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && AJ(e, void 0, PJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var RJ = {+var IJ = {getInitialState(e) {return {- sorting: Nwe(),+ sorting: Pwe(),...e};},@@ -60895,58 +60895,58 @@ var RJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: pq("sorting", e),+ onSortingChange: dq("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- Sq("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => kJ(e) },- column_getAutoSortDir: { fn: (e) => AJ(e) },- column_getSortFn: { fn: (e) => jJ(e) },- column_toggleSorting: { fn: (e, t, n) => MJ(e, t, n) },- column_getFirstSortDir: { fn: (e) => NJ(e) },- column_getNextSortingOrder: { fn: (e, t) => PJ(e, t) },- column_getCanSort: { fn: (e) => FJ(e) },- column_getCanMultiSort: { fn: (e) => IJ(e) },- column_getIsSorted: { fn: (e) => LJ(e) },- column_getSortIndex: { fn: (e) => Fwe(e) },- column_clearSorting: { fn: (e) => Iwe(e) },- column_getToggleSortingHandler: { fn: (e) => Lwe(e) }+ bq("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => DJ(e) },+ column_getAutoSortDir: { fn: (e) => OJ(e) },+ column_getSortFn: { fn: (e) => kJ(e) },+ column_toggleSorting: { fn: (e, t, n) => AJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => jJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => MJ(e, t) },+ column_getCanSort: { fn: (e) => NJ(e) },+ column_getCanMultiSort: { fn: (e) => PJ(e) },+ column_getIsSorted: { fn: (e) => FJ(e) },+ column_getSortIndex: { fn: (e) => Iwe(e) },+ column_clearSorting: { fn: (e) => Lwe(e) },+ column_getToggleSortingHandler: { fn: (e) => Rwe(e) }});},constructTableAPIs(e) {- xq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => Pwe(e) },- table_setSorting: { fn: (t) => DJ(e, t) },- table_resetSorting: { fn: (t) => OJ(e, t) }+ yq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => Fwe(e) },+ table_setSorting: { fn: (t) => TJ(e, t) },+ table_resetSorting: { fn: (t) => EJ(e, t) }});}-}, Rwe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;-function zJ(e, t) {+}, zwe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;+function LJ(e, t) {let [{ table: n, rootSource: r }] = (0, F.useState)(() => {- let t = QCe({+ let t = $Ce({...e,features: {- coreReactivityFeature: jSe(),+ coreReactivityFeature: MSe(),...e.features}});- return t.Subscribe = ((e) => DSe({+ return t.Subscribe = ((e) => OSe({...e,source: e.source ?? t.store- })), t.FlexRender = gSe, {+ })), t.FlexRender = _Se, {table: t,- rootSource: ASe(t.store, iq)+ rootSource: jSe(t.store, nq)};}), i = n;- Rq(i, (t) => ({+ Iq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = sq(r, t, { compare: iq });- return Rwe(() => {- r.markCommitted(o), Lq(i, a ?? null, iq);+ let a = i.options.state, o = r.get(), s = aq(r, t, { compare: nq });+ return zwe(() => {+ r.markCommitted(o), Fq(i, a ?? null, nq);}), (0, F.useMemo)(() => ({...n,options: e,@@ -60958,18 +60958,18 @@ function zJ(e, t) {]);}// src/react/boardui/components/base/table/table.tsx-function BJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function RJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("div", {- className: q("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, I.jsx)(Ahe, {+ className: J("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, I.jsx)(jhe, {ref: r,...i,- className: q("bui-table", e === "sm" && "bui-table-sm", t)+ className: J("bui-table", e === "sm" && "bui-table-sm", t)})});}// src/react/catalog-grid/catalog-table-columns.ts-var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibility.v1", zwe = {+var zJ = "peach.catalog-column-widths.v1", BJ = "peach.catalog-column-visibility.v1", Bwe = {select: {width: 48,min: 48,@@ -61045,14 +61045,14 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibilitymin: 112,max: 400}-}, Bwe = {+}, Vwe = {release: !1,played: !1,o: !1,resolution: !1,size: !1,code: !1-}, Vwe = {+}, Hwe = {select: "选择",name: "作品",dur: "时长",@@ -61068,7 +61068,7 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibilitytags: "标签",library: "媒体库",people: "艺人"-}, UJ = [+}, VJ = ["select","name","people",@@ -61086,13 +61086,13 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibility"code"].map((e) => ({id: e,- label: Vwe[e],- ...zwe[e],+ label: Hwe[e],+ ...Bwe[e],flex: e === "name",required: e === "select" || e === "name",- visible: Bwe[e] !== !1+ visible: Vwe[e] !== !1}));-function WJ(e) {+function HJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -61100,11 +61100,11 @@ function WJ(e) {return {};}}-function Hwe() {- return GJ(UJ, VJ, HJ);+function Uwe() {+ return UJ(VJ, zJ, BJ);}-function GJ(e, t, n) {- let r = WJ(t), i = WJ(n);+function UJ(e, t, n) {+ let r = HJ(t), i = HJ(n);return e.filter((e) => e.id !== "select" && (e.required || (typeof i[e.id] == "boolean" ? i[e.id] === !0 : e.visible))).map((e) => {let t = r[e.id], n = typeof t == "number" && Number.isFinite(t) && !(e.flex && t === e.width);return {@@ -61116,43 +61116,43 @@ function GJ(e, t, n) {});}// src/react/library-processing/completion-row.ts-var KJ = "peach.catalog.completion-row";-function qJ() {+var WJ = "peach.catalog.completion-row";+function GJ() {try {- return localStorage.getItem(KJ) === "1";+ return localStorage.getItem(WJ) === "1";} catch {return !1;}}-function Uwe(e) {+function Wwe(e) {try {- e ? localStorage.setItem(KJ, "1") : localStorage.removeItem(KJ);+ e ? localStorage.setItem(WJ, "1") : localStorage.removeItem(WJ);} catch {}}-var Wwe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var Gwe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.ts-function JJ(e) {+function KJ(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : e === "people" || e === "library" || e === "studio" ? `<span data-list-skeleton-mark="${e}"><b class="skeleton-sheen"></b><i class="skeleton-sheen"></i></span>` : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function Gwe(e) {- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + YJ(Hwe(), qJ() ? Wwe : "") + "</div>";+function Kwe(e) {+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + qJ(Uwe(), GJ() ? Gwe : "") + "</div>";}-function YJ(e, t = "") {- let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${JJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+function qJ(e, t = "") {+ let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${KJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;return "<div data-list-skeleton aria-hidden=\"true\"><div data-list-skeleton-tools><i class=\"skeleton-sheen\"></i></div>" + t + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div>`;}-function XJ(e, t) {- return yG() === "list" ? Gwe(e) : sc(e, {+function JJ(e, t) {+ return _G() === "list" ? Kwe(e) : sc(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t});}// src/react/components/data-table-frame.tsx-var Kwe = () => {+var qwe = () => {document.documentElement.dataset.columnResizing = "";};-function ZJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function YJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, F.useRef)(null);return (0, F.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;@@ -61166,11 +61166,11 @@ function ZJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && gK(e, r) && n(r.dataset.key);+ r && mK(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, I.jsx)(Ohe, {+ children: r ? /* @__PURE__ */ (0, I.jsx)(khe, {className: "relative min-w-0",- onResizeStart: Kwe,+ onResizeStart: qwe,onResize: r.resize,onResizeEnd: (e) => {delete document.documentElement.dataset.columnResizing, r.save(e);@@ -61180,7 +61180,7 @@ function ZJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {});}// src/react/components/table-column-preferences.ts-function QJ(e) {+function XJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -61188,17 +61188,17 @@ function QJ(e) {return {};}}-function $J(e, t) {+function ZJ(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function qwe(e, t) {+function Jwe(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];})), [r, i] = (0, F.useState)(() => {- let r = QJ(e);+ let r = XJ(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -61215,7 +61215,7 @@ function qwe(e, t) {...r,...Object.fromEntries(t)});- i(a), $J(e, a);+ i(a), ZJ(e, a);},reset: () => {i(n({}));@@ -61225,26 +61225,26 @@ function qwe(e, t) {}};}-function Jwe(e, t, n, r = {}) {+function Ywe(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))- }), [a, o] = (0, F.useState)(() => i(QJ(e)));+ }), [a, o] = (0, F.useState)(() => i(XJ(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), $J(e, n);+ o(n), ZJ(e, n);}};}-function eY(e, t, n) {+function QJ(e, t, n) {let r = (0, F.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = qwe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = Jwe(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 = Jwe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = Ywe(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,@@ -61263,15 +61263,15 @@ function eY(e, t, n) {};}// src/react/catalog-grid/catalog-column-widths.ts-function Ywe() {- return eY("catalog", UJ, {- widths: VJ,- visibility: HJ+function Xwe() {+ return QJ("catalog", VJ, {+ widths: zJ,+ visibility: BJ});}// src/react/components/rating-stars.tsx-var tY = cV("star");-function nY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var $J = oV("star");+function eY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-stars": "",@@ -61294,25 +61294,25 @@ function nY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Hs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(tY, {})+ children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Hs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)($J, {})}, e) : /* @__PURE__ */ (0, I.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, I.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, I.jsx)(tY, {}), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)($J, {}), /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, I.jsx)(tY, {})+ children: /* @__PURE__ */ (0, I.jsx)($J, {})})]})}, e))});}// src/react/catalog-grid/catalog-table-controls.tsx-function Xwe({ item: e, actions: t }) {- let { rating: n } = e, r = uH(), i = (0, F.useRef)(0), a = cP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- aP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function Zwe({ item: e, actions: t }) {+ let { rating: n } = e, r = cH(), i = (0, F.useRef)(0), a = oP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ rP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -61324,13 +61324,13 @@ function Xwe({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, I.jsx)(nY, {+ children: [/* @__PURE__ */ (0, I.jsx)(eY, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small","aria-label": "立即重试评分",@@ -61341,7 +61341,7 @@ function Xwe({ item: e, actions: t }) {}) : null]});}-function rY(e) {+function tY(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -61356,22 +61356,22 @@ function rY(e) {});}// src/react/components/selection-actions.tsx-function iY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {+function nY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-selection-actions": "","data-action-layout": t,- className: q("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),- children: [n, e.map((e) => e.href === void 0 ? /* @__PURE__ */ (0, I.jsx)(J, {+ className: J("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),+ children: [n, e.map((e) => e.href === void 0 ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",size: "small",disabled: e.disabled,className: t === "inline" ? "shrink-0" : "w-full",onClick: e.onPress,children: e.label- }, e.label) : /* @__PURE__ */ (0, I.jsx)(lH, {+ }, e.label) : /* @__PURE__ */ (0, I.jsx)(sH, {size: "small",href: e.href,- trailingIcon: mB,+ trailingIcon: fB,className: t === "inline" ? "shrink-0" : "w-full",disabled: e.disabled,onClick: r,@@ -61380,15 +61380,15 @@ function iY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {});}// src/react/components/selection-popover.tsx-function aY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {- let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(iY, {+function rY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {+ let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(nY, {actions: a,layout: o,onNavigate: () => u(!1)}, "actions"), f = /* @__PURE__ */ (0, I.jsx)("div", {"data-selection-options": "",className: "flex min-w-0 flex-col gap-1",- children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(PV, {+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(MV, {isSelected: e.selected,className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",isDisabled: e.disabled,@@ -61399,7 +61399,7 @@ function aY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,children: s})}, "options");- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(J, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Y, {ref: c,variant: "secondary",leadingIcon: n,@@ -61408,14 +61408,14 @@ function aY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,"aria-label": t,onClick: () => u(!0),children: t- }), /* @__PURE__ */ (0, I.jsx)(sz, {+ }), /* @__PURE__ */ (0, I.jsx)(az, {triggerRef: c,isOpen: l,onOpenChange: u,placement: "bottom end",offset: 4,- className: q(DV, "w-max overscroll-contain"),- children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(pH, {+ className: J(TV, "w-max overscroll-contain"),+ children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(dH, {"aria-label": e,"data-selection-placement": t ?? "bottom",className: "flex w-max max-w-full flex-col gap-2 outline-none",@@ -61424,13 +61424,13 @@ function aY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,})] });}// src/react/components/table-column-controls.tsx-function oY({ preferences: e, label: t = "表格" }) {+function iY({ preferences: e, label: t = "表格" }) {let n = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, I.jsxs)("div", {role: "group","aria-label": `${t}列设置`,className: "flex flex-none gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(aY, {+ children: [/* @__PURE__ */ (0, I.jsx)(rY, {label: `${t}显示列`,triggerLabel: "显示列",actionLayout: "fullWidth",@@ -61450,7 +61450,7 @@ function oY({ preferences: e, label: t = "表格" }) {label: "恢复默认显示",onPress: () => e.change({})}]- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "medium",onClick: e.reset,@@ -61458,39 +61458,39 @@ function oY({ preferences: e, label: t = "表格" }) {})]});}-function sY({ preferences: e, id: t }) {+function aY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(zhe, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Bhe, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsx-function cY(e, t) {+function oY(e, t) {let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;return {all: n.length > 0 && r === n.length,some: r > 0 && r < n.length};}-function lY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = cY(e, n);- return /* @__PURE__ */ (0, I.jsx)(PV, {+function sY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = oY(e, n);+ return /* @__PURE__ */ (0, I.jsx)(MV, {slot: null,"aria-label": t,isDisabled: r,isSelected: i,isIndeterminate: a,onChange: () => {- let t = !cY(e, n).all;+ let t = !oY(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}// src/react/catalog-grid/catalog-list-page.tsx-var Zwe = Bq({- rowSortingFeature: RJ,- rowSelectionFeature: TJ,- rowPaginationFeature: iJ,- columnVisibilityFeature: Jq-}), uY = UJ.map((e) => e.id), Qwe = [+var Qwe = Rq({+ rowSortingFeature: IJ,+ rowSelectionFeature: CJ,+ rowPaginationFeature: nJ,+ columnVisibilityFeature: Kq+}), cY = VJ.map((e) => e.id), $we = [{id: "name",label: "名称"@@ -61527,12 +61527,12 @@ var Zwe = Bq({id: "played",label: "观看时间"}-], dY = /* @__PURE__ */ new Map();-function $we(e) {- let t = Ywe(), n = hK(), r = eP(e.filters || {}, !1), [i] = (0, F.useState)(() => {+], lY = /* @__PURE__ */ new Map();+function eTe(e) {+ let t = Xwe(), n = pK(), r = QN(e.filters || {}, !1), [i] = (0, F.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [a, o] = (0, F.useState)(() => dY.get(i) || {+ }), [a, o] = (0, F.useState)(() => lY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -61540,7 +61540,7 @@ function $we(e) {}}), { sorting: s, pagination: c } = a;(0, F.useEffect)(() => {- dY.set(i, a);+ lY.set(i, a);}, [i, a]);let l = c.pageIndex * c.pageSize, u = s[0], d = Ft({queryKey: [@@ -61571,9 +61571,9 @@ function $we(e) {libraryEmpty: (await B("/api/items?limit=1&thumb=0", t)).total === 0};}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : WK(f, e.layout.javImage), [h] = (0, F.useState)(qJ);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : HK(f, e.layout.javImage), [h] = (0, F.useState)(GJ);(0, F.useEffect)(() => {- d.data && !d.isPlaceholderData && Uwe(m.length > 0);+ d.data && !d.isPlaceholderData && Wwe(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -61605,19 +61605,19 @@ function $we(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = zJ({- features: Zwe,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = LJ({+ features: Qwe,columns: (0, F.useMemo)(() => {- let t = zq();+ let t = Lq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(lY, {+ header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(sY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(PV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(MV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -61629,7 +61629,7 @@ function $we(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(eTe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(tTe, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -61638,12 +61638,12 @@ function $we(e) {t.display({id: "library",header: "媒体库",- cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(tTe, { item: e.original })+ cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(nTe, { item: e.original })}),t.display({id: "people",header: "艺人",- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(nTe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(rTe, {item: t.original,props: e})@@ -61699,7 +61699,7 @@ function $we(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(Xwe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(Zwe, {item: t.original,actions: e.actions})@@ -61720,13 +61720,13 @@ function $we(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => rY(e.original.last_played)+ cell: ({ row: e }) => tY(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => rY(e.original.first_seen)+ cell: ({ row: e }) => tY(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -61734,7 +61734,7 @@ function $we(e) {enableSorting: !0,cell: ({ row: e }) => e.original.release_date || "—"})- ]).sort((e, t) => uY.indexOf(e.id) - uY.indexOf(t.id));+ ]).sort((e, t) => cY.indexOf(e.id) - cY.indexOf(t.id));}, [e.helpers,e.actions,@@ -61797,9 +61797,9 @@ function $we(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(oY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)($U, {+ children: [/* @__PURE__ */ (0, I.jsx)(iY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(ZU, {label: "作品列表",- options: Qwe,+ options: $we,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -61809,21 +61809,21 @@ function $we(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, I.jsx)(GK, {+ }) : null : /* @__PURE__ */ (0, I.jsx)(UK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, I.jsx)(XG, {+ d.isError ? /* @__PURE__ */ (0, I.jsx)(JG, {message: xn(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, I.jsx)(ZJ, {+ /* @__PURE__ */ (0, I.jsx)(YJ, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, I.jsxs)(BJ, {+ children: /* @__PURE__ */ (0, I.jsxs)(RJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -61834,48 +61834,48 @@ function $we(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, I.jsxs)(Yz, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(Xz, {+ children: [/* @__PURE__ */ (0, I.jsxs)(qz, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(Jz, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex items-center gap-0.5",- children: [KK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {+ children: [WK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, I.jsx)(wV, {})+ children: /* @__PURE__ */ (0, I.jsx)(SV, {})}) : null]- }), /* @__PURE__ */ (0, I.jsx)(sY, {+ }), /* @__PURE__ */ (0, I.jsx)(aY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, I.jsx)(Xz, {+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(Jz, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, I.jsx)($z, {+ })] }), /* @__PURE__ */ (0, I.jsx)(Zz, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(nB, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(eB, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(iB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: JJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(iB, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(nB, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(nB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: KJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(nB, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(eB, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(iB, { children: KK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(iB, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(nB, { children: WK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(nB, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, I.jsx)(eW, {+ d.data ? /* @__PURE__ */ (0, I.jsx)(QU, {label: "作品列表",total: p,pagination: c,@@ -61886,9 +61886,9 @@ function $we(e) {]});}-function eTe({ item: e, props: t, disabled: n }) {+function tTe({ item: e, props: t, disabled: n }) {let r = Eo(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() || "未命名作品";- $I();+ ZI();let l = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, u = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), d = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -61908,7 +61908,7 @@ function eTe({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, I.jsx)(tW, {+ r.html ? /* @__PURE__ */ (0, I.jsx)($U, {artwork: r,relayout: (e) => Ol(e, "small")}) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),@@ -61960,17 +61960,17 @@ function eTe({ item: e, props: t, disabled: n }) {})]});}-function tTe({ item: e }) {- let t = hK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;+function nTe({ item: e }) {+ let t = pK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;return n?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-library": "",title: `媒体库:${n.name}`,- children: [/* @__PURE__ */ (0, I.jsx)(IH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]+ children: [/* @__PURE__ */ (0, I.jsx)(PH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]}) : "—";}-function nTe({ item: e, props: t }) {- $I();- let { avatar: n, who: r } = CK(e);+function rTe({ item: e, props: t }) {+ ZI();+ let { avatar: n, who: r } = xK(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-list-people": "",onClick: (e) => {@@ -61982,22 +61982,22 @@ function nTe({ item: e, props: t }) {});}// src/react/catalog-grid/catalog-grid-page.tsx-function fY(e) {- let t = bG();- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(iTe, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${eP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)($we, { ...e }, n);+function uY(e) {+ let t = vG();+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(aTe, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${QN(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(eTe, { ...e }, n);let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;- return /* @__PURE__ */ (0, I.jsx)(aTe, { ...e }, r);+ return /* @__PURE__ */ (0, I.jsx)(oTe, { ...e }, r);}-function rTe({ name: e }) {+function iTe({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function pY({ children: e, selectMode: t }) {+function dY({ children: e, selectMode: t }) {let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = n.current;@@ -62013,8 +62013,8 @@ function pY({ children: e, selectMode: t }) {children: e});}-function iTe(e) {- let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(TK, {+function aTe(e) {+ let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(CK, {item: i,variant: r,layout: e.layout,@@ -62028,13 +62028,13 @@ function iTe(e) {return r === "next" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, I.jsx)(pY, {+ }) : /* @__PURE__ */ (0, I.jsx)(dY, {selectMode: e.selectMode,children: i});}-function aTe(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? rde(e) : tP(e), [s] = (0, F.useState)(() => e.wall ? nP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? nP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {+function oTe(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? ide(e) : $N(e), [s] = (0, F.useState)(() => e.wall ? eP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? eP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -62060,7 +62060,7 @@ function aTe(e) {u.isPlaceholderData,e.revision]);- let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => ade(u.data?.pages || [], {+ let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => ode(u.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -62070,7 +62070,7 @@ function aTe(e) {e.mix,a,r.javImage- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || xbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && gbe(e.item) ? [e.item] : []), y = a ? [] : WK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = oTe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Sbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && _be(e.item) ? [e.item] : []), y = a ? [] : HK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = sTe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);(0, F.useLayoutEffect)(() => {if (!u.data || u.isPlaceholderData) return;let t = !0;@@ -62098,12 +62098,12 @@ function aTe(e) {let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {let e = await u.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(cTe, {+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(lTe, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(TK, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(CK, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -62115,8 +62115,8 @@ function aTe(e) {actions: n,onOpen: a ? w : C}, i.item.id), O = () => {- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(sSe, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${eP(e.filters || {}, !!e.excludeVertical)}`,+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(cSe, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${QN(e.filters || {}, !!e.excludeVertical)}`,items: v,finite: g,hasMore: !!u.hasNextPage,@@ -62124,7 +62124,7 @@ function aTe(e) {loading: u.isPending || !u.data && u.isFetching,error: !u.data && !u.isPending ? xn(u.error) : "",retry: () => void u.refetch(),- emptyHtml: u.data && !v.length ? uSe({+ emptyHtml: u.data && !v.length ? dSe({libraryEmpty: !!u.data.pages[0]?.libraryEmpty,matches: h,hasMore: !!u.hasNextPage,@@ -62139,7 +62139,7 @@ function aTe(e) {javImage: r.javImage}, g ? "finite" : "explore");if (u.isPending) return null;- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(XG, {+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(JG, {message: xn(u.error),onRetry: () => void u.refetch()});@@ -62156,12 +62156,12 @@ function aTe(e) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: cde(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(pY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(sTe, {+ children: lde(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(dY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(cTe, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(mY, {+ }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(fY, {entity: i,load: E,enabled: () => !u.isPlaceholderData && e.canLoadMore?.() !== !1@@ -62171,14 +62171,14 @@ function aTe(e) {ref: b,"data-media-body": "","aria-busy": u.isFetching && !u.isFetchingNextPage,- children: [/* @__PURE__ */ (0, I.jsx)(GK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: [/* @__PURE__ */ (0, I.jsx)(UK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(YG, {pending: u.isPending,skeletonHtml: e.skeletonHtml,children: O()})]});}-function mY({ entity: e, load: t, enabled: n, children: r }) {+function fY({ entity: e, load: t, enabled: n, children: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(!1), s = (0, F.useRef)(!1), [c, l] = (0, F.useState)({busy: !1,error: ""@@ -62220,7 +62220,7 @@ function mY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: YG });+ }, { rootMargin: qG });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -62243,18 +62243,18 @@ function mY({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: Ws(Us) }- }), c.error ? /* @__PURE__ */ (0, I.jsx)(XG, {+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(JG, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function oTe(e, t, n, r, i) {- let a = ["catalog-short-layout", eP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {+function sTe(e, t, n, r, i) {+ let a = ["catalog-short-layout", QN(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {let t = e.restoreNavigation ? H.getQueryData(a) : void 0, n = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()};- return t && rP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {+ return t && tP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {stamp: o,cuts: t?.cuts || [],offset: t?.offset || 0,@@ -62280,7 +62280,7 @@ function oTe(e, t, n, r, i) {let r = new AbortController();p.controllers.push(r);let i = n - 1;- B(`/api/items?${sde(e.filters || {}, p.offset)}`, r.signal).then((e) => {+ B(`/api/items?${cde(e.filters || {}, p.offset)}`, r.signal).then((e) => {if (c.current !== p || r.signal.aborted) return;let t = e.items || [];t.length ? f({@@ -62294,9 +62294,9 @@ function oTe(e, t, n, r, i) {}, [t, p]), (0, F.useLayoutEffect)(() => {if (!d || d.stamp !== o) return;f(null);- let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = ode(n.length - t, h, l);+ let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = sde(n.length - t, h, l);if (!g.length) return;- let _ = rP(d.items, p.groups, e.groupCollapse !== !1);+ let _ = tP(d.items, p.groups, e.groupCollapse !== !1);if (p.offset = d.more ? p.offset + 18 : 0, !_.length) return;let v = t + (g[Math.floor(Math.random() * g.length)] ?? 0), y = [...m, {at: v,@@ -62313,7 +62313,7 @@ function oTe(e, t, n, r, i) {});}, [d]), m;}-function sTe({ cut: e, props: t, onOpen: n }) {+function cTe({ cut: e, props: t, onOpen: n }) {let r = (0, F.useRef)(null), { wireDrag: i } = t;return (0, F.useEffect)(() => {r.current && i(r.current);@@ -62329,12 +62329,12 @@ function sTe({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, I.jsx)(rTe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, I.jsx)(iTe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, I.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(TK, {+ children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(CK, {item: e,variant: "short",layout: t.layout,@@ -62349,17 +62349,17 @@ function sTe({ cut: e, props: t, onOpen: n }) {})]});}-function hY(e, t, n) {+function pY(e, t, n) {return Do(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function cTe({ seed: e, layout: t, helpers: n, actions: r }) {+function lTe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);a.current = t;let o = No(e, n.tagLabel), s = (0, F.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => iP(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), hY(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = hY(e, t, !1);- return /* @__PURE__ */ (0, I.jsx)(kK, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => nP(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), pY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = pY(e, t, !1);+ return /* @__PURE__ */ (0, I.jsx)(DK, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -62369,12 +62369,12 @@ function cTe({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : hY(e, {+ artworkIdentity: c === "small" ? l.html : pY(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => Ol(e, c),- ratio: SK(e, "grid", t),+ ratio: bK(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -62385,40 +62385,40 @@ function cTe({ seed: e, layout: t, helpers: n, actions: r }) {});}// src/react/media-sources.ts-async function gY(e) {+async function mY(e) {await H.fetchQuery({queryKey: yr,queryFn: () => br(e)});}-var lTe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), uTe = "/api/duplicates?limit=120", _Y = ["duplicates"], vY = "/api/batch", dTe = (e, t) => V(vY, {+var uTe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), dTe = "/api/duplicates?limit=120", hY = ["duplicates"], gY = "/api/batch", fTe = (e, t) => V(gY, {ids: e,operation: t ? "keep-duplicates" : "reconsider-duplicates"-}), yY = (e) => B(uTe, e), fTe = /[\s\-_.()[\]【】/\\]/;-function pTe(e) {+}), _Y = (e) => B(dTe, e), pTe = /[\s\-_.()[\]【】/\\]/;+function mTe(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 && !fTe.test(n[r - 1]);) --r;+ for (; r > 0 && !pTe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var mTe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function hTe(e) {+var hTe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function gTe(e) {await Promise.all([H.fetchQuery({- queryKey: _Y,- queryFn: () => yY(e)- }), gY(e)]);+ queryKey: hY,+ queryFn: () => _Y(e)+ }), mY(e)]);}-var gTe = {+var _Te = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, _Te = (e, t) => t.filter((t) => e.some((e) => e.location === t)), bY = (e, t) => _Te(e, t).filter((t) => e.some((e) => e.location !== t)), vTe = (e, t) => t.filter((t) => e.some((e) => bY(e.files, [t]).length));-function yTe(e, t) {+}, vTe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), vY = (e, t) => vTe(e, t).filter((t) => e.some((e) => e.location !== t)), yTe = (e, t) => t.filter((t) => e.some((e) => vY(e.files, [t]).length));+function bTe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -62437,19 +62437,19 @@ function yTe(e, t) {}return n;}-function bTe(e, t) {+function xTe(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 xTe(e, t) {- for (let n = 0; n < e.length; n += 200) await V(vY, {+async function STe(e, t) {+ for (let n = 0; n < e.length; n += 200) await V(gY, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}});}// src/react/media-repair/media-repair.ts-var xY = "/api/media-repair", SY = ["media-repair"], CY = ["media-repair", "libraries"], STe = {+var yY = "/api/media-repair", bY = ["media-repair"], xY = ["media-repair", "libraries"], CTe = {status: "idle",library: "",stage: "",@@ -62461,39 +62461,39 @@ var xY = "/api/media-repair", SY = ["media-repair"], CY = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, wY = (e) => B(xY, e), TY = async (e) => (await B("/api/libraries", e)).libraries || [];-async function CTe(e) {+}, SY = (e) => B(yY, e), CY = async (e) => (await B("/api/libraries", e)).libraries || [];+async function wTe(e) {await Promise.all([H.fetchQuery({- queryKey: SY,- queryFn: () => wY(e)+ queryKey: bY,+ queryFn: () => SY(e)}), H.fetchQuery({- queryKey: CY,- queryFn: () => TY(e)+ queryKey: xY,+ queryFn: () => CY(e)})]);}-var EY = (e) => Number(e).toLocaleString();-function wTe(e) {+var wY = (e) => Number(e).toLocaleString();+function TTe(e) {if (e.status === "running") {- let t = e.total ? `${EY(Math.min(e.checked || 0, e.total))} / ${EY(e.total)}` : "准备中";+ let t = e.total ? `${wY(Math.min(e.checked || 0, e.total))} / ${wY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${EY(e.repaired)} 部,${EY(e.failed)} 部修不了` : `修好 ${EY(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${wY(e.repaired)} 部,${wY(e.failed)} 部修不了` : `修好 ${wY(e.repaired)} 部` : "";}-var TTe = (e) => `${EY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, ETe = "/api/quality-goals?limit=200", DY = ["quality-goals"], OY = (e) => B(ETe, e);-async function DTe(e) {+var ETe = (e) => `${wY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, DTe = "/api/quality-goals?limit=200", TY = ["quality-goals"], EY = (e) => B(DTe, e);+async function OTe(e) {await H.fetchQuery({- queryKey: DY,- queryFn: () => OY(e)+ queryKey: TY,+ queryFn: () => EY(e)});}-var OTe = (e) => e.has_cover ? uo(e) : `/poster?id=${e.id}&c=4`;+var kTe = (e) => e.has_cover ? uo(e) : `/poster?id=${e.id}&c=4`;// src/selection.ts-function kY(e, t, n, r, i, a = i || !e.has(r)) {+function DY(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}// src/react/review/review.ts-var kTe = "/api/review", ATe = "/api/review/decision", jTe = "/api/review/genre", AY = ["review"], jY = {+var ATe = "/api/review", jTe = "/api/review/decision", MTe = "/api/review/genre", OY = ["review"], kY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -62503,40 +62503,40 @@ var kTe = "/api/review", ATe = "/api/review/decision", jTe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, MTe = Object.keys(jY), NTe = "metadata_fields", MY = (e) => typeof e == "string" && Object.hasOwn(jY, e), PTe = {+}, NTe = Object.keys(kY), PTe = "metadata_fields", AY = (e) => typeof e == "string" && Object.hasOwn(kY, e), FTe = {creator_tags: "creator",western_identity: "creator"-}, NY = [+}, jY = ["pending","later","ignored"-], PY = {+], MY = {pending: "待处理",later: "稍后处理",ignored: "已忽略"-}, FTe = {+}, ITe = {approved: "已通过",rejected: "已忽略",skipped: "稍后处理"-}, FY = (e) => e === "later" || e === "ignored" ? e : "pending", IY = (e, t) => t === "pending" ? {+}, NY = (e) => e === "later" || e === "ignored" ? e : "pending", PY = (e, t) => t === "pending" ? {sections: e.sections,counts: e.counts} : e.queues[t];-function ITe(e, t) {+function LTe(e, t) {return {...e,- ...t(IY(e, "pending")),+ ...t(PY(e, "pending")),queues: {later: t(e.queues.later),ignored: t(e.queues.ignored)}};}-function LTe(e, t) {+function RTe(e, t) {let n = [["candidates", t ? "按来源数量" : "不分组"]];return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;}-function LY(e, t) {+function FY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -62553,10 +62553,10 @@ function LY(e, t) {}return [...n.values()];}-function RTe(e, t, n) {- return n && LY(e, t).find((e) => e.key === n)?.rows || e;+function zTe(e, t, n) {+ return n && FY(e, t).find((e) => e.key === n)?.rows || e;}-function zTe(e, t, n = 20) {+function BTe(e, t, n = 20) {let r = gr(e.length, n), i = _r(t, r);return {page: i,@@ -62564,32 +62564,32 @@ function zTe(e, t, n = 20) {rows: e.slice((i - 1) * n, i * n)};}-function BTe(e) {+function VTe(e) {return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];}-function VTe(e, t, n, r, i, a) {- return kY(e, t, n, r, i, a);+function HTe(e, t, n, r, i, a) {+ return DY(e, t, n, r, i, a);}-function HTe(e, t) {+function UTe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function RY(e, t) {+function IY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var zY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function UTe(e, t) {- let n = RY(e, t), r = zY(e, t);+var LY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function WTe(e, t) {+ let n = IY(e, t), r = LY(e, t);return r ? `${n} · ${r}` : n;}-var WTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", GTe = (e) => String(e.tags || "").split("|").filter(Boolean), KTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function qTe(e) {+var GTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", KTe = (e) => String(e.tags || "").split("|").filter(Boolean), qTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function JTe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function JTe(e, t, n, r) {+function YTe(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -62605,22 +62605,22 @@ function JTe(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var YTe = (e) => ({+var XTe = (e) => ({approved: "已通过资料",rejected: "已忽略资料",skipped: "已移至稍后处理",restore: "已恢复待处理"})[e];-async function BY(e) {- let t = await B(kTe, e);- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${PY[e]}状态未取得,请刷新或更新写入端`);+async function RY(e) {+ let t = await B(ATe, e);+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${MY[e]}状态未取得,请刷新或更新写入端`);return t;}-async function XTe(e) {- let t = await V(ATe, e);+async function ZTe(e) {+ let t = await V(jTe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(AY, (t) => t && ITe(t, (t) => ({+ H.setQueryData(OY, (t) => t && LTe(t, (t) => ({...t,sections: {...t.sections,@@ -62636,33 +62636,33 @@ async function XTe(e) {}return t;}-function ZTe(e, t) {- let n = H.getQueryData(AY);- return n && NY.flatMap((t) => IY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;+function QTe(e, t) {+ let n = H.getQueryData(OY);+ return n && jY.flatMap((t) => PY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}-var QTe = (e, t) => V(jTe, {+var $Te = (e, t) => V(MTe, {genre: e,tag: t});-async function $Te(e) {+async function eEe(e) {await H.fetchQuery({- queryKey: AY,- queryFn: () => BY(e)+ queryKey: OY,+ queryFn: () => RY(e)});}-function eEe(e, t, n) {+function tEe(e, t, n) {let r = new Set(t);- r.size && H.setQueryData(AY, (t) => {+ r.size && H.setQueryData(OY, (t) => {if (!t) return t;- let i = NY.flatMap((n) => IY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));+ let i = jY.flatMap((n) => PY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));if (!i.length) return t;let a = {skipped: "later",rejected: "ignored",restore: "pending",approved: null- }[n], o = Object.fromEntries(NY.map((o) => {- let s = IY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({+ }[n], o = Object.fromEntries(jY.map((o) => {+ let s = PY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({...e,decision: n === "restore" ? "pending" : n,decision_note: ""@@ -62689,70 +62689,70 @@ function eEe(e, t, n) {};});}-var tEe = () => H.invalidateQueries({- queryKey: AY,+var nEe = () => H.invalidateQueries({+ queryKey: OY,exact: !0});-function nEe(e, t) {+function rEe(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Cr(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var rEe = "/api/links", VY = "/api/links/check", HY = "/api/links/prune", UY = ["links"], WY = ["links", "check"], iEe = ["links", "prune"], aEe = {+var iEe = "/api/links", zY = "/api/links/check", BY = "/api/links/prune", VY = ["links"], HY = ["links", "check"], UY = ["links", "prune"], aEe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function GY(e) {+async function WY(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var KY = (e) => B(rEe, e), qY = (e) => V(VY, { status_only: !0 }, "POST", e), oEe = ({ retry: e, checkId: t }) => GY(V(VY, e ? {+var GY = (e) => B(iEe, e), KY = (e) => V(zY, { status_only: !0 }, "POST", e), oEe = ({ retry: e, checkId: t }) => WY(V(zY, e ? {retry: e,check_id: t-} : { restart: !0 })), JY = (e) => B(HY, e), sEe = ({ checkId: e, ids: t }) => GY(V(HY, {+} : { restart: !0 })), qY = (e) => B(BY, e), sEe = ({ checkId: e, ids: t }) => WY(V(BY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), YY = (e) => Number(e || 0).toLocaleString(), cEe = (e) => `已删除 ${YY(e.removed)} 条;${e.marked ? `已隐退女优的 ${YY(e.marked)} 条留作不可点的记录;` : ""}保留 ${YY(e.recovered)} 条未确认失效的链接。`;+})), JY = (e) => Number(e || 0).toLocaleString(), cEe = (e) => `已删除 ${JY(e.removed)} 条;${e.marked ? `已隐退女优的 ${JY(e.marked)} 条留作不可点的记录;` : ""}保留 ${JY(e.recovered)} 条未确认失效的链接。`;function lEe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${YY(e.checked)} / ${YY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${JY(e.checked)} / ${JY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var XY = "/api/configuration", ZY = "/api/pick-folder", QY = "/api/settings", $Y = "/api/follow/schedule", eX = "/api/feeds/schedule", tX = "/api/thumbnail-jobs", nX = ["settings"], rX = ["follow-schedule"], iX = ["feed-schedule"], aX = ["thumbnail-jobs"], oX = "/api/media-processing", uEe = ["media-processing"], dEe = (e) => B(oX, e), sX = (e) => B(QY, e), fEe = (e) => B($Y, e), pEe = (e) => B(eX, e), mEe = (e) => B(tX, e);+var YY = "/api/configuration", XY = "/api/pick-folder", ZY = "/api/settings", QY = "/api/follow/schedule", $Y = "/api/feeds/schedule", eX = "/api/thumbnail-jobs", tX = ["settings"], nX = ["follow-schedule"], rX = ["feed-schedule"], iX = ["thumbnail-jobs"], aX = "/api/media-processing", uEe = ["media-processing"], dEe = (e) => B(aX, e), oX = (e) => B(ZY, e), fEe = (e) => B(QY, e), pEe = (e) => B($Y, e), mEe = (e) => B(eX, e);function hEe(e = H) {return e.fetchQuery({- queryKey: nX,- queryFn: ({ signal: e }) => sX(e),+ queryKey: tX,+ queryFn: ({ signal: e }) => oX(e),staleTime: 0}).catch(() => null);}-function cX() {+function sX() {return It({- mutationFn: (e) => V(QY, e),- onSuccess: (e) => H.setQueryData(nX, e)+ mutationFn: (e) => V(ZY, e),+ onSuccess: (e) => H.setQueryData(tX, e)});}function gEe() {return It({- mutationFn: (e) => V($Y, {+ mutationFn: (e) => V(QY, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData(rX, e)+ onSuccess: (e) => H.setQueryData(nX, e)});}var _Ee = {follow: {- url: `${$Y}/run`,- key: rX+ url: `${QY}/run`,+ key: nX},feed: {- url: `${eX}/run`,- key: iX+ url: `${$Y}/run`,+ key: rX}};function vEe(e) {@@ -62765,32 +62765,32 @@ function vEe(e) {var yEe = (e) => e?.running ? 3e3 : !1;function bEe() {return It({- mutationFn: (e) => V(tX, { mode: e }),- onSuccess: (e) => H.setQueryData(aX, e)+ mutationFn: (e) => V(eX, { mode: e }),+ onSuccess: (e) => H.setQueryData(iX, e)});}// src/react/data-cleanup/organize.ts-var xEe = "/api/organize", SEe = "/api/organize/preview", CEe = "/api/organize/apply", wEe = "/api/organize/rollback", lX = ["organize"], TEe = "/api/organize/example", EEe = (e, t, n) => B(`${TEe}?${new URLSearchParams({+var xEe = "/api/organize", SEe = "/api/organize/preview", CEe = "/api/organize/apply", wEe = "/api/organize/rollback", cX = ["organize"], TEe = "/api/organize/example", EEe = (e, t, n) => B(`${TEe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), uX = (e) => B(xEe, e);+})}`, n), lX = (e) => B(xEe, e);async function DEe(e) {await H.fetchQuery({- queryKey: lX,- queryFn: () => uX(e)+ queryKey: cX,+ queryFn: () => lX(e)});}-var OEe = (e) => V(SEe, e), kEe = (e) => V(ZY, { initial: e }), AEe = (e) => e.kind === "apply" ? V(CEe, {+var OEe = (e) => V(SEe, e), kEe = (e) => V(XY, { initial: e }), AEe = (e) => e.kind === "apply" ? V(CEe, {...e.request,confirm: !0}) : V(wEe, { confirm: !0 });async function jEe(e) {- H.setQueryData(lX, (t) => t && {+ H.setQueryData(cX, (t) => t && {...t,templates: e});try {- await V(QY, { organizeTemplates: e });+ await V(ZY, { organizeTemplates: e });} catch {}}var MEe = (e, t) => e && {@@ -62801,94 +62801,94 @@ function PEe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var dX = (e) => Number(e || 0).toLocaleString();+var uX = (e) => Number(e || 0).toLocaleString();function FEe(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${dX(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${dX(e.counts.change)} 个文件会改名或移动,${dX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${uX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${uX(e.counts.change)} 个文件会改名或移动,${uX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}function IEe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${dX(r)} 个文件${n ? `,${dX(n)} 行未能退回` : ""}。` : `已整理 ${dX(r)} 个文件${n ? `,${dX(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${uX(r)} 个文件${n ? `,${uX(n)} 行未能退回` : ""}。` : `已整理 ${uX(r)} 个文件${n ? `,${uX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}// src/react/data-cleanup/orphan-records.ts-var LEe = "/api/orphan-records", REe = "/api/orphan-records/attach", fX = ["orphan-records"], zEe = [+var LEe = "/api/orphan-records", REe = "/api/orphan-records/attach", dX = ["orphan-records"], zEe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], pX = (e) => B(LEe, e), BEe = (e, t) => V(REe, {+], fX = (e) => B(LEe, e), BEe = (e, t) => V(REe, {id: e,target: t-}), VEe = (e) => V(vY, {+}), VEe = (e) => V(gY, {ids: Array.isArray(e) ? e : [e],operation: "delete"}), HEe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], UEe = (e) => [...zEe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...HEe(e)].filter(Boolean).join(" · "), WEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", GEe = (e) => [e.name, WEe(e.duration)].filter(Boolean).join(" · "), mX = "/api/resource-sync/scan", hX = "/api/resource-sync/apply", gX = ["resource-sync", "scan"], _X = ["resource-sync", "apply"], vX = (e) => V(mX, {+], UEe = (e) => [...zEe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...HEe(e)].filter(Boolean).join(" · "), WEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", GEe = (e) => [e.name, WEe(e.duration)].filter(Boolean).join(" · "), pX = "/api/resource-sync/scan", mX = "/api/resource-sync/apply", hX = ["resource-sync", "scan"], gX = ["resource-sync", "apply"], _X = (e) => V(pX, {background: !0,status_only: !0-}, "POST", e), KEe = () => V(mX, {+}, "POST", e), KEe = () => V(pX, {background: !0,restart: !0-}), yX = (e) => B(hX, e), qEe = (e) => V(hX, {+}), vX = (e) => B(mX, e), qEe = (e) => V(mX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), bX = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+}), yX = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);async function JEe(e) {- bX(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({+ yX(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({+ queryKey: hX,+ queryFn: () => _X(e)+ }), H.fetchQuery({queryKey: gX,queryFn: () => vX(e)- }), H.fetchQuery({- queryKey: _X,- queryFn: () => yX(e)})]);}-var YEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), xX = (e) => Number(e || 0).toLocaleString(), XEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", SX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), CX = (e) => e.vanish ? `${xX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", wX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", ZEe = (e) => `将永久删除文件已不在盘上的 ${xX(SX(e))} 条记录和 ${xX(e.empty)} 个空文件夹,并清理 ${xX(e.cache?.files)} 个闲置缓存。${wX(e)}${CX(e)}`, QEe = (e) => `将永久删除文件已不在盘上的 ${xX(SX(e))} 条记录(含回收站里的)、${xX(e.empty)} 个空文件夹,并清理 ${xX(e.cache?.files)} 个闲置缓存。来源根目录保留。${wX(e)}${CX(e)}`, $Ee = (e) => e.online ? [- `找不到文件 · 共 ${xX(e.total)} 项`,- e.vanish ? `${xX(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${xX(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${xX(e.total)} 项`;-function TX(e) {+var YEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), bX = (e) => Number(e || 0).toLocaleString(), XEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", xX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), SX = (e) => e.vanish ? `${bX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", CX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", ZEe = (e) => `将永久删除文件已不在盘上的 ${bX(xX(e))} 条记录和 ${bX(e.empty)} 个空文件夹,并清理 ${bX(e.cache?.files)} 个闲置缓存。${CX(e)}${SX(e)}`, QEe = (e) => `将永久删除文件已不在盘上的 ${bX(xX(e))} 条记录(含回收站里的)、${bX(e.empty)} 个空文件夹,并清理 ${bX(e.cache?.files)} 个闲置缓存。来源根目录保留。${CX(e)}${SX(e)}`, $Ee = (e) => e.online ? [+ `找不到文件 · 共 ${bX(e.total)} 项`,+ e.vanish ? `${bX(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${bX(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${bX(e.total)} 项`;+function wX(e) {let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");return {done: i,left: a,rest: [- t.length ? `${xX(t.length)} 条记录没有删除(${o})` : "",- n ? `${xX(n)} 个文件夹没有删除` : "",- r.length ? `${xX(r.length)} 个缓存没有清理` : ""+ t.length ? `${bX(t.length)} 条记录没有删除(${o})` : "",+ n ? `${bX(n)} 个文件夹没有删除` : "",+ r.length ? `${bX(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}var eDe = (e, t) => {- let { rest: n } = TX(e), r = `已永久删除 ${xX(e.purged)} 条失效记录和 ${xX(e.dirs_removed)} 个空文件夹,清理 ${xX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${xX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${xX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+ let { rest: n } = wX(e), r = `已永久删除 ${bX(e.purged)} 条失效记录和 ${bX(e.dirs_removed)} 个空文件夹,清理 ${bX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${bX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${bX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, EX = ["performer-delete-candidates"], DX = (e) => B("/api/performer/delete-candidates", e), tDe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), nDe = (e) => V("/api/performer/delete", {+}, TX = ["performer-delete-candidates"], EX = (e) => B("/api/performer/delete-candidates", e), tDe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), nDe = (e) => V("/api/performer/delete", {entity_ids: e.entity_ids,plan: e.plan-}), rDe = "/api/review?counts=1", OX = ["review", "counts"], iDe = "/api/ads?limit=1", kX = ["junk-summary"], AX = "/api/items?state=trash&limit=1", jX = ["trash-summary"], aDe = [+}), rDe = "/api/review?counts=1", DX = ["review", "counts"], iDe = "/api/ads?limit=1", OX = ["junk-summary"], kX = "/api/items?state=trash&limit=1", AX = ["trash-summary"], aDe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], MX = (e) => B(rDe, e), NX = (e) => B(iDe, e), PX = (e) => {+], jX = (e) => B(rDe, e), MX = (e) => B(iDe, e), NX = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${AX}&library=${encodeURIComponent(t)}` : AX, e);-}, FX = (e) => Number(e || 0).toLocaleString();+ return B(t ? `${kX}&library=${encodeURIComponent(t)}` : kX, e);+}, PX = (e) => Number(e || 0).toLocaleString();function oDe(e) {- let t = jY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);+ let t = kY, 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(" · ")@@ -62896,22 +62896,22 @@ function oDe(e) {}function sDe(e) {if (!e) return "";- let t = aDe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${FX(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${FX(e.dismissed_total)}`), t.join(" · ");+ let t = aDe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${PX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${PX(e.dismissed_total)}`), t.join(" · ");}var cDe = [+ [DX, ({ signal: e }) => jX(e)],+ [TY, ({ signal: e }) => EY(e)],+ [AX, ({ signal: e }) => NX(e)],[OX, ({ signal: e }) => MX(e)],- [DY, ({ signal: e }) => OY(e)],- [jX, ({ signal: e }) => PX(e)],- [kX, ({ signal: e }) => NX(e)],- [_Y, ({ signal: e }) => yY(e)]+ [hY, ({ signal: e }) => _Y(e)]];async function lDe(e) {for (let [t, n] of cDe) H.prefetchQuery({queryKey: t,queryFn: () => n({ signal: e })});- await nH(e);+ await eH(e);}async function uDe(e, t) {switch (e) {@@ -62919,41 +62919,41 @@ async function uDe(e, t) {await DEe(t);break;case "media-repair":- await CTe(t);+ await wTe(t);break;case "resource-sync":- await gY(t), await JEe(t);+ await mY(t), await JEe(t);break;case "orphan-records":await H.prefetchQuery({- queryKey: fX,- queryFn: () => pX(t)+ queryKey: dX,+ queryFn: () => fX(t)});break;case "batch-delete":await H.prefetchQuery({- queryKey: EX,- queryFn: () => DX(t)+ queryKey: TX,+ queryFn: () => EX(t)});break;case "links": await Promise.all([H.prefetchQuery({- queryKey: UY,- queryFn: () => KY(t)+ queryKey: VY,+ queryFn: () => GY(t)}),H.prefetchQuery({- queryKey: WY,- queryFn: () => qY(t)+ queryKey: HY,+ queryFn: () => KY(t)}),H.prefetchQuery({- queryKey: iEe,- queryFn: () => JY(t)+ queryKey: UY,+ queryFn: () => qY(t)})]);}}// src/react/feed-new/feed-new.ts-var IX = (e) => ["feed-new", e ?? "home"], dDe = 8, fDe = 1500;+var FX = (e) => ["feed-new", e ?? "home"], dDe = 8, fDe = 1500;function pDe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;@@ -62966,7 +62966,7 @@ function pDe(e, t, n) {})]);}async function mDe(e, t, n) {- let r = new URLSearchParams({ limit: String(Yj().value.feedLimit) });+ let r = new URLSearchParams({ limit: String(qj().value.feedLimit) });e && r.set("entity", String(e));let i = await Tn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a, e ? "" : "/jav?tab=releases");return n && o.length && await pDe(s, dDe, fDe), {@@ -62975,12 +62975,12 @@ async function mDe(e, t, n) {fetching: o.some((e) => e.cover_state === "fetching")};}-var LX = (e, t, n = !1) => ({- queryKey: IX(e),+var IX = (e, t, n = !1) => ({+ queryKey: FX(e),queryFn: () => mDe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), RX = (e, t) => Tn("/api/feeds/discovery", {+}), LX = (e, t) => Tn("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,@@ -62988,10 +62988,10 @@ var LX = (e, t, n = !1) => ({})}).then(() => void 0, () => void 0);async function hDe(e) {- H.removeQueries({ queryKey: IX(null) }), await H.fetchQuery(LX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+ H.removeQueries({ queryKey: FX(null) }), await H.fetchQuery(IX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts-var zX = [+var RX = ["loc","creator","tag",@@ -63005,10 +63005,10 @@ var zX = ["browse","folder","folder_recursive"-], BX = {+], zX = {media: "videos",set: 0-}, VX = (e, t) => [+}, BX = (e, t) => ["entity",e,t@@ -63018,35 +63018,35 @@ var zX = [t,n,r-], HX = (e, t, n, r) => [+], VX = (e, t, n, r) => ["entity-photos",e,t,n,r-], UX = (e) => String(e || "").split(",").filter(Boolean), _De = (e, t) => UX(e).includes(t);-function WX(e, t, n, r, i = 0) {+], HX = (e) => String(e || "").split(",").filter(Boolean), _De = (e, t) => HX(e).includes(t);+function UX(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...UX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");- for (let t of zX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...HX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");+ for (let t of RX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function GX(e, t, n, r, i, a, o) {- let s = WX(e, t, n, r, i);+async function WX(e, t, n, r, i, a, o) {+ let s = UX(e, t, n, r, i);return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await Tn(`/api/items?${s}`, a ? { signal: a } : {});}-var KX = (e) => {+var GX = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = WX(e.kind, e.name, e.filters, t).toString();+ }, n = UX(e.kind, e.name, e.filters, t).toString();return {queryKey: gDe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => GX(e.kind, e.name, e.filters, t, 0, n),+ queryFn: ({ signal: n }) => WX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, qX = (e, t) => ({- queryKey: VX(e, t),+}, KX = (e, t) => ({+ queryKey: BX(e, t),queryFn: ({ signal: n }) => Tn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});@@ -63059,8 +63059,8 @@ function vDe(e, t, n, r, i, a) {let s = r ? `&seed=${encodeURIComponent(r)}` : "";return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;}-var JX = (e, t, n, r) => ({- queryKey: HX(e, t, n, r),+var qX = (e, t, n, r) => ({+ queryKey: VX(e, t, n, r),queryFn: async ({ pageParam: i }) => {let a = await Tn(vDe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;@@ -63075,7 +63075,7 @@ var JX = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), YX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+}), JX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];async function yDe(e) {let { kind: t, name: n } = e;if (!e.restoreNavigation) for (let e of [@@ -63087,25 +63087,25 @@ async function yDe(e) {t,n] });- e.resolvedEntity?.id && H.setQueryData(VX(t, n), e.resolvedEntity), await Promise.all([- H.fetchQuery(qX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: IX(Number(t.id)) }), H.fetchQuery(LX(Number(t.id), e.helpers.feedRowHtml, !0)))),- H.fetchQuery(KX(e)),- H.fetchInfiniteQuery(JX(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(JX(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && H.setQueryData(BX(t, n), e.resolvedEntity), await Promise.all([+ H.fetchQuery(KX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: FX(Number(t.id)) }), H.fetchQuery(IX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ H.fetchQuery(GX(e)),+ H.fetchInfiniteQuery(qX(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(qX(t, n, e.media.set, "")) : null]);}// src/identity-filter.ts-var XX = [+var YX = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], ZX = "mb-4 flex flex-wrap gap-2";+], XX = "mb-4 flex flex-wrap gap-2";function bDe(e) {- let t = XX.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${ZX}">${XX.map(([e, n]) => ks({+ let t = YX.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${XX}">${YX.map(([e, n]) => ks({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -63138,7 +63138,7 @@ function EDe(e, t, n, r) {});return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${SDe}?${i}`;}-var DDe = (e, t, n, r) => B(TDe(e, t, n), r), ODe = (e, t, n, r, i) => B(EDe(e, t, n, r), i), kDe = "/api/index", QX = {+var DDe = (e, t, n, r) => B(TDe(e, t, n), r), ODe = (e, t, n, r, i) => B(EDe(e, t, n, r), i), kDe = "/api/index", ZX = {performers: "艺人",creators: "卖家",studios: "厂牌",@@ -63151,7 +63151,7 @@ var DDe = (e, t, n, r) => B(TDe(e, t, n), r), ODe = (e, t, n, r, i) => B(EDe(e,studios: "studio",agencies: "agency",series: "series"-}, $X = [+}, QX = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -63161,31 +63161,31 @@ var DDe = (e, t, n, r) => B(TDe(e, t, n), r), ODe = (e, t, n, r, i) => B(EDe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], eZ = [+], $X = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], tZ = {+], eZ = {people: 120,tags: 100-}, nZ = (e) => e !== "tags", rZ = (e) => e === "studios" || e === "agencies";-function iZ(e) {- if (e.kind === "creators" && e.category === "animation") return iZ({+}, tZ = (e) => e !== "tags", nZ = (e) => e === "studios" || e === "agencies";+function rZ(e) {+ if (e.kind === "creators" && e.category === "animation") return rZ({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? eZ : $X : e.kind === "performers" && t === "local" ? XX : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? $X : QX : e.kind === "performers" && t === "local" ? YX : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function aZ(e) {+function iZ(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -63205,13 +63205,13 @@ function aZ(e) {...i && i !== "all" ? { category: i } : {}};}-var oZ = (e, t, n = "all") => [+var aZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function sZ(e, t, n, r, i) {+function oZ(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),@@ -63219,21 +63219,21 @@ function sZ(e, t, n, r, i) {});return t && a.set("q", t), n !== "all" && a.set("category", n), `${kDe}?${a}`;}-function cZ(e, t = tZ.tags) {- let n = e.what === "people" || e.what === "online-authors" ? tZ.people : t, r = {+function sZ(e, t = eZ.tags) {+ let n = e.what === "people" || e.what === "online-authors" ? eZ.people : t, r = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...r,- queryKey: oZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: t, signal: r }) => B(sZ(e.kind, e.q, e.category || "all", n, t), r)+ queryKey: aZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: t, signal: r }) => B(oZ(e.kind, e.q, e.category || "all", n, t), r)};case "tags": return {...r,- queryKey: oZ("tags", e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => B(sZ("tags", e.q, e.category, n, t), r)+ queryKey: aZ("tags", e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => B(oZ("tags", e.q, e.category, n, t), r)};case "online-authors": return {...r,@@ -63248,7 +63248,7 @@ function cZ(e, t = tZ.tags) {}}async function jDe(e, t) {- let n = cZ(aZ(iZ(e)));+ let n = sZ(iZ(rZ(e)));await H.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({@@ -63260,11 +63260,11 @@ async function jDe(e, t) {staleTime: Infinity});}-var MDe = (e) => e ? e.pages.flatMap((e) => e.items) : [], NDe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, lZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", PDe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, FDe = {+var MDe = (e) => e ? e.pages.flatMap((e) => e.items) : [], NDe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, cZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", PDe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, FDe = {numeric: !0,sensitivity: "base"};-function uZ(e, t) {+function lZ(e, t) {let n = /* @__PURE__ */ new Map();for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", FDe))) {let e = er(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);@@ -63273,7 +63273,7 @@ function uZ(e, t) {return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));}// src/react/index/index-people.tsx-function dZ({ html: e, face: t, company: n, big: r }) {+function uZ({ html: e, face: t, company: n, big: r }) {let i = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -63285,14 +63285,14 @@ function dZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var IDe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", LDe = cV("rss");-function fZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var IDe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", LDe = oV("rss");+function dZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: yU({+ className: _U({radius: "plain",padding: "none",interactive: !0,@@ -63305,7 +63305,7 @@ function fZ({ name: e, readout: t, big: n, children: r, following: i, onPress: arole: "img","aria-label": "已订阅新作",className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",- children: /* @__PURE__ */ (0, I.jsx)(YU, {+ children: /* @__PURE__ */ (0, I.jsx)(qU, {variant: "caption",color: "soft",children: /* @__PURE__ */ (0, I.jsx)(LDe, {})@@ -63324,9 +63324,9 @@ function fZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function pZ({ kind: e, items: t, layout: n, props: r }) {- let i = rZ(e) || e === "series";- $I();+function fZ({ kind: e, items: t, layout: n, props: r }) {+ let i = nZ(e) || e === "series";+ ZI();let a = n === "big";return /* @__PURE__ */ (0, I.jsx)("div", {"data-index-grid": "",@@ -63335,7 +63335,7 @@ function pZ({ kind: e, items: t, layout: n, props: r }) {className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {let n = t.entity_kind || ADe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, I.jsx)(fZ, {+ return /* @__PURE__ */ (0, I.jsx)(dZ, {"data-k": t.k,"data-kind": n,name: nn(n, t.k, t.entity_id),@@ -63343,7 +63343,7 @@ function pZ({ kind: e, items: t, layout: n, props: r }) {big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, I.jsx)(dZ, {+ children: /* @__PURE__ */ (0, I.jsx)(uZ, {html: o.html,face: o.face,company: i,@@ -63354,14 +63354,14 @@ function pZ({ kind: e, items: t, layout: n, props: r }) {});}function RDe({ items: e, layout: t, props: n }) {- $I();+ ZI();let r = t === "big";return /* @__PURE__ */ (0, I.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(fZ, {+ children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(dZ, {"data-follow-author": e.key,"data-kind": "performer",name: nn("creator", e.k, e.entity_id),@@ -63370,7 +63370,7 @@ function RDe({ items: e, layout: t, props: n }) {onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, I.jsx)(dZ, {+ children: /* @__PURE__ */ (0, I.jsx)(uZ, {html: n.authorAvatar(e),company: !1,big: r@@ -63379,8 +63379,8 @@ function RDe({ items: e, layout: t, props: n }) {});}// src/board-tooltip.ts-var mZ = (e) => e.replace(/\s+/g, " ").trim();-function hZ(e) {+var pZ = (e) => e.replace(/\s+/g, " ").trim();+function mZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -63388,12 +63388,12 @@ function hZ(e) {let t = document.createRange();t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);}- return mZ(n);+ return pZ(n);}-function gZ(e) {+function hZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && hZ(e) && !_Z(e)) {+ if (e.matches("a") && mZ(e) && !gZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -63406,7 +63406,7 @@ function gZ(e) {let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);}-function _Z(e) {+function gZ(e) {if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;let t = document.createRange();t.selectNodeContents(e);@@ -63421,15 +63421,15 @@ function zDe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {- let n = gZ(t), r = e.getBoundingClientRect();+ let n = hZ(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, u = () => {clearTimeout(a), !c() && (clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, e.removeAttribute("data-copy-key"), t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null);}, d = (a, o) => {if (c() || !(a instanceof Element)) return;let d = a.closest("[title]");- (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (hZ(d) !== mZ(n) || _Z(d)) && (i = setTimeout(() => {- if (t !== d || !d.isConnected || !gZ(d)) return;+ (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (mZ(d) !== pZ(n) || gZ(d)) && (i = setTimeout(() => {+ if (t !== d || !d.isConnected || !hZ(d)) return;(d.closest("dialog[open]") ?? document.body).append(e), e.textContent = n;let i = d.getAttribute("data-tooltip-copy-key");i ? e.setAttribute("data-copy-key", i) : e.removeAttribute("data-copy-key"), e.style.pointerEvents = s() ? "auto" : "", e.hidden = !1, e.showPopover(), l(d), d.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" "));@@ -63459,29 +63459,29 @@ function zDe() {e.key === "Escape" && !c() && u();}), document.addEventListener("scroll", (n) => {if (!t || !fs(n, t)) return;- let r = gZ(t);+ let r = hZ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && l(t) : u();}, !0), window.addEventListener("resize", u);}// src/board-controls.ts-function vZ(e) {+function _Z(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);}-var yZ = /* @__PURE__ */ new WeakSet();+var vZ = /* @__PURE__ */ new WeakSet();function BDe() {- if (yZ.has(document)) return;- yZ.add(document);+ if (vZ.has(document)) return;+ vZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(vZ), HDe(e), VDe(e);+ e.querySelectorAll("input[type=range]").forEach(_Z), HDe(e), VDe(e);};e(document), new MutationObserver((t) => {- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && vZ(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && _Z(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && vZ(e.target);+ e.target instanceof HTMLInputElement && e.target.type === "range" && _Z(e.target);}), zDe();}function VDe(e) {@@ -63508,7 +63508,7 @@ function VDe(e) {r.observe(e);});}-var bZ = /* @__PURE__ */ new Map();+var yZ = /* @__PURE__ */ new Map();function HDe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {@@ -63516,7 +63516,7 @@ function HDe(e) {e.dataset.boardSegments = "true";let t = document.createElement("span");t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = bZ.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = yZ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -63525,7 +63525,7 @@ function HDe(e) {w: i.offsetWidth,h: i.offsetHeight};- Kc(t, r, a, "x"), r = a, bZ.set(n, a);+ Kc(t, r, a, "x"), r = a, yZ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -63541,8 +63541,8 @@ function HDe(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var xZ = "/vendor/swiper/14.4.0/", SZ = null, UDe = () => SZ ??= Promise.all([new Promise((e, t) => {- let n = `${xZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var bZ = "/vendor/swiper/14.4.0/", xZ = null, UDe = () => xZ ??= Promise.all([new Promise((e, t) => {+ let n = `${bZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -63556,9 +63556,9 @@ var xZ = "/vendor/swiper/14.4.0/", SZ = null, UDe = () => SZ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${xZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${bZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);})]).then(([, e]) => e).catch((e) => {- throw SZ = null, e;+ throw xZ = null, e;});function WDe(e, t, n) {let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {@@ -63581,26 +63581,26 @@ function WDe(e, t, n) {}};}-var CZ = (e) => {+var SZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Xn(t)).replace(" ", "\xA0") : "大小未知";}, GDe = (e) => e.asset?.name || e.name || "未命名图片";function KDe(e, t) {let n = e.asset;- if (n) return [nr[n.location ?? ""] || n.location || "来源未知", CZ(n.size)].join(" · ");+ if (n) return [nr[n.location ?? ""] || n.location || "来源未知", SZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? CZ(e.size) : ""+ e.size ? SZ(e.size) : ""].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var wZ = null, TZ = null, qDe = 0;+var CZ = null, wZ = null, qDe = 0;function JDe() {- return TZ && wZ?.isConnected || (TZ?.unmount(), wZ = document.createElement("div"), wZ.className = "peach-react", wZ.dataset.photoLightboxHost = "", document.body.append(wZ), TZ = (0, zt.createRoot)(wZ)), TZ;+ return wZ && CZ?.isConnected || (wZ?.unmount(), CZ = document.createElement("div"), CZ.className = "peach-react", CZ.dataset.photoLightboxHost = "", document.body.append(CZ), wZ = (0, zt.createRoot)(CZ)), wZ;}-async function EZ(e, t, n) {+async function TZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {@@ -63617,8 +63617,8 @@ async function EZ(e, t, n) {host: n ?? null}, ++qDe)));}-function DZ() {- TZ && (0, Rt.flushSync)(() => TZ.render(null));+function EZ() {+ wZ && (0, Rt.flushSync)(() => wZ.render(null));}function YDe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({@@ -63680,13 +63680,13 @@ function YDe({ slides: e, index: t, Swiper: n, host: r }) {});y.observe(e);let x = (e) => {- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : DZ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : EZ());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, F.useLayoutEffect)(() => {- m.current && vZ(m.current);+ m.current && _Z(m.current);}, [y]);let j = e[_], M = j.asset ?? null, ee = async (e) => {if (!M || !r || e.getAttribute("aria-busy") === "true") return;@@ -63717,18 +63717,18 @@ function YDe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), DZ();+ e.preventDefault(), EZ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && DZ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && EZ();},children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: DZ,+ onClick: EZ,dangerouslySetInnerHTML: { __html: R("x") }}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -63914,20 +63914,20 @@ function XDe(e) {props: e}, e.photos.revision) : null;}-var OZ = tZ.people;+var DZ = eZ.people;function ZDe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, F.useState)(OZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {- o((e) => e + OZ);+ }), [n, r]), [a, o] = (0, F.useState)(DZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {+ o((e) => e + DZ);}, []);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(pZ, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(fZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(mY, {+ }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(fY, {entity: !0,load: c,enabled: () => !0@@ -63936,10 +63936,10 @@ function ZDe({ roster: e, props: t }) {function QDe(e) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-grid": "",- children: /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: /* @__PURE__ */ (0, I.jsx)(YG, {pending: !e.items,skeletonHtml: e.skeletonHtml,- children: e.items ? /* @__PURE__ */ (0, I.jsx)(fY, {+ children: e.items ? /* @__PURE__ */ (0, I.jsx)(uY, {mode: "entity",entityKey: e.listScope || `${e.kind}:${e.name}`,revision: e.revision,@@ -63968,15 +63968,15 @@ var $De = (e) => Array.from({ length: e.n }, (t, n) => ({total: e.n,name: `${e.code} 样张 ${n + 1}`,source: e.site_label || "官方样张"-})), kZ = (e) => e.sample === !0, AZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, jZ = (e) => kZ(e) ? `/sample-thumb?${AZ(e)}` : `/photo-thumb?id=${e.id}`, eOe = (e) => kZ(e) ? {- src: `/sample-image?${AZ(e)}`,- thumb: jZ(e),+})), OZ = (e) => e.sample === !0, kZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, AZ = (e) => OZ(e) ? `/sample-thumb?${kZ(e)}` : `/photo-thumb?id=${e.id}`, eOe = (e) => OZ(e) ? {+ src: `/sample-image?${kZ(e)}`,+ thumb: AZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: jZ(e),+ thumb: AZ(e),name: e.name || "",asset: e};@@ -63986,7 +63986,7 @@ function tOe({ photos: e, props: t }) {let n = new Set(t);return n.add(e), n;}), []), u = (0, F.useCallback)((e) => {- EZ(e, o.map(eOe), { revealSource: i.revealSource });+ TZ(e, o.map(eOe), { revealSource: i.revealSource });}, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(nOe, {item: e,index: t,@@ -64005,7 +64005,7 @@ function tOe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(MZ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jZ, {label: e.code,title: e.name,meta: [@@ -64017,7 +64017,7 @@ function tOe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(MZ, {+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(jZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -64026,14 +64026,14 @@ function tOe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, I.jsx)(mY, {+ e.hasMore ? /* @__PURE__ */ (0, I.jsx)(fY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function MZ({ label: e, title: t, meta: n }) {+function jZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-photo-group": "",children: [@@ -64059,7 +64059,7 @@ function nOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {- src: jZ(e),+ src: AZ(e),alt: a,loading: "lazy",decoding: "async",@@ -64070,7 +64070,7 @@ function nOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}// src/react/background-job.tsvar rOe = 2e3, iOe = (e) => e, aOe = (e, t) => t;-function NZ(e) {+function MZ(e) {let { queryKey: t, jobOf: n = iOe, withJob: r = aOe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);(0, F.useEffect)(() => {l.current = e;@@ -64104,13 +64104,13 @@ function NZ(e) {};}// src/react/follow-feed/follow-check.ts-var PZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+var NZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);function oOe(e, t) {- return t ? PZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+ return t ? NZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}// src/react/follow-feed/follow-check-button.tsxfunction sOe({ sources: e, report: t }) {- let n = PZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = NZ({+ let n = NZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = MZ({queryKey: zr,queryFn: ({ signal: e }) => vi(e),start: (e) => xi(e),@@ -64121,15 +64121,15 @@ function sOe({ sources: e, report: t }) {}), s = a || o.isPending;return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(J, {+ children: [/* @__PURE__ */ (0, I.jsx)(Y, {size: "small",disabled: !n.length,- ...uV(s),+ ...cV(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, I.jsx)(aV, {+ }), r ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: r}) : null]@@ -64137,7 +64137,7 @@ function sOe({ sources: e, report: t }) {}// src/react/follow-feed/follow-card.tsxvar cOe = (e) => Number(e) > 0;-function FZ({ name: e, actions: t, children: n, ...r }) {+function PZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, I.jsx)("a", {...r,href: Pn("creator", e),@@ -64147,15 +64147,15 @@ function FZ({ name: e, actions: t, children: n, ...r }) {children: n});}-var IZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var FZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: TG(e) }+ dangerouslySetInnerHTML: { __html: CG(e) }});function lOe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);return (0, F.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(IZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(FZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -64175,7 +64175,7 @@ function lOe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a});}function uOe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = _a(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) => exe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ya(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = xa({+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = _a(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) => txe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ya(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = xa({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -64183,7 +64183,7 @@ function uOe(e) {limit: 9}), S = (0, F.useRef)(x.faces);S.current = x.faces;- let C = EK({+ let C = wK({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -64191,7 +64191,7 @@ function uOe(e) {w.current = C.onPointerLeave;let T = (0, F.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = AG(u, n, i), D = EG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = NG(u, i), j = MG(t, u), M = u.status === "saved", ee = (e) => {+ }, []), E = OG(u, n, i), D = wG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = jG(u, i), j = AG(t, u), M = u.status === "saved", ee = (e) => {e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));}, N = (e, t) => {e.stopPropagation(), t();@@ -64206,7 +64206,7 @@ function uOe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: _K,+ onMouseDown: hK,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -64228,7 +64228,7 @@ function uOe(e) {provider: O,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, I.jsx)(IZ, { provider: O }),+ }, p) : /* @__PURE__ */ (0, I.jsx)(FZ, { provider: O }),x.faces.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -64248,7 +64248,7 @@ function uOe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: TG(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: CG(u.provider, u.provider_label) }}), j ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: j }@@ -64332,7 +64332,7 @@ function uOe(e) {}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-meta": "",- children: [E.entityName ? /* @__PURE__ */ (0, I.jsx)(FZ, {+ children: [E.entityName ? /* @__PURE__ */ (0, I.jsx)(PZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -64350,31 +64350,31 @@ function uOe(e) {/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: jG(t, u) + z(D) }+ dangerouslySetInnerHTML: { __html: kG(t, u) + z(D) }}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-byline": "","data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, I.jsx)(FZ, {+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(PZ, {name: E.entityName,actions: l,"data-media-who": "","data-follow-author": "",title: E.author,- children: /* @__PURE__ */ (0, I.jsx)($G, { name: E.author })+ children: /* @__PURE__ */ (0, I.jsx)(ZG, { name: E.author })}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-media-who": "","data-follow-author": "",title: E.author,- children: /* @__PURE__ */ (0, I.jsx)($G, { name: E.author })+ children: /* @__PURE__ */ (0, I.jsx)(ZG, { name: E.author })}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-facts": "",- children: /* @__PURE__ */ (0, I.jsx)(eK, {+ children: /* @__PURE__ */ (0, I.jsx)(QG, {value: u.published_at || "",- label: IG(u),- title: FG(u)+ label: PG(u),+ title: NG(u)})}),E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -64384,10 +64384,10 @@ function uOe(e) {}) : null]}),- e.variant === "next" ? e.reason ? /* @__PURE__ */ (0, I.jsx)(nK, {+ e.variant === "next" ? e.reason ? /* @__PURE__ */ (0, I.jsx)(eK, {reasons: e.reason.reasons,tags: e.reason.tags.map((e) => Ul(e))- }) : null : /* @__PURE__ */ (0, I.jsx)(tK, {+ }) : null : /* @__PURE__ */ (0, I.jsx)($G, {"data-follow-labels": "",tags: k,label: Ul,@@ -64412,7 +64412,7 @@ function uOe(e) {]});}-var LZ = (0, F.memo)(uOe);+var IZ = (0, F.memo)(uOe);// src/react/components/use-masonry-grid.tsfunction dOe(e, t) {let n = (0, F.useRef)(null);@@ -64449,37 +64449,37 @@ function dOe(e, t) {}, [e, t]), n;}// src/react/follow-manage/manage-route.ts-var RZ = [+var LZ = [["list", "关注列表"],["add", "添加关注"],["tags", "标签管理"]-], zZ = RZ.map(([e]) => e);-function BZ(e) {+], RZ = LZ.map(([e]) => e);+function zZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: zZ.find((e) => e === n) || "list",+ tab: RZ.find((e) => e === n) || "list",page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),sort: t.get("sort") || "",dir: t.get("dir") || ""};}-function VZ(e) {+function BZ(e) {let t = new URLSearchParams();return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");}-function HZ(e, t) {- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : VZ({- tab: t || BZ(e).tab,+function VZ(e, t) {+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : BZ({+ tab: t || zZ(e).tab,page: 1,sort: "",dir: ""});}// src/react/follow-feed/follow-feed-page.tsx-var UZ = () => /* @__PURE__ */ (0, I.jsx)("span", {+var HZ = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), fOe = cV("settings"), WZ = cV("chevron-down"), pOe = cV("history"), mOe = cV("arrow-up"), hOe = cV("arrow-down"), gOe = [[+}), fOe = oV("settings"), UZ = oV("chevron-down"), pOe = oV("history"), mOe = oV("arrow-up"), hOe = oV("arrow-down"), gOe = [["fixed","固定比例","layout-grid"@@ -64546,7 +64546,7 @@ function vOe(e) {credentials: c}), [s, c]), u = _Oe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;(0, F.useEffect)(() => {- Tm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });+ wm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });}, [d,s,@@ -64581,7 +64581,7 @@ function vOe(e) {let m = bOe(e, !!s);if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, I.jsx)(GZ, {}), /* @__PURE__ */ (0, I.jsx)(XG, {+ children: [/* @__PURE__ */ (0, I.jsx)(WZ, {}), /* @__PURE__ */ (0, I.jsx)(JG, {message: xn(a.error),onRetry: () => void a.refetch()})]@@ -64594,7 +64594,7 @@ function vOe(e) {author: u.author,provider: u.provider}, {- authors: new Map([...u.authorSources].map(([e, t]) => [e, DG(t, l)])),+ authors: new Map([...u.authorSources].map(([e, t]) => [e, TG(t, l)])),providers: u.providers,works: u.workNames}), _ = t.status ? u.counts[t.status] || 0 : u.allCount, v = u.sources.some((e) => e.can_backfill);@@ -64603,7 +64603,7 @@ function vOe(e) {ref: m.host,"data-follow-progress": ""}, m.generation),- !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(aV, {+ !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",title: "检查结果",children: m.report@@ -64612,7 +64612,7 @@ function vOe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(GZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(WZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -64664,7 +64664,7 @@ function vOe(e) {data: s,context: l,props: e,- checkAction: /* @__PURE__ */ (0, I.jsx)(J, {+ checkAction: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "secondary","aria-label": "检查每个来源的更新",@@ -64680,13 +64680,13 @@ function vOe(e) {"data-follow-pagination": "",children: [s.has_more ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-page-action": "",- children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(mY, {+ children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(fY, {entity: !0,enabled: () => !m.busyRef.current,load: async () => {await a.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, I.jsx)(WZ, { className: "size-(--icon-inline)" }), "加载更多"]+ children: [/* @__PURE__ */ (0, I.jsx)(UZ, { className: "size-(--icon-inline)" }), "加载更多"]}, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(yOe, {busy: a.isFetchingNextPage,error: a.isFetchNextPageError ? xn(a.error) : "",@@ -64696,7 +64696,7 @@ function vOe(e) {})}) : null, v ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-follow-page-action": "",- children: [/* @__PURE__ */ (0, I.jsx)(J, {+ children: [/* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",leadingIcon: m.olderBusy ? void 0 : pOe,"data-follow-older": "",@@ -64716,7 +64716,7 @@ function vOe(e) {})] });}-function GZ({ children: e }) {+function WZ({ children: e }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, I.jsx)("h2", {@@ -64724,11 +64724,11 @@ function GZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(mL, {+ children: [/* @__PURE__ */ (0, I.jsx)(fL, {variant: "secondary",leadingIcon: fOe,"data-follow-manage": "",- href: KZ(),+ href: GZ(),children: "管理关注"}), e]})]@@ -64741,8 +64741,8 @@ function yOe({ busy: e, error: t, load: n }) {"aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, I.jsx)(WZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, I.jsx)(XG, {+ children: [/* @__PURE__ */ (0, I.jsx)(UZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, I.jsx)(JG, {message: t,onRetry: n}) : null] });@@ -64814,7 +64814,7 @@ function xOe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {(0, F.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => DG(e.authorSources.get(t) || [], n);+ let o = (t) => TG(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, I.jsx)("div", {@@ -64822,14 +64822,14 @@ function xOe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {"data-follow-authors": "","aria-label": "创作者",children: e.authorOrder.map((n) => {- let a = e.authorSources.get(n) || [], s = OG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = EG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: kG(a, o(n)) }+ dangerouslySetInnerHTML: { __html: DG(a, o(n)) }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, I.jsx)(FZ, {+ return s ? /* @__PURE__ */ (0, I.jsx)(PZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -64868,12 +64868,12 @@ function SOe({ rows: e, pressed: t, props: n, onPick: r }) {}) : null;}function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = fL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = fL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+ let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = uL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = uL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, F.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, I.jsx)(sL, {+ return /* @__PURE__ */ (0, I.jsx)(aL, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -64925,7 +64925,7 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R(i) }}, e);})- }), /* @__PURE__ */ (0, I.jsx)(UZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {+ }), /* @__PURE__ */ (0, I.jsx)(HZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -64945,7 +64945,7 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, I.jsx)(UZ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(HZ, {}) : null]}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -64958,10 +64958,10 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {title: n,"aria-label": `来源:${n}`,onClick: () => a({ provider: e.provider === t ? "" : t }),- dangerouslySetInnerHTML: { __html: TG(t, n) }+ dangerouslySetInnerHTML: { __html: CG(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(UZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(cL, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(HZ, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(oL, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Oa(e.groups, n)}`,@@ -64979,20 +64979,20 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {/* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "","data-follow-readout": "",- children: /* @__PURE__ */ (0, I.jsx)(eL, {+ children: /* @__PURE__ */ (0, I.jsx)(QI, {text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,busy: r})}),- /* @__PURE__ */ (0, I.jsx)(CV, {+ /* @__PURE__ */ (0, I.jsx)(xV, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(WG, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, {+ /* @__PURE__ */ (0, I.jsx)(HG, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(VG, {label: "图片布局",value: i.photoLayout,options: gOe,@@ -65025,7 +65025,7 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = Ca(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, I.jsx)(ZU, {+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(YU, {a: mOe,b: hOe,state: t.dir === "asc" ? "a" : "b",@@ -65066,15 +65066,15 @@ function wOe({ conditions: e, onDrop: t, onClear: n }) {function TOe({ count: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(KZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(GZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var KZ = () => HZ(window.location.search);+var GZ = () => VZ(window.location.search);function EOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {let { view: s, helpers: c } = i, l = s.media === "images";return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "",- children: /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: /* @__PURE__ */ (0, I.jsx)(YG, {pending: e,skeletonHtml: () => c.listSkeletonHtml(s.media),children: e ? null : /* @__PURE__ */ (0, I.jsx)(DOe, {@@ -65090,23 +65090,23 @@ function EOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a});}function DOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = JZ(r), u = i ? {+ let { view: s, actions: c } = r, l = qZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)} : {}, d = dOe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, I.jsx)(LZ, {+ return /* @__PURE__ */ (0, I.jsx)(IZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(qZ(t, s)),+ selected: r.selected.has(KZ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(qZ(t, s)) || "",- failure: l.failures.get(qZ(t, s)) || "",+ busy: l.busy.get(KZ(t, s)) || "",+ failure: l.failures.get(KZ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save@@ -65134,7 +65134,7 @@ function DOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function qZ(e, t) {+function KZ(e, t) {return _a(e, t.media).id;}function OOe({ data: e, filtered: t, clear: n, checkAction: r }) {@@ -65142,14 +65142,14 @@ function OOe({ data: e, filtered: t, clear: n, checkAction: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, I.jsx)(oV, {- icon: cV(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, I.jsx)(iV, {+ icon: oV(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",- actions: i ? /* @__PURE__ */ (0, I.jsx)(J, {+ actions: i ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(mL, {+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -65163,7 +65163,7 @@ var kOe = {seen: "已标记已看",ignored: "已忽略"};-function JZ(e) {+function qZ(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = ia(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -65233,7 +65233,7 @@ function JZ(e) {// src/react/entity-body/entity-online.tsxfunction AOe(e) {let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(XG, {+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(JG, {message: xn(t.error),onRetry: () => {t.refetch();@@ -65241,13 +65241,13 @@ function AOe(e) {}) : /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "","data-entity-online": "",- children: /* @__PURE__ */ (0, I.jsxs)(ZG, {+ children: /* @__PURE__ */ (0, I.jsxs)(YG, {pending: a,skeletonHtml: () => i.listSkeletonHtml(r),children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(jOe, {...e,data: n- }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(mY, {+ }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(fY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -65258,7 +65258,7 @@ function AOe(e) {});}function jOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = JZ({+ let u = qZ({view: e,revision: 0,actions: c@@ -65276,7 +65276,7 @@ function jOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-images-only": String(s)} : {}, m = r.length ? r.map((e) => {let n = _a(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, I.jsx)(LZ, {+ return /* @__PURE__ */ (0, I.jsx)(IZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -65306,17 +65306,17 @@ function MOe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, I.jsx)(oV, {- icon: cV(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, I.jsx)(iV, {+ icon: oV(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",- actions: e ? /* @__PURE__ */ (0, I.jsx)(J, {+ actions: e ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: t,children: "清除筛选"}) : r.length ? /* @__PURE__ */ (0, I.jsx)(sOe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, I.jsx)(mL, {+ }) : /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -65325,7 +65325,7 @@ function MOe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function YZ(e) {+function JZ(e) {return {x0: 0,y0: 0,@@ -65333,7 +65333,7 @@ function YZ(e) {y1: e.height};}-function XZ(e) {+function YZ(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -65341,21 +65341,21 @@ function XZ(e) {y1: Math.round(e.y1)};}-function ZZ(e) {+function XZ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function QZ(e, t) {- if (!ZZ(e)) return {+function ZZ(e, t) {+ if (!XZ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return YZ(e);+ if (t == null || !(t > 0)) return JZ(e);let n = e.width, r = n / t;r > e.height && (r = e.height, n = r * t);let i = (e.width - n) / 2, a = (e.height - r) / 2;- return XZ({+ return YZ({x0: i,y0: a,x1: i + n,@@ -65363,9 +65363,9 @@ function QZ(e, t) {});}function NOe(e, t) {- if (!ZZ(e) || !(t > 0)) return YZ(e);+ if (!XZ(e) || !(t > 0)) return JZ(e);let n = Math.min(e.width, e.height * t);- return XZ({+ return YZ({x0: e.width - n,y0: 0,x1: e.width,@@ -65373,8 +65373,8 @@ function NOe(e, t) {});}function POe(e, t, n) {- if (!ZZ(t) || !(n > 0)) return YZ(t);- let r = $Z(e, t), i = QZ({+ if (!XZ(t) || !(n > 0)) return JZ(t);+ let r = QZ(e, t), i = ZZ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -65385,8 +65385,8 @@ function POe(e, t, n) {y1: r.y0 + i.y1};}-function $Z(e, t, n = null, r = "width") {- if (!ZZ(t)) return {+function QZ(e, t, n = null, r = "width") {+ if (!XZ(t)) return {x0: 0,y0: 0,x1: 0,@@ -65395,26 +65395,26 @@ function $Z(e, t, n = null, r = "width") {let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));- return XZ({+ return YZ({x0: s,y0: c,x1: s + a,y1: c + o});}-function eQ(e, t, n, r) {+function $Z(e, t, n, r) {let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));- return XZ({+ return YZ({x0: o,y0: s,x1: o + i,y1: s + a});}-function tQ(e, t, n, r = null) {- if (!ZZ(n) || !(t > 0)) return e;+function eQ(e, t, n, r = null) {+ if (!XZ(n) || !(t > 0)) return e;let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;- return $Z({+ return QZ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,@@ -65428,10 +65428,10 @@ function FOe(e, t, n, r, i = null) {x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return $Z(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return QZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}function IOe(e, t) {- return ZZ(t) ? {+ return XZ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -65444,7 +65444,7 @@ function IOe(e, t) {};}function LOe(e, t) {- if (!ZZ(t)) return {+ if (!XZ(t)) return {size: "cover",position: "50% 50%"};@@ -65463,15 +65463,15 @@ function ROe(e, t) {height: `${t.height / r * 100}%`};}-function nQ(e, t, n) {+function tQ(e, t, n) {return t > 0 ? e * n / t : 0;}function zOe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}// src/react/crop/crop-frame.tsx-var BOe = .02, rQ = 1.08;-function iQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var BOe = .02, nQ = 1.08;+function rQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);(0, F.useEffect)(() => {u(!1);@@ -65490,8 +65490,8 @@ function iQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: nQ(e, n.clientWidth, r.width),- dy: nQ(t, n.clientHeight, r.height)+ dx: tQ(e, n.clientWidth, r.width),+ dy: tQ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -65508,7 +65508,7 @@ function iQ({ 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(eQ(n.box, o.dx, o.dy, r)) : i(FOe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ n.mode === "move" ? i($Z(n.box, o.dx, o.dy, r)) : i(FOe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));}function g(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));@@ -65521,9 +65521,9 @@ function iQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(eQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(tQ(n, e.key === "-" ? 1 / rQ : rQ, r, t)));+ o[e.key] ? (e.preventDefault(), i($Z(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(eQ(n, e.key === "-" ? 1 / nQ : nQ, r, t)));}- let v = n && r ? IOe($Z(n, r, t), r) : null, y = v ? zOe(v, d) : !1, b = v ? {+ let v = n && r ? IOe(QZ(n, r, t), r) : null, y = v ? zOe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -65542,7 +65542,7 @@ function iQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- ZZ({+ XZ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -65581,7 +65581,7 @@ function iQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(tQ(n, e.deltaY > 0 ? rQ : 1 / rQ, r, t));+ n && r && i(eQ(n, e.deltaY > 0 ? nQ : 1 / nQ, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, I.jsx)("span", {@@ -65603,13 +65603,13 @@ function iQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o});}// src/react/avatar-picker/avatar-picker.ts-var VOe = "/api/avatar-choices", aQ = "/api/avatar-pick", HOe = "/api/avatar-code-cover", oQ = "/api/avatar-frame", UOe = "/avatar-choice", sQ = (e, t) => [+var VOe = "/api/avatar-choices", iQ = "/api/avatar-pick", HOe = "/api/avatar-code-cover", aQ = "/api/avatar-frame", UOe = "/avatar-choice", oQ = (e, t) => ["avatar-choices",e,t-], cQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, lQ = (e, t, n, r = "") => `${UOe}${cQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), uQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", WOe = (e, t, n) => B(VOe + cQ(e, t), n), GOe = (e) => V(HOe, { code: e });+], sQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, cQ = (e, t, n, r = "") => `${UOe}${sQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), lQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", WOe = (e, t, n) => B(VOe + sQ(e, t), n), GOe = (e) => V(HOe, { code: e });async function KOe(e, t, n) {- let r = await V(oQ, {+ let r = await V(aQ, {kind: e,id: t,ref: n.ref@@ -65622,12 +65622,12 @@ async function KOe(e, t, n) {bases: r.bases};}-var qOe = (e, t, n) => V(oQ, {+var qOe = (e, t, n) => V(aQ, {kind: e,id: t,url: n-}), JOe = (e, t, n) => dQ(`${oQ}${cQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function dQ(e, t) {+}), JOe = (e, t, n) => uQ(`${aQ}${sQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function uQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -65636,17 +65636,17 @@ async function dQ(e, t) {if (n.ok) return r;throw new sr(r?.error || `请求失败(${n.status})`, n.status, r);}-function fQ(e, t, n) {+function dQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? POe(e.focus, t, n) : QZ(t, n);+ return e.focus && r ? POe(e.focus, t, n) : ZZ(t, n);}-var YOe = (e) => e.crop && ZZ({+var YOe = (e) => e.crop && XZ({width: e.width,height: e.height});async function XOe(e, t, n) {if (!("file" in n)) {- await V(aQ, {+ await V(iQ, {kind: e,id: t,...n@@ -65659,19 +65659,19 @@ async function XOe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await dQ(`${aQ}${cQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await uQ(`${iQ}${sQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var pQ = 2;+var fQ = 2;function ZOe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, pQ).join("」「")}」`}${n.length > pQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, fQ).join("」「")}」`}${n.length > fQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}var QOe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;function $Oe(e) {return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${QOe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var mQ = (e) => e.cast > 1, eke = (e) => mQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, tke = {+var pQ = (e) => e.cast > 1, eke = (e) => pQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, tke = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -65692,7 +65692,7 @@ function nke(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var rke = (e) => `${tke[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (mQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), ike = 8, ake = 3 / 4;+var rke = (e) => `${tke[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (pQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), ike = 8, ake = 3 / 4;async function oke(e, t, n) {switch (n.via) {case "choice": return { choice: await KOe(e, t, n.choice) };@@ -65714,12 +65714,12 @@ function ske({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, I.jsx)(vge, {+ children: /* @__PURE__ */ (0, I.jsx)(yge, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, I.jsx)(rV, {+ }), /* @__PURE__ */ (0, I.jsx)(tV, {isOpen: i,onOpenChange: a,width: "avatar-picker",@@ -65734,7 +65734,7 @@ function ske({ kind: e, entityId: t, name: n, onPicked: r }) {})] });}function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, F.useRef)(null), o = FV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = sQ(e, t), m = (0, F.useRef)(!1), h = Ft({+ let a = (0, F.useRef)(null), o = NV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = oQ(e, t), m = (0, F.useRef)(!1), h = Ft({queryKey: p,queryFn: ({ signal: n }) => WOe(e, t, n),retryOnMount: !0,@@ -65742,7 +65742,7 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1});(0, F.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: sQ(e, t) });+ m.current && H.removeQueries({ queryKey: oQ(e, t) });}, [e, t]);let g = It({mutationFn: (n) => XOe(e, t, n),@@ -65775,17 +65775,17 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(iV, { children: /* @__PURE__ */ (0, I.jsx)(qB, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(nV, { children: /* @__PURE__ */ (0, I.jsx)(GB, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(IL, {+ children: [/* @__PURE__ */ (0, I.jsx)(PL, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(YU, {+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(qU, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]@@ -65794,16 +65794,16 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: d ? eke(d.choice) : ZOe(n, x)}),- T ? /* @__PURE__ */ (0, I.jsx)(aV, {+ T ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, I.jsx)(aV, {+ C ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",- action: E ? /* @__PURE__ */ (0, I.jsx)(J, {+ action: E ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- ...uV(h.isFetching),+ ...cV(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -65813,8 +65813,8 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, I.jsx)(nL, {- icon: bB,+ /* @__PURE__ */ (0, I.jsx)(eL, {+ icon: vB,size: "small","aria-label": "关闭",onClick: i@@ -65854,7 +65854,7 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"data-avatar-choice": !0,"aria-selected": n.current,title: rke(n),- ...uV(w),+ ...cV(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -65864,7 +65864,7 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [/* @__PURE__ */ (0, I.jsx)(lke, {- src: lQ(e, t, n.ref, uQ(n, n.ref)),+ src: cQ(e, t, n.ref, lQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, I.jsx)("span", {@@ -65873,15 +65873,15 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, I.jsx)(YU, {+ children: /* @__PURE__ */ (0, I.jsx)(qU, {variant: "caption",color: "gray",children: "在用"})}) : null,- mQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {+ pQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, I.jsxs)(YU, {+ children: /* @__PURE__ */ (0, I.jsxs)(qU, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -65903,26 +65903,26 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, I.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(nV, {+ children: /* @__PURE__ */ (0, I.jsx)(eV, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,onChange: u})- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {type: "submit",variant: "secondary",disabled: !l.trim(),- ...uV(v("code")),+ ...cV(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: () => a.current?.click(),- ...uV(v("file")),+ ...cV(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, I.jsx)("input", {@@ -65942,17 +65942,17 @@ function cke({ 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, I.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, I.jsx)(nV, {+ children: /* @__PURE__ */ (0, I.jsx)(eV, {type: "url","aria-label": "图片地址",placeholder: "https://…",value: s,onChange: c})- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",disabled: !s.trim(),- ...uV(v("url")),+ ...cV(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -65974,7 +65974,7 @@ function lke({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = YOe(t) ? ROe(fQ(t, s, ake), s) : null, l = r || a ? !0 : void 0;+ }, c = YOe(t) ? ROe(dQ(t, s, ake), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -66001,7 +66001,7 @@ function lke({ src: e, choice: t }) {});}function uke({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = uQ(n, s), m = lQ(e, t, s, p), h = FV();+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = lQ(n, s), m = cQ(e, t, s, p), h = NV();function g(e) {c(e), u(null), f(null);}@@ -66009,14 +66009,14 @@ function uke({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, I.jsx)(iQ, {+ children: [m ? /* @__PURE__ */ (0, I.jsx)(rQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), ZZ(e) && f(s === n.ref ? fQ(n, e, 1) : QZ(e, 1));+ u(e), XZ(e) && f(s === n.ref ? dQ(n, e, 1) : ZZ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -66047,23 +66047,23 @@ function uke({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: i,- ...uV(r),+ ...cV(r),children: "返回备选图片"}),- n.crop ? null : /* @__PURE__ */ (0, I.jsx)(J, {+ n.crop ? null : /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",- ...uV(r),+ ...cV(r),onClick: () => {r || a(null);},children: "整张使用"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {disabled: !d || !l,- ...uV(r),+ ...cV(r),onClick: () => {d && !r && a({ref: s,@@ -66078,17 +66078,17 @@ function uke({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })})] });}// src/react/components/source-picture.tsx-var hQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function gQ({ title: e, detail: t, busy: n, onRetry: r }) {+var mQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function hQ({ title: e, detail: t, busy: n, onRetry: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, I.jsx)(oV, {+ children: /* @__PURE__ */ (0, I.jsx)(iV, {size: "compact",- icon: MB,+ icon: AB,title: e,- actions: /* @__PURE__ */ (0, I.jsx)(J, {+ actions: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",- ...uV(!!n),+ ...cV(!!n),onClick: r,children: "立即重试"}),@@ -66097,8 +66097,8 @@ function gQ({ title: e, detail: t, busy: n, onRetry: r }) {});}function dke({ code: e }) {- let t = uH(), [n, r] = (0, F.useState)("");- return /* @__PURE__ */ (0, I.jsx)(gQ, {+ let t = cH(), [n, r] = (0, F.useState)("");+ return /* @__PURE__ */ (0, I.jsx)(hQ, {title: "封面未取得",detail: t.error || n,busy: !!t.busy,@@ -66113,8 +66113,8 @@ function dke({ code: e }) {}});}-function _Q({ item: e, image: t, thumbnail: n = !1 }) {- let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? hQ(e.code, t, r) : u ? uo(e, !0) : e.cover_url || "";+function gQ({ item: e, image: t, thumbnail: n = !1 }) {+ let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? mQ(e.code, t, r) : u ? uo(e, !0) : e.cover_url || "";if ((0, F.useLayoutEffect)(() => {let e = l.current;e?.complete && e.naturalWidth > 0 && o({@@ -66132,7 +66132,7 @@ function _Q({ item: e, image: t, thumbnail: n = !1 }) {alt: f})}) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(dke, { code: e.code });- if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(gQ, {+ if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(hQ, {title: "图片未取得",onRetry: () => i((e) => e + 1)});@@ -66181,8 +66181,8 @@ function _Q({ item: e, image: t, thumbnail: n = !1 }) {] });}// src/react/components/source-avatar.tsx-function vQ({ code: e, person: t, detail: n = !1 }) {- $I();+function _Q({ code: e, person: t, detail: n = !1 }) {+ ZI();let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");(0, F.useEffect)(() => {if (!r.current || i) return;@@ -66196,7 +66196,7 @@ function vQ({ code: e, person: t, detail: n = !1 }) {"data-source-initial": "",children: er(nn("performer", t.name))}), i && t.source_actor_id ? /* @__PURE__ */ (0, I.jsx)("img", {- src: hQ(e, `actor:${t.source_actor_id}`),+ src: mQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -66206,7 +66206,7 @@ function vQ({ code: e, person: t, detail: n = !1 }) {}) : o;}// src/react/components/cover-queue.tsx-function yQ({ codes: e, scope: t, fetchOne: n, settled: r }) {+function vQ({ codes: e, scope: t, fetchOne: n, settled: r }) {let [i, a] = (0, F.useState)(null), o = (0, F.useRef)(!1);if ((0, F.useEffect)(() => (o.current = !0, () => {o.current = !1;@@ -66217,7 +66217,7 @@ function yQ({ codes: e, scope: t, fetchOne: n, settled: r }) {done: 0,total: t});- let i = await ibe(e, n, (e) => a({+ let i = await abe(e, n, (e) => a({done: e,total: t}), () => o.current);@@ -66226,7 +66226,7 @@ function yQ({ codes: e, scope: t, fetchOne: n, settled: r }) {return i ? /* @__PURE__ */ (0, I.jsx)("div", {"data-cover-queue": "running",className: "min-w-0",- children: /* @__PURE__ */ (0, I.jsx)(EH, {+ children: /* @__PURE__ */ (0, I.jsx)(wH, {value: i.done,total: i.total,label: `正在取封面 · ${i.done} / ${i.total} 部。离开这一页会停在当前这部,没取的照旧排在后台`@@ -66234,9 +66234,9 @@ function yQ({ codes: e, scope: t, fetchOne: n, settled: r }) {}) : /* @__PURE__ */ (0, I.jsx)("div", {"data-cover-queue": "idle",className: "min-w-0",- children: /* @__PURE__ */ (0, I.jsx)(aV, {+ children: /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",variant: "secondary",onClick: () => void s(),@@ -66253,7 +66253,7 @@ async function fke(e, t, n) {code: e,cover_state: "fetching"}), t.replaceWith(...r.childNodes);- let i = n.querySelector("[data-feed-cover-state=\"fetching\"]"), a = await CW(e).catch((e) => ({+ let i = n.querySelector("[data-feed-cover-state=\"fetching\"]"), a = await xW(e).catch((e) => ({has_cover: !1,cover_version: "",message: e instanceof Error ? e.message : ""@@ -66271,8 +66271,8 @@ async function fke(e, t, n) {cover_reason: a.message || "没有找到可用的官方封面"}), a.has_cover;}-function bQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, F.useContext)(uG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "", [u, d] = (0, F.useState)(/* @__PURE__ */ new Set());+function yQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, F.useContext)(cG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "", [u, d] = (0, F.useState)(/* @__PURE__ */ new Set());(0, F.useEffect)(() => {d(/* @__PURE__ */ new Set());}, [l]);@@ -66309,7 +66309,7 @@ function bQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {/* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react","data-feed-cover-queue": !0,- children: /* @__PURE__ */ (0, I.jsx)(yQ, {+ children: /* @__PURE__ */ (0, I.jsx)(vQ, {scope: "这一行",codes: p,fetchOne: f@@ -66323,7 +66323,7 @@ function bQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {},dangerouslySetInnerHTML: { __html: l }}),- s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(vQ, {+ s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(_Q, {code: e.dataset.code,person: {name: e.dataset.name,@@ -66333,7 +66333,7 @@ function bQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {] }) : null;}// src/react/entity-hero/glyph.tsx-function xQ({ name: e }) {+function bQ({ name: e }) {let { wide: t, viewBox: n } = Cn(e);return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: n,@@ -66343,20 +66343,20 @@ function xQ({ name: e }) {});}// src/react/entity-hero/hero-pop.tsx-function SQ(e, t) {+function xQ(e, t) {t.style.removeProperty("max-height");let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var CQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function wQ(e, t, n, r) {+var SQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function CQ(e, t, n, r) {let i = (0, F.useRef)(r);i.current = r, (0, F.useEffect)(() => {if (!e) return;let r = () => {- t.current && CQ(n.current) ? SQ(t.current, n.current) : i.current();+ t.current && SQ(n.current) ? xQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -66370,17 +66370,17 @@ function wQ(e, t, n, r) {n]);}-function TQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function wQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = (0, F.useRef)(!1), d = (0, F.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, CQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, SQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !CQ(s.current) && (s.current.showPopover(), SQ(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !SQ(s.current) && (s.current.showPopover(), xQ(o.current, s.current), l(!0));}, m = () => {clearTimeout(d.current), d.current = window.setTimeout(() => {u.current || o.current?.matches(":hover,:focus-visible") || s.current?.matches(":hover") || f();}, 150);};- return wQ(c, o, s, f), (0, F.useEffect)(() => {+ return CQ(c, o, s, f), (0, F.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -66406,7 +66406,7 @@ function TQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && CQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && SQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -66426,14 +66426,14 @@ function TQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}function pke({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {- CQ(o.current) && o.current.hidePopover(), c(!1);+ SQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !CQ(o.current) && (o.current.showPopover(), SQ(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !SQ(o.current) && (o.current.showPopover(), xQ(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return wQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {- i.current && CQ(o.current) && SQ(i.current, o.current);+ return CQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {+ i.current && SQ(o.current) && xQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, I.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -66442,7 +66442,7 @@ function pke({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, I.jsx)(xQ, { name: "rss" }),+ /* @__PURE__ */ (0, I.jsx)(bQ, { name: "rss" }),/* @__PURE__ */ (0, I.jsx)("input", {ref: a,type: "checkbox",@@ -66480,25 +66480,25 @@ function mke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, I.jsxs)(Vme, {+ }, []), /* @__PURE__ */ (0, I.jsxs)(Hme, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, I.jsx)(PL, {+ children: [/* @__PURE__ */ (0, I.jsx)(ML, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, I.jsx)(xQ, { name: "chevron-down" })- }), /* @__PURE__ */ (0, I.jsx)(sz, {+ children: /* @__PURE__ */ (0, I.jsx)(bQ, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, I.jsx)(az, {placement: "bottom start",offset: 8,containerPadding: 8,- className: DV,+ className: TV,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, I.jsxs)(Ume, {+ children: /* @__PURE__ */ (0, I.jsxs)(Wme, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, I.jsx)(hz, {+ /* @__PURE__ */ (0, I.jsx)(pz, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -66506,34 +66506,34 @@ function mke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(_z, {+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(hz, {id: e.value,textValue: e.label,"data-namepick-name": e.value,- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]}, e.value))}),- /* @__PURE__ */ (0, I.jsx)(wme, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, I.jsx)(hz, { children: /* @__PURE__ */ (0, I.jsxs)(_z, {+ /* @__PURE__ */ (0, I.jsx)(Tme, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, I.jsx)(pz, { children: /* @__PURE__ */ (0, I.jsxs)(hz, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var hke = (e) => e === "studio" || e === "agency", EQ = (e) => e === "performer" || e === "creator", gke = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+var hke = (e) => e === "studio" || e === "agency", TQ = (e) => e === "performer" || e === "creator", gke = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";function _ke(e, t = "zh-CN") {return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({value: e,label: e}));}-function DQ(e) {+function EQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -66545,13 +66545,13 @@ function DQ(e) {linked: !1} : null;}-function OQ(e, t) {+function DQ(e, t) {let n = Kn(e, "performer"), r = Un(t);return r && [e.label, n].map(Un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var kQ = (e) => ({ site: zn(e) });+var OQ = (e) => ({ site: zn(e) });function vke(e, t) {- let n = DQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+ let n = EQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -66561,7 +66561,7 @@ function vke(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${OQ(e, n)} · ${t}`+ title: `${DQ(e, n)} · ${t}`};}let r = e.url || "";@@ -66569,11 +66569,11 @@ function vke(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (EQ(t) && e.link_kind !== "social") return {+ if (TQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: OQ(e, n),- mark: kQ(e)+ title: DQ(e, n),+ mark: OQ(e)};if (e.link_kind === "social") {let t = Hn(r);@@ -66581,7 +66581,7 @@ function vke(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : kQ(e)+ mark: t ? { brand: t } : OQ(e)};}return {@@ -66589,7 +66589,7 @@ function vke(e, t) {url: r,title: e.label || "",text: Kn(e, t, i),- mark: kQ(e)+ mark: OQ(e)};});return [...r, ...yke(a)];@@ -66602,7 +66602,7 @@ function yke(e) {sources: t.map((e) => e.label)}];}-var AQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+var kQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");function bke(e) {return [[@@ -66716,7 +66716,7 @@ function xke(e) {tags: e.tags}), t;}-function jQ(e, t = 4) {+function AQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),@@ -66745,8 +66745,8 @@ function Cke(e) {});}function wke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- $I();- let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = EQ(e), u = hke(e), d = l ? xke(n.profile) : u ? bke(n.company_profile) : [], f = vke(n, e), p = AQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);+ ZI();+ let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = TQ(e), u = hke(e), d = l ? xke(n.profile) : u ? bke(n.company_profile) : [], f = vke(n, e), p = kQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.wireScroller(h.current);}, [o, f.length]), (0, F.useEffect)(() => {@@ -66782,7 +66782,7 @@ function wke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, I.jsx)("h2", {- lang: PI(s),+ lang: MI(s),title: c || void 0,children: s}),@@ -66792,7 +66792,7 @@ function wke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, I.jsx)(SV, { item: {+ n.id ? /* @__PURE__ */ (0, I.jsx)(bV, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -66874,7 +66874,7 @@ function wke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bQ, {+ }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(yQ, {feedNew: r,host: i,wire: o.wireFeedRow,@@ -66896,7 +66896,7 @@ function Tke({ kind: e, name: t, helpers: n, people: r, company: i }) {});}function Eke({ kind: e, entity: t, actions: n }) {- let r = DQ(t), i = (e, t) => (r) => {+ let r = EQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {href: Pn("agency", r.name, r.id),@@ -66909,11 +66909,11 @@ function Eke({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, I.jsx)(MQ, { entity: t }),+ /* @__PURE__ */ (0, I.jsx)(jQ, { entity: t }),/* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]}),t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(Oke, {follow: t.follow,@@ -66922,27 +66922,27 @@ function Eke({ kind: e, entity: t, actions: n }) {a ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]}) : null,r ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, I.jsx)(xQ, { name: "id-card" }),+ /* @__PURE__ */ (0, I.jsx)(bQ, { name: "id-card" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-alias-names": "",title: "别名",children: r.names.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", {- lang: PI(e),+ lang: MI(e),children: e}, t))}),- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(TQ, {+ r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(wQ, {id: "entityAliasPop",hook: "alias",rest: r.rest,label: `另外 ${r.rest.toLocaleString()} 个别名`,heading: `${r.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(NQ, {+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(MQ, {label: e.label,names: e.names}, t)) })@@ -66964,21 +66964,21 @@ function Eke({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(MQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, I.jsx)(jQ, { entity: t }) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {href: Pn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),@@ -66990,24 +66990,24 @@ function Eke({ kind: e, entity: t, actions: n }) {});}function Dke({ aliases: e }) {- let { shown: t, rest: n } = jQ(e, 3);+ let { shown: t, rest: n } = AQ(e, 3);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, I.jsx)(xQ, { name: "id-card" }),+ /* @__PURE__ */ (0, I.jsx)(bQ, { name: "id-card" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, I.jsx)(TQ, {+ n ? /* @__PURE__ */ (0, I.jsx)(wQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(NQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(MQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});@@ -67018,7 +67018,7 @@ function Oke({ follow: e, actions: t }) {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -67041,12 +67041,12 @@ function kke({ follow: e, displayName: t, actions: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(aV, {+ children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(rV, {tone: "info",title: `关注里有同名作者 ${e.name}`,- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",- ...uV(r === e.key),+ ...cV(r === e.key),onClick: () => {a(e.key, e.name);},@@ -67061,37 +67061,37 @@ function kke({ follow: e, displayName: t, actions: n }) {}, e.key))});}-function MQ({ entity: e }) {+function jQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function NQ({ label: e, names: t }) {+function MQ({ label: e, names: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, I.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-pop-name": "",- lang: PI(e.name),+ lang: MI(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]}, t))})] });}function Ake({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(bQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}function jke({ tags: e }) {- let { shown: t, rest: n } = jQ(e);+ let { shown: t, rest: n } = AQ(e);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, I.jsx)(TQ, {+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(wQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -67107,10 +67107,10 @@ function jke({ tags: e }) {})}) : null] });}-function PQ({ mark: e }) {+function NQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, I.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, I.jsx)(xQ, { name: e.brand })+ children: /* @__PURE__ */ (0, I.jsx)(bQ, { name: e.brand })});let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, I.jsx)("span", {@@ -67127,19 +67127,19 @@ function Mke({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, I.jsx)(PQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, I.jsx)(NQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, I.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, I.jsx)(PQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, I.jsx)(NQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, I.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, I.jsx)(PQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(NQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -67151,7 +67151,7 @@ function Mke({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, I.jsx)(PQ, { mark: e.mark }),+ /* @__PURE__ */ (0, I.jsx)(NQ, { mark: e.mark }),/* @__PURE__ */ (0, I.jsx)("span", {"data-link-label": "",children: e.text@@ -67184,14 +67184,14 @@ function Nke({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entry-marks": "",- children: [AQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {+ children: [kQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(xQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(bQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -67320,7 +67320,7 @@ function Fke(e, t, n) {}// src/react/entity-page/entity-page-view.tsxfunction Ike(e) {- let { kind: t, name: n } = e, r = Ft(qX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+ let { kind: t, name: n } = e, r = Ft(KX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a} : void 0), { actions: s } = e;@@ -67338,7 +67338,7 @@ function Ike(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(XG, {+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(JG, {message: lr(r.error),onRetry: () => {r.refetch();@@ -67348,7 +67348,7 @@ function Ike(e) {entity: r.data});}-function FQ(e) {+function PQ(e) {let [t, n] = (0, F.useState)({key: e,n: 1@@ -67365,17 +67365,17 @@ function Rke(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}function zke(e) {- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = Lt(JX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || YX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = Lt(qX(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 || JX(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- } : BX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);+ } : zX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);S !== x && (C(x), b("videos"));let w = l && y === "people" && u.length ? "people" : v.media, T = Fke(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = KX(e), A = Ft(k), j = FQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = GX(e), A = Ft(k), j = PQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));(0, F.useLayoutEffect)(() => {s.javContext(M);}, [s, M]);@@ -67385,26 +67385,26 @@ function zke(e) {}, [e.layout, M]), N = {jav: e.jav,seed: e.seed- }, te = (0, F.useCallback)((e, r, a) => GX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Lt({- ...JX(t, n, re, ie),+ }, te = (0, F.useCallback)((e, r, a) => WX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Lt({+ ...qX(t, n, re, ie),enabled: w === "photos"- }), oe = ae.data?.pages[0], se = FQ(JSON.stringify(HX(t, n, re, ie))), ce = (0, F.useMemo)(() => {+ }), oe = ae.data?.pages[0], se = PQ(JSON.stringify(VX(t, n, re, ie))), ce = (0, F.useMemo)(() => {let e = ae.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: se,- codeSets: t.id ? [] : YX(t),+ codeSets: t.id ? [] : JX(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = Ft({- ...LX(d, o.feedRowHtml),+ ...IX(d, o.feedRowHtml),enabled: !!d}), fe = (0, F.useRef)(e.feedRevision);(0, F.useEffect)(() => {- fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: IX(d) }));+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: FX(d) }));}, [d, e.feedRevision]);let pe = !!A.data;(0, F.useEffect)(() => {@@ -67418,11 +67418,11 @@ function zke(e) {pe,T.key]), (0, F.useEffect)(() => {- c.body.isConnected && !document.getElementById("index")?.hidden && (xm("entity", {+ c.body.isConnected && !document.getElementById("index")?.hidden && (bm("entity", {seed: e.seed,revision: e.revision,jav: e.jav- }), !A.isPending && !ae.isPending && Tm(() => c.body.isConnected && !document.getElementById("index")?.hidden, c.filter));+ }), !A.isPending && !ae.isPending && wm(() => c.body.isConnected && !document.getElementById("index")?.hidden, c.filter));}, [c,e.seed,@@ -67438,7 +67438,7 @@ function zke(e) {me.current = !1;}, []);let he = (0, F.useCallback)(async () => {- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: VX(t, n) }), await H.invalidateQueries({ queryKey: [+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: BX(t, n) }), await H.invalidateQueries({ queryKey: ["entity-items",t,n@@ -67472,7 +67472,7 @@ function zke(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(VX(t, n), (e) => e && {+ onSuccess: (e, r) => H.setQueryData(BX(t, n), (e) => e && {...e,feed: {...e.feed,@@ -67526,10 +67526,10 @@ function zke(e) {let e = await Tn("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- me.current && await H.invalidateQueries({ queryKey: IX(d) });+ me.current && await H.invalidateQueries({ queryKey: FX(d) });})();},- feedAction: RX,+ feedAction: LX,avatarPicked: () => {s.avatarChanged(), he().then(() => {me.current && O((e) => e + 1);@@ -67577,19 +67577,19 @@ function zke(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : BX));+ } : zX));},setState: (e) => s.route({...i,state: e- }, BX),+ }, zX),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = KX({+ let r = s.reshuffleVideos(), a = GX({kind: t,name: n,filters: {@@ -67603,7 +67603,7 @@ function zke(e) {await H.fetchQuery(a).catch(() => null);return;}- let r = Lke(), a = await H.fetchInfiniteQuery(JX(t, n, re, r)).catch(() => null);+ let r = Lke(), a = await H.fetchInfiniteQuery(qX(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -67673,14 +67673,14 @@ function zke(e) {creator: "",studio: "",owner: ""- }, BX), Ne = "", Pe = !1;+ }, zX), Ne = "", Pe = !1;if (w === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (w === "online") Pe = T.busy, Ne = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {Pe = !A.data;- let e = UX(i.tag).length;+ let e = HX(i.tag).length;Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : Rke(oe, YX(oe).length) : Pe = ae.isPending;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : Rke(oe, JX(oe).length) : Pe = ae.isPending;let Fe = (0, F.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -67707,7 +67707,7 @@ function zke(e) {actions: be,helpers: xe}, D),- (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(axe, {+ (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(oxe, {kind: t,name: n,view: w,@@ -67724,7 +67724,7 @@ function zke(e) {actions: Se,helpers: Ce}), c.filter),- (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Kbe, {+ (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(qbe, {enabled: w === "videos",children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(AOe, {view: T.view,@@ -67740,7 +67740,7 @@ function zke(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(XG, {+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(JG, {message: lr(A.error),onRetry: () => {A.refetch();@@ -67783,23 +67783,23 @@ function zke(e) {] });}function Bke({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, I.jsx)(oV, {- icon: cV("search"),+ return e ? /* @__PURE__ */ (0, I.jsx)(iV, {+ icon: oV("search"),title: "没有符合条件的视频",- actions: /* @__PURE__ */ (0, I.jsx)(J, {+ actions: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: t,children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, I.jsx)(oV, {- icon: cV("film"),+ }) : /* @__PURE__ */ (0, I.jsx)(iV, {+ icon: oV("film"),title: "还没有视频",- actions: n ? /* @__PURE__ */ (0, I.jsx)(J, {+ actions: n ? /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, I.jsx)(mL, {+ }) : /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: "/",children: "浏览馆藏"@@ -67808,30 +67808,30 @@ function Bke({ filtered: e, onShowAll: t, onOnline: n }) {});}// src/react/diagnostics/diagnostics.ts-var IQ = ["diagnostics"], LQ = (e) => B("/api/diagnostics", e);+var FQ = ["diagnostics"], IQ = (e) => B("/api/diagnostics", e);async function Vke(e) {await H.fetchQuery({- queryKey: IQ,- queryFn: () => LQ(e),+ queryKey: FQ,+ queryFn: () => IQ(e),staleTime: 1e4});}// src/react/feed-new/feed-new-page.tsxfunction Hke({ host: e, revision: t, helpers: n, actions: r }) {- let i = Ft(LX(null, n.feedRowHtml)), a = (0, F.useRef)(t);+ let i = Ft(IX(null, n.feedRowHtml)), a = (0, F.useRef)(t);return (0, F.useEffect)(() => {- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: IX(null) }));- }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bQ, {+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: FX(null) }));+ }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(yQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: RX,+ act: LX,settled: r.settled}), e);}// src/react/index/index-search.tsx-var Uke = cV("search");-function RQ({ label: e, value: t, onQuery: n }) {+var Uke = oV("search");+function LQ({ label: e, value: t, onQuery: n }) {let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);(0, F.useEffect)(() => {clearTimeout(o.current), i(t);@@ -67848,27 +67848,27 @@ function RQ({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, I.jsx)($B, {+ children: /* @__PURE__ */ (0, I.jsx)(ZB, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, I.jsx)(tV, {+ children: /* @__PURE__ */ (0, I.jsx)($B, {type: "search",leadingIcon: Uke,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",onKeyDown: (e) => {- e.key !== "Enter" || a.current || lW(e.nativeEvent) || (e.preventDefault(), clearTimeout(o.current), n(r.trim()));+ e.key !== "Enter" || a.current || sW(e.nativeEvent) || (e.preventDefault(), clearTimeout(o.current), n(r.trim()));}})})});}// src/react/index/tag-pagination.ts-function zQ(e) {+function RQ(e) {let [t, n] = (0, F.useState)({filter: e,pageIndex: 0,@@ -67885,7 +67885,7 @@ function zQ(e) {}), [e])};}-function BQ(e, t, n) {+function zQ(e, t, n) {let { pageIndex: r, pageSize: i } = t;(0, F.useEffect)(() => {if (e === void 0) return;@@ -67902,11 +67902,11 @@ function BQ(e, t, n) {]);}// src/react/index/index-tags.tsx-var VQ = () => /* @__PURE__ */ (0, I.jsx)("span", {+var BQ = () => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), HQ = cV("pencil"), UQ = (e, t) => ({+}), VQ = oV("pencil"), HQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -67924,13 +67924,13 @@ function Wke({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": lZ(t.online, e.cat),+ "data-tag-cat": cZ(t.online, e.cat),"aria-pressed": n,title: e.label,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, I.jsx)(VQ, {}),+ /* @__PURE__ */ (0, I.jsx)(BQ, {}),/* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -67941,29 +67941,29 @@ function Wke({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(SV, { item: UQ(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, I.jsx)(xV, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(bV, { item: HQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, I.jsx)(yV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, I.jsx)(HQ, {})+ children: /* @__PURE__ */ (0, I.jsx)(VQ, {})}) : null]});}-function WQ({ groups: e, actions: t }) {+function UQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, I.jsxs)("section", {"data-alpha-group": r,- className: yU({+ className: _U({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, I.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, I.jsx)(AW, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, I.jsx)(OW, { value: n.length })]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(Wke, {@@ -67975,19 +67975,19 @@ function WQ({ groups: e, actions: t }) {});}var Gke = "\xA0";-function GQ({ tags: e, actions: t }) {+function WQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": lZ(t.online, e.cat),+ "data-tag-cat": cZ(t.online, e.cat),className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": lZ(t.online, e.cat),+ "data-tag-cat": cZ(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -68002,10 +68002,10 @@ function GQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(SV, { item: UQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(xV, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(bV, { item: HQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(yV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, I.jsx)(HQ, {})+ children: /* @__PURE__ */ (0, I.jsx)(VQ, {})}) : null]}) : null]}, e.k))@@ -68020,34 +68020,34 @@ var Kke = [["字母表","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 = aL();- return /* @__PURE__ */ (0, I.jsx)(sL, {+function GQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = rL();+ return /* @__PURE__ */ (0, I.jsx)(aL, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l ? /* @__PURE__ */ (0, I.jsxs)("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, I.jsx)(cL, {+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(oL, {"data-tag-pill": "","data-tag-cat": "all",pressed: !l.blocked && l.hidden === e,onPress: () => l.onChange(!!e),children: t- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(cL, {+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(oL, {"data-tag-pill": "","data-tag-cat": "all",pressed: !!l.blocked,onPress: l.onBlocked,children: "已屏蔽内容"}) : null]- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(cL, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(oL, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : lZ(n, e),+ "data-tag-cat": e === "all" ? "all" : cZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, I.jsx)(VQ, {}), r]+ children: [/* @__PURE__ */ (0, I.jsx)(BQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -68068,19 +68068,19 @@ function KQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, I.jsx)(Dz, {+ /* @__PURE__ */ (0, I.jsx)(Tz, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${nU}`,+ className: `ml-auto ${eU}`,children: Kke.map(([e, t, n]) => {- let r = cV(n);- return /* @__PURE__ */ (0, I.jsx)(Oz, {+ let r = oV(n);+ return /* @__PURE__ */ (0, I.jsx)(Ez, {value: e,"aria-label": t,"data-glass-segment": "",- className: rU,+ className: tU,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -68093,12 +68093,12 @@ function KQ({ categories: e, category: t, online: n, readout: r, letters: i, vie});}function qke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, I.jsxs)(hj, {+ return /* @__PURE__ */ (0, I.jsxs)(pj, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, I.jsx)(PV, {+ /* @__PURE__ */ (0, I.jsx)(MV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -68112,13 +68112,13 @@ function qke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {})]})}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: r,children: "清空"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "primary",size: "small",disabled: !e,@@ -68129,7 +68129,7 @@ function qke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {});}// src/react/index/tag-operations.tsx-var qQ = (e) => e.id ?? e.entity_id, JQ = {+var KQ = (e) => e.id ?? e.entity_id, qQ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",@@ -68137,26 +68137,26 @@ var qQ = (e) => e.id ?? e.entity_id, JQ = {repair: "整理重复标签",block: "屏蔽内容",unblock: "恢复内容"-}, YQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function XQ(e, t, n) {+}, JQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);+async function YQ(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await dl({- title: JQ[e.operation],+ title: qQ[e.operation],body: i,- confirmLabel: JQ[e.operation],+ confirmLabel: qQ[e.operation],onConfirm: () => V("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), qU(`tag-management-${Date.now()}`, {- html: `已${JQ[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), GU(`tag-management-${Date.now()}`, {+ html: `已${qQ[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function ZQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function XQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, F.useRef)({operation: e,selected: t,@@ -68165,24 +68165,24 @@ function ZQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }scope: i}), o = (0, F.useRef)({name: t[0]?.k || "",- target_id: t[0] ? qQ(t[0]) : 0+ target_id: t[0] ? KQ(t[0]) : 0}), [s, c] = (0, F.useState)(null);return (0, F.useEffect)(() => {let e = new AbortController(), t = a.current, n = ll({- title: JQ[t.operation],+ title: qQ[t.operation],confirmLabel: "预览影响范围",confirmDisabled: !0,body: "<div class=\"peach-react\" data-tag-editor-fields></div>",onConfirm: async () => {let n = {operation: t.operation,- ids: t.selected.map(qQ),+ ids: t.selected.map(KQ),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await YQ(n, e.signal)+ plan: await JQ(n, e.signal)};}});@@ -68193,7 +68193,7 @@ function ZQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await XQ(r.command, r.plan, e.signal) && t.done();+ await YQ(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}@@ -68210,7 +68210,7 @@ function ZQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}), s.host) : null;}function Jke({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? qQ(t[0]) : 0);+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? KQ(t[0]) : 0);return (0, F.useEffect)(() => {r({name: i,@@ -68223,28 +68223,28 @@ function Jke({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(nV, {+ ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(eV, {autoFocus: !0,"aria-label": "标签名称",value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, I.jsx)(XU, {+ }) : /* @__PURE__ */ (0, I.jsx)(JU, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(qQ(t)) === String(e));- n && s(qQ(n));+ let n = t.find((t) => String(KQ(t)) === String(e));+ n && s(KQ(n));},- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {- id: String(qQ(e)),+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(RU, {+ id: String(KQ(e)),children: e.k- }, qQ(e)))+ }, KQ(e)))});}// src/react/index/tag-manager.tsx-function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([o,_,@@ -68252,7 +68252,7 @@ function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,g,v,b- ]), { pagination: C, onChange: w } = zQ(S), T = new URLSearchParams({+ ]), { pagination: C, onChange: w } = RQ(S), T = new URLSearchParams({limit: String(C.pageSize),offset: String(C.pageIndex * C.pageSize),q: _,@@ -68269,25 +68269,25 @@ function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,],queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)});- BQ(E.data?.total, C, w);+ zQ(E.data?.total, C, w);let [D, O] = (0, F.useState)(/* @__PURE__ */ new Map());(0, F.useEffect)(() => {O(/* @__PURE__ */ new Map());}, [S]);- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = uH(), ee = E.data?.items || [], N = ee, te = (s ? eZ : $X).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = cH(), ee = E.data?.items || [], N = ee, te = (s ? $X : QX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({...e,label: e.k- })), ne = g === "alphabet" ? uZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {+ })), ne = g === "alphabet" ? lZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {M.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return XQ(n, await YQ(n, t), t);+ return YQ(n, await JQ(n, t), t);}, (e) => {e && O(/* @__PURE__ */ new Map());});- }, ae = re.map(qQ), oe = {+ }, ae = re.map(KQ), oe = {online: s,favorites: s,picked: k,@@ -68308,13 +68308,13 @@ function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: [e === void 0 ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mb-4 flex",- children: /* @__PURE__ */ (0, I.jsx)(RQ, {+ children: /* @__PURE__ */ (0, I.jsx)(LQ, {label: "过滤标签",value: l,onQuery: u})}) : null,- /* @__PURE__ */ (0, I.jsx)(KQ, {+ /* @__PURE__ */ (0, I.jsx)(GQ, {categories: te,category: h,online: s,@@ -68342,7 +68342,7 @@ function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,} } : {}},actions: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(lL, {+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(sL, {busy: M.busy === "repair",onPress: () => ie({operation: "repair",@@ -68350,11 +68350,11 @@ function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),children: "整理重复标签"}) : null,- N.length ? /* @__PURE__ */ (0, I.jsx)(lL, {+ N.length ? /* @__PURE__ */ (0, I.jsx)(sL, {onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),children: "选择本页"}) : null,- k.size ? /* @__PURE__ */ (0, I.jsx)(lL, {+ k.size ? /* @__PURE__ */ (0, I.jsx)(sL, {onPress: () => O(/* @__PURE__ */ new Map()),children: "清空选择"}) : null@@ -68363,27 +68363,27 @@ function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,E.isPending ? /* @__PURE__ */ (0, I.jsx)("div", { dangerouslySetInnerHTML: { __html: ac({mode: g,pageSize: C.pageSize- }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(aV, {+ }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: () => void E.refetch(),children: "立即重试"}),children: "无法读取标签"- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(WQ, {+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(UQ, {groups: ne,actions: oe- }) : /* @__PURE__ */ (0, I.jsx)(GQ, {+ }) : /* @__PURE__ */ (0, I.jsx)(WQ, {tags: P,actions: oe- }) : /* @__PURE__ */ (0, I.jsx)(aV, {+ }) : /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",children: "没有符合条件的标签。"}),E.data ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, I.jsx)(eW, {+ children: /* @__PURE__ */ (0, I.jsx)(QU, {label: "标签管理",total: E.data.total,pagination: C,@@ -68393,43 +68393,43 @@ function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,pageSizes: ic})}) : null,- M.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ M.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: M.error}) : null,- /* @__PURE__ */ (0, I.jsxs)(hj, {+ /* @__PURE__ */ (0, I.jsxs)(pj, {label: "标签管理操作",count: `已选 ${k.size} 个标签`,visible: k.size > 0,children: [- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",disabled: re.length !== 1,onClick: () => j("rename"),children: "重命名"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",disabled: re.length < 2 || s && new Set(re.map((e) => e.cat)).size > 1,onClick: () => j("merge"),children: "合并"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- ...uV(!!M.busy),+ ...cV(!!M.busy),onClick: () => ie({operation: v ? "restore" : "hide",ids: ae}),children: v ? "恢复" : "隐藏"}),- s ? /* @__PURE__ */ (0, I.jsx)(J, {+ s ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- ...uV(!!M.busy),+ ...cV(!!M.busy),onClick: () => ie({operation: b ? "unblock" : "block",ids: ae@@ -68438,7 +68438,7 @@ function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}) : null]}),- A ? /* @__PURE__ */ (0, I.jsx)(ZQ, {+ A ? /* @__PURE__ */ (0, I.jsx)(XQ, {operation: A,selected: re,scope: o,@@ -68519,19 +68519,19 @@ var Yke = []]};function $ke({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, I.jsx)($H, {- "aria-label": `${QX[e]}索引版式`,+ return /* @__PURE__ */ (0, I.jsx)(ZH, {+ "aria-label": `${ZX[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${eU}`,- children: Qke[e === "series" ? "series" : rZ(e) ? "company" : "people"].map(([e, t, n]) => {- let r = cV(n);- return /* @__PURE__ */ (0, I.jsx)(Oz, {+ className: `flex-none ${QH}`,+ children: Qke[e === "series" ? "series" : nZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = oV(n);+ return /* @__PURE__ */ (0, I.jsx)(Ez, {value: e,"aria-label": t,- className: Xve,+ className: Zve,children: /* @__PURE__ */ (0, I.jsx)("span", {title: t,className: "contents",@@ -68542,7 +68542,7 @@ function $ke({ kind: e, layout: t, onChange: n }) {});}function eAe(e) {- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => iZ({+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => rZ({kind: e.kind,q: e.q,scope: e.scope,@@ -68555,8 +68555,8 @@ function eAe(e) {e.view,e.category]), [o, s] = (0, F.useState)(a);- a !== o && (s(a), i(iZ(e)));- let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = QX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";+ a !== o && (s(a), i(rZ(e)));+ let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = ZX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";(0, F.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -68575,7 +68575,7 @@ function eAe(e) {...t};i(o), e.route(o, { replace: a });- }, { pagination: w, onChange: T } = zQ(JSON.stringify(r)), E = cZ(aZ(r), w.pageSize), D = Lt({+ }, { pagination: w, onChange: T } = RQ(JSON.stringify(r)), E = sZ(iZ(r), w.pageSize), D = Lt({queryKey: h === "tags" && (w.pageIndex || w.pageSize !== 100) ? [...E.queryKey,"page",@@ -68592,13 +68592,13 @@ function eAe(e) {placeholderData: ke}), O = MDe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;(0, F.useEffect)(() => {- Tm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });+ wm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });}, [D.data,D.isPending,D.isPlaceholderData,r- ]), BQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);+ ]), zQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : NDe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;te && !D.isPlaceholderData && (N.current = {key: ee,@@ -68615,14 +68615,14 @@ function eAe(e) {O,h,x- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? uZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [+ ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? lZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [ie,v,h,x]), oe = (t) => {l(t), e.savePreference({ layout: t });- }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(jW, {+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(kW, {tabs: Xke,value: _,label: "词表",@@ -68633,7 +68633,7 @@ function eAe(e) {view: e === "online" ? "alphabet" : v});}- }) : rZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(jW, {+ }) : nZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(kW, {tabs: Yke,value: h,label: "资料类型",@@ -68643,7 +68643,7 @@ function eAe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : ie.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, le = (x ? eZ : $X).filter(re);+ }, le = (x ? $X : QX).filter(re);return /* @__PURE__ */ (0, I.jsxs)("div", {ref: m,"data-index-page": h,@@ -68658,10 +68658,10 @@ function eAe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: b}),- nZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {+ tZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",- children: /* @__PURE__ */ (0, I.jsx)(eL, {+ children: /* @__PURE__ */ (0, I.jsx)(QI, {text: k ? void 0 : D.isError ? "" : M,busy: k,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -68670,18 +68670,18 @@ function eAe(e) {})})}) : null,- nZ(h) ? /* @__PURE__ */ (0, I.jsx)($ke, {+ tZ(h) ? /* @__PURE__ */ (0, I.jsx)($ke, {kind: h,layout: c,onChange: oe}) : null,- /* @__PURE__ */ (0, I.jsx)(CV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(xV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: cV("pencil"),+ leadingIcon: oV("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -68689,7 +68689,7 @@ function eAe(e) {e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, I.jsx)(RQ, {+ /* @__PURE__ */ (0, I.jsx)(LQ, {label: `过滤${b}`,value: g,onQuery: (e) => {@@ -68698,7 +68698,7 @@ function eAe(e) {})]}),- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(jW, {+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(kW, {tabs: Zke,value: S ? "online" : h,label: "人物名册",@@ -68711,7 +68711,7 @@ function eAe(e) {}}) : null,se,- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(QQ, {+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(ZQ, {scope: _,search: g,category: y,@@ -68725,8 +68725,8 @@ function eAe(e) {}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {"aria-label": "身份分类",- className: ZX,- children: XX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {+ className: XX,+ children: YX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Y, {variant: y === e ? "primary" : "secondary",size: "small","aria-pressed": y === e,@@ -68734,7 +68734,7 @@ function eAe(e) {children: t}, e))}) : null,- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(KQ, {+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(GQ, {categories: le,category: y,online: x,@@ -68750,7 +68750,7 @@ function eAe(e) {}) : null,/* @__PURE__ */ (0, I.jsx)("div", {"data-index-body": "",- children: /* @__PURE__ */ (0, I.jsx)(ZG, {+ children: /* @__PURE__ */ (0, I.jsx)(YG, {pending: k,skeletonHtml: () => h === "tags" ? ac({mode: v,@@ -68762,10 +68762,10 @@ function eAe(e) {}),children: (() => {if (k) return null;- if (D.isError) return /* @__PURE__ */ (0, I.jsx)(oV, {- icon: cV("alert"),+ if (D.isError) return /* @__PURE__ */ (0, I.jsx)(iV, {+ icon: oV("alert"),title: `没能读取${b}`,- actions: /* @__PURE__ */ (0, I.jsx)(J, {+ actions: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: () => void D.refetch(),children: "立即重试"@@ -68786,7 +68786,7 @@ function eAe(e) {layout: c,props: e});- if (nZ(h)) return /* @__PURE__ */ (0, I.jsx)(pZ, {+ if (tZ(h)) return /* @__PURE__ */ (0, I.jsx)(fZ, {kind: h,items: O,layout: c,@@ -68797,10 +68797,10 @@ function eAe(e) {picked: u,press: ce};- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(WQ, {+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(UQ, {groups: ae,actions: t- }) : /* @__PURE__ */ (0, I.jsx)(GQ, {+ }) : /* @__PURE__ */ (0, I.jsx)(WQ, {tags: ie,actions: t});@@ -68809,7 +68809,7 @@ function eAe(e) {}),h === "tags" && !k && !D.isError ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, I.jsx)(eW, {+ children: /* @__PURE__ */ (0, I.jsx)(QU, {label: "标签",total: j ?? O.length,pagination: w,@@ -68821,7 +68821,7 @@ function eAe(e) {}) : null,A ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5 flex justify-center",- children: /* @__PURE__ */ (0, I.jsxs)(J, {+ children: /* @__PURE__ */ (0, I.jsxs)(Y, {variant: "secondary","data-index-more": "",className: "min-w-31",@@ -68857,26 +68857,26 @@ var tAe = {series: "系列"};function nAe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, I.jsx)(oV, {- icon: cV("search"),+ if (t) return /* @__PURE__ */ (0, I.jsx)(iV, {+ icon: oV("search"),title: "没有符合条件的内容",- actions: /* @__PURE__ */ (0, I.jsx)(J, {+ actions: /* @__PURE__ */ (0, I.jsx)(Y, {size: "small",onClick: r,children: "清除筛选"}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : tAe[e], a = /* @__PURE__ */ (0, I.jsx)(mL, {+ let i = n && e === "performers" ? "创作者" : tAe[e], a = /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, I.jsx)(oV, {- icon: cV(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, I.jsx)(iV, {+ icon: oV(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(mL, {+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: "/settings/library",children: "添加媒体"@@ -68884,14 +68884,14 @@ function nAe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var $Q = {+var QQ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, rAe = (e) => $Q[e.junk_kind || "other"] || $Q.other;+}, rAe = (e) => QQ[e.junk_kind || "other"] || QQ.other;function iAe(e) {return e === "dismissed" ? {operation: "reconsider-junk",@@ -68903,7 +68903,7 @@ function iAe(e) {glyph: "check"};}-var e$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), aAe = (e, t) => [+var $Q = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), aAe = (e, t) => ["junk-queue",e.view,e.kind,@@ -68924,19 +68924,19 @@ async function sAe(e, t) {};}// src/react/junk-queue/junk-card.tsx-function t$({ name: e }) {+function e$({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-var n$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+var t$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = rAe(e), m = String(e.name || ""), h = iAe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {- t.target.closest("[data-junk-actions]") || n$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+ t.target.closest("[data-junk-actions]") || t$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), n$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), t$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, b = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, x = (t) => (n) => {@@ -68967,7 +68967,7 @@ function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: _K,+ onMouseDown: hK,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",@@ -68975,7 +68975,7 @@ function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, I.jsx)(t$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, I.jsx)(e$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-art": "thumb",@@ -68987,7 +68987,7 @@ function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(t$, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(e$, { name: "check" })})]}),@@ -69024,7 +69024,7 @@ function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: Hs("正在定位") }- }) : /* @__PURE__ */ (0, I.jsx)(t$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {+ }) : /* @__PURE__ */ (0, I.jsx)(e$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -69036,7 +69036,7 @@ function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, I.jsx)(t$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(e$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -69048,7 +69048,7 @@ function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, I.jsx)(t$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(e$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -69065,7 +69065,7 @@ function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}var lAe = (0, F.memo)(cAe);// src/react/components/collection-summary.tsx-function r$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function n$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -69091,31 +69091,31 @@ function r$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !});}// src/react/junk-queue/junk-count.tsx-function i$({ name: e }) {+function r$({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function a$({ scope: e, count: t }) {+function i$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}function uAe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = FV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = fL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? MU.map(([e]) => e$(t, e)).join(",") : ""}`), l = FU(s), u = (e) => {+ let i = NV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = uL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? AU.map(([e]) => $Q(t, e)).join(",") : ""}`), l = NU(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") || PU()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || MU()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, I.jsx)(r$, {- label: IU(s),+ children: /* @__PURE__ */ (0, I.jsx)(n$, {+ label: PU(s),figure: d,pending: !t && !n,flush: !0@@ -69135,17 +69135,17 @@ function uAe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- MU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {- href: PU(e, s),+ AU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {+ href: MU(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, I.jsx)(i$, { name: r }),+ /* @__PURE__ */ (0, I.jsx)(r$, { name: r }),n,- /* @__PURE__ */ (0, I.jsx)(a$, {+ /* @__PURE__ */ (0, I.jsx)(i$, {scope: e,- count: t ? e$(t, e) : 0+ count: t ? $Q(t, e) : 0})]}, e || "all")),@@ -69159,9 +69159,9 @@ function uAe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, I.jsx)(i$, { name: l.glyph }),+ /* @__PURE__ */ (0, I.jsx)(r$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, I.jsx)(a$, {+ /* @__PURE__ */ (0, I.jsx)(i$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -69173,7 +69173,7 @@ function uAe({ route: e, page: t, failed: n, onNavigate: r }) {});}// src/react/junk-queue/junk-queue-page.tsx-var dAe = cV("check"), fAe = (e, t) => e[1] === t.view && e[2] === t.kind;+var dAe = oV("check"), fAe = (e, t) => e[1] === t.view && e[2] === t.kind;function pAe(e) {let t = {kind: e.kind,@@ -69218,7 +69218,7 @@ function mAe(e) {}, [e]), t;}function hAe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = Txe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {+ let a = Exe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -69226,16 +69226,16 @@ function hAe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, I.jsx)(XG, {+ if (!t) return /* @__PURE__ */ (0, I.jsx)(JG, {message: xn(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, I.jsx)(oV, {+ return /* @__PURE__ */ (0, I.jsx)(iV, {icon: dAe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, I.jsx)(mL, {+ actions: t ? /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: "/junk-files",children: "查看待判断"@@ -69274,7 +69274,7 @@ function gAe({ onMore: e }) {if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: YG });+ }, { rootMargin: qG });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {ref: t,@@ -69284,22 +69284,22 @@ function gAe({ onMore: e }) {});}// src/react/components/fieldset-layout.ts-var _Ae = yU({+var _Ae = _U({padding: "none",className: "overflow-hidden"-}), o$ = {+}), a$ = {split: "min-w-0 p-6",stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"-}, s$ = {+}, o$ = {split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"};-function c$(e) {+function s$(e) {return `${_Ae} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}// src/react/data-cleanup/cleanup-entry.ts-var l$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", u$ = {- face: yU({+var c$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", l$ = {+ face: _U({padding: "none",radius: "plain",interactive: !0,@@ -69323,21 +69323,21 @@ var l$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", u"bg-chart-8/10"];function bAe(e = {}) {- return `${yU({+ return `${_U({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}var xAe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", SAe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function d$({ interactive: e = !1 } = {}) {- return yU({+function u$({ interactive: e = !1 } = {}) {+ return _U({padding: "none",radius: "plain",interactive: e,className: "flex min-h-33 flex-col gap-2 p-4 text-left"});}-var f$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";+var d$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";function CAe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {@@ -69398,37 +69398,37 @@ function wAe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {] });}// src/management.ts-var p$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", m$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", h$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", g$ = "disabled data-skeleton-action", TAe = "aria-disabled=\"true\"", _$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, v$ = (e, t, n) => `<div class="${o$[n]}"><div class="flex flex-col gap-2">+var f$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", p$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", m$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", h$ = "disabled data-skeleton-action", TAe = "aria-disabled=\"true\"", g$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, _$ = (e, t, n) => `<div class="${a$[n]}"><div class="flex flex-col gap-2"><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 EAe() {- return _$(`<section aria-label="扫描与采集" class="${c$("stack")}" data-cleanup-task data-cleanup-processing>- ${v$("扫描与采集", p$, "stack")}- <footer class="${s$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Es("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ks({+ return g$(`<section aria-label="扫描与采集" class="${s$("stack")}" data-cleanup-task data-cleanup-processing>+ ${_$("扫描与采集", f$, "stack")}+ <footer class="${o$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Es("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ks({label: "同步新增文件",- attrs: g$+ attrs: h$})}${ks({glyph: "chevron-down",- attrs: `${g$} aria-label="更多同步方式"`+ attrs: `${h$} aria-label="更多同步方式"`})}</span></footer></section>`);}function DAe() {- return _$(`<section aria-label="媒体修复" class="${c$("split")}" data-cleanup-task data-cleanup-processing>- ${v$("媒体修复", m$, "split")}- <footer class="${s$.split}">${js(h$, {+ return g$(`<section aria-label="媒体修复" class="${s$("split")}" data-cleanup-task data-cleanup-processing>+ ${_$("媒体修复", p$, "split")}+ <footer class="${o$.split}">${js(m$, {className: "w-48",attrs: TAe})}${ks({label: "开始修复",- attrs: g$+ attrs: h$})}</footer></section>`);}function OAe() {- let e = (e, t, n, r = "") => `<div class="${u$.face}"><span class="${u$.icon}">${Es(t, "size-5")}</span><span class="${u$.body}"><span class="${u$.title}">${e}</span><span class="${u$.summary}">${n}</span>${r ? `<span class="${u$.detail}">${r}</span>` : ""}</span>${Es("chevron-right", u$.arrow)}</div>`, t = (e, t) => `<div class="${d$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Es(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${h$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${h$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => np.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");+ let e = (e, t, n, r = "") => `<div class="${l$.face}"><span class="${l$.icon}">${Es(t, "size-5")}</span><span class="${l$.body}"><span class="${l$.title}">${e}</span><span class="${l$.summary}">${n}</span>${r ? `<span class="${l$.detail}">${r}</span>` : ""}</span>${Es("chevron-right", l$.arrow)}</div>`, t = (e, t) => `<div class="${u$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Es(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${m$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${m$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => np.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${f$}">${[+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${d$}">${[["人工复核", "square-check-big"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],@@ -69436,12 +69436,12 @@ function OAe() {["回收站", "trash"]].map(([e, n]) => t(e, n)).join("")}</div></section><div id="libraryProcessing" class="scroll-mt-20">${EAe()}</div>- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${l$}">${r(!1)}</div></section>- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${l$}">${r(!0)}</div></section>+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${c$}">${r(!1)}</div></section>+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${c$}">${r(!0)}</div></section></div></div>`;}// src/react/components/fieldset.tsx-var kAe = yU({+var kAe = _U({padding: "none",radius: "surface",className: "overflow-hidden"@@ -69453,41 +69453,41 @@ function jAe({ id: e, children: t }) {children: t});}-function y$({ id: e, gap: t = "none", children: n }) {+function v$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, I.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function b$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function y$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, I.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: c$(e),+ className: s$(e),children: [/* @__PURE__ */ (0, I.jsx)("div", {- className: o$[e],+ className: a$[e],children: a}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {- className: s$[e],+ className: o$[e],children: i}) : null]});}// src/react/components/name-link.tsx-function x$({ className: e, ...t }) {+function b$({ className: e, ...t }) {return /* @__PURE__ */ (0, I.jsx)("a", {...t,- className: q("text-body-2-medium underline-offset-4 hover:underline", e)+ className: J("text-body-2-medium underline-offset-4 hover:underline", e)});}// src/react/components/issue-row.tsx-function S$({ title: e, href: t, children: n }) {+function x$({ title: e, href: t, children: n }) {return /* @__PURE__ */ (0, I.jsxs)("li", {className: "flex min-w-0 flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",- children: [t ? /* @__PURE__ */ (0, I.jsx)(x$, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(b$, {href: t,children: e}) : /* @__PURE__ */ (0, I.jsx)("span", {@@ -69504,8 +69504,8 @@ var MAe = {error: "rose",neutral: "neutral"};-function C$({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, I.jsx)(YU, {+function S$({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, I.jsx)(qU, {"data-status-tone": e,variant: "caption",color: MAe[e],@@ -69527,7 +69527,7 @@ function NAe({ className: e }) {});}var PAe = "打开文件管理器失败,请重试";-function w$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {+function C$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);(0, F.useEffect)(() => () => {l.current = !1;@@ -69549,16 +69549,16 @@ function w$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("p", {- className: q("min-w-0 break-all", n),+ className: J("min-w-0 break-all", n),children: [t, e]}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(nL, {+ children: [/* @__PURE__ */ (0, I.jsx)(eL, {icon: NAe,size: "small","aria-label": "在资源管理器中显示",onClick: () => void u(),- ...uV(a)+ ...cV(a)}), r]})]}), s ? /* @__PURE__ */ (0, I.jsx)("p", {@@ -69603,71 +69603,71 @@ var LAe = "这一项耗时较长,暂时没有新进展。任务结束后可以return r && a.push(`${r} 项同名人物资料需要确认是否为同一人`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;}, zAe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + RAe(e);function BAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = pve(e), o = uH(), s = uH(), [c, l] = (0, F.useState)(""), u = XV(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = uve(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && ZV(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = JV(e), y = FV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(KV, {+ let a = mve(e), o = cH(), s = cH(), [c, l] = (0, F.useState)(""), u = JV(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = dve(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && YV(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = KV(e), y = NV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(WV, {action: t ? "archive" : "unarchive",job_id: e.job_id}, "POST", n), (n) => {- H.setQueryData(qV, n), l(t ? e.job_id : "");- }), x = e.issue_count && !u ? /* @__PURE__ */ (0, I.jsx)(J, {+ H.setQueryData(GV, n), l(t ? e.job_id : "");+ }), x = e.issue_count && !u ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- ...uV(!!o.busy),+ ...cV(!!o.busy),onClick: () => void o.run("export", (t) => FAe(e, t), (t) => {IAe(e.job_id, t), i("已导出问题清单");}),children: "导出完整问题清单"}) : null, S = p ? [t || e.error || "处理未完成,请重试",- m ? QV : "",+ m ? XV : "",f].filter(Boolean).join("\n") : f || `这一趟有 ${(e.issue_count || 0).toLocaleString()} 项问题。`;return /* @__PURE__ */ (0, I.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- v ? /* @__PURE__ */ (0, I.jsx)(gve, {+ v ? /* @__PURE__ */ (0, I.jsx)(_ve, {state: e,slow: v- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(aV, {+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "warning",title: "处理较慢",children: LAe}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(aV, {+ n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "success",title: "处理完成",children: zAe(n)}) : null,- (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(aV, {+ (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",title: "已取消上次任务",children: "已取得的资料和预览已保留,这一轮不会自动继续,需要时重新同步。"}) : null,- h ? /* @__PURE__ */ (0, I.jsx)(aV, {+ h ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: p ? m ? "warning" : "error" : "neutral",className: "gap-0 p-3",title: p ? m ? "处理已结束,部分项目需处理" : "处理未完成" : void 0,action: /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- m ? /* @__PURE__ */ (0, I.jsx)(lH, {- href: $V,+ m ? /* @__PURE__ */ (0, I.jsx)(sH, {+ href: ZV,size: "small",- trailingIcon: mB,+ trailingIcon: fB,children: "查看全部内容"}) : null,- d ? /* @__PURE__ */ (0, I.jsx)(J, {+ d ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small","aria-label": "立即重试未完成项",onClick: r,children: "立即重试"}) : null,- g ? /* @__PURE__ */ (0, I.jsx)(J, {+ g ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small","aria-label": "归档提示",- ...uV(!!s.busy),+ ...cV(!!s.busy),onClick: () => b(!0),children: "归档"}) : null@@ -69675,7 +69675,7 @@ function BAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}),extra: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [a ? /* @__PURE__ */ (0, I.jsx)("div", {className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3",- children: /* @__PURE__ */ (0, I.jsx)(FH, {+ children: /* @__PURE__ */ (0, I.jsx)(NH, {summary: a.label,contentClassName: "gap-0",children: /* @__PURE__ */ (0, I.jsx)("div", {@@ -69683,7 +69683,7 @@ function BAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {children: /* @__PURE__ */ (0, I.jsx)("ul", {ref: y,className: "max-h-96 overflow-y-auto",- children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(S$, {+ children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(x$, {title: e.label,href: e.href,children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -69699,7 +69699,7 @@ function BAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, I.jsx)(w$, {+ children: /* @__PURE__ */ (0, I.jsx)(C$, {path: _,prefix: "完整记录:",className: "text-caption-1-regular",@@ -69712,70 +69712,70 @@ function BAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null] }),children: S}) : null,- e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(aV, {+ e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- ...uV(!!s.busy),+ ...cV(!!s.busy),onClick: () => b(!1),children: "撤销"}),children: "已归档上一趟的问题提示,完整记录仍保留。"}) : null,- o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "warning",children: o.error || s.error}) : null]});}-function T$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = SH(e), o = It({- mutationFn: (e) => V(KV, e),+function w$(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = bH(e), o = It({+ mutationFn: (e) => V(WV, e),onSuccess: (e) => {- a(), H.setQueryData(qV, e), H.invalidateQueries({ queryKey: qV });+ a(), H.setQueryData(GV, e), H.invalidateQueries({ queryKey: GV });}});(0, F.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = ZH(c), u = o.error ? lr(o.error) : r.isError ? r.data ? rH : lr(r.error) : "", d = o.isPending || XV(s), f = async (e) => {+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = YH(c), u = o.error ? lr(o.error) : r.isError ? r.data ? tH : lr(r.error) : "", d = o.isPending || JV(s), f = async (e) => {d || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, I.jsx)(b$, {+ children: [/* @__PURE__ */ (0, I.jsx)(y$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(lH, {+ /* @__PURE__ */ (0, I.jsx)(sH, {href: "/sources",size: "small",- trailingIcon: mB,+ trailingIcon: fB,children: "来源和凭证"}),- /* @__PURE__ */ (0, I.jsx)(lH, {+ /* @__PURE__ */ (0, I.jsx)(sH, {href: "/settings/diagnostics",size: "small",- trailingIcon: mB,+ trailingIcon: fB,children: "诊断与日志"}),- s.candidates ? /* @__PURE__ */ (0, I.jsx)(lH, {+ s.candidates ? /* @__PURE__ */ (0, I.jsx)(sH, {href: "/review",size: "small",- trailingIcon: mB,+ trailingIcon: fB,children: "复核资料"}) : null,- /* @__PURE__ */ (0, I.jsx)(UK, {+ /* @__PURE__ */ (0, I.jsx)(VK, {scan: !0,busy: o.isPending,- occupied: XV(s),+ occupied: JV(s),metadataOnly: s?.metadata_only,speedMode: s.speed_mode,pendingCount: s.new_asset_count,onRun: f,- onOccupied: () => t(cve(s))+ onOccupied: () => t(lve(s))})] }),children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -69785,7 +69785,7 @@ function T$(e) {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(y$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(YU, {+ children: [/* @__PURE__ */ (0, I.jsx)(v$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(qU, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -69793,28 +69793,28 @@ function T$(e) {children: [s.new_asset_count.toLocaleString(), " 部待补全"]})}) : null]- }), l && (XV(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {+ }), l && (JV(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- onClick: () => XH(c, !0),+ onClick: () => JH(c, !0),children: "显示进度浮窗"}) : null]}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: p$+ children: f$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, I.jsx)(C$, { children: "已暂停" })- }) : XV(s) ? /* @__PURE__ */ (0, I.jsx)(Cve, { state: s }) : null,- XV(s) ? /* @__PURE__ */ (0, I.jsx)("p", {+ children: /* @__PURE__ */ (0, I.jsx)(S$, { children: "已暂停" })+ }) : JV(s) ? /* @__PURE__ */ (0, I.jsx)(wve, { state: s }) : null,+ JV(s) ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: eH(s)+ children: QV(s)}) : null,- XV(s) ? /* @__PURE__ */ (0, I.jsx)(UH, { traffic: s.traffic }) : null,- XV(s) ? /* @__PURE__ */ (0, I.jsx)(xH, { state: s }) : null+ JV(s) ? /* @__PURE__ */ (0, I.jsx)(VH, { traffic: s.traffic }) : null,+ JV(s) ? /* @__PURE__ */ (0, I.jsx)(yH, { state: s }) : null]})}), /* @__PURE__ */ (0, I.jsx)(BAe, {@@ -69832,32 +69832,32 @@ function T$(e) {});}// src/react/playlists/playlists.ts-var VAe = "/api/playlists", E$ = "/api/playlist", D$ = ["playlists"], O$ = (e) => B(VAe, e);+var VAe = "/api/playlists", T$ = "/api/playlist", E$ = ["playlists"], D$ = (e) => B(VAe, e);async function HAe(e) {await H.fetchQuery({- queryKey: D$,- queryFn: () => O$(e),+ queryKey: E$,+ queryFn: () => D$(e),staleTime: 0});}var UAe = () => H.invalidateQueries({- queryKey: D$,+ queryKey: E$,exact: !0-}), WAe = (e) => e.current_asset_id || e.preview_asset_id || null, GAe = (e) => `/poster?id=${e}&c=4`, KAe = (e) => V(E$, {+}), WAe = (e) => e.current_asset_id || e.preview_asset_id || null, GAe = (e) => `/poster?id=${e}&c=4`, KAe = (e) => V(T$, {action: "create",name: e,asset_ids: []-}), qAe = (e, t) => V(E$, {+}), qAe = (e, t) => V(T$, {action: "rename",id: e,name: t-}), JAe = (e) => V(E$, {+}), JAe = (e) => V(T$, {action: "delete",id: e-}), YAe = (e) => B(`${E$}?id=${e}`).catch(() => null);+}), YAe = (e) => B(`${T$}?id=${e}`).catch(() => null);function XAe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(E$, {+ return V(T$, {action: "create",name: e.name,asset_ids: t,@@ -69866,9 +69866,13 @@ function XAe(e) {});}// src/react/scraping/custom-source-data.ts-var k$ = "/api/custom-metadata", A$ = ["custom-metadata"], j$ = (e) => B(k$, e), ZAe = "/api/scraping", QAe = "/api/scraping/settings", $Ae = "/api/scraping/check", M$ = "/api/scraping/check-all", N$ = "/api/scraping/cover", eje = "/api/scraping/amane-bridge", tje = "/api/scraping/amane-bridge/check", nje = "/api/scraping/amane-bridge/rebuild", P$ = ["scraping"], F$ = ["scraping", "cover"], I$ = ["scraping", "check-all"], L$ = ["scraping", "amane-bridge"], rje = 262144, R$ = (e) => B(ZAe, e), z$ = (e) => B(N$, e), B$ = (e) => B(M$, e), V$ = (e) => B(eje, e);+var O$ = "/api/custom-metadata", k$ = ["custom-metadata"], A$ = (e) => B(O$, e), ZAe = "/api/scraping", QAe = "/api/scraping/settings", $Ae = "/api/scraping/check", j$ = "/api/scraping/check-all", M$ = "/api/scraping/cover", eje = "/api/scraping/amane-bridge", tje = "/api/scraping/amane-bridge/check", nje = "/api/scraping/amane-bridge/rebuild", N$ = ["scraping"], P$ = ["scraping", "cover"], F$ = ["scraping", "check-all"], I$ = ["scraping", "amane-bridge"], rje = 262144, L$ = (e) => B(ZAe, e), R$ = (e) => B(M$, e), z$ = (e) => B(j$, e), B$ = (e) => B(eje, e);async function ije(e) {await Promise.all([+ H.fetchQuery({+ queryKey: N$,+ queryFn: () => L$(e)+ }),H.fetchQuery({queryKey: P$,queryFn: () => R$(e)@@ -69882,32 +69886,28 @@ async function ije(e) {queryFn: () => B$(e)}),H.fetchQuery({- queryKey: L$,- queryFn: () => V$(e)- }),- H.fetchQuery({- queryKey: A$,- queryFn: () => j$(e)+ queryKey: k$,+ queryFn: () => A$(e)})]);}function aje(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}-var H$ = /* @__PURE__ */ new Set([+var V$ = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), U$ = /* @__PURE__ */ new Set([+]), H$ = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"]);-function W$(e) {+function U$(e) {let t = e.pool ?? [], n = Math.min(e.size ?? e.items.length, t.length);if (t.length <= n) return e;let r = ((e.offset ?? 0) + n) % t.length;@@ -69917,7 +69917,7 @@ function W$(e) {items: Array.from({ length: n }, (e, n) => t[(r + n) % t.length])};}-var G$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+var W$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();function oje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {@@ -69925,7 +69925,7 @@ function oje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aindex: c++};return l.push(t), t;- }, d = t.filter((t) => !e || G$(t).includes(G$(e)));+ }, d = t.filter((t) => !e || W$(t).includes(W$(e)));if (!e) {if (s.length) {let e = ({ pending: e, pool: t, offset: n, size: r, ...i }) => ({@@ -69936,9 +69936,9 @@ function oje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: akind: i.kind,item: e})),- pending: e ? U$.has(i.kind) ? 5 : 3 : void 0,+ pending: e ? H$.has(i.kind) ? 5 : 3 : void 0,shuffle: (t?.length ?? 0) > i.items.length || void 0- }), t = s.filter((e) => !U$.has(e.kind)).map(e);+ }), t = s.filter((e) => !H$.has(e.kind)).map(e);return d.length && t.push({label: "搜索记录",options: d.map((e) => u({@@ -69949,7 +69949,7 @@ function oje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: atabs: null,recent: null,left: t,- right: s.filter((e) => U$.has(e.kind)).map(e),+ right: s.filter((e) => H$.has(e.kind)).map(e),empty: !1,options: l};@@ -69999,7 +69999,7 @@ function oje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !U$.has(e.kind)).map(h), _ = m.filter((e) => U$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !H$.has(e.kind)).map(h), _ = m.filter((e) => H$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -70015,7 +70015,7 @@ function sje(e, t, n = Math.random) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => G$(t) === G$(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => W$(t) === W$(e))).slice(0, 5);}// src/react/search/search-page.tsxvar cje = () => ({@@ -70044,7 +70044,7 @@ var cje = () => ({active: -1,reveal: !1,rewind: !1-}), K$ = (e) => oje({+}), G$ = (e) => oje({query: e.query,history: e.history,picks: e.picks,@@ -70053,16 +70053,16 @@ var cje = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), lje = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), q$ = 4e3, uje = 5e3, J$ = 1200;+}), lje = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), K$ = 4e3, uje = 5e3, q$ = 1200;function dje(e) {if (window.requestIdleCallback) {- let t = window.requestIdleCallback(e, { timeout: q$ });+ let t = window.requestIdleCallback(e, { timeout: K$ });return () => window.cancelIdleCallback(t);}- let t = window.setTimeout(e, q$);+ let t = window.setTimeout(e, K$);return () => window.clearTimeout(t);}-var Y$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {+var J$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })@@ -70092,7 +70092,7 @@ function fje(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 = K$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(gje, {+ let c = G$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(gje, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -70101,7 +70101,7 @@ function fje(e) {onRemove: s.remove}, `${t.type}:${t.value}:${t.index}`), d = (e) => e.href ? /* @__PURE__ */ (0, I.jsx)("a", {href: e.href,- onMouseDown: Q$,+ onMouseDown: Z$,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -70118,9 +70118,9 @@ function fje(e) {"aria-label": `${e.label}换一批`,title: "换一批","aria-busy": f(e.kind) || void 0,- onMouseDown: Q$,+ onMouseDown: Z$,onClick: () => s.reshuffle(e.kind),- children: /* @__PURE__ */ (0, I.jsx)(Y$, { name: "shuffle" })+ children: /* @__PURE__ */ (0, I.jsx)(J$, { name: "shuffle" })}), d(e)]}) : d(e)] }),e.pending ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -70166,7 +70166,7 @@ function fje(e) {]});}-function X$(e, t) {+function Y$(e, t) {let n = e.flatMap((e) => e.items.flatMap((e) => [e.card ? t.coverHtml(e.card) : "",e.avatarHtml || "",@@ -70178,9 +70178,9 @@ function X$(e, t) {t && (new Image().src = t);}}-var Z$ = "\xA0";+var X$ = "\xA0";function pje(e) {- let t = U$.has(e.kind ?? "");+ let t = H$.has(e.kind ?? "");return Array.from({ length: e.pending ?? 0 }, (e, n) => t ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-search-option": "work","data-search-placeholder": "",@@ -70192,10 +70192,10 @@ function pje(e) {"data-search-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-search-name": "",- children: Z$+ children: X$}), /* @__PURE__ */ (0, I.jsx)("span", {"data-search-sub": "",- children: Z$+ children: X$})]})]}, n) : /* @__PURE__ */ (0, I.jsxs)("div", {@@ -70206,10 +70206,10 @@ function pje(e) {"data-search-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-search-name": "",- children: Z$+ children: X$}), /* @__PURE__ */ (0, I.jsx)("span", {"data-search-sub": "",- children: Z$+ children: X$})]})]}, n));@@ -70225,7 +70225,7 @@ function mje(e, t, n, r) {t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- t && e().historyLimit && (s([t, ...o().filter((e) => G$(e) !== G$(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => W$(e) !== W$(t))]), V("/api/search-history", { query: t }).catch(() => null));}, u = (n) => {let r = i();r.dataset.suggestion = n, t.cancelRoll();@@ -70250,7 +70250,7 @@ function mje(e, t, n, r) {t.recommendationLoading = !0;let r = t.recommendationRequest;n.recommendations().then(({ groups: n, words: o }) => {- r === t.recommendationRequest && (t.words = o, !i().dataset.suggestion && !a() && o.length && u(o[Math.floor(Math.random() * o.length)]), t.recommendationsFilling ? (t.recommendations = n, t.recommendationsFilling = !1, X$(n.map(W$), e().helpers), a() && !i().value.trim() && x()) : (t.nextRecommendations = n, X$(n, e().helpers)));+ r === t.recommendationRequest && (t.words = o, !i().dataset.suggestion && !a() && o.length && u(o[Math.floor(Math.random() * o.length)]), t.recommendationsFilling ? (t.recommendations = n, t.recommendationsFilling = !1, Y$(n.map(U$), e().helpers), a() && !i().value.trim() && x()) : (t.nextRecommendations = n, Y$(n, e().helpers)));}, () => {r === t.recommendationRequest && t.recommendationsFilling && (t.recommendations = [], t.recommendationsFilling = !1, a() && !i().value.trim() && x());}).finally(() => {@@ -70258,18 +70258,18 @@ function mje(e, t, n, r) {});}, m = () => {let n = e().helpers;- n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, X$(t.recommendations.map(W$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));+ n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, Y$(t.recommendations.map(U$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));}, h = () => {t.cancelIdle(), t.cancelIdle = dje(() => {t.nextRecommendations || p();});}, g = h, _ = (n) => {- t.recommendations = t.recommendations.map((e) => e.kind === n ? W$(e) : e), t.shuffled = {+ t.recommendations = t.recommendations.map((e) => e.kind === n ? U$(e) : e), t.shuffled = {...t.shuffled,- [n]: Date.now() + J$- }, window.setTimeout(r, J$);+ [n]: Date.now() + q$+ }, window.setTimeout(r, q$);let i = t.recommendations.find((e) => e.kind === n);- i && X$([W$(i)], e().helpers), r();+ i && Y$([U$(i)], e().helpers), r();}, v = async (e, n = "") => {let r = ++t.suggestRequest;n || (t.asked = e);@@ -70298,7 +70298,7 @@ function mje(e, t, n, r) {if (t.dismissed) return;t.query = i().value.trim(), t.picks = t.query ? [] : sje(t.pool, o()), t.active = -1;let a = n();- a && (lje(K$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (lje(G$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, S = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -70310,7 +70310,7 @@ function mje(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), x(), t.rewind = !0, v(n, e).then(() => {a() && t.kind === e && x();}));- }, w = () => y() ? K$(t).options : [], T = (e) => {+ }, w = () => y() ? G$(t).options : [], T = (e) => {let n = w();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, E = (t, n) => {@@ -70319,16 +70319,16 @@ function mje(e, t, n, r) {}, D = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, O = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? k(t.item.href) : t.type === "more" ? (E(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && H$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? k(t.item.href) : t.type === "more" ? (E(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && V$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));}, k = (t) => {b(), i().blur(), e().actions.openPath?.(t);};return {input: (n) => {- t.cancelRoll(), !lW(n) && (t.dismissed = !1, e().helpers.typed(i()), S());+ t.cancelRoll(), !sW(n) && (t.dismissed = !1, e().helpers.typed(i()), S());},key: (n) => {- if (lW(n)) return;+ if (sW(n)) return;let r = i();if (n.key === "Escape") {if (y()) {@@ -70365,7 +70365,7 @@ function mje(e, t, n, r) {await V("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => G$(t) !== G$(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => W$(t) !== W$(e))), t.active = -1, r();},pickKind: C,openPath: k,@@ -70389,9 +70389,9 @@ function hje({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, I.jsx)(AW, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(OW, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, I.jsxs)(AI, {+ return /* @__PURE__ */ (0, I.jsxs)(OI, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -70400,9 +70400,9 @@ function hje({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var Q$ = (e) => e.preventDefault();+var Z$ = (e) => e.preventDefault();function gje({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {- $I();+ ZI();let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -70414,33 +70414,33 @@ function gje({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: Q$,+ onMouseDown: Z$,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, I.jsx)(Y$, { name: "chevron-right" })+ /* @__PURE__ */ (0, I.jsx)(J$, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, I.jsx)(Y$, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, I.jsx)(J$, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: Q$,+ onMouseDown: Z$,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, I.jsx)(Y$, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(J$, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = H$.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = V$.has(c) ? c : void 0;if (["asset","jav",@@ -70454,8 +70454,8 @@ function gje({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "work","data-open-item": c === "asset" ? s.id : void 0,...o,- onMouseDown: Q$,- children: [/* @__PURE__ */ (0, I.jsx)($$, {+ onMouseDown: Z$,+ children: [/* @__PURE__ */ (0, I.jsx)(Q$, {card: s.card,helpers: n}), /* @__PURE__ */ (0, I.jsxs)("span", {@@ -70484,9 +70484,9 @@ function gje({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: Q$,+ onMouseDown: Z$,children: [- /* @__PURE__ */ (0, I.jsx)(e1, {+ /* @__PURE__ */ (0, I.jsx)($$, {item: s,kind: c}),@@ -70509,11 +70509,11 @@ function gje({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-open-work": e.id,"aria-label": `打开 ${e.code || s.value}`,- onMouseDown: Q$,+ onMouseDown: Z$,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, I.jsx)($$, {+ children: /* @__PURE__ */ (0, I.jsx)(Q$, {card: e,helpers: n})@@ -70527,7 +70527,7 @@ function gje({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(e1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)($$, {item: s,kind: c}) : null,@@ -70540,13 +70540,13 @@ function gje({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function $$({ card: e, helpers: t }) {+function Q$({ card: e, helpers: t }) {return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function e1({ item: e, kind: t }) {+function $$({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -70565,24 +70565,24 @@ function e1({ item: e, kind: t }) {});}// src/react/settings/configuration.ts-var t1 = ["configuration"], n1 = (e) => B(XY, e);+var e1 = ["configuration"], t1 = (e) => B(YY, e);async function _je(e) {await H.fetchQuery({- queryKey: t1,- queryFn: () => n1(e)+ queryKey: e1,+ queryFn: () => t1(e)});}// src/react/settings-panel/legacy-controls.tsx-var r1 = (e) => e.map(([e, t, n]) => n ? [+var n1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function i1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function r1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);return f.current = l, (0, F.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = tl(t, n, r1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = tl(t, n, n1(r), i, {attr: a,className: o,text: s@@ -70600,13 +70600,13 @@ function i1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function a1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function i1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);return m.current = l, (0, F.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = hs(r1(n), r, { label: t });+ e.innerHTML = hs(n1(n), r, { label: t });let i = gs(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -70681,7 +70681,7 @@ var yje = []];function bje({ host: e, spot: t, index: n, glow: r }) {- let i = Dle[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = FV(), [l, u] = (0, F.useState)("all");+ let i = Ole[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = NV(), [l, u] = (0, F.useState)("all");(0, F.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -70694,7 +70694,7 @@ function bje({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = Vj(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), ss(), o.current?.focus();+ r[t].color = zj(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), ss(), o.current?.focus();};return /* @__PURE__ */ (0, I.jsxs)("div", {"data-glow-stop": t,@@ -70719,7 +70719,7 @@ function bje({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-down" })+ /* @__PURE__ */ (0, I.jsx)(FF, { name: "chevron-down" })]}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "popmenu",@@ -70731,7 +70731,7 @@ function bje({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: Ale.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: jle.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -70745,7 +70745,7 @@ function bje({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: jle.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: Mle.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -70763,7 +70763,7 @@ function bje({ host: e, spot: t, index: n, glow: r }) {});}function xje({ host: e }) {- let t = e.store.value.homeGlow, n = Pj(t.preset);+ let t = e.store.value.homeGlow, n = Mj(t.preset);return /* @__PURE__ */ (0, I.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -70782,10 +70782,10 @@ function xje({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, I.jsx)("b", {"data-glow-preset-name": "",- children: Ole(t.preset)+ children: kle(t.preset)})]}),- /* @__PURE__ */ (0, I.jsx)(jM, {+ /* @__PURE__ */ (0, I.jsx)(kM, {store: e.store,label: "光晕配色"}),@@ -70817,7 +70817,7 @@ function xje({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = Uj(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = Vj(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -70836,7 +70836,7 @@ function xje({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, I.jsx)("div", {"data-glow-stops": "",- children: jj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(bje, {+ children: kj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(bje, {host: e,spot: n,index: r,@@ -70895,22 +70895,22 @@ var Sje = {optional: !0,fallback: 60}-}, o1 = (e) => `peach.number.${e}`;-function s1(e, t) {+}, a1 = (e) => `peach.number.${e}`;+function o1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {let a = Sje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);- d.current ||= bj(Number(localStorage.getItem(o1(e))), o, s, n && n > 0 ? n : l);+ d.current ||= vj(Number(localStorage.getItem(a1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);y.current = i, (0, F.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(o1(e), String(d.current)), y.current(d.current)));+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(a1(e), String(d.current)), y.current(d.current)));}, x = (0, F.useRef)(b);x.current = b, (0, F.useEffect)(() => {let e = v.current;@@ -70920,7 +70920,7 @@ function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let S = f > 0, C = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(o1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(a1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-number-setting": "",@@ -70957,7 +70957,7 @@ function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": "true",- children: [c, s1(Number(m), c) ? ` · ${s1(Number(m), c)}` : ""]+ children: [c, o1(Number(m), c) ? ` · ${o1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, I.jsx)("small", {id: `${e}-error`,@@ -70973,7 +70973,7 @@ function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {function Cje({ className: e, ref: t, ...n }) {return /* @__PURE__ */ (0, I.jsx)("kbd", {ref: t,- className: q("inline-flex items-center justify-center rounded-full bg-kbd-background px-1 py-0.5 font-sans text-caption-1-semibold tracking-normal whitespace-nowrap text-kbd-foreground", e),+ className: J("inline-flex items-center justify-center rounded-full bg-kbd-background px-1 py-0.5 font-sans text-caption-1-semibold tracking-normal whitespace-nowrap text-kbd-foreground", e),...n});}@@ -70993,15 +70993,15 @@ function wje({ keys: e, plus: t }) {});}// src/keyboard-shortcut.ts-var l1 = "peach.sfw-shortcut", Tje = "Shift+KeyS", u1 = /^(?:Key[A-Z]|Digit[0-9]|F(?:[1-9]|1[0-2]))$/, Eje = /^(?:Shift|Control|Alt|Meta|OS)(?:Left|Right)?$/, Dje = /* @__PURE__ */ new Set([+var c1 = "peach.sfw-shortcut", Tje = "Shift+KeyS", l1 = /^(?:Key[A-Z]|Digit[0-9]|F(?:[1-9]|1[0-2]))$/, Eje = /^(?:Shift|Control|Alt|Meta|OS)(?:Left|Right)?$/, Dje = /* @__PURE__ */ new Set(["KeyW","KeyT","KeyN","KeyQ"]);-function d1(e) {+function u1(e) {let t = String(e || "").split("+"), n = t.pop() || "", r = new Set(t);- if (!u1.test(n) || [...r].some((e) => ![+ if (!l1.test(n) || [...r].some((e) => !["Ctrl","Alt","Shift",@@ -71014,9 +71014,9 @@ function d1(e) {shift: r.has("Shift"),meta: r.has("Meta")};- return p1(i) ? null : i;+ return f1(i) ? null : i;}-function f1(e) {+function d1(e) {return [e.ctrl && "Ctrl",e.alt && "Alt",@@ -71025,15 +71025,15 @@ function f1(e) {e.code].filter(Boolean).join("+");}-function p1(e) {+function f1(e) {return !e.ctrl && !e.alt && !e.shift && !e.meta ? "至少要带一个修饰键,单独的字母会和播放器快捷键冲突" : (e.ctrl || e.meta) && Dje.has(e.code) ? "这个组合被浏览器占用,页面收不到" : "";}-function m1(e) {+function p1(e) {return Eje.test(e);}function Oje(e) {- if (m1(e.code)) return { state: "waiting" };- if (!u1.test(e.code)) return {+ if (p1(e.code)) return { state: "waiting" };+ if (!l1.test(e.code)) return {state: "invalid",problem: "只支持字母、数字和 F1–F12 作主键"};@@ -71043,7 +71043,7 @@ function Oje(e) {alt: e.altKey,shift: e.shiftKey,meta: e.metaKey- }, n = p1(t);+ }, n = f1(t);return n ? {state: "invalid",problem: n@@ -71055,7 +71055,7 @@ function Oje(e) {function kje(e, t) {return e.code === t.code && e.ctrlKey === t.ctrl && e.altKey === t.alt && e.shiftKey === t.shift && e.metaKey === t.meta;}-function h1(e = navigator) {+function m1(e = navigator) {return /mac|iphone|ipad|ipod/i.test(e.userAgentData?.platform || e.platform || "");}var Aje = {@@ -71072,7 +71072,7 @@ var Aje = {function jje(e) {return Aje[e] ?? e.replace(/^Key|^Digit|^Numpad/, "");}-function g1(e, t, n = h1()) {+function h1(e, t, n = m1()) {let r = n ? ["⌃","⌥",@@ -71091,16 +71091,16 @@ function g1(e, t, n = h1()) {];return [...r.filter((e, t) => i[t]), ...t ? [jje(t)] : []];}-function _1(e, t = h1()) {- return g1(e, e.code, t).join(t ? "" : "+");+function g1(e, t = m1()) {+ return h1(e, e.code, t).join(t ? "" : "+");}// src/react/settings-panel/shortcut-setting.tsx-var Mje = 600, v1 = {+var Mje = 600, _1 = {ctrl: !1,alt: !1,shift: !1,meta: !1-}, y1 = (e) => ({+}, v1 = (e) => ({ctrl: e.ctrlKey,alt: e.altKey,shift: e.shiftKey,@@ -71108,11 +71108,11 @@ var Mje = 600, v1 = {});function Nje({ current: e, onChange: t }) {let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)({- modifiers: v1,+ modifiers: _1,code: null}), [c, l] = (0, F.useState)(null), u = () => {r(!1), a(""), s({- modifiers: v1,+ modifiers: _1,code: null});};@@ -71123,16 +71123,16 @@ function Nje({ current: e, onChange: t }) {u();return;}- let n = m1(e.code);+ let n = p1(e.code);s({- modifiers: y1(e),+ modifiers: v1(e),code: n ? null : e.code}), a("");let r = Oje(e);r.state === "invalid" && a(r.problem), r.state === "done" && (t(r.shortcut), l(r.shortcut), u());}, r = (e) => {e.stopPropagation(), s((t) => t.code === null ? {- modifiers: y1(e),+ modifiers: v1(e),code: null} : t);};@@ -71144,13 +71144,13 @@ function Nje({ current: e, onChange: t }) {let e = window.setTimeout(() => l(null), Mje);return () => window.clearTimeout(e);}, [c]);- let d = h1(), f = (e, t, n) => g1(e, t, d).map((e) => ({+ let d = m1(), f = (e, t, n) => h1(e, t, d).map((e) => ({label: e,state: n})), p = (e) => ({label: e,state: "slot"- }), m = o.modifiers.ctrl || o.modifiers.alt || o.modifiers.shift || o.modifiers.meta, h = c ? f(c, c.code, "done") : n ? o.code ? f(o.modifiers, o.code, i ? "invalid" : "down") : m ? [...f(o.modifiers, null, "down"), p("键")] : [p("修饰键"), p("键")] : null, g = f1(e) !== Tje, _ = c ? `已改为 ${_1(c, d)}` : n ? i || "按下新的组合键,Esc 取消" : "输入框外随时开关。";+ }), m = o.modifiers.ctrl || o.modifiers.alt || o.modifiers.shift || o.modifiers.meta, h = c ? f(c, c.code, "done") : n ? o.code ? f(o.modifiers, o.code, i ? "invalid" : "down") : m ? [...f(o.modifiers, null, "down"), p("键")] : [p("修饰键"), p("键")] : null, g = d1(e) !== Tje, _ = c ? `已改为 ${g1(c, d)}` : n ? i || "按下新的组合键,Esc 取消" : "输入框外随时开关。";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: "SFW 快捷键" }), /* @__PURE__ */ (0, I.jsx)("small", {@@ -71166,16 +71166,16 @@ function Nje({ current: e, onChange: t }) {plus: !d}) : /* @__PURE__ */ (0, I.jsx)(Cje, {"data-shortcut-keys": "",- "aria-label": `当前快捷键 ${_1(e, d)}`,- children: _1(e, d)+ "aria-label": `当前快捷键 ${g1(e, d)}`,+ children: g1(e, d)}),- g && !n && !c ? /* @__PURE__ */ (0, I.jsx)(J, {+ g && !n && !c ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",onClick: () => t(null),children: "恢复默认"}) : null,- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: n ? "secondary" : "primary",size: "small","aria-describedby": "sfwShortcutDescription",@@ -71190,13 +71190,13 @@ function Nje({ current: e, onChange: t }) {});}// src/react/sidebar/sidebar-order.ts-function b1(e) {- let { mutate: t } = cX();+function y1(e) {+ let { mutate: t } = sX();return (0, F.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function x1(e, t, n, r) {+function b1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -71205,17 +71205,17 @@ function x1(e, t, n, r) {return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}// src/react/settings-panel/sidebar-order.tsx-var Pje = "__home__", S1 = (e) => e === "" ? Pje : e;+var Pje = "__home__", x1 = (e) => e === "" ? Pje : e;function Fje({ host: e }) {- let t = b1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {- let a = x1(n, e, r, i);+ let t = y1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {+ let a = b1(n, e, r, i);a && t(a);}, _ = (e, r) => {let i = n.indexOf(e), a = i + r;if (i < 0 || a < 0 || a >= n.length) return;let o = [...n];[o[i], o[a]] = [o[a], o[i]], t(o);- }, v = a.find(([e]) => S1(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => x1(e) === o) ?? a[0], y = () => {h.current && us(h.current), l(!1);}, b = () => {let e = h.current;@@ -71236,7 +71236,7 @@ function Fje({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", S1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", x1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -71268,9 +71268,9 @@ function Fje({ host: e }) {/* @__PURE__ */ (0, I.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(LF, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, I.jsx)(FF, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, I.jsx)(LF, { name: a ?? "" }),+ /* @__PURE__ */ (0, I.jsx)(FF, { name: a ?? "" }),/* @__PURE__ */ (0, I.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, I.jsxs)("span", {@@ -71284,7 +71284,7 @@ function Fje({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, I.jsx)(FF, { name: "chevron-up" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -71294,7 +71294,7 @@ function Fje({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, I.jsx)(FF, { name: "chevron-down" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -71306,11 +71306,11 @@ function Fje({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, I.jsx)(LF, { name: "eye-off" })+ children: /* @__PURE__ */ (0, I.jsx)(FF, { name: "eye-off" })})]})]- }, S1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {+ }, x1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-add-picker": "",@@ -71326,13 +71326,13 @@ function Fje({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(LF, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, I.jsx)(FF, { name: v[2] ?? "" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(LF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, I.jsx)(FF, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(FF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, I.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -71343,15 +71343,15 @@ function Fje({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": S1(e),+ "data-sidebar-add-option": x1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(S1(e)), y(), m.current?.focus();+ s(x1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, I.jsx)(LF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]- }, S1(e)))+ children: [/* @__PURE__ */ (0, I.jsx)(FF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]+ }, x1(e)))}) : null]}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -71367,7 +71367,7 @@ function Fje({ host: e }) {});}// src/react/settings-panel/settings-panel.tsx-var C1 = [+var S1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],@@ -71409,76 +71409,76 @@ var C1 = ["切片","隐藏切片"]-], Bje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", w1 = null, T1 = {+], Bje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", C1 = null, w1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, E1 = 0, D1 = null, O1 = /* @__PURE__ */ new Set();+}, T1 = 0, E1 = null, D1 = /* @__PURE__ */ new Set();function Vje(e) {- return O1.add(e), () => {- O1.delete(e);+ return D1.add(e), () => {+ D1.delete(e);};}function Hje() {- for (let e of [...O1]) e();+ for (let e of [...D1]) e();}-function k1(e) {- T1 = {- ...T1,+function O1(e) {+ w1 = {+ ...w1,...e}, (0, Rt.flushSync)(Hje);}async function Uje(e) {- let t = T1.epoch, n = await e.configurable();- T1.open && T1.epoch === t && k1({ configurable: n });+ let t = w1.epoch, n = await e.configurable();+ w1.open && w1.epoch === t && O1({ configurable: n });}function Wje(e = "") {- let t = w1;+ let t = C1;if (!t) return;- let n = C1.findIndex(([t]) => t === e);- if (T1.open && !T1.closing) {- n >= 0 && n !== T1.tab && k1({ tab: n });+ let n = S1.findIndex(([t]) => t === e);+ if (w1.open && !w1.closing) {+ n >= 0 && n !== w1.tab && O1({ tab: n });return;}- ss(), E1 += 1, D1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ ss(), T1 += 1, E1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");let r = hEe();- k1({+ O1({open: !0,closing: !1,configurable: null,- epoch: T1.epoch + 1,- tab: n >= 0 ? n : T1.tab+ epoch: w1.epoch + 1,+ tab: n >= 0 ? n : w1.tab}), r.then((e) => {e && t.syncRemote(e);}), Uje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function A1(e = !0) {- if (!T1.open || T1.closing) return;- let t = ++E1;- e && w1?.closed?.(), k1({ closing: !0 });+function k1(e = !0) {+ if (!w1.open || w1.closing) return;+ let t = ++T1;+ e && C1?.closed?.(), O1({ closing: !0 });let n = () => {- t === E1 && T1.closing && (k1({+ t === T1 && w1.closing && (O1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), D1 instanceof HTMLElement && document.contains(D1) && D1.focus(), D1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), E1 instanceof HTMLElement && document.contains(E1) && E1.focus(), E1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}var Gje = {open: Wje,- close: A1,- isOpen: () => T1.open,+ close: k1,+ isOpen: () => w1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};function Kje(e) {- return w1 = e, Gje;+ return C1 = e, Gje;}function qje() {- let e = (0, F.useSyncExternalStore)(Vje, () => T1);- return w1 ? /* @__PURE__ */ (0, I.jsx)(Xje, {- host: w1,+ let e = (0, F.useSyncExternalStore)(Vje, () => w1);+ return C1 ? /* @__PURE__ */ (0, I.jsx)(Xje, {+ host: C1,view: e}) : null;}@@ -71489,7 +71489,7 @@ function Jje(e) {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 j1 = (e) => `settings-tab-${e}`, M1 = (e) => `settings-group-${e}`;+var A1 = (e) => `settings-tab-${e}`, j1 = (e) => `settings-group-${e}`;function Yje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {let n = o.current;@@ -71518,7 +71518,7 @@ function Yje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectc.current = e, d.current(l.current[e], t);}, [e, t]);let f = (e, t) => {- let n = C1.length, r = t;+ let n = S1.length, r = t;if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;else if (e.key === "Home") r = 0;@@ -71547,11 +71547,11 @@ function Yje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- C1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {+ S1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",- id: j1(r),- "aria-controls": M1(r),+ id: A1(r),+ "aria-controls": j1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -71562,7 +71562,7 @@ function Yje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(LF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(dfe, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(FF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(ffe, { name: n }), t]}, t)),/* @__PURE__ */ (0, I.jsx)("div", {"data-settings-service": "",@@ -71573,27 +71573,27 @@ function Yje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(LF, { name: "folder-cog" }),+ /* @__PURE__ */ (0, I.jsx)(FF, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-right" })+ /* @__PURE__ */ (0, I.jsx)(FF, { name: "chevron-right" })]})})]});}-function N1({ index: e, tab: t, children: n, cards: r = !1 }) {+function M1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: M1(e),+ id: j1(e),role: "tabpanel",- "aria-labelledby": j1(e),+ "aria-labelledby": A1(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, I.jsx)("h3", { children: C1[e][0] }), n]+ children: [/* @__PURE__ */ (0, I.jsx)("h3", { children: S1[e][0] }), n]});}-function P1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function N1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, I.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {@@ -71610,7 +71610,7 @@ function P1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function F1({ title: e, description: t, kind: n, children: r }) {+function P1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -71639,7 +71639,7 @@ function Xje({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== T1.tab && (k1({ tab: t }), e.selectSection?.(C1[t][0]));+ t !== w1.tab && (O1({ tab: t }), e.selectSection?.(S1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, I.jsx)("section", {"data-settings-panel": "",@@ -71652,7 +71652,7 @@ function Xje({ host: e, view: t }) {ref: r,onKeyDown: Jje,onClick: (e) => {- e.target === e.currentTarget && A1();+ e.target === e.currentTarget && k1();},children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-settings-card": "",@@ -71663,11 +71663,11 @@ function Xje({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, I.jsx)("h2", {id: "settingsTitle",- children: C1[t.tab][0]- }), /* @__PURE__ */ (0, I.jsx)(lV, {+ children: S1[t.tab][0]+ }), /* @__PURE__ */ (0, I.jsx)(sV, {id: "settingsClose",label: "关闭设置",- onPress: () => A1()+ onPress: () => k1()})]}),/* @__PURE__ */ (0, I.jsx)(Yje, {@@ -71676,14 +71676,14 @@ function Xje({ host: e, view: t }) {configurable: t.configurable,onSelect: f,openConfiguration: () => {- A1(!1), e.openConfiguration();+ k1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, I.jsxs)(N1, {+ /* @__PURE__ */ (0, I.jsxs)(M1, {index: 0,tab: t.tab,cards: !0,@@ -71691,9 +71691,9 @@ function Xje({ host: e, view: t }) {/* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "主题",- children: /* @__PURE__ */ (0, I.jsx)(i1, {+ children: /* @__PURE__ */ (0, I.jsx)(r1, {id: "themeSetting",name: "theme",legend: "主题",@@ -71721,7 +71721,7 @@ function Xje({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, I.jsx)(P1, {+ /* @__PURE__ */ (0, I.jsx)(N1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -71729,7 +71729,7 @@ function Xje({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, I.jsx)(P1, {+ /* @__PURE__ */ (0, I.jsx)(N1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -71767,7 +71767,7 @@ function Xje({ host: e, view: t }) {tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, I.jsxs)(N1, {+ /* @__PURE__ */ (0, I.jsxs)(M1, {index: 3,tab: t.tab,children: [@@ -71775,11 +71775,11 @@ function Xje({ host: e, view: t }) {host: e,epoch: d}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -71789,24 +71789,24 @@ function Xje({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "口味与记录",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(mL, {+ children: /* @__PURE__ */ (0, I.jsx)(fL, {variant: "secondary",href: "/taste",- onClick: () => A1(!1),+ onClick: () => k1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, I.jsxs)(N1, {+ /* @__PURE__ */ (0, I.jsxs)(M1, {index: 4,tab: t.tab,- children: [/* @__PURE__ */ (0, I.jsx)(P1, {+ children: [/* @__PURE__ */ (0, I.jsx)(N1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -71836,7 +71836,7 @@ function Zje(e, t) {}function Qje({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";- return /* @__PURE__ */ (0, I.jsxs)(N1, {+ return /* @__PURE__ */ (0, I.jsxs)(M1, {index: 1,tab: t,children: [@@ -71844,11 +71844,11 @@ function Qje({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "每批加载作品",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -71858,12 +71858,12 @@ function Qje({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, I.jsx)(a1, {+ children: [/* @__PURE__ */ (0, I.jsx)(i1, {id: "defaultSortSetting",label: "默认排序",options: Ije,@@ -71872,7 +71872,7 @@ function Qje({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, I.jsx)(a1, {+ }), /* @__PURE__ */ (0, I.jsx)(i1, {id: "defaultSortDirectionSetting",label: "默认排序方向",options: Lje,@@ -71887,9 +71887,9 @@ function Qje({ host: e, tab: t, epoch: n }) {})]})}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, I.jsx)(i1, {+ children: /* @__PURE__ */ (0, I.jsx)(r1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -71915,16 +71915,16 @@ function Qje({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = bj(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = vj(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -71942,7 +71942,7 @@ function Qje({ host: e, tab: t, epoch: n }) {}function $je({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, I.jsxs)(N1, {+ return /* @__PURE__ */ (0, I.jsxs)(M1, {index: 2,tab: t,children: [@@ -71954,9 +71954,9 @@ function $je({ host: e, tab: t, epoch: n }) {host: e,epoch: n}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "默认图片",- children: /* @__PURE__ */ (0, I.jsx)(i1, {+ children: /* @__PURE__ */ (0, I.jsx)(r1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",@@ -71975,21 +71975,21 @@ function $je({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "显示数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = bj(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = vj(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, I.jsx)(P1, {+ /* @__PURE__ */ (0, I.jsx)(N1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -72009,17 +72009,17 @@ function $je({ host: e, tab: t, epoch: n }) {}function eMe({ host: e, epoch: t }) {let n = Ft({- queryKey: nX,- queryFn: ({ signal: e }) => sX(e),+ queryKey: tX,+ queryFn: ({ signal: e }) => oX(e),staleTime: 0- }), r = cX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(F1, {+ }), r = sX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(P1, {title: "女优名称",description: /* @__PURE__ */ (0, I.jsx)("small", {"data-copy-key": "performer-name-language-help",children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"}),- children: /* @__PURE__ */ (0, I.jsx)(a1, {+ children: /* @__PURE__ */ (0, I.jsx)(i1, {id: "performerNameLanguageSetting",label: "女优名称",epoch: t,@@ -72037,13 +72037,13 @@ function eMe({ host: e, epoch: t }) {}));}})- }), n.isError ? /* @__PURE__ */ (0, I.jsx)(aV, {+ }), n.isError ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: "未取得数据库中的名称偏好,请重新打开设置。"}) : null] });}function tMe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = cX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {+ let a = sX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {s(t), Qc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -72070,7 +72070,7 @@ function tMe({ host: e, id: t, settingKey: n, label: r, title: i }) {function nMe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(P1, {+ /* @__PURE__ */ (0, I.jsx)(N1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -72078,7 +72078,7 @@ function nMe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, I.jsx)(P1, {+ /* @__PURE__ */ (0, I.jsx)(N1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -72086,11 +72086,11 @@ function nMe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, I.jsx)(F1, {+ /* @__PURE__ */ (0, I.jsx)(P1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -72103,17 +72103,17 @@ function nMe({ host: e, epoch: t }) {] });}function rMe({ host: e, epoch: t }) {- let n = e.store.value, r = cX();- return /* @__PURE__ */ (0, I.jsx)(F1, {+ let n = e.store.value, r = sX();+ return /* @__PURE__ */ (0, I.jsx)(P1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = bj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = vj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -72155,7 +72155,7 @@ function iMe(e, t, n, r) {let m = (t) => {let n = c.current;if (!n || (c.current = null, !n.started)) return;- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : x1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : b1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, Rt.flushSync)(() => {a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");}), d.current.settled();@@ -72217,7 +72217,7 @@ function iMe(e, t, n, r) {e.preventDefault();let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];if (l === void 0) return;- let u = x1(t, i, l, c);+ let u = b1(t, i, l, c);u && (p(), (0, Rt.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;return {@@ -72256,43 +72256,43 @@ function iMe(e, t, n, r) {};}// src/react/sidebar/sidebar-island.tsx-var I1 = "__home__", aMe = {+var F1 = "__home__", aMe = {creator: 26,tag: 30,tech: 16-}, L1 = 180, R1 = null, z1 = {+}, I1 = 180, L1 = null, R1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, B1 = /* @__PURE__ */ new Set();+}, z1 = /* @__PURE__ */ new Set();function oMe(e) {- return B1.add(e), () => {- B1.delete(e);+ return z1.add(e), () => {+ z1.delete(e);};}-function V1() {- for (let e of [...B1]) e();+function B1() {+ for (let e of [...z1]) e();}var sMe = {render(e) {- z1 = {- ...z1,+ R1 = {+ ...R1,props: e- }, (0, Rt.flushSync)(V1);+ }, (0, Rt.flushSync)(B1);},navChanged() {- z1 = {- ...z1,- epoch: z1.epoch + 1- }, (0, Rt.flushSync)(V1);+ R1 = {+ ...R1,+ epoch: R1.epoch + 1+ }, (0, Rt.flushSync)(B1);}};function cMe(e) {- return R1 = e, z1 = {- ...z1,+ return L1 = e, R1 = {+ ...R1,props: {content: null,filters: {},@@ -72301,9 +72301,9 @@ function cMe(e) {}, sMe;}function lMe() {- let e = (0, F.useSyncExternalStore)(oMe, () => z1);- return R1 ? /* @__PURE__ */ (0, I.jsx)(uMe, {- host: R1,+ let e = (0, F.useSyncExternalStore)(oMe, () => R1);+ return L1 ? /* @__PURE__ */ (0, I.jsx)(uMe, {+ host: L1,props: e.props,epoch: e.epoch}) : null;@@ -72326,7 +72326,7 @@ function uMe({ host: e, props: t, epoch: n }) {] });}function dMe({ host: e, epoch: t, version: n }) {- let r = b1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = fL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || I1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+ let r = y1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = uL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || F1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, F.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -72381,8 +72381,8 @@ function dMe({ host: e, epoch: t, version: n }) {alt: "",decoding: "async",draggable: !1- }) : /* @__PURE__ */ (0, I.jsx)(LF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]- }, t || I1);+ }) : /* @__PURE__ */ (0, I.jsx)(FF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ }, t || F1);}),f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-drop-line": "",@@ -72403,7 +72403,7 @@ function dMe({ host: e, epoch: t, version: n }) {ref: l}), p) : null] });}-var H1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+var V1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);function fMe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [@@ -72440,8 +72440,8 @@ function pMe({ host: e, content: t, filters: n, latest: r }) {function mMe(e, t, n, r, i) {let a = fMe(r), o = (t, r, i) => {if (!t.length) return null;- let o = H1(n, r);- return /* @__PURE__ */ (0, I.jsx)(G1, {+ let o = V1(n, r);+ return /* @__PURE__ */ (0, I.jsx)(W1, {rows: t,filterKey: r,multi: i,@@ -72451,7 +72451,7 @@ function mMe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = H1(n, l), p = c.some((e) => f.includes(e.value));+ let f = V1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -72483,7 +72483,7 @@ function mMe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(J1, {+ body: /* @__PURE__ */ (0, I.jsx)(q1, {host: e,filters: n})@@ -72498,7 +72498,7 @@ function mMe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(K1, {+ body: /* @__PURE__ */ (0, I.jsx)(G1, {rows: t.followTags,host: e,selected: null,@@ -72508,13 +72508,13 @@ function mMe(e, t, n, r, i) {];}function hMe(e, t, n) {- let r = t.providers || [], i = H1(n, "provider"), a = new Set(t.selected);+ let r = t.providers || [], i = V1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, I.jsx)(G1, {+ body: /* @__PURE__ */ (0, I.jsx)(W1, {rows: r,filterKey: "provider",multi: !1,@@ -72528,7 +72528,7 @@ function hMe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(J1, {+ body: /* @__PURE__ */ (0, I.jsx)(q1, {host: e,filters: n,commit: e.setFollowDuration@@ -72538,7 +72538,7 @@ function hMe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, I.jsx)(K1, {+ body: /* @__PURE__ */ (0, I.jsx)(G1, {rows: t.tags,host: e,selected: a,@@ -72547,7 +72547,7 @@ function hMe(e, t, n) {} : null];}-function U1(e, t) {+function H1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);@@ -72555,11 +72555,11 @@ function U1(e, t) {return n === null ? t : n === "open";}function gMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => U1(e, n)), u = (0, F.useRef)(!1);+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => H1(e, n)), u = (0, F.useRef)(!1);(0, F.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? U1(e, n) : c;+ let i = u.current ? H1(e, n) : c;u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));}, [i]);let d = (t) => {@@ -72580,7 +72580,7 @@ function gMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, I.jsx)(FF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, I.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -72591,7 +72591,7 @@ function gMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, I.jsx)(W1.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(U1.Provider, {value: d,children: a})@@ -72600,15 +72600,15 @@ function gMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var W1 = (0, F.createContext)(() => {});+var U1 = (0, F.createContext)(() => {});function _Me({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(LF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(FF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function G1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function W1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -72641,7 +72641,7 @@ function G1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,});}function vMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, F.useContext)(W1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);+ let u = (0, F.useContext)(U1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);p !== e && (m(e), f(null));let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, F.useLayoutEffect)(() => {@@ -72656,7 +72656,7 @@ function vMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), Go(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(G1, {+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(W1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -72681,10 +72681,10 @@ function vMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, I.jsx)(FF, { name: "chevron-down" })}) : null] });}-function K1({ rows: e, host: t, selected: n, badges: r }) {+function G1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {@@ -72706,10 +72706,10 @@ function K1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var q1 = (e, t) => e ? Math.min(L1, Number(e) / 60) : t;-function J1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [q1(t.dur_min, 0), q1(t.dur_max, L1)]), [c, l] = (0, F.useState)("max");- i !== r && (a(r), s([q1(t.dur_min, 0), q1(t.dur_max, L1)]));+var K1 = (e, t) => e ? Math.min(I1, Number(e) / 60) : t;+function q1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [K1(t.dur_min, 0), K1(t.dur_max, I1)]), [c, l] = (0, F.useState)("max");+ i !== r && (a(r), s([K1(t.dur_min, 0), K1(t.dur_max, I1)]));let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);h.current = o;let g = (e, t) => {@@ -72722,11 +72722,11 @@ function J1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, F.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / L1 * 100}%`), e.style.setProperty("--hi", `${d / L1 * 100}%`);+ e.style.setProperty("--lo", `${u / I1 * 100}%`), e.style.setProperty("--hi", `${d / I1 * 100}%`);let t = e.getBoundingClientRect();e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {let n = e.dataset.rangeEnd === "max" ? d : u;- e.style.left = `${n / L1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / I1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);});@@ -72736,7 +72736,7 @@ function J1({ host: e, filters: t, commit: n = e.setDuration }) {"data-range-end": e,"data-range-active": c === e ? "" : void 0,"aria-hidden": "true",- children: e === "max" && t >= L1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= I1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-duration": "",@@ -72751,7 +72751,7 @@ function J1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: L1,+ max: I1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -72762,7 +72762,7 @@ function J1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: L1,+ max: I1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -72776,7 +72776,7 @@ function J1({ host: e, filters: t, commit: n = e.setDuration }) {});}// src/diagnostics-skeleton.ts-function Y1() {+function J1() {let e = (e) => ks({label: e,variant: "secondary",@@ -72790,7 +72790,7 @@ function Y1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var X1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", yMe = [+var Y1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", yMe = ["自动补全","仅使用本地资料","自定义"@@ -72825,7 +72825,7 @@ var X1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], xMe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", Z1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Q1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", $1 = "只填域名,留空用默认地址", SMe = [+], xMe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", X1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Z1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Q1 = "只填域名,留空用默认地址", SMe = [{provider: "coomer",label: "Coomer",@@ -72915,8 +72915,8 @@ var X1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], e0 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", CMe = "peach.configuration.shape.v1";-function t0() {+], $1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", CMe = "peach.configuration.shape.v1";+function e0() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -72926,7 +72926,7 @@ function t0() {}function wMe(e, t) {try {- let n = t0();+ let n = e0();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;localStorage.setItem(CMe, JSON.stringify({...n,@@ -72934,20 +72934,20 @@ function wMe(e, t) {}));} catch {}}-var n0 = (e) => t0()[e], r0 = (e) => e === !0, i0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, a0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], o0 = "disabled data-skeleton-action", s0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, c0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, l0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, u0 = (e = "3em") => l0(e, "24px"), d0 = () => l0("var(--icon-inline)", "var(--icon-inline)"), f0 = (e, t = "primary", n = "medium") => ks({+var t0 = (e) => e0()[e], n0 = (e) => e === !0, r0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, i0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], a0 = "disabled data-skeleton-action", o0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, s0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, c0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, l0 = (e = "3em") => c0(e, "24px"), u0 = () => c0("var(--icon-inline)", "var(--icon-inline)"), d0 = (e, t = "primary", n = "medium") => ks({label: e,variant: t,size: n,- attrs: o0-}), p0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, m0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, TMe = (e, t, n) => {- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${d0()}${e}</span>` : e}</p>`;+ attrs: a0+}), f0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, p0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, TMe = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${u0()}${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;-}, h0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${TMe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? p0(n, i) : ""}</div></section>`, g0 = (e, t, n, r = "") => {+}, m0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${TMe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? f0(n, i) : ""}</div></section>`, h0 = (e, t, n, r = "") => {let i = `<div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>`;return `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0">${r ? `<div class="flex min-w-0 items-center gap-3">${r}${i}</div>` : i}${n}</div>`;-}, _0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => g0(e, t, `<span class="skeleton ${n}"></span>`), v0 = (e, t = "", n = "4em") => g0(e, t, s0(n)), y0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, b0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, x0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${c0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, S0 = (e) => `<div class="flex flex-col gap-1">${b0(e)}${js(s0("8em"))}</div>`, C0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${l0("16px", "16px")}${e}</span>`, w0 = (e) => `<span class="inline-flex items-center gap-1">${d0()}${e}</span>`, T0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Es("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, EMe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), E0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${EMe.has(e) ? s0("100%") + s0("80%") + s0("6em") : s0("6em")}</dd></div>`).join("")}</dl>`, DMe = SMe;-function OMe(e = n0("credentials")) {- let t = new Set(a0(e?.done, 64, String));+}, g0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => h0(e, t, `<span class="skeleton ${n}"></span>`), _0 = (e, t = "", n = "4em") => h0(e, t, o0(n)), v0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, y0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, b0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${s0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, x0 = (e) => `<div class="flex flex-col gap-1">${y0(e)}${js(o0("8em"))}</div>`, S0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${c0("16px", "16px")}${e}</span>`, C0 = (e) => `<span class="inline-flex items-center gap-1">${u0()}${e}</span>`, w0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Es("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, EMe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), T0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${EMe.has(e) ? o0("100%") + o0("80%") + o0("6em") : o0("6em")}</dd></div>`).join("")}</dl>`, DMe = SMe;+function OMe(e = t0("credentials")) {+ let t = new Set(i0(e?.done, 64, String));return DMe.map((e) => {let n = t.has(e.provider);return {@@ -72958,103 +72958,103 @@ function OMe(e = n0("credentials")) {});}function kMe(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = u0() + (n && !e.done ? t.map(() => u0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${l0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? y0(z(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + y0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? y0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => x0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${f0("保存配置")}</div>${T0("凭据文件")}</div></div>` : "";- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${T0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = l0() + (n && !e.done ? t.map(() => l0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${c0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? v0(z(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + v0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? v0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => b0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${d0("保存配置")}</div>${w0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${w0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function D0() {+function E0() {let e = OMe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return h0("来源凭据", m0(`<div class="flex flex-col gap-4">${[+ return m0("来源凭据", p0(`<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(kMe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? s0("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(kMe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? o0("5em") : "" });}-function O0() {- let e = a0(n0("indexers")?.open, 20, r0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Es("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${s0("6em")}${s0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${x0("名称")}${x0("Torznab 地址")}${x0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${C0("启用")}${f0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return h0("资源搜索", m0(`<div class="flex min-w-0 flex-col gap-4">${T0("索引器连接帮助")}${e}</div>`), f0("添加索引器", "secondary") + f0("保存配置"));+function D0() {+ let e = i0(t0("indexers")?.open, 20, n0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Es("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${o0("6em")}${o0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${b0("名称")}${b0("Torznab 地址")}${b0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${S0("启用")}${d0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return m0("资源搜索", p0(`<div class="flex min-w-0 flex-col gap-4">${w0("索引器连接帮助")}${e}</div>`), d0("添加索引器", "secondary") + d0("保存配置"));}-function k0() {- let e = n0("javBrowser"), t = r0(e?.enabled);- return h0("浏览器添加 JAV", m0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${s0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${u0()}</div><p class="text-caption-1-regular text-text-secondary">${s0("70%")}</p><div class="flex flex-wrap items-center gap-2">${f0("重新检测", "secondary")}</div></div>`}${S0("浏览器添加的下载渠道")}${r0(e?.ready) ? "" : y0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${x0("Peach 地址")}</div>`), (t ? f0("关闭浏览器添加", "secondary") : "") + f0(t ? "更新渠道与令牌" : "启用并生成令牌"));+function O0() {+ let e = t0("javBrowser"), t = n0(e?.enabled);+ return m0("浏览器添加 JAV", p0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${o0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${l0()}</div><p class="text-caption-1-regular text-text-secondary">${o0("70%")}</p><div class="flex flex-wrap items-center gap-2">${d0("重新检测", "secondary")}</div></div>`}${x0("浏览器添加的下载渠道")}${n0(e?.ready) ? "" : v0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${b0("Peach 地址")}</div>`), (t ? d0("关闭浏览器添加", "secondary") : "") + d0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var A0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${b0(e)}${js(s0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${x0(`${e}地址`)}</div><div class="w-full sm:w-28">${x0(`${e}端口`)}</div></div>${T0("代理认证")}` : "") + "</div>";-function j0() {- let e = n0("cloudProxy"), t = a0(e?.accounts, 12, (e) => Array.isArray(e) ? [r0(e[0]), r0(e[1])] : [!1, !1]), n = i0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${b0(w0(s0("6em")))}${y0(s0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${b0(w0(s0("8em")))}${y0(s0("50%"))}${A0("数据代理", e)}${A0("API 代理", t)}<div class="flex justify-end">${f0("保存配置")}</div></div>`).join("") : y0(s0("60%"));- return h0("CloudDrive 代理", m0(`${y0(e0)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), f0("重新读取", "secondary"));+var k0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${y0(e)}${js(o0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${b0(`${e}地址`)}</div><div class="w-full sm:w-28">${b0(`${e}端口`)}</div></div>${w0("代理认证")}` : "") + "</div>";+function A0() {+ let e = t0("cloudProxy"), t = i0(e?.accounts, 12, (e) => Array.isArray(e) ? [n0(e[0]), n0(e[1])] : [!1, !1]), n = r0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${y0(C0(o0("6em")))}${v0(o0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${y0(C0(o0("8em")))}${v0(o0("50%"))}${k0("数据代理", e)}${k0("API 代理", t)}<div class="flex justify-end">${d0("保存配置")}</div></div>`).join("") : v0(o0("60%"));+ return m0("CloudDrive 代理", p0(`${v0($1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), d0("重新读取", "secondary"));}-var M0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, AMe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${c0()}</span>${ks({+var j0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, AMe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${s0()}</span>${ks({glyph: "folder-search",variant: "secondary",- attrs: o0+ attrs: a0})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${M0("来源", js(s0("6em")), "w-full @lg:w-60")}${M0("读取策略", js(s0("4em")), "w-full @lg:w-32")}${e > 1 ? M0("移到媒体库", js(s0("4em")), "w-full @lg:w-48") : ""}</div></div>+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${j0("来源", js(o0("6em")), "w-full @lg:w-60")}${j0("读取策略", js(o0("4em")), "w-full @lg:w-32")}${e > 1 ? j0("移到媒体库", js(o0("4em")), "w-full @lg:w-48") : ""}</div></div></div>`, jMe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2"><div data-library-head>${ks({label: "自动识别",variant: "secondary",- attrs: o0-})}${c0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${js(s0("4em"), { prefix: "处理方式" })}</div>+ attrs: a0+})}${s0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${js(o0("4em"), { prefix: "处理方式" })}</div><div data-library-folders>${AMe(t).repeat(e)}<div class="flex">${ks({label: "添加文件夹",variant: "secondary",- attrs: o0-})}</div></div></div>`, MMe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${X1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, NMe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";-function PMe(e = n0("media")) {- let t = a0(e?.folders, 12, (e) => i0(e, 50)).filter(Boolean);+ attrs: a0+})}</div></div></div>`, MMe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${Y1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, NMe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";+function PMe(e = t0("media")) {+ let t = i0(e?.folders, 12, (e) => r0(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: r0(e?.cloud)+ cloud: n0(e?.cloud)} : {folders: [1],cloud: !1};}function FMe() {- let e = n0("discovery"), t = r0(e?.enabled), n = t && r0(e?.cloud), r = n && r0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${c0()}</span>${js(s0("4em"), { prefix: "对应目录" })}${ks({+ let e = t0("discovery"), t = n0(e?.enabled), n = t && n0(e?.cloud), r = n && n0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${s0()}</span>${js(o0("4em"), { prefix: "对应目录" })}${ks({glyph: "trash",variant: "secondary",- attrs: o0+ attrs: a0})}</div>`;- return h0("自动发现新文件", m0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${u0()}</div>`) + _0("发现新文件后自动入库", t ? s0("10em") : "") + _0("监视本机文件夹", t && r0(e?.watchLocal) ? s0("12em") : "") + _0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? g0("Webhook 配置", s0("20em"), "") : "") + (r ? m0(T0("查看配置"), !0) : "") + (n ? m0(`<div class="flex flex-col gap-3">${b0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(i0(e?.prefixes, 20))}</div><div>${f0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? f0("更换密钥", "secondary") : "") + f0("保存配置"));+ return m0("自动发现新文件", p0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${l0()}</div>`) + g0("发现新文件后自动入库", t ? o0("10em") : "") + g0("监视本机文件夹", t && n0(e?.watchLocal) ? o0("12em") : "") + g0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? h0("Webhook 配置", o0("20em"), "") : "") + (r ? p0(w0("查看配置"), !0) : "") + (n ? p0(`<div class="flex flex-col gap-3">${y0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(r0(e?.prefixes, 20))}</div><div>${d0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? d0("更换密钥", "secondary") : "") + d0("保存配置"));}var IMe = () => {let e = PMe();- return h0("媒体库与目录", m0(`${MMe}<div class="flex flex-col gap-4">${e.folders.map((t) => jMe(t, e.folders.length)).join("")}</div>- <div class="self-start">${f0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${Z1}</p>- ${e.cloud ? NMe : ""}<span class="text-body-medium text-text-primary">${s0("15em")}</span>`), f0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? j0() : "") + FMe() + h0("番号识别规则", m0(`${s0("90%")}${s0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), f0("保存配置")) + h0("视频预览", _0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + _0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + _0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, LMe = () => `<div>${f0("采集来源与登录状态", "secondary")}</div>` + D0() + h0("关注采集", g0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + v0("订阅源拉取") + _0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + v0("头像刷新", "重新获取关注创作者的头像。") + v0("favicon 刷新", "重新获取来源站点的图标。")) + O0() + h0("作品资料站点", m0(`<p class="text-body-2-regular text-text-secondary">${Q1}</p>${x0(w0("JavDB 地址"), $1)}${x0(w0("MISSAV 地址"), $1)}`), f0("保存配置")), RMe = () => {- let e = n0("downloads"), t = r0(e?.pikpak), n = r0(e?.pikpakRoots) ? S0(w0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${b0(w0("PikPak 根目录对应的媒体目录"))}${y0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = r0(e?.cloud) ? h0("云下载", m0(x0("CloudDrive2 地址") + x0("CloudDrive2 API 令牌", "需要离线任务权限。") + (r0(e?.has115) ? x0(w0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? x0(w0("PikPak 目标目录"), "目录要已经存在。") + n : "") + x0("等待上限(小时)", s0("14em"))), f0("检查连接", "secondary") + f0("保存配置")) : "", i = r0(e?.pikpakLoggedIn);- return r + (t ? h0("PikPak 账号", i ? E0(["账号", s0("4em")]) : m0(x0("账号") + x0("密码") + C0("保存密码,登录过期时自动重新登录")), i ? f0("登出", "secondary") : (r0(e?.browserLogin) ? f0("用浏览器登录", "secondary") : "") + f0("登录"), {- aside: u0(),+ return m0("媒体库与目录", p0(`${MMe}<div class="flex flex-col gap-4">${e.folders.map((t) => jMe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${d0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${X1}</p>+ ${e.cloud ? NMe : ""}<span class="text-body-medium text-text-primary">${o0("15em")}</span>`), d0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? A0() : "") + FMe() + m0("番号识别规则", p0(`${o0("90%")}${o0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), d0("保存配置")) + m0("视频预览", g0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + g0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + g0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, LMe = () => `<div>${d0("采集来源与登录状态", "secondary")}</div>` + E0() + m0("关注采集", h0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + _0("订阅源拉取") + g0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + _0("头像刷新", "重新获取关注创作者的头像。") + _0("favicon 刷新", "重新获取来源站点的图标。")) + D0() + m0("作品资料站点", p0(`<p class="text-body-2-regular text-text-secondary">${Z1}</p>${b0(C0("JavDB 地址"), Q1)}${b0(C0("MISSAV 地址"), Q1)}`), d0("保存配置")), RMe = () => {+ let e = t0("downloads"), t = n0(e?.pikpak), n = n0(e?.pikpakRoots) ? x0(C0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${y0(C0("PikPak 根目录对应的媒体目录"))}${v0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = n0(e?.cloud) ? m0("云下载", p0(b0("CloudDrive2 地址") + b0("CloudDrive2 API 令牌", "需要离线任务权限。") + (n0(e?.has115) ? b0(C0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? b0(C0("PikPak 目标目录"), "目录要已经存在。") + n : "") + b0("等待上限(小时)", o0("14em"))), d0("检查连接", "secondary") + d0("保存配置")) : "", i = n0(e?.pikpakLoggedIn);+ return r + (t ? m0("PikPak 账号", i ? T0(["账号", o0("4em")]) : p0(b0("账号") + b0("密码") + S0("保存密码,登录过期时自动重新登录")), i ? d0("登出", "secondary") : (n0(e?.browserLogin) ? d0("用浏览器登录", "secondary") : "") + d0("登录"), {+ aside: l0(),mark: !0- }) : "") + k0();-}, N0 = {+ }) : "") + O0();+}, M0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, P0 = {+}, N0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};function zMe(e) {- let t = e === "locked" ? "" : x0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + x0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (N0[e] ? y0(N0[e]) : "") + (e === "open" ? l0("100%", "64px") : "") + (e === "password" || e === "legacy" ? C0("关闭访问密码") : "") + (e === "password" ? x0("当前访问密码 *") : "") + t;+ let t = e === "locked" ? "" : b0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + b0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (M0[e] ? v0(M0[e]) : "") + (e === "open" ? c0("100%", "64px") : "") + (e === "password" || e === "legacy" ? S0("关闭访问密码") : "") + (e === "password" ? b0("当前访问密码 *") : "") + t;}-function F0() {- let e = n0("devices");- return h0("已登录的设备", Array.from({ length: Math.max(1, i0(e?.rows, 8)) }, () => g0(s0("8em"), s0("14em"), s0("3em"), l0("20px", "20px"))).join(""), r0(e?.manageable) ? f0("撤销其他设备", "secondary") : "", r0(e?.manageable) ? { status: "修改访问密码会让全部设备退出。" } : {});+function P0() {+ let e = t0("devices");+ return m0("已登录的设备", Array.from({ length: Math.max(1, r0(e?.rows, 8)) }, () => h0(o0("8em"), o0("14em"), o0("3em"), c0("20px", "20px"))).join(""), n0(e?.manageable) ? d0("撤销其他设备", "secondary") : "", n0(e?.manageable) ? { status: "修改访问密码会让全部设备退出。" } : {});}var BMe = () => {- let e = n0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = r0(e?.tunnelNamed), r = (n && r0(e?.tunnelNamedMode) ? y0(P0.named) + x0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + x0("隧道令牌", s0("16em")) : y0(P0.quick)) + (r0(e?.tunnelNote) ? l0("100%", "64px") : ""), i = i0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${x0([+ let e = t0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = n0(e?.tunnelNamed), r = (n && n0(e?.tunnelNamedMode) ? v0(N0.named) + b0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + b0("隧道令牌", o0("16em")) : v0(N0.quick)) + (n0(e?.tunnelNote) ? c0("100%", "64px") : ""), i = r0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${b0(["本机地址","手机连接地址","备用 IP 地址"- ][t])}</div>${f0("复制地址", "secondary")}</div>`).join("");- return (i || r0(e?.port) ? h0("访问地址", m0(a + (i ? l0("100%", "40px") : "") + (r0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${b0("谁可以访问")}${l0("min(100%, 20em)", "36px")}</div>` + (r0(e?.lan) ? x0("局域网访问地址") : "") : "") + (r0(e?.port) ? x0("端口") : "")), r0(e?.port) ? f0("保存配置") : "", r0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + h0("访问密码", m0(zMe(t)), t === "locked" ? "" : f0("保存配置")) + (t === "password" || t === "legacy" ? F0() : "") + h0("Cloudflare 公网入口", m0((n ? l0("10.5em", "36px") : "") + r), f0("启动公网入口", n ? "secondary" : "primary") + (n ? f0("保存配置") : ""), { aside: u0() }) + h0("Peach 代理", _0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (r0(e?.proxyAddress) ? m0(x0("代理地址"), !0) : ""), f0("保存配置"));+ ][t])}</div>${d0("复制地址", "secondary")}</div>`).join("");+ return (i || n0(e?.port) ? m0("访问地址", p0(a + (i ? c0("100%", "40px") : "") + (n0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${y0("谁可以访问")}${c0("min(100%, 20em)", "36px")}</div>` + (n0(e?.lan) ? b0("局域网访问地址") : "") : "") + (n0(e?.port) ? b0("端口") : "")), n0(e?.port) ? d0("保存配置") : "", n0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + m0("访问密码", p0(zMe(t)), t === "locked" ? "" : d0("保存配置")) + (t === "password" || t === "legacy" ? P0() : "") + m0("Cloudflare 公网入口", p0((n ? c0("10.5em", "36px") : "") + r), d0("启动公网入口", n ? "secondary" : "primary") + (n ? d0("保存配置") : ""), { aside: l0() }) + m0("Peach 代理", g0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (n0(e?.proxyAddress) ? p0(b0("代理地址"), !0) : ""), d0("保存配置"));}, VMe = ["版本","操作系统",@@ -73062,21 +73062,21 @@ var BMe = () => {"设置文件","日志目录"], HMe = () => {- let e = n0("maintenance"), t = [+ let e = t0("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, i0(e?.releaseFacts, 5))), n = i0(e?.releaseNotes, 4), r = i0(e?.storageRows, 12), i = i0(e?.storageNotes, 3), a = a0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${u0("6em")}</span>`, s = (t) => !e || r0(t), c = s(e?.reporting) ? _0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (r0(e?.reportingIdle) ? m0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${_0("上传馆藏与口味明细", r0(e?.sharingNotice) ? s0("12em") : "")}${r0(e?.sharingIdle) ? m0(o, !0) : ""}${p0(f0("预览上传内容", "secondary"))}</div>` : "";- return h0("检查更新", E0(t) + (n ? m0(y0(s0("50%")).repeat(n), !0) : ""), f0("检查更新"), {- aside: u0("4em"),- status: s0("5em")- }) + h0("自动更新", _0("自动检查新版本") + _0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + _0("检查频率", r0(e?.autoUpdateHelp) ? s0("12em") : "", "ui-configuration-skeleton-select"), f0("保存配置")) + h0("开机自启", _0("开机后启动 Peach") + _0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + _0("在桌面创建快捷方式", r0(e?.desktopNote) ? s0("12em") : "") + (r0(e?.startupNote) ? m0(y0(s0("60%")), !0) : ""), f0("保存配置")) + h0("视频播放", _0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + h0("存储空间", E0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => g0(s0("6em"), "", s0("4em"))).join("") : m0(y0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? m0(y0(s0("80%")).repeat(i), !0) : ""), f0("更改位置", "secondary") + f0(r ? "重新统计" : "统计占用")) + (c || l ? h0("数据上传", c + l) : "") + h0("运行信息", E0(a.length ? a : VMe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${g0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", f0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? h0("卸载 Peach", (r0(e?.uninstallHelp) ? m0(y0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + _0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + m0(T0("数据目录"), !0), f0("卸载 Peach"), { status: s0("16em") }) : "");+ ].slice(0, Math.max(4, r0(e?.releaseFacts, 5))), n = r0(e?.releaseNotes, 4), r = r0(e?.storageRows, 12), i = r0(e?.storageNotes, 3), a = i0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${l0("6em")}</span>`, s = (t) => !e || n0(t), c = s(e?.reporting) ? g0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (n0(e?.reportingIdle) ? p0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${g0("上传馆藏与口味明细", n0(e?.sharingNotice) ? o0("12em") : "")}${n0(e?.sharingIdle) ? p0(o, !0) : ""}${f0(d0("预览上传内容", "secondary"))}</div>` : "";+ return m0("检查更新", T0(t) + (n ? p0(v0(o0("50%")).repeat(n), !0) : ""), d0("检查更新"), {+ aside: l0("4em"),+ status: o0("5em")+ }) + m0("自动更新", g0("自动检查新版本") + g0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + g0("检查频率", n0(e?.autoUpdateHelp) ? o0("12em") : "", "ui-configuration-skeleton-select"), d0("保存配置")) + m0("开机自启", g0("开机后启动 Peach") + g0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + g0("在桌面创建快捷方式", n0(e?.desktopNote) ? o0("12em") : "") + (n0(e?.startupNote) ? p0(v0(o0("60%")), !0) : ""), d0("保存配置")) + m0("视频播放", g0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + m0("存储空间", T0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => h0(o0("6em"), "", o0("4em"))).join("") : p0(v0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? p0(v0(o0("80%")).repeat(i), !0) : ""), d0("更改位置", "secondary") + d0(r ? "重新统计" : "统计占用")) + (c || l ? m0("数据上传", c + l) : "") + m0("运行信息", T0(a.length ? a : VMe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${h0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", d0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? m0("卸载 Peach", (n0(e?.uninstallHelp) ? p0(v0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + g0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + p0(w0("数据目录"), !0), d0("卸载 Peach"), { status: o0("16em") }) : "");};function UMe(e) {switch (e) {- case "系统诊断": return Y1();+ case "系统诊断": return J1();case "来源与订阅": return LMe();case "下载渠道": return RMe();case "网络与访问": return BMe();@@ -73088,10 +73088,10 @@ function WMe(e = "媒体库与入库") {return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(If).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${UMe(e)}</div></div></div>`;}// src/filter-controls-skeleton.ts-var I0 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Es(e, "size-4 shrink-0"), L0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", R0 = (e, t, n) => `<span data-entity-layout="" class="${nU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${rU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${L0}>${I0(r)}</span>`).join("")}</span>`;-function z0(e, t, { folders: n = !0 } = {}) {- let r = yG(), i = new URLSearchParams(location.search), a = t && r === "cards" ? R0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${L0}>${I0("ri-folder-3-line")}</button>` : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${L0}>${I0("shuffle")}</button>${a}${R0("馆藏显示方式", r, [[+var F0 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Es(e, "size-4 shrink-0"), I0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", L0 = (e, t, n) => `<span data-entity-layout="" class="${eU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${tU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${I0}>${F0(r)}</span>`).join("")}</span>`;+function R0(e, t, { folders: n = !0 } = {}) {+ let r = _G(), i = new URLSearchParams(location.search), a = t && r === "cards" ? L0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${I0}>${F0("ri-folder-3-line")}</button>` : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${I0}>${F0("shuffle")}</button>${a}${L0("馆藏显示方式", r, [["cards","卡片","ri-layout-grid-line"@@ -73099,21 +73099,21 @@ function z0(e, t, { folders: n = !0 } = {}) {"list","列表","ri-list-unordered"- ]])}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${L0}>${z(e.label)}${e.dir ? I0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${I0}>${z(e.label)}${e.dir ? F0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}// src/catalog-filter-skeleton.ts-var B0 = 64, V0 = (e) => e.replace(/[&<>"]/g, (e) => ({+var z0 = 64, B0 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), GMe = (e) => e.repeat(B0), H0 = (e) => GMe(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span> </span></span>`);+})[e]), GMe = (e) => e.repeat(z0), V0 = (e) => GMe(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span> </span></span>`);function KMe(e, t, n) {- let r = e.map((e) => `<a href="${V0(e.href)}" data-catalog-view="${V0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${V0(e.label)}</a>`).join(""), i = KG();- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${H0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${H0("studio")}</div>` : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(B0) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ds()}</span>` + (n ? z0(n.sorts, n.layout) : "") + "</div></div></div></div>";+ let r = e.map((e) => `<a href="${B0(e.href)}" data-catalog-view="${B0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${B0(e.label)}</a>`).join(""), i = WG();+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${V0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${V0("studio")}</div>` : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(z0) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ds()}</span>` + (n ? R0(n.sorts, n.layout) : "") + "</div></div></div></div>";}// src/react/jav/release-table-columns.ts-var U0 = "peach.table.jav-releases.widths.v1", W0 = "peach.table.jav-releases.visibility.v1", qMe = {+var H0 = "peach.table.jav-releases.widths.v1", U0 = "peach.table.jav-releases.visibility.v1", qMe = {name: {width: 300,min: 240,@@ -73174,7 +73174,7 @@ var U0 = "peach.table.jav-releases.widths.v1", W0 = "peach.table.jav-releases.vidur: "duration",score: "source_score",release: "release_date"-}, G0 = [+}, W0 = ["name","people","studio",@@ -73193,11 +73193,11 @@ var U0 = "peach.table.jav-releases.widths.v1", W0 = "peach.table.jav-releases.vivisible: e !== "code"}));function XMe() {- return GJ(G0, U0, W0);+ return UJ(W0, H0, U0);}// src/jav-skeleton.ts-var K0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, ZMe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, q0 = "w-full min-w-0";-function J0() {+var G0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, ZMe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, K0 = "w-full min-w-0";+function q0() {return ["w-20","w-16",@@ -73207,20 +73207,20 @@ function J0() {"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 Y0(e, t = oM()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${K0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${ZMe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${K0("80%")}${K0("60%")}${K0("40%")}</div></div>`).join("")}</div>`;- let n = mM({- ...pM({+function J0(e, t = iM()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${G0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${ZMe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${G0("80%")}${G0("60%")}${G0("40%")}</div></div>`).join("")}</div>`;+ let n = fM({+ ...dM({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${q0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${K0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${K0("85%")}${K0("65%")}</div><div data-media-byline>${K0("55%")}</div>+ <div data-media-title>${G0("85%")}${G0("65%")}</div><div data-media-byline>${G0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>@@ -73232,57 +73232,57 @@ var QMe = {wants: "筛选想要"};function $Me(e) {- let t = new URLSearchParams(location.search).get("q") || "", n = e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${K0("100%")}</div>${Y0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${eNe()}${yG() === "list" ? `<div data-catalog-table>${YJ(XMe())}</div>` : Y0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${tNe()}${Y0(e)}</section>`;+ let t = new URLSearchParams(location.search).get("q") || "", n = e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${G0("100%")}</div>${J0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${eNe()}${_G() === "list" ? `<div data-catalog-table>${qJ(XMe())}</div>` : J0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${tNe()}${J0(e)}</section>`;return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", t, QMe[e] || "筛选")}</div>${ks({variant: "primary",label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${iU.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${nU.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>${n}</div></div>`;}function eNe() {- let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = vW.map(([e, r, i]) => ({+ let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = gW.map(([e, r, i]) => ({key: e,label: r,ariaLabel: i,pressed: e === t,dir: e === t ? n : ""}));- return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${H0("performer")}</div><div data-catalog-tier="studios">${H0("studio")}</div></div>+ return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${V0("performer")}</div><div data-catalog-tier="studios">${V0("studio")}</div></div><div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-tags>${J0()}</div></div>+ <div data-catalog-scroll><div data-catalog-tags>${q0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>- ${z0(r, {+ ${R0(r, {name: "jav-layout",label: "JAV 卡片版式",- value: oM(),- options: tM+ value: iM(),+ options: $j}, { folders: !1 })}</div></div>`;}function tNe() {- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${oM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Es(t, "size-4")}</span>`;+ 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="" ${iM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Es(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${J0()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${q0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ds()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Es("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>- ${_W.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Es("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${hW.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Es("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}// src/management-skeletons.ts-var X0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", Z0 = (e = "60%") => `<span class="${X0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, Q0 = "disabled data-skeleton-action", $0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+var Y0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", X0 = (e = "60%") => `<span class="${Y0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, Z0 = "disabled data-skeleton-action", Q0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";function nNe() {let e = ["馆藏视频",@@ -73291,27 +73291,27 @@ function nNe() {"使用空间"].map((e, t) => `<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${X0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${Z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${Z0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${$0}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${Z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${Y0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${X0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${X0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${Q0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${X0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${Z0()}</span><b class="text-title-2-medium">${Z0("3em")}</b><small class="text-caption-1-regular">${Z0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${X0()}</span><b class="text-title-2-medium">${X0("3em")}</b><small class="text-caption-1-regular">${X0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${Z0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${X0("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${$0}"><h3 class="text-title-2-medium">${e}</h3><div class="${X0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${Q0}"><h3 class="text-title-2-medium">${e}</h3><div class="${Y0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -73320,7 +73320,7 @@ function nNe() {"最近看过","标签来源"].map((e) => `<span>${e}</span>`).join("")}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${X0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${Y0} h-7"></div>`).join("")}</div></section></div></div>`;}@@ -73332,20 +73332,20 @@ function rNe() {"私有导出"].map((e) => `<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${X0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${Z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${Z0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${X0} h-6"></div>`).join(""), r = (e) => `<section class="${$0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${X0} h-40"></div></section>`;+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${Y0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${X0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${X0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${Y0} h-6"></div>`).join(""), r = (e) => `<section class="${Q0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${Y0} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}<div class="flex flex-wrap items-center gap-2">${js("全部时间")}<span data-button-group data-split-button data-variant="primary">${ks({glyph: "compass",label: "读取浏览器历史",- attrs: Q0+ attrs: Z0})}${ks({glyph: "chevron-down",- attrs: Q0+ attrs: Z0})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -73363,11 +73363,11 @@ function rNe() {4,5].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>- <small class="text-caption-1-regular">${Z0("8em")}</small></div>+ <small class="text-caption-1-regular">${X0("8em")}</small></div><div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div></section><div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>- <section class="${$0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${X0} h-72 max-sm:h-48"></div></section>+ <section class="${Q0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${Y0} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -73375,20 +73375,20 @@ function rNe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${X0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${Y0} h-7"></div>`).join("")}</div></section></div></div></div>`;}function iNe() {let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">- <span class="${X0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${Z0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${Z0("3em")}</span>`).join("")}- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${Z0("75%")}</span>+ <span class="${Y0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${X0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${X0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${X0("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${Z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${Z0("8em")}</span>+ <b class="text-title-2-medium">${X0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${X0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -73397,27 +73397,27 @@ function iNe() {variant: "secondary",size: "small",label: e,- attrs: Q0+ attrs: Z0})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${Z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${Z0("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${X0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${X0("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${Q0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${Z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}function aNe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${X0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${Z0("80%")}</h3><p class="text-body-2-regular">${Z0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${Y0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${X0("80%")}</h3><p class="text-body-2-regular">${X0("60%")}</p></div></div><footer class="flex justify-end">${ks({variant: "secondary",size: "small",label: "查看版本",- attrs: Q0+ attrs: Z0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -73426,20 +73426,20 @@ function aNe() {</div></div>`;}// src/board-skeleton.ts-var e2 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oNe = () => `${e2("80%")}${e2("48%")}`, t2 = (e, t) => e.repeat(t), n2 = "disabled data-skeleton-action", r2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, i2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, sNe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", a2 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var $0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oNe = () => `${$0("80%")}${$0("48%")}`, e2 = (e, t) => e.repeat(t), t2 = "disabled data-skeleton-action", n2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, r2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, sNe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", i2 = () => `<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="${sNe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${r2("3em")}</b></div>`).join("")}</div>`, cNe = (e = "") => RZ.some(([t]) => t === e) ? e : "list", o2 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${RZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, s2 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, lNe = ({ table: e, sort: t, dir: n }) => {+].map((e) => `<div class="${sNe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${n2("3em")}</b></div>`).join("")}</div>`, cNe = (e = "") => LZ.some(([t]) => t === e) ? e : "list", a2 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${LZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, o2 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, lNe = ({ table: e, sort: t, dir: n }) => {let r = ur.find(([e]) => e === t)[1];- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${r2("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ks({+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${n2("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ks({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: n2+ attrs: t2})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${ks({variant: "ghost",glyph: "layout-grid",@@ -73456,36 +73456,36 @@ var e2 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oNeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: n2+ attrs: t2})}</span></div></div>`;-}, c2 = () => `<span class="flex shrink-0 items-center gap-1">${ks({+}, s2 = () => `<span class="flex shrink-0 items-center gap-1">${ks({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: n2+ attrs: t2})}${ks({variant: "secondary",size: "small",glyph: "trash",- attrs: n2-})}</span>`, uNe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${s2()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${r2("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${i2(14, 14)}</span>${i2(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${r2("113px")}</span>${c2()}</span></div>`, l2 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${i2(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${r2("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${ks({+ attrs: t2+})}</span>`, uNe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${o2()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${n2("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${r2(14, 14)}</span>${r2(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${n2("113px")}</span>${s2()}</span></div>`, c2 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${r2(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${n2("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${ks({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: n2-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${i2(14, 14)}${i2(14, 14)}</span><span class="flex flex-none items-center gap-2">${ks({+ attrs: t2+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${r2(14, 14)}${r2(14, 14)}</span><span class="flex flex-none items-center gap-2">${ks({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: n2+ attrs: t2})}${ks({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: n2-})}</span></span></div><div data-source-divider>${t2(uNe(), e)}</div></section>`, dNe = () => {+ attrs: t2+})}</span></span></div><div data-source-divider>${e2(uNe(), e)}</div></section>`, dNe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {@@ -73505,36 +73505,36 @@ var e2 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oNeprovider: "provider",status: "status",checked: "checked"-}, u2 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", mNe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${fNe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${pNe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${u2}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${t2(`<tr>${[- s2(),- `<span class="flex min-w-0 items-center gap-2">${i2(32, 32, !0)}${r2("5em")}</span>`,- r2("10em"),- `<span class="flex items-center gap-1.5">${i2(14, 14)}${r2("4em")}</span>`,- i2(48, 24),- r2("113px"),- c2()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, hNe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${r2("111px")}</span><div data-toolbar-actions>${js(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${i2(204, 32)}</div></div>`, gNe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${r2("120px")}</h3>${[+}, l2 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", mNe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${fNe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${pNe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${l2}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${e2(`<tr>${[+ o2(),+ `<span class="flex min-w-0 items-center gap-2">${r2(32, 32, !0)}${n2("5em")}</span>`,+ n2("10em"),+ `<span class="flex items-center gap-1.5">${r2(14, 14)}${n2("4em")}</span>`,+ r2(48, 24),+ n2("113px"),+ s2()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, hNe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${n2("111px")}</span><div data-toolbar-actions>${js(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${r2(204, 32)}</div></div>`, gNe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${n2("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${r2(e)}</span>`).join("")}</div>`, _Ne = (e) => {+].map((e) => `<span class="text-body-medium">${n2(e)}</span>`).join("")}</div>`, _Ne = (e) => {let t = cNe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${a2()}<div class="flex flex-col gap-6">${o2(t)}<div class="flex flex-col gap-4">${gNe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || dNe(), a = n ? mNe(i, r) : `${s2("全选本页")}<div class="flex flex-col gap-3">${l2(3)}${l2(4)}${l2(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${a2()}<div class="flex flex-col gap-6">${o2(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${lNe({+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${i2()}<div class="flex flex-col gap-6">${a2(t)}<div class="flex flex-col gap-4">${gNe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || dNe(), a = n ? mNe(i, r) : `${o2("全选本页")}<div class="flex flex-col gap-3">${c2(3)}${c2(4)}${c2(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${i2()}<div class="flex flex-col gap-6">${a2(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${lNe({table: n,...r})}${a}${hNe(n, i)}</div></div></div></div></div>`;};function vNe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${e2("85%")}${e2("65%")}${t2(oNe(), 4)}</div></aside></div>`;+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${$0("85%")}${$0("65%")}${e2(oNe(), 4)}</div></aside></div>`;}function yNe(e, t = {}) {let n = "";if (e === "/stats") n = nNe();else if (e === "/jav") {- let e = aU(new URLSearchParams(location.search).get("tab"));+ let e = rU(new URLSearchParams(location.search).get("tab"));n = $Me(e === "library" ? "discover" : e);} else if (e === "/taste") n = rNe();else if (e === "/subscriptions") n = _Ne(t);@@ -73543,13 +73543,13 @@ function yNe(e, t = {}) {"正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${r2("8em")}</span><span class="text-caption-1-regular">${r2("14em")}</span>${r2("60%")}${r2("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${r2("6em")}</div></div></section>`).join("")}</div></div>`;+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${n2("8em")}</span><span class="text-caption-1-regular">${n2("14em")}</span>${n2("60%")}${n2("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${n2("6em")}</div></div></section>`).join("")}</div></div>`;else if (e === "/duplicates") n = iNe();else if (e === "/quality-goals") n = aNe();else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${ks({label: "新建",- attrs: n2- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${t2("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: t2+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${e2("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}@@ -73560,30 +73560,30 @@ function bNe(e) {let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function d2(e) {+function u2(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");return bNe(n ?? t.body);}-var f2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";+var d2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";function xNe(e) {let t = e.querySelector(":scope > [data-react-overlays]");for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {- let t = e.matches(f2) ? e : e.querySelector(f2);+ let t = e.matches(d2) ? e : e.querySelector(d2);if (t) return t;}return null;}-function p2(e) {+function f2(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}// src/react/follow-detail/follow-detail.ts-var m2 = (e) => ["follow-item", e], SNe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, CNe = "/api/follow/save", wNe = "/api/follow/media/hide", h2 = class extends Error {+var p2 = (e) => ["follow-item", e], SNe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, CNe = "/api/follow/save", wNe = "/api/follow/media/hide", m2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function g2(e, t) {+async function h2(e, t) {let n = await B(SNe(e), t);for (let t of n.groups || []) {let r = ua(t).find((t) => t.id === e);@@ -73594,7 +73594,7 @@ async function g2(e, t) {aliases: n.author_aliases || []};}- throw new h2();+ throw new m2();}function TNe(e) {for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {@@ -73607,8 +73607,8 @@ function TNe(e) {}return null;}-async function _2(e, t) {- let n = m2(e.id), r = da(e.id), i = H.getQueryData(aa) ? null : H.fetchQuery({+async function g2(e, t) {+ let n = p2(e.id), r = da(e.id), i = H.getQueryData(aa) ? null : H.fetchQuery({queryKey: aa,queryFn: () => oa(t)}), a = r ? {@@ -73617,7 +73617,7 @@ async function _2(e, t) {} : H.getQueryData(n) ?? TNe(e.id);a ? H.setQueryData(n, a) : await H.fetchQuery({queryKey: n,- queryFn: () => g2(e.id, t)+ queryFn: () => h2(e.id, t)}), await i;}function ENe(e, t, n, r) {@@ -73657,7 +73657,7 @@ function ANe(e) {return "外部文件页";}}-function v2(e, t) {+function _2(e, t) {return kNe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}function jNe(e, t, n = "") {@@ -73669,7 +73669,7 @@ function jNe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var MNe = (e) => String(e.name || "").trim(), y2 = (e, t) => e.tag_types?.[t] || "unknown", NNe = /* @__PURE__ */ new Set([+var MNe = (e) => String(e.name || "").trim(), v2 = (e, t) => e.tag_types?.[t] || "unknown", NNe = /* @__PURE__ */ new Set(["artist","character","copyright",@@ -73677,10 +73677,10 @@ var MNe = (e) => String(e.name || "").trim(), y2 = (e, t) => e.tag_types?.[t] ||"unknown"]);function PNe(e, t) {- let n = y2(e, t);+ let n = v2(e, t);return `r34-${NNe.has(n) ? n : "general"}`;}-var b2 = [+var y2 = ["copyright","character","artist",@@ -73689,12 +73689,12 @@ var b2 = [];function FNe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = b2.indexOf(y2(e, t));- return n < 0 ? b2.length : n;+ let n = y2.indexOf(v2(e, t));+ return n < 0 ? y2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function x2(e, t) {+function b2(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;}@@ -73702,21 +73702,21 @@ var INe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), S2 = (e) => e?.size ? { size: e.size } : {};+}), x2 = (e) => e?.size ? { size: e.size } : {};function LNe(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t) => ({src: `/follow-stream?id=${e.id}&media=${t.index}`,thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,name: t.name || e.title,- source: v2(t, e),- ...S2(t)+ source: _2(t, e),+ ...x2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: v2(a, e),- ...S2(a)+ source: _2(a, e),+ ...x2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -73724,7 +73724,7 @@ function LNe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var RNe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", C2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", w2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", T2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", E2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", D2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", O2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", k2 = "disabled data-skeleton-action", A2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, j2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, M2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, N2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, zNe = [+var RNe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", S2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", C2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", w2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", T2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", E2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", D2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", O2 = "disabled data-skeleton-action", k2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, A2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, j2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, M2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, zNe = ["3em","5em","5em",@@ -73744,70 +73744,70 @@ var RNe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", C2"5.8em","9em","9em"-], P2 = (e, t) => ks({+], N2 = (e, t) => ks({variant: e,size: "small",- label: A2(t)+ label: k2(t)});function VNe() {- return `<section class="${c$("stack")}">- <div class="${o$.stack}">${M2("整理", "mb-3")}- <p class="text-body-regular text-text-secondary">${C2}</p>+ return `<section class="${s$("stack")}">+ <div class="${a$.stack}">${j2("整理", "mb-3")}+ <p class="text-body-regular text-text-secondary">${S2}</p><div class="mt-3 flex flex-col gap-3">- <div class="flex min-w-0 flex-wrap items-start gap-2">${js(A2("3em"), {+ <div class="flex min-w-0 flex-wrap items-start gap-2">${js(k2("3em"), {prefix: "来源",className: "w-fit min-w-25",attrs: "aria-disabled=\"true\""})}- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${N2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Es("folder-search", "size-5 shrink-0")}</button></div>+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${M2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Es("folder-search", "size-5 shrink-0")}</button></div></div>- <p class="text-caption-1-regular text-text-secondary">${w2}</p>- ${N2(A2("12em"), { label: "文件名模板" })}${N2(A2("8em"), { label: "目录模板" })}- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${zNe.map((e) => P2("secondary", e)).join("")}</div></div>- <p class="text-caption-1-regular text-text-secondary">路径示例:${A2("16em")}</p>- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${BNe.map((e) => P2("ghost", e)).join("")}</div></div>- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${T2}</p>+ <p class="text-caption-1-regular text-text-secondary">${C2}</p>+ ${M2(k2("12em"), { label: "文件名模板" })}${M2(k2("8em"), { label: "目录模板" })}+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${zNe.map((e) => N2("secondary", e)).join("")}</div></div>+ <p class="text-caption-1-regular text-text-secondary">路径示例:${k2("16em")}</p>+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${BNe.map((e) => N2("ghost", e)).join("")}</div></div>+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${w2}</p></div></div>- <footer class="${s$.stack}">${ks({+ <footer class="${o$.stack}">${ks({label: "预览",- attrs: k2+ attrs: O2})}</footer></section>`;}var HNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">- <section class="${c$("split")}"><div class="${o$.split}">${M2("资源同步", "mb-2")}- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${E2}</p></div>- <footer class="${s$.split}">${ks({+ <section class="${s$("split")}"><div class="${a$.split}">${j2("资源同步", "mb-2")}+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${T2}</p></div>+ <footer class="${o$.split}">${ks({glyph: "git-compare",label: "检查文件",- attrs: k2+ attrs: O2})}</footer></section>-</section>`, F2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${A2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${A2("14em")}</small>` : ""}</div>`, UNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">- <section class="${c$("stack")}"><div class="${o$.stack}">${M2("链接管理", "mb-2")}- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${F2("链接总数", !0)}${[+</section>`, P2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${k2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${k2("14em")}</small>` : ""}</div>`, UNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">+ <section class="${s$("stack")}"><div class="${a$.stack}">${j2("链接管理", "mb-2")}+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${P2("链接总数", !0)}${[0,1,2-].map(() => F2(A2("5em"))).join("")}</div>+].map(() => P2(k2("5em"))).join("")}</div><div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${["7em","10em","8em"-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${j2(16, 16)}${A2(e)}${j2(28, 24)}</span>`).join("")}</div></div></div>- <footer class="${s$.stack}">${ks({+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${A2(16, 16)}${k2(e)}${A2(28, 24)}</span>`).join("")}</div></div></div>+ <footer class="${o$.stack}">${ks({glyph: "link",label: "检查死链",- attrs: k2+ attrs: O2})}</footer></section></section>`;-function I2({ title: e, description: t, search: n = "", columns: r, rows: i }) {- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${s2()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${u2}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${s2()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", "", n)}</div>` : "";- return `<div data-data-table-panel class="${yU({+function F2({ title: e, description: t, search: n = "", columns: r, rows: i }) {+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${o2()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${l2}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${o2()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", "", n)}</div>` : "";+ return `<div data-data-table-panel class="${_U({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"})}">- <div data-responsive-toolbar><div data-toolbar-heading>${M2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${A2("4em")}</span></div>+ <div data-responsive-toolbar><div data-toolbar-heading>${j2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${k2("4em")}</span></div><div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${ks({variant: "secondary",label: "显示列"@@ -73818,14 +73818,14 @@ function I2({ title: e, description: t, search: n = "", columns: r, rows: i }) {<span class="flex flex-none items-center gap-2">${js("默认顺序", { prefix: "排序" })}${ks({variant: "secondary",glyph: "arrow-up",- attrs: k2+ attrs: O2})}</span></div></div><p class="text-body-2-regular text-text-secondary">${t}</p><div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${A2("8em")}</span><div data-toolbar-actions>${js("每页 20 条", { size: "sm" })}</div></div>+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${k2("8em")}</span><div data-toolbar-actions>${js("每页 20 条", { size: "sm" })}</div></div></div>`;}-var WNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${A2(e)}</span><small class="text-caption-1-regular">${A2(t)}</small></span>`, GNe = {+var WNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${k2(e)}</span><small class="text-caption-1-regular">${k2(t)}</small></span>`, GNe = {organize: {label: "正在读取整理配置",body: VNe@@ -73836,9 +73836,9 @@ var WNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl},"orphan-records": {label: "正在读取文件已丢失的记录",- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${I2({+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${F2({title: "文件已丢失的记录",- description: D2,+ description: E2,rows: 4,columns: [{@@ -73849,7 +73849,7 @@ var WNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl{label: "个人记录",width: 176,- cell: A2("6em")+ cell: k2("6em")},{label: "操作",@@ -73858,7 +73858,7 @@ var WNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span clvariant: "secondary",size: "small",label: "删除记录",- attrs: k2+ attrs: O2})}]@@ -73874,42 +73874,42 @@ var WNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl},"batch-delete": {label: "正在读取女优列表",- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${I2({+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${F2({title: "批量删除",- description: O2,+ description: D2,search: "搜索女优姓名或别名",rows: 12,columns: [{label: "女优",width: 280,- cell: `<span class="flex min-w-0 items-center gap-3">${j2(32, 32, !0)}${A2("5em")}</span>`+ cell: `<span class="flex min-w-0 items-center gap-3">${A2(32, 32, !0)}${k2("5em")}</span>`},{label: "影片",width: 104,- cell: A2("3em")+ cell: k2("3em")},{label: "文件",width: 104,- cell: A2("3em")+ cell: k2("3em")},{label: "登记大小",width: 136,- cell: A2("4em")+ cell: k2("4em")}]})}</section>`}};-function L2(e) {+function I2(e) {let { label: t, body: n } = GNe[e];return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;}// src/management-placeholder.ts-var R2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => sc(e, {+var L2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => sc(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -73933,33 +73933,33 @@ var R2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill<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>`, JNe = {"/data-cleanup": () => OAe(),- ...Object.fromEntries(np.map((e) => [e.path, () => L2(e.key)])),- "/resource-sync": () => L2("resource-sync"),+ ...Object.fromEntries(np.map((e) => [e.path, () => I2(e.key)])),+ "/resource-sync": () => I2("resource-sync"),"/review": () => qNe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${R2("正在读取采集来源", {+ ${L2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function z2(e, { followLayout: t, followSort: n, followDir: r }) {+function R2(e, { followLayout: t, followSort: n, followDir: r }) {return yNe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (JNe[e] ?? (() => R2("正在读取页面")))();+ }) || (JNe[e] ?? (() => L2("正在读取页面")))();}-var B2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function V2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = B2(t);+var z2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function B2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = z2(t);r && r === n || (e.innerHTML = t, hc(e));}// src/react/components/related-section.tsx-function H2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function V2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, F.useCallback)((e) => {e && (hc(e), t(e));}, [t]);@@ -73972,17 +73972,17 @@ function H2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, I.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, I.jsx)(XG, {+ children: /* @__PURE__ */ (0, I.jsx)(JG, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, I.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, I.jsx)(oV, {+ children: /* @__PURE__ */ (0, I.jsx)(iV, {size: "compact",- icon: JB,+ icon: KB,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, I.jsx)(mL, {+ actions: /* @__PURE__ */ (0, I.jsx)(fL, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -73998,7 +73998,7 @@ function H2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,});}// src/react/components/detail-continuation.tsx-function U2({ queue: e, children: t, queueCards: n }) {+function H2({ queue: e, children: t, queueCards: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-detail-continuation": "","data-queue-cards": n == null ? void 0 : Math.min(3, n),@@ -74006,7 +74006,7 @@ function U2({ queue: e, children: t, queueCards: n }) {});}// src/react/components/media-carousel.tsx-function W2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function U2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, F.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -74138,7 +74138,7 @@ var XNe = (e, t, n) => [t,n];-function G2(e, t, n, r) {+function W2(e, t, n, r) {let i = new Set((t.group ? ua(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));return e.flatMap((e) => e.groups || []).filter((e) => {let t = ua(e);@@ -74179,22 +74179,22 @@ async function $Ne(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return G2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && G2(o, e, t, n).length < n && await s("", 0), {+ return W2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && W2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}// src/react/components/detail-tags.tsx-var K2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var G2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }}), ePe = 20;-function q2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {+function K2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Ft({queryKey: ["tag-management", n],queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),enabled: f && (n === "online" || !t.length)- }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = uH(), _ = (e) => {+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = cH(), _ = (e) => {g.run("rename", async (t) => {let r = (await H.fetchQuery({queryKey: ["tag-management", n],@@ -74229,9 +74229,9 @@ function q2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"data-edit-tag": e.k,title: "修改标签名称","aria-label": `修改标签 ${a(e.k)}`,- ...uV(!!g.busy),+ ...cV(!!g.busy),onClick: () => _(e),- children: /* @__PURE__ */ (0, I.jsx)(K2, { name: "pencil" })+ children: /* @__PURE__ */ (0, I.jsx)(G2, { name: "pencil" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -74240,16 +74240,16 @@ function q2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `删除标签 ${a(e.k)}`,...l(e.k),onClick: () => c(e),- children: /* @__PURE__ */ (0, I.jsx)(K2, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(G2, { name: "x" })})]}, e.k)),- C ? /* @__PURE__ */ (0, I.jsx)(J, {+ C ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small","data-tags-more": "","aria-expanded": v,- trailingIcon: v ? gB : pB,+ trailingIcon: v ? mB : dB,onClick: () => y(!v),children: v ? "收起" : `还有 ${e.length - w.length} 个`}) : null,@@ -74265,20 +74265,20 @@ function q2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe})]}),- g.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ g.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: g.error}) : null,- m.isError ? /* @__PURE__ */ (0, I.jsx)(aV, {+ m.isError ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: () => void m.refetch(),children: "立即重试"}),children: "无法读取标签候选"}) : null,- u ? /* @__PURE__ */ (0, I.jsx)(ZQ, {+ u ? /* @__PURE__ */ (0, I.jsx)(XQ, {operation: "rename",selected: [u],scope: n,@@ -74288,7 +74288,7 @@ function q2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe] });}function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {- let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = FV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({+ let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = NV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({adding: i,query: h,tags: e,@@ -74333,7 +74333,7 @@ function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,_,t.length]);- let w = p ? gde(_, t, AP()) : {+ let w = p ? _de(_, t, OP()) : {recent: [],results: [],create: ""@@ -74347,7 +74347,7 @@ function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,], E = (e, t) => {C(), t || r(e.k);}, D = (t) => {- if (!lW(t.nativeEvent)) {+ if (!sW(t.nativeEvent)) {if (t.key === "Escape") t.preventDefault(), t.stopPropagation(), C(), c.current?.focus();else if (t.key === "ArrowDown" || t.key === "ArrowUp") {if (t.preventDefault(), !T.length) return;@@ -74376,7 +74376,7 @@ function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-pressed": i,onClick: () => E(t, i),children: [- /* @__PURE__ */ (0, I.jsx)(K2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, I.jsx)(G2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-pick-name": "",children: n(t.k)@@ -74396,8 +74396,8 @@ function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,title: "添加标签","aria-label": "添加标签","aria-expanded": p,- ...uV(!!i),- children: /* @__PURE__ */ (0, I.jsx)(K2, { name: "plus" })+ ...cV(!!i),+ children: /* @__PURE__ */ (0, I.jsx)(G2, { name: "plus" })}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: l,id: "tagPicker",@@ -74410,7 +74410,7 @@ function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: Hs("正在读取标签") }- }) : /* @__PURE__ */ (0, I.jsx)(K2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {+ }) : /* @__PURE__ */ (0, I.jsx)(G2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {ref: d,id: "tagPickSearch",maxLength: 80,@@ -74454,7 +74454,7 @@ function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,onClick: () => {C(), r(w.create);},- children: [/* @__PURE__ */ (0, I.jsx)(K2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(G2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -74472,7 +74472,7 @@ function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,}// src/react/follow-detail/follow-tags.tsxfunction nPe({ item: e, label: t, actions: n }) {- let r = uH(), i = () => H.invalidateQueries({ predicate: (e) => [+ let r = cH(), i = () => H.invalidateQueries({ predicate: (e) => ["follow-feed","follow","tag-management"@@ -74495,7 +74495,7 @@ function nPe({ item: e, label: t, actions: n }) {}, "POST", t);a(n), await i();}, () => {- o === "add" && jP(s);+ o === "add" && kP(s);let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {let t = await V("/api/follow/tag", {@@ -74511,7 +74511,7 @@ function nPe({ item: e, label: t, actions: n }) {"aria-label": "内容标签","data-follow-tag-editor": "","data-follow-detail-tags": "",- children: [/* @__PURE__ */ (0, I.jsx)(q2, {+ children: [/* @__PURE__ */ (0, I.jsx)(K2, {tags: FNe(e, t).map((t) => ({k: t,cat: PNe(e, t)@@ -74523,22 +74523,22 @@ function nPe({ item: e, label: t, actions: n }) {onOpen: n.openTag,onAdd: (e) => o("add", e),onRemove: (e) => o("remove", e.k),- busyAttrs: () => uV(!!r.busy)- }), r.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ busyAttrs: () => cV(!!r.busy)+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: r.error}) : null]});}// src/react/follow-detail/follow-detail-page.tsx-var J2 = (e) => Number(e) > 0, rPe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var q2 = (e) => Number(e) > 0, rPe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), Y2 = R("external-link", "ui-externalmark");+}), J2 = R("external-link", "ui-externalmark");function iPe(e) {let { id: t, actions: n } = e, r = Ft({- queryKey: m2(t),- queryFn: ({ signal: e }) => g2(t, e)+ queryKey: p2(t),+ queryFn: ({ signal: e }) => h2(t, e)}), i = Ft({queryKey: aa,queryFn: ({ signal: e }) => oa(e)@@ -74555,9 +74555,9 @@ function iPe(e) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, I.jsx)(X2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {+ children: [/* @__PURE__ */ (0, I.jsx)(Y2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? aPe(r.error) ? /* @__PURE__ */ (0, I.jsx)(oPe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(XG, {+ children: r.isError ? aPe(r.error) ? /* @__PURE__ */ (0, I.jsx)(oPe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(JG, {message: xn(r.error),onRetry: () => void r.refetch()}) : null@@ -74565,7 +74565,7 @@ function iPe(e) {})});}-var aPe = (e) => e instanceof h2 || e instanceof sr && e.status === 404;+var aPe = (e) => e instanceof m2 || e instanceof sr && e.status === 404;function oPe({ onBack: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-gone": "",@@ -74575,7 +74575,7 @@ function oPe({ onBack: e }) {dangerouslySetInnerHTML: { __html: Bs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var X2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var Y2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -74605,13 +74605,13 @@ function sPe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? DNe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(e4, {+ let g = !u.embedded.length && u.collection ? DNe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)($2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(e4, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)($2, {item: g,current: null,helpers: o,@@ -74645,7 +74645,7 @@ function sPe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, I.jsx)(U2, {+ }), /* @__PURE__ */ (0, I.jsx)(H2, {queue: _,children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(cPe, {data: e,@@ -74661,19 +74661,19 @@ function cPe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }let o = Ft({queryKey: XNe(e.item.id, t, n),queryFn: ({ signal: r }) => $Ne(e, t, n, r)- }), [s] = (0, F.useState)(() => R2("正在读取推荐", {+ }), [s] = (0, F.useState)(() => L2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, F.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: a.canFlip- }), [a]), l = G2(o.data?.pages || [], e, t, n), u = QNe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {+ }), [a]), l = W2(o.data?.pages || [], e, t, n), u = QNe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {...r,sources: d,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, I.jsx)(H2, {+ return /* @__PURE__ */ (0, I.jsx)(V2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -74683,11 +74683,11 @@ function cPe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(LZ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(IZ, {variant: "next",group: e,media: t,- authorSources: x2(e.primary, d),+ authorSources: b2(e.primary, d),context: f,selected: !1,selectMode: !1,@@ -74716,14 +74716,14 @@ function lPe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, I.jsx)(X2, { onClose: n.close }),+ /* @__PURE__ */ (0, I.jsx)(Y2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void EZ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void TZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -74731,10 +74731,10 @@ function lPe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: wG(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: SG(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, I.jsx)(W2, {+ u ? /* @__PURE__ */ (0, I.jsx)(U2, {items: c,position: l,onSelect: r,@@ -74751,11 +74751,11 @@ function lPe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var Z2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var X2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function Q2({ src: e }) {+function Z2({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {src: e,@@ -74765,27 +74765,27 @@ function Q2({ src: e }) {onError: () => n(!0)});}-function $2(e) {+function Q2(e) {return (0, F.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}function uPe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = ya(e), a = $2(n);- return /* @__PURE__ */ (0, I.jsx)(NK, {+ let i = ya(e), a = Q2(n);+ return /* @__PURE__ */ (0, I.jsx)(jK, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${EG(e.primary)} · ${i.length} 个视频`,+ summary: `${wG(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = jNe(e, n, i ? n.provider_label : ""), o = i ? wG(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, I.jsxs)(PK, {+ let i = e.duplicates.includes(n), a = jNe(e, n, i ? n.provider_label : ""), o = i ? SG(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, I.jsxs)(MK, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Q2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Z2, { kind: "video" }), J2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(X2, { kind: "video" }), q2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {className: "mono","data-mix-item-duration": "",children: Jn(n.duration)@@ -74803,15 +74803,15 @@ function uPe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, I.jsx)("time", {dateTime: n.published_at || "",- children: FG(n)+ children: NG(n)})]})]}, n.id);})});}-function e4({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = $2(r), c = [];+function $2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = Q2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -74821,23 +74821,23 @@ function e4({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, I.jsx)(NK, {+ return /* @__PURE__ */ (0, I.jsx)(jK, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${EG(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(iSe, {+ summary: `${wG(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(aSe, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(PK, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(MK, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Q2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Z2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(X2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, I.jsx)("b", {"data-middle-truncate": "",children: MNe(n)@@ -74854,7 +74854,7 @@ function dPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpevariants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = MG(d, e), p = AG(e, x2(e, t.sources), n), m = p.credited ? "" : e.author && Un(e.author) !== Un(p.author) ? e.author : "", h = NG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {+ }, f = AG(d, e), p = OG(e, b2(e, t.sources), n), m = p.credited ? "" : e.author && Un(e.author) !== Un(p.author) ? e.author : "", h = jG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -74870,7 +74870,7 @@ function dPe({ 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: jG(d, e) + z(EG(e)) }+ dangerouslySetInnerHTML: { __html: kG(d, e) + z(wG(e)) }}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -74878,7 +74878,7 @@ function dPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: Y2 }+ dangerouslySetInnerHTML: { __html: J2 }}) : null]}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -74886,8 +74886,8 @@ function dPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, I.jsx)("span", { children: FG(e) }),- J2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Jn(e.duration) }) : null,+ /* @__PURE__ */ (0, I.jsx)("span", { children: NG(e) }),+ q2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Jn(e.duration) }) : null,f ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -74904,7 +74904,7 @@ function dPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, I.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(FZ, {+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(PZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -74961,7 +74961,7 @@ function dPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",children: [ANe(e), /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: Y2 }+ dangerouslySetInnerHTML: { __html: J2 }})]}, e))}) : null,@@ -75061,7 +75061,7 @@ function dPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...v(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Q2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(rPe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Z2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(rPe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -75092,10 +75092,10 @@ function fPe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: PI(e),+ lang: MI(e),"data-clamped": n ? void 0 : "",children: e- }), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {+ }), i || n ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "ghost",size: "small","data-follow-summary-toggle": "",@@ -75105,7 +75105,7 @@ function fPe({ text: e }) {}) : null] });}function pPe(e, t, n) {- let r = e.id, i = m2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {+ let r = e.id, i = p2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -75124,7 +75124,7 @@ function pPe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && gW(), t.toast(RNe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && mW(), t.toast(RNe(n), { undo: i === "saved" ? void 0 : async () => {await V(Mr, {item: r,to: i@@ -75158,12 +75158,12 @@ function pPe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = Ft({- queryKey: qye(r),- queryFn: ({ signal: e }) => Xye(r, e)+ queryKey: Jye(r),+ queryFn: ({ signal: e }) => Zye(r, e)}).data?.want ?? null, g = It({- mutationFn: async (e) => (e ? await hW([e.id]) : await mW({ follow: r }), !e),+ mutationFn: async (e) => (e ? await pW([e.id]) : await fW({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), gW();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), mW();},onError: d,onSettled: () => l("want", !1)@@ -75202,8 +75202,8 @@ function pPe(e, t, n) {};}// src/react/components/identity-cell.tsx-function t4({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {- $I();+function e4({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+ ZI();let o = nn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${z(er(o))}</span>` + _o({@@ -75249,7 +75249,7 @@ function t4({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: c});}-function n4({ people: e, onOpen: t }) {+function t4({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",@@ -75282,7 +75282,7 @@ function n4({ people: e, onOpen: t }) {});}// src/react/components/folded-title.ts-function r4(e) {+function n4(e) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = t.current;@@ -75299,9 +75299,9 @@ function r4(e) {};}// src/react/item-detail/catalog-picture.tsx-function i4({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function r4({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(_Q, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(gQ, {item: {code: e.code,has_cover: !1,@@ -75315,9 +75315,9 @@ function i4({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {src: c,alt: "",onError: () => a(c)- }) : i === c ? /* @__PURE__ */ (0, I.jsx)(aV, {+ }) : i === c ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: () => {a(""), s((e) => e + 1);@@ -75333,9 +75333,9 @@ function i4({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var a4 = (e) => ["jav-detail", e], o4 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), mPe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), s4 = (e, t) => H.ensureQueryData({- queryKey: a4(e.code),- queryFn: () => o4(e.code, t),+var i4 = (e) => ["jav-detail", e], a4 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), mPe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), o4 = (e, t) => H.ensureQueryData({+ queryKey: i4(e.code),+ queryFn: () => a4(e.code, t),staleTime: 216e5,revalidateIfStale: !0});@@ -75345,22 +75345,22 @@ function hPe(e, t) {return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}// src/react/item-detail/external-playback.tsx-var c4 = "peach.playback-target.v1", l4 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];+var s4 = "peach.playback-target.v1", c4 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];function gPe() {try {- return localStorage.getItem(c4) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;+ return localStorage.getItem(s4) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {return "local:default";}}-function u4({ id: e, onOpened: t }) {- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(gPe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = uH();+function l4({ id: e, onOpened: t }) {+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(gPe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = cH();(0, F.useEffect)(() => {let e = new AbortController();return B("/api/local-players", e.signal).then((t) => {- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || l4.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || c4.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));}).catch((t) => {- e.signal.aborted || (r([]), a((e) => l4.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));+ e.signal.aborted || (r([]), a((e) => c4.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));}), () => e.abort();}, [u]);let p = () => void f.run("open", async (t) => {@@ -75384,30 +75384,30 @@ function u4({ id: e, onOpened: t }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-local-playback-row": "",- children: [/* @__PURE__ */ (0, I.jsx)(a1, {+ children: [/* @__PURE__ */ (0, I.jsx)(i1, {id: `external-player-${e}`,label: "外部播放器",- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...l4],+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...c4],value: i,disabled: n === null || !!f.busy,epoch: u * 2 + Number(n !== null),onPick: (e) => {a(e), s(null), f.setError("");try {- localStorage.setItem(c4, e);+ localStorage.setItem(s4, e);} catch {}}- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary","aria-label": "使用外部播放器打开",disabled: n === null,- ...uV(f.busy === "open"),+ ...cV(f.busy === "open"),onClick: p,children: "打开"})]}),- f.error || c ? /* @__PURE__ */ (0, I.jsx)(NH, { children: f.error || c }) : null,- c ? /* @__PURE__ */ (0, I.jsx)(J, {+ f.error || c ? /* @__PURE__ */ (0, I.jsx)(jH, { children: f.error || c }) : null,+ c ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",disabled: !!f.busy,onClick: () => {@@ -75415,16 +75415,16 @@ function u4({ id: e, onOpened: t }) {},children: "重新检测播放器"}) : null,- o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(nV, {+ o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(eV, {label: "网络播放地址",value: o.url,isReadOnly: !0- }), /* @__PURE__ */ (0, I.jsx)(MH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null+ }), /* @__PURE__ */ (0, I.jsx)(AH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null]});}// src/react/boardui/components/base/switch/switch.tsx-var _Pe = OI({+var _Pe = EI({sm: {track: "h-4 w-7",trackRadius: {@@ -75490,18 +75490,18 @@ function vPe({ state: e, size: t = "md", shape: n = "pill" }) {let r = _Pe[t];return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,- className: q("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? q("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: J("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? J("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, I.jsx)("span", {- className: q("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, I.jsx)("span", { className: q("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: J("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, I.jsx)("span", { className: J("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 d4({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(fhe, {+function u4({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(phe, {ref: i,...a,- className: (t) => q("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ className: (t) => J("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vPe, {state: e,size: n,@@ -75518,7 +75518,7 @@ var yPe = "/api/cover-crop", bPe = (e, t) => V(yPe, {box: t});// src/react/cover-crop/cover-crop-page.tsx-function f4({ className: e }) {+function d4({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -75541,8 +75541,8 @@ function xPe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, I.jsx)(f4, { className: "size-3.75" })- }), /* @__PURE__ */ (0, I.jsx)(rV, {+ children: /* @__PURE__ */ (0, I.jsx)(d4, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, I.jsx)(tV, {isOpen: i,onOpenChange: a,width: "cover-crop",@@ -75557,7 +75557,7 @@ function xPe({ code: e, coverUrl: t, box: n, onSaved: r }) {})] });}function SPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = FV(), f = It({+ let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = NV(), f = It({mutationFn: (t) => bPe(e, t),onSuccess: (e) => {i(), r(e.poster_box);@@ -75571,18 +75571,18 @@ function SPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {x1: n.x1,y1: n.y1} : NOe(e, ro);- c($Z(t, e, null));+ c(QZ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(iV, { children: /* @__PURE__ */ (0, I.jsx)(f4, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(nV, { children: /* @__PURE__ */ (0, I.jsx)(d4, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(IL, {+ /* @__PURE__ */ (0, I.jsx)(PL, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -75591,14 +75591,14 @@ function SPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ f.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: lr(f.error)}) : null]}),- /* @__PURE__ */ (0, I.jsx)(nL, {- icon: bB,+ /* @__PURE__ */ (0, I.jsx)(eL, {+ icon: vB,size: "small","aria-label": "关闭",onClick: i@@ -75608,24 +75608,24 @@ function SPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, I.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, I.jsx)(iQ, {+ children: /* @__PURE__ */ (0, I.jsx)(rQ, {src: t,aspect: l ? ro : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- ZZ(e) && p(e);+ XZ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, I.jsx)(d4, {+ children: [/* @__PURE__ */ (0, I.jsx)(u4, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c($Z(s, a, ro));+ u(e), e && s && a && c(QZ(s, a, ro));},children: /* @__PURE__ */ (0, I.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -75633,16 +75633,16 @@ function SPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {})}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-1 flex-wrap items-center justify-end gap-3",- children: [/* @__PURE__ */ (0, I.jsx)(J, {+ children: [/* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",- ...uV(m),+ ...cV(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {disabled: !s || !a,- ...uV(m),+ ...cV(m),onClick: () => {s && !m && f.mutate(s);},@@ -75653,21 +75653,21 @@ function SPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {] });}// src/react/item-detail/item-detail-page.tsx-var p4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var f4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), m4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+}), p4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), h4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";+}), m4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";function CPe(e) {let { queue: t, actions: n } = e, r = Ft({- queryKey: t ? dP(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => bP(t, e.helpers, n),+ queryKey: t ? lP(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => vP(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? CP(i, e.id) : t ? null : e.id, o = Ft({- queryKey: uP(a ?? 0),- queryFn: ({ signal: e }) => yP(a, e),+ }), i = t && r.data || null, a = i ? xP(i, e.id) : t ? null : e.id, o = Ft({+ queryKey: cP(a ?? 0),+ queryFn: ({ signal: e }) => _P(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -75678,9 +75678,9 @@ function CPe(e) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, I.jsx)(g4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {+ children: [/* @__PURE__ */ (0, I.jsx)(h4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, I.jsx)(XG, {+ children: e ? /* @__PURE__ */ (0, I.jsx)(JG, {message: xn(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -75692,11 +75692,11 @@ function CPe(e) {}return /* @__PURE__ */ (0, I.jsx)(wPe, {...e,- item: pde(o.data, i),+ item: mde(o.data, i),queue: i}, o.data.id);}-var g4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var h4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -75710,13 +75710,13 @@ function wPe(e) {(0, F.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, F.useEffect)(() => {- n?.kind === "playlist" && V(fP, {+ n?.kind === "playlist" && V(uP, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = UN() ? "" : Cde(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = wP(n, t.id);+ let s = VN() ? "" : wde(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = SP(n, t.id);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,@@ -75741,7 +75741,7 @@ function wPe(e) {helpers: i,actions: r})]- }), /* @__PURE__ */ (0, I.jsx)(U2, {+ }), /* @__PURE__ */ (0, I.jsx)(H2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,queue: n ? /* @__PURE__ */ (0, I.jsx)(DPe, {queue: n,@@ -75760,10 +75760,10 @@ function wPe(e) {}function TPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Ft({- queryKey: a4(e.code || ""),+ queryKey: i4(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, o4(e.code, t, n);+ return d.current = !1, a4(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -75808,7 +75808,7 @@ function TPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, I.jsx)(g4, { onClose: r.close }),+ /* @__PURE__ */ (0, I.jsx)(h4, { onClose: r.close }),/* @__PURE__ */ (0, I.jsxs)("div", {"data-player-toolbar": "",children: [@@ -75818,21 +75818,21 @@ function TPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}) : null,/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })]}),- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(i4, {+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(r4, {item: e,image: l,source: p.find((e) => e.index === l)?.source- }, e.id), /* @__PURE__ */ (0, I.jsx)(W2, {+ }, e.id), /* @__PURE__ */ (0, I.jsx)(U2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(i4, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(r4, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -75846,9 +75846,9 @@ function TPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","aria-label": "正在读取样图",className: "relative block h-12 w-20 skeleton-sheen"- }) : /* @__PURE__ */ (0, I.jsx)(J, {+ }) : /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",- ...uV(f.isFetching),+ ...cV(f.isFetching),title: f.data?.message || xn(f.error),"aria-label": "立即重试样图",onClick: () => {@@ -75868,7 +75868,7 @@ function TPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, I.jsx)(u4, {+ /* @__PURE__ */ (0, I.jsx)(l4, {id: e.id,onOpened: () => r.toast("已请求打开本地播放器")}, e.id)@@ -75878,7 +75878,7 @@ function TPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, I.jsx)(m4, { html: y }),+ /* @__PURE__ */ (0, I.jsx)(p4, { html: y }),/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, I.jsx)("button", {@@ -75893,7 +75893,7 @@ function TPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, I.jsx)(m4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", h4(e.size)] })]+ children: [/* @__PURE__ */ (0, I.jsx)(p4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", m4(e.size)] })]}) : null]});@@ -75909,7 +75909,7 @@ function EPe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, I.jsx)(m4, { html: t }),+ /* @__PURE__ */ (0, I.jsx)(p4, { html: t }),/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, I.jsx)("button", {@@ -75924,7 +75924,7 @@ function EPe({ item: e, badge: t, helpers: n, actions: r }) {});}function DPe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = yde(e), a = (0, F.useRef)(null), o = kPe(e, t, r), s = (0, F.useRef)(o);+ let i = bde(e), a = (0, F.useRef)(null), o = kPe(e, t, r), s = (0, F.useRef)(o);s.current = o;let c = (0, F.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -75951,7 +75951,7 @@ function DPe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, I.jsx)(NK, {+ return /* @__PURE__ */ (0, I.jsx)(jK, {kind: e.kind,title: i.title,summary: i.summary,@@ -75960,11 +75960,11 @@ function DPe({ 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, I.jsx)("i", {- className: `javedition ${_de[i.edition_label] || "censored"}`,+ className: `javedition ${vde[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && SP(i);- return /* @__PURE__ */ (0, I.jsxs)(PK, {+ }) : null, s = e.kind === "playlist" && bP(i);+ return /* @__PURE__ */ (0, I.jsxs)(MK, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -75974,25 +75974,25 @@ function DPe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(m4, { html: ko(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(p4, { html: ko(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {className: "mono","data-mix-item-duration": "",children: Jn(i.duration)})] }),- lead: /* @__PURE__ */ (0, I.jsx)(m4, { html: Mo(i) }),+ lead: /* @__PURE__ */ (0, I.jsx)(p4, { html: Mo(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, I.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "grip-vertical" })}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, I.jsxs)("span", {@@ -76003,14 +76003,14 @@ function DPe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, I.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? MP(i.part_label) : No(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? AP(i.part_label) : No(i, n.tagLabel)})]}, i.id);})});}function OPe(e, t) {- let n = It({ mutationFn: (t) => V(fP, {+ let n = It({ mutationFn: (t) => V(uP, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -76024,10 +76024,10 @@ function OPe(e, t) {});}function kPe(e, t, n) {- let r = dP({+ let r = lP({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, xP(e)), e), a = (t) => V(fP, {+ }), i = (e) => (H.setQueryData(r, yP(e)), e), a = (t) => V(uP, {id: e.playlistId,...t}).then((e) => e.playlist), o = It({@@ -76043,8 +76043,8 @@ function kPe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = xde(s, t, r, c);- if (Sde(l, s)) return;+ let l = Sde(s, t, r, c);+ if (Cde(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -76117,7 +76117,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.width,"×",e.height@@ -76125,11 +76125,11 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: h4(e.size) })]+ children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: m4(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -76137,11 +76137,11 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(u4, {+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(l4, {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,@@ -76156,10 +76156,10 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {helpers: r,actions: i}),- /* @__PURE__ */ (0, I.jsx)(GK, {- assetIds: WK([e], r.javImage()),+ /* @__PURE__ */ (0, I.jsx)(UK, {+ assetIds: HK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: uP(e.id) });+ H.invalidateQueries({ queryKey: cP(e.id) });}}),/* @__PURE__ */ (0, I.jsx)(IPe, { item: e }),@@ -76176,7 +76176,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "thumbs-up" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -76188,7 +76188,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "notebook-pen" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -76199,7 +76199,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "thumbs-down" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -76210,7 +76210,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "eye" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "eye" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -76221,7 +76221,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -76230,7 +76230,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "playlist" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "playlist" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -76241,7 +76241,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "sparkles" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "sparkles" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -76252,7 +76252,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "trash" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "trash" })})]}),@@ -76267,7 +76267,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, I.jsx)(p4, { name: "sperm" }),+ /* @__PURE__ */ (0, I.jsx)(f4, { name: "sperm" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, I.jsx)("b", {className: "mono",@@ -76281,7 +76281,7 @@ function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {});}function jPe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = r4(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + bde(e, t);+ let { text: a, expanded: o, foldable: s, toggle: c } = n4(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + xde(e, t);return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -76308,7 +76308,7 @@ function jPe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, I.jsx)(kH, {})+ children: /* @__PURE__ */ (0, I.jsx)(DH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-cover-crop-host": "",@@ -76318,9 +76318,9 @@ function jPe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {box: e.poster_box || null,onSaved: (t) => {H.invalidateQueries({- queryKey: uP(e.id),+ queryKey: cP(e.id),exact: !0- }), oP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), iP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,@@ -76364,18 +76364,18 @@ function MPe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "folder-sync" })})] });}function NPe({ item: e, write: t }) {- let n = cP(e.rating);+ let n = oP(e.rating);return /* @__PURE__ */ (0, I.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": sP(e.rating),- children: [/* @__PURE__ */ (0, I.jsx)(nY, {+ "data-value": aP(e.rating),+ children: [/* @__PURE__ */ (0, I.jsx)(eY, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -76389,14 +76389,14 @@ function NPe({ item: e, write: t }) {}), /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: lde(e.rating)+ children: ude(e.rating)})]});}function PPe({ item: e, actions: t }) {- let n = (0, F.useMemo)(() => mde(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+ let n = (0, F.useMemo)(() => hde(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, I.jsx)(t4, {+ return /* @__PURE__ */ (0, I.jsx)(e4, {kind: e,person: n,onOpen: t.openEntity,@@ -76428,19 +76428,19 @@ function PPe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "user-round" })+ children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "user-round" })}), /* @__PURE__ */ (0, I.jsx)("span", {"data-id-name": "",children: "未归属"})]})})]- }, "unowned") : s(go(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, I.jsxs)(J, {+ }, "unowned") : s(go(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, I.jsxs)(Y, {variant: "secondary",size: "small",id: "castMore","data-cast-more": "",- trailingIcon: pB,+ trailingIcon: dB,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -76459,7 +76459,7 @@ function PPe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, I.jsx)(n4, {+ }) : null, /* @__PURE__ */ (0, I.jsx)(t4, {people: n.series,onOpen: t.openEntity})]@@ -76468,9 +76468,9 @@ function PPe({ item: e, actions: t }) {function FPe({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-tags": "",- children: /* @__PURE__ */ (0, I.jsx)(q2, {+ children: /* @__PURE__ */ (0, I.jsx)(K2, {id: "detailTags",- tags: hde(e, n),+ tags: gde(e, n),candidates: n.tagCandidates(),label: n.tagLabel,adding: [...t.busy].some((e) => e.startsWith("add:")),@@ -76482,7 +76482,7 @@ function FPe({ item: e, write: t, helpers: n, actions: r }) {});}function IPe({ item: e }) {- let t = wde(e);+ let t = Tde(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -76557,10 +76557,10 @@ function LPe({ item: e, open: t, write: n }) {}function RPe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({- queryKey: ude(t.id, n),- queryFn: async ({ signal: e }) => (await B(fde(t.id, n), e)).items || []+ queryKey: dde(t.id, n),+ queryFn: async ({ signal: e }) => (await B(pde(t.id, n), e)).items || []}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, I.jsx)(H2, {+ return /* @__PURE__ */ (0, I.jsx)(V2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -76568,7 +76568,7 @@ function RPe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, I.jsx)(fY, {+ children: a.data ? /* @__PURE__ */ (0, I.jsx)(uY, {mode: "items",variant: "next",items: a.data,@@ -76581,11 +76581,11 @@ function RPe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, I.jsx)(m4, { html: o })+ }) : /* @__PURE__ */ (0, I.jsx)(p4, { html: o })});}function zPe(e, t, n) {- let r = e.id, i = uP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {+ let r = e.id, i = cP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => H.getQueryData(i) || e, p = (e) => {@@ -76601,7 +76601,7 @@ function zPe(e, t, n) {rating: t.rating,o_count: t.o_count};- return aP(r, n), t;+ return rP(r, n), t;}, m = (e, t) => V(e, {id: r,...t@@ -76616,7 +76616,7 @@ function zPe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(pP, t === void 0 ? { kind: e } : {+ let n = await m(dP, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -76636,21 +76636,21 @@ function zPe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = lP(n, e);- await _("rate", r), t.toast(r ? `已评 ${cP(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = sP(n, e);+ await _("rate", r), t.toast(r ? `已评 ${oP(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(NP(e, r), { undo: async () => {+ t.toast(jP(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(hP, {});+ let e = await m(pP, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(hP, {})).watch_later });+ p({ watch_later: (await m(pP, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -76660,9 +76660,9 @@ function zPe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(gP, { wanted: !e.wanted });+ }), r = await m(mP, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(gP, e));+ n(await m(mP, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -76676,7 +76676,7 @@ function zPe(e, t, n) {});u("保存中…");try {- o(await m(_P, {+ o(await m(hP, {liked: a,reason: i}));@@ -76686,7 +76686,7 @@ function zPe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(_P, r));+ o(await m(hP, r));} });});},@@ -76695,41 +76695,41 @@ function zPe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => DP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(mP, {+ p((t) => TP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(fP, {operation: "add",tag: e.k- }), p((t) => OP(t, e));+ }), p((t) => EP(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(mP, {+ let e = await m(fP, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- EP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => OP(e, {+ wP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => EP(e, {k: i,cat: "general"- })), jP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(mP, {+ })), kP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(fP, {operation: "remove",tag: i- }), p((e) => DP(e, i));+ }), p((e) => TP(e, i));} }));});}};}// src/react/publication-cache.ts-var _4 = 864e5, v4 = (e) => {+var g4 = 864e5, _4 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function y4(e) {+function v4(e) {let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");if (!t) return;let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));@@ -76738,24 +76738,24 @@ function y4(e) {return Date.UTC(n, r + 1, Math.min(i, o));}function BPe(e, t = Date.now()) {- let n = y4(e);- return n !== void 0 && v4(t) > n ? Infinity : _4;+ let n = v4(e);+ return n !== void 0 && _4(t) > n ? Infinity : g4;}-function b4(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : BPe(t, n) === Infinity ? v4(e) > y4(t) : n - e < _4;+function y4(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : BPe(t, n) === Infinity ? _4(e) > v4(t) : n - e < g4;}// src/react/wants/resource-cache.ts-var x4 = "peach.want-resources.v2";-function S4(e) {+var b4 = "peach.want-resources.v2";+function x4(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function C4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !S4(e) ? Date.now() - t < 6e4 : b4(t, n));+function S4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !x4(e) ? Date.now() - t < 6e4 : y4(t, n));}-function w4() {+function C4() {try {- let e = JSON.parse(localStorage.getItem(x4) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && S4(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(b4) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && x4(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -76765,22 +76765,22 @@ function w4() {}}function VPe(e, t) {- let n = w4().find((t) => t.code === e);- return n && b4(n.saved, t) ? n : void 0;+ let n = C4().find((t) => t.code === e);+ return n && y4(n.saved, t) ? n : void 0;}function HPe(e) {- let t = new Map(w4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+ let t = new Map(C4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && b4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && y4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}function UPe(e, t) {- if (t.state === "ready" && S4(t)) try {- let n = w4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(x4, JSON.stringify([{+ if (t.state === "ready" && x4(t)) try {+ let n = C4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(b4, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -76796,7 +76796,7 @@ function GPe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx-function T4({ icon: e, children: t, title: n }) {+function w4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, I.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -76806,8 +76806,8 @@ function T4({ icon: e, children: t, title: n }) {}), t]});}-function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = uH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => VPe(h, e.release_date), [h, e.release_date]);+function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = cH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => VPe(h, e.release_date), [h, e.release_date]);(0, F.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -76833,16 +76833,16 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcinitialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => C4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => S4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !C4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !S4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, F.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, F.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && Yye(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && Xye(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -76850,7 +76850,7 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await V(nW, {+ let n = await V(eW, {magnet: r.uri,provider: v.key,target: v.target,@@ -76861,7 +76861,7 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcif (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");return n;}, (e) => {- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: rW });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: tW });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -76876,42 +76876,42 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcchildren: [/* @__PURE__ */ (0, I.jsxs)("h4", {className: "text-body-medium text-text-primary",children: ["资源链接", _.data?.items.length ? ` · ${_.data.items.length}` : ""]- }), /* @__PURE__ */ (0, I.jsx)(J, {+ }), /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- leadingIcon: zB,- ...uV(x),+ leadingIcon: LB,+ ...cV(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, I.jsx)(CH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, I.jsx)(aV, {+ x ? /* @__PURE__ */ (0, I.jsx)(xH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(aV, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",children: GPe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(mL, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(fL, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: wB,+ trailingIcon: SB,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(aV, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ f.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",title: "操作未完成",children: f.error@@ -76926,7 +76926,7 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(YU, {+ children: [/* @__PURE__ */ (0, I.jsx)(qU, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -76940,26 +76940,26 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, I.jsx)(T4, {- icon: Xge,+ /* @__PURE__ */ (0, I.jsx)(w4, {+ icon: Zge,children: e.source}),- /* @__PURE__ */ (0, I.jsx)(T4, {- icon: jB,+ /* @__PURE__ */ (0, I.jsx)(w4, {+ icon: kB,title: e.size ? `来源大小:${e.size}` : void 0,children: WPe(e.size)}),- e.files ? /* @__PURE__ */ (0, I.jsx)(T4, {- icon: zge,+ e.files ? /* @__PURE__ */ (0, I.jsx)(w4, {+ icon: Bge,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, I.jsx)(T4, {- icon: wge,+ /* @__PURE__ */ (0, I.jsx)(w4, {+ icon: Tge,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(T4, {- icon: RB,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(w4, {+ icon: IB,children: e}, e))]@@ -76968,31 +76968,31 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(mL, {+ /* @__PURE__ */ (0, I.jsx)(fL, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: wB,+ trailingIcon: SB,href: e.source_url,target: "_blank",rel: "noopener noreferrer",children: "链接来源"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",size: "small",- leadingIcon: Lge,- ...uV(f.busy === `copy:${e.id}`),+ leadingIcon: Rge,+ ...cV(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),- e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {+ e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "primary",size: "small",- leadingIcon: v ? RH(v.key) : kge,+ leadingIcon: v ? IH(v.key) : Age,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...uV(f.busy === e.id),+ ...cV(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -77003,7 +77003,7 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(FH, {+ }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(NH, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, I.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -77015,10 +77015,10 @@ function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc});}// src/react/jav-detail/review-cache.ts-var D4 = "peach.jav-reviews.v2";-function O4() {+var E4 = "peach.jav-reviews.v2";+function D4() {try {- let e = localStorage.getItem(D4) || "[]";+ let e = localStorage.getItem(E4) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -77032,15 +77032,15 @@ function KPe(e, t) {code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...O4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(D4, i);+ }, ...D4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(E4, i);} catch {}}function qPe(e, t) {- let n = O4(), r = [], i = Infinity;+ let n = D4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !b4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !y4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -77049,15 +77049,15 @@ function qPe(e, t) {} : void 0;}function JPe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && b4(Date.parse(e.checked_at || "") || t, n));+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && y4(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsxfunction YPe(e) {let t = (0, F.useRef)(!1), n = Ft({- queryKey: a4(e.code),+ queryKey: i4(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, o4(e.code, n, r);+ return t.current = !1, a4(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -77074,14 +77074,14 @@ function YPe(e) {retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, I.jsx)(k4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(XG, {+ children: [/* @__PURE__ */ (0, I.jsx)(O4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(JG, {message: lr(n.error),onRetry: r}) : null]})});}-var k4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var O4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -77110,13 +77110,13 @@ function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = uH(), m = () => {- p.run("want", async (e) => d ? (await hW([d], e), null) : (await mW({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(a4(e), (e) => e && {+ ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = cH(), m = () => {+ p.run("want", async (e) => d ? (await pW([d], e), null) : (await fW({ code: t.code }, e)).want.id, (t) => {+ f(t), H.setQueryData(i4(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), gW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), mW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [@@ -77125,24 +77125,24 @@ function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(k4, { close: n.close }),+ /* @__PURE__ */ (0, I.jsx)(O4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, I.jsx)(A4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, I.jsx)(k4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)($Pe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(_Q, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)($Pe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(gQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),- /* @__PURE__ */ (0, I.jsx)(W2, {+ /* @__PURE__ */ (0, I.jsx)(U2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(_Q, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(gQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -77157,16 +77157,16 @@ function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-info": "",children: [/* @__PURE__ */ (0, I.jsx)(ZPe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(M4, { score: Number(t.score) }) : null,+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(j4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, I.jsx)(j4, {+ children: [/* @__PURE__ */ (0, I.jsx)(A4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, I.jsx)(j4, {+ }), /* @__PURE__ */ (0, I.jsx)(A4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0@@ -77178,11 +77178,11 @@ function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, I.jsx)(j4, {+ children: [/* @__PURE__ */ (0, I.jsx)(A4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, I.jsx)(j4, {+ }), /* @__PURE__ */ (0, I.jsx)(A4, {glyph: "clapperboard",label: "导演",value: t.director@@ -77211,14 +77211,14 @@ function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: at.summary ? /* @__PURE__ */ (0, I.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: PI(t.summary),+ lang: MI(t.summary),children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, I.jsx)(aV, {+ t.message ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",- ...uV(a),+ ...cV(a),onClick: i,children: "立即重试"}),@@ -77227,24 +77227,24 @@ function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, I.jsx)(mL, {+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(fL, {"data-button-link": "",variant: "secondary",- trailingIcon: wB,+ trailingIcon: SB,href: t.source_url,target: "_blank",rel: "noopener noreferrer",children: "作品来源"}) : null,- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",disabled: r,"aria-pressed": !!d,- ...uV(!!p.busy),+ ...cV(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),- /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(Y, {variant: "primary",onClick: () => u({code: t.code,@@ -77258,7 +77258,7 @@ function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, I.jsx)(aV, {+ p.error ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "error",children: p.error}) : null,@@ -77275,24 +77275,24 @@ function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, I.jsx)(uW, {+ /* @__PURE__ */ (0, I.jsx)(cW, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var A4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var k4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), j4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {+}), A4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, I.jsx)(A4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, I.jsx)(k4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]}) : null;function ZPe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = r4(e.title), a = e.title === e.code ? "" : e.title;+ let { text: t, expanded: n, foldable: r, toggle: i } = n4(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, I.jsx)("h1", {@@ -77308,7 +77308,7 @@ function ZPe({ item: e }) {r && !String(getSelection() || "") && i();},children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {- lang: PI(a),+ lang: MI(a),children: a})] }) : null]})@@ -77322,19 +77322,19 @@ function ZPe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, I.jsx)(kH, {})+ children: /* @__PURE__ */ (0, I.jsx)(DH, {})})})]});}-function M4({ score: e, review: t = !1 }) {+function j4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-rating": "","data-jav-rating": "","data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, I.jsx)(nY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(eY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]@@ -77349,14 +77349,14 @@ function QPe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, I.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(t4, {+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(e4, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(vQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(_Q, {code: e.code,person: r,detail: !0@@ -77373,7 +77373,7 @@ function QPe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, I.jsx)(n4, {+ }), /* @__PURE__ */ (0, I.jsx)(t4, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -77387,16 +77387,16 @@ function $Pe({ src: e }) {return (0, F.useLayoutEffect)(() => {if (n) return;let i = t.current, a = document.createElement("video");- return a.className = "video-js vjs-big-play-centered", a.controls = !0, a.setAttribute("playsinline", ""), a.setAttribute("aria-label", "视频预览"), i.append(a), Xue(a, {+ return a.className = "video-js vjs-big-play-centered", a.controls = !0, a.setAttribute("playsinline", ""), a.setAttribute("aria-label", "视频预览"), i.append(a), Zue(a, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, n]), /* @__PURE__ */ (0, I.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, I.jsx)(aV, {+ children: n ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",onClick: () => r(!1),children: "立即重试"@@ -77438,10 +77438,10 @@ function eFe({ code: e, count: t, released: n }) {let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? lr(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, I.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, I.jsxs)(FH, {+ children: /* @__PURE__ */ (0, I.jsxs)(NH, {trailing: !0,summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Tge, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)(Ege, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -77478,7 +77478,7 @@ function eFe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(M4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(j4, {score: Number(e.score),review: !0}) : null,@@ -77490,42 +77490,42 @@ function eFe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, I.jsx)("p", {"data-long-text": "",- lang: PI(e.content),+ lang: MI(e.content),children: e.content})]}, e.id)),- d ? /* @__PURE__ */ (0, I.jsx)(aV, {+ d ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",- action: /* @__PURE__ */ (0, I.jsx)(J, {+ action: /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",- ...uV(c.isFetching),+ ...cV(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(aV, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(rV, {tone: "neutral",children: "暂无评论"}) : null,- !d && l.length ? /* @__PURE__ */ (0, I.jsx)(J, {+ !d && l.length ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",- ...uV(c.isFetching),+ ...cV(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "刷新评论"}) : null,- c.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {+ c.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(Y, {variant: "secondary",- ...uV(c.isFetchingNextPage),+ ...cV(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(aV, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(rV, {tone: "neutral",children: ["已显示 ",@@ -77539,19 +77539,19 @@ function eFe({ code: e, count: t, released: n }) {}function tFe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, F.useState)(!1), a = Ft({- queryKey: rW,+ queryKey: tW,enabled: r,- queryFn: ({ signal: e }) => B(`${nW}?limit=50`, e)+ queryFn: ({ signal: e }) => B(`${eW}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, I.jsx)(FH, {+ children: /* @__PURE__ */ (0, I.jsx)(NH, {trailing: !0,- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(A4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(k4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, I.jsx)(E4, {+ children: s ? /* @__PURE__ */ (0, I.jsx)(T4, {want: {id: 0,code: e.code,@@ -77568,31 +77568,31 @@ function tFe({ item: e, actions: t, readOnly: n }) {});}// src/react/stage/stage-player.ts-var N4 = null, P4 = null, F4 = null, I4 = null, L4 = null, R4 = !1, z4 = 0, B4 = null, V4 = () => !1, H4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+var M4 = null, N4 = null, P4 = null, F4 = null, I4 = null, L4 = !1, R4 = 0, z4 = null, B4 = () => !1, V4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;function nFe(e, t) {- N4 = e, V4 = () => t.isOpen(), B4 = () => t.requestClose(), cue({+ M4 = e, B4 = () => t.isOpen(), z4 = () => t.requestClose(), lue({...e.player,stage: () => document.getElementById("stage")- }), lue({- inMiniplayer: (e) => P4?.player === e,- kind: (e) => P4?.player === e ? P4.kind : F4?.kind ?? I4?.kind ?? "item",- expand: () => c3(),- toMiniplayer: () => l3()- }), U4 || (U4 = !0, addEventListener("pagehide", () => RN()));-}-var U4 = !1;-function W4() {- if (!N4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return N4;-}-function G4(e) {- I4 = e;-}-var rFe = () => I4;-function K4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = H4(n, r.id, i?.index ?? null);- if (P4 && P4.key === a) return aFe(e, P4);- P4 && s3();+ }), uue({+ inMiniplayer: (e) => N4?.player === e,+ kind: (e) => N4?.player === e ? N4.kind : P4?.kind ?? F4?.kind ?? "item",+ expand: () => s3(),+ toMiniplayer: () => c3()+ }), H4 || (H4 = !0, addEventListener("pagehide", () => IN()));+}+var H4 = !1;+function U4() {+ if (!M4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return M4;+}+function W4(e) {+ F4 = e;+}+var rFe = () => F4;+function G4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = V4(n, r.id, i?.index ?? null);+ if (N4 && N4.key === a) return aFe(e, N4);+ N4 && o3();let o = {player: null,kind: n,@@ -77600,23 +77600,23 @@ function K4(e, t) {mediaIndex: i?.index ?? null,key: a};- F4 = o;+ P4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = ZN(s, {+ let c = YN(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- F4 === o && (o.player = e);+ P4 === o && (o.player = e);},- handedOff: (e) => P4?.player === e+ handedOff: (e) => N4?.player === e});return () => {- let e = !!o.player && P4?.player === o.player;- F4 === o && (F4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), RN());+ let e = !!o.player && N4?.player === o.player;+ P4 === o && (P4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), IN());};}async function iFe(e, t, n) {@@ -77625,27 +77625,27 @@ async function iFe(e, t, n) {if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await W4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(W4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await U4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(U4().player.offlineReason(String(r.root_id || r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- G4(a);- let o = K4(t, {+ W4(a);+ let o = G4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && I4 === a && J4(!0), o(), I4 === a && G4(null));+ s || (s = !0, e && F4 === a && q4(!0), o(), F4 === a && W4(null));};}function aFe(e, t) {let { player: n } = t;- a3(t), P4 = null, o3(), n.el().classList.remove("vjs-peach-mini"), YN(e), e.append(n.el()), VM(n);+ i3(t), N4 = null, a3(), n.el().classList.remove("vjs-peach-mini"), qN(e), e.append(n.el()), zM(n);let r = {player: n,kind: t.kind,@@ -77653,22 +77653,22 @@ function aFe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- F4 = r;- let i = XN(n, e);- return HM(n), () => {- F4 === r && (F4 = null), i(), P4?.player !== n && (BM() === n && VM(null), kN(n), RN());+ P4 = r;+ let i = JN(n, e);+ return BM(n), () => {+ P4 === r && (P4 = null), i(), N4?.player !== n && (RM() === n && zM(null), DN(n), IN());};}-var q4 = () => {- let e = F4?.player;+var K4 = () => {+ let e = P4?.player;return e && !e.isDisposed() ? e : null;};-function J4(e) {- let t = R4;- R4 = !1, P4?.pending && s3();- let n = F4, r = n?.player, i = I4;- if (!n || !r || r.isDisposed() || !i || !L4) return;- let a = W4().player.settings();+function q4(e) {+ let t = L4;+ L4 = !1, N4?.pending && o3();+ let n = P4, r = n?.player, i = F4;+ if (!n || !r || r.isDisposed() || !i || !I4) return;+ let a = U4().player.settings();(t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && lFe({player: r,kind: n.kind,@@ -77677,46 +77677,46 @@ function J4(e) {key: n.key}, i);}-function Y4(e, t) {- R4 = !1, P4 && (P4.kind === e && P4.item.id === t ? (P4.pending = !0, o3()) : s3());+function J4(e, t) {+ L4 = !1, N4 && (N4.kind === e && N4.item.id === t ? (N4.pending = !0, a3()) : o3());}-function X4(e) {- L4 = e, L4 && r3();+function Y4(e) {+ I4 = e, I4 && n3();}-var Z4 = () => !!P4 && !P4.pending && !P4.player.isDisposed();+var X4 = () => !!N4 && !N4.pending && !N4.player.isDisposed();function oFe() {- return Z4() ? L4?.frame.querySelector("video") ?? null : null;+ return X4() ? I4?.frame.querySelector("video") ?? null : null;}function sFe() {- return V4() ? document.getElementById("stage")?.querySelector("video") ?? null : q4()?.el().querySelector("video") ?? oFe();+ return B4() ? document.getElementById("stage")?.querySelector("video") ?? null : K4()?.el().querySelector("video") ?? oFe();}-function Q4(e) {- L4 && (L4.title.textContent = e.title || "", L4.sub.textContent = e.sub || "", L4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function Z4(e) {+ I4 && (I4.title.textContent = e.title || "", I4.sub.textContent = e.sub || "", I4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function $4(e = P4?.item) {- if (!L4) return;- let t = L4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- L4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function Q4(e = N4?.item) {+ if (!I4) return;+ let t = I4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ I4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function e3() {- let e = P4?.player;- if (!e || e.isDisposed() || !L4) return;+function $4() {+ let e = N4?.player;+ if (!e || e.isDisposed() || !I4) return;let t = e.paused();- L4.play.setAttribute("aria-label", t ? "播放" : "暂停"), L4.play.querySelector("[data-icon-swap]") || (L4.play.innerHTML = Js("player-pause", "player-play", t ? "b" : "a")), Ys(L4.play, t ? "b" : "a");-}-function t3() {- let e = P4?.player;- if (!e || e.isDisposed() || !L4) return;- let t = qn(P4?.item.duration) || qn(e.duration());- L4.time.textContent = `${Yn(e.currentTime())} / ${t ? Yn(t) : "0:00"}`;-}-var n3 = () => Math.max(1, Number(W4().player.settings().seekSeconds) || 10);-function r3() {- if (!L4 || !N4) return;- let e = n3();- for (let [t, n] of [[L4.back, `后退 ${e} 秒`], [L4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+ I4.play.setAttribute("aria-label", t ? "播放" : "暂停"), I4.play.querySelector("[data-icon-swap]") || (I4.play.innerHTML = Js("player-pause", "player-play", t ? "b" : "a")), Ys(I4.play, t ? "b" : "a");}-function i3(e) {+function e3() {+ let e = N4?.player;+ if (!e || e.isDisposed() || !I4) return;+ let t = qn(N4?.item.duration) || qn(e.duration());+ I4.time.textContent = `${Yn(e.currentTime())} / ${t ? Yn(t) : "0:00"}`;+}+var t3 = () => Math.max(1, Number(U4().player.settings().seekSeconds) || 10);+function n3() {+ if (!I4 || !M4) return;+ let e = t3();+ for (let [t, n] of [[I4.back, `后退 ${e} 秒`], [I4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function r3(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -77728,17 +77728,17 @@ function i3(e) {"play","pause","ended"- ], e3), t([+ ], $4), t(["timeupdate","durationchange","loadedmetadata"- ], t3), t("loadedmetadata", () => $4()), e3(), t3(), $4(), r3();+ ], e3), t("loadedmetadata", () => Q4()), $4(), e3(), Q4(), n3();}-function a3(e) {+function i3(e) {e.off.forEach((e) => e()), e.off = [];}function cFe() {- let e = L4?.root;+ let e = I4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -77746,8 +77746,8 @@ function cFe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function o3() {- let e = L4?.root;+function a3() {+ let e = I4?.root;if (e) {e.hidden = !0;for (let t of [@@ -77759,72 +77759,72 @@ function o3() {}}function lFe(e, t) {- if (!L4) return;+ if (!I4) return;let n = {...e,meta: t,off: [],pending: !1};- P4 = n, z4++, e.player.el().classList.add("vjs-peach-mini"), L4.frame.prepend(e.player.el()), Q4(t), i3(n), cFe(), HM(e.player);+ N4 = n, R4++, e.player.el().classList.add("vjs-peach-mini"), I4.frame.prepend(e.player.el()), Z4(t), r3(n), cFe(), BM(e.player);}-function s3() {- let e = P4;- e && a3(e), P4 = null, z4++;+function o3() {+ let e = N4;+ e && i3(e), N4 = null, R4++;let t = e?.player ?? null;- t && BM() === t && VM(null), kN(t), t && RN(), L4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), RM(), o3();+ t && RM() === t && zM(null), DN(t), t && IN(), I4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), IM(), a3();}-function c3() {- if (!Z4() || !P4) return;- let { kind: e, item: t, mediaIndex: n } = P4;- W4().expand(e, t.id, n);+function s3() {+ if (!X4() || !N4) return;+ let { kind: e, item: t, mediaIndex: n } = N4;+ U4().expand(e, t.id, n);}-function l3() {- Z4() && !V4() ? c3() : V4() && q4() && B4 && (R4 = !0, B4());+function c3() {+ X4() && !B4() ? s3() : B4() && K4() && z4 && (L4 = !0, z4());}function uFe() {- let e = P4?.player;+ let e = N4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function u3(e) {- let t = P4?.player;+function l3(e) {+ let t = N4?.player;if (!t || t.isDisposed()) return;- let n = qn(t.duration()) || qn(P4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + n3() * e);+ let n = qn(t.duration()) || qn(N4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + t3() * e);t.currentTime(n ? Math.min(n, r) : r);}-function d3(e) {- return !(!Z4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || W4().sourceOffline(String(e.root_id || e.location || "")));+function u3(e) {+ return !(!X4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || U4().sourceOffline(String(e.root_id || e.location || "")));}async function dFe(e) {- if (!Z4() || !P4 || !L4) return;- let t = ++z4, n = await Tn(`/api/item?id=${e}`).catch(() => null);- if (t !== z4 || !Z4() || !P4 || !L4 || !n || n.error) return;- if (!d3(n)) {- W4().openItem(e);+ if (!X4() || !N4 || !I4) return;+ let t = ++R4, n = await Tn(`/api/item?id=${e}`).catch(() => null);+ if (t !== R4 || !X4() || !N4 || !I4 || !n || n.error) return;+ if (!u3(n)) {+ U4().openItem(e);return;}- let r = P4;- a3(r), BM() === r.player && VM(null), kN(r.player), RN(), L4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = N4;+ i3(r), RM() === r.player && zM(null), DN(r.player), IN(), I4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", L4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", I4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- Q4(a), ZN(i, {+ Z4(a), YN(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== z4) {- r && BM() === r && VM(null), kN(r);+ if (t !== R4) {+ r && RM() === r && zM(null), DN(r);return;}if (!r) {- s3(), W4().openItem(e);+ o3(), U4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -77833,25 +77833,25 @@ async function dFe(e) {kind: "item",item: n,mediaIndex: null,- key: H4("item", n.id, null),+ key: V4("item", n.id, null),meta: a,off: [],pending: !1};- P4 = i, i3(i);+ N4 = i, r3(i);}- }), $4(n);+ }), Q4(n);}// src/react/stage/miniplayer.tsx-var f3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {+var d3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })-}), fFe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, p3 = (e) => (t) => {+}), fFe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, f3 = (e) => (t) => {t.stopPropagation(), e();}, pFe = (0, F.memo)(function() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);- return (0, F.useLayoutEffect)(() => (X4({+ return (0, F.useLayoutEffect)(() => (Y4({root: e.current,frame: n.current,play: r.current,@@ -77861,7 +77861,7 @@ var f3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => X4(null)), []), (0, F.useEffect)(() => gFe(e.current, t.current), []), (0, F.useEffect)(() => mFe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {+ }), () => Y4(null)), []), (0, F.useEffect)(() => gFe(e.current, t.current), []), (0, F.useEffect)(() => mFe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -77885,24 +77885,24 @@ var f3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: p3(c3),- children: /* @__PURE__ */ (0, I.jsx)(f3, { name: "maximize-2" })+ onClick: f3(s3),+ children: /* @__PURE__ */ (0, I.jsx)(d3, { name: "maximize-2" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: p3(s3),- children: /* @__PURE__ */ (0, I.jsx)(f3, { name: "x" })+ onClick: f3(o3),+ children: /* @__PURE__ */ (0, I.jsx)(d3, { name: "x" })}),/* @__PURE__ */ (0, I.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: p3(() => u3(-1)),- children: /* @__PURE__ */ (0, I.jsx)(f3, { name: "rotate-ccw" })+ onClick: f3(() => l3(-1)),+ children: /* @__PURE__ */ (0, I.jsx)(d3, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, I.jsx)("button", {ref: r,@@ -77911,7 +77911,7 @@ var f3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: p3(uFe),+ onClick: f3(uFe),dangerouslySetInnerHTML: fFe}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -77919,8 +77919,8 @@ var f3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: p3(() => u3(1)),- children: /* @__PURE__ */ (0, I.jsx)(f3, { name: "rotate-cw" })+ onClick: f3(() => l3(1)),+ children: /* @__PURE__ */ (0, I.jsx)(d3, { name: "rotate-cw" })}),/* @__PURE__ */ (0, I.jsx)("span", {ref: i,@@ -77937,7 +77937,7 @@ var f3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => c3(),+ onClick: () => s3(),children: [/* @__PURE__ */ (0, I.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -78024,53 +78024,53 @@ function gFe(e, t) {};}// src/react/stage/stage.tsx-var m3 = null, h3 = null, g3 = null, _3 = /* @__PURE__ */ new Set(), v3 = 0, y3 = null, b3 = !1, x3 = !1, S3 = () => {+var p3 = null, m3 = null, h3 = null, g3 = /* @__PURE__ */ new Set(), _3 = 0, v3 = null, y3 = !1, b3 = !1, x3 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function C3() {- if (!m3) throw Error("舞台还没有接上宿主(configureStage)");- return m3;+function S3() {+ if (!p3) throw Error("舞台还没有接上宿主(configureStage)");+ return p3;}function _Fe(e) {- return _3.add(e), () => {- _3.delete(e);+ return g3.add(e), () => {+ g3.delete(e);};}function vFe() {- for (let e of [..._3]) e();+ for (let e of [...g3]) e();}-function w3() {+function C3() {(0, Rt.flushSync)(vFe);}function yFe({ view: e }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(bFe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(pFe, {})] });}-var T3 = () => /* @__PURE__ */ (0, I.jsx)("div", {+var w3 = () => /* @__PURE__ */ (0, I.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",dangerouslySetInnerHTML: { __html: vNe() }});-function E3(e) {+function T3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function D3() {- let e = S3(), t = e && xNe(e);+function E3() {+ let e = x3(), t = e && xNe(e);t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {key: "Escape",bubbles: !0,cancelable: !0- }))) : O3();+ }))) : D3();}function bFe({ view: e }) {let t = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), D3());+ t.target === e && (t.preventDefault(), E3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);@@ -78082,27 +78082,27 @@ function bFe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), D3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), E3());},onPointerDown: (e) => {- x3 = E3(e);+ b3 = T3(e);},onClick: (e) => {- x3 && E3(e) && O3();+ b3 && T3(e) && D3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(T3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(w3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(T3, {})+ children: /* @__PURE__ */ (0, I.jsx)(w3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(TD, {- getContainer: () => d2(t.current),+ children: /* @__PURE__ */ (0, I.jsx)(wD, {+ getContainer: () => u2(t.current),children: i})})@@ -78110,14 +78110,14 @@ function bFe({ view: e }) {]});}-function O3() {- h3 && !b3 && (b3 = !0, h3.request.actions.close());+function D3() {+ m3 && !y3 && (y3 = !0, m3.request.actions.close());}-function k3(e, t) {- let n = S3();+function O3(e, t) {+ let n = x3();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function A3(e) {+function k3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -78125,30 +78125,30 @@ function A3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: O3+ close: D3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => C3().player.settings(), i = () => h3?.request === e;+ }, r = () => S3().player.settings(), i = () => m3?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: O3,+ close: D3,present: (e, t) => {let n = e.performers;- G4({+ W4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), k3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), O3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => K4(e, {+ mountPlayer: (e, t, r, i) => G4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -78166,18 +78166,18 @@ function A3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: O3,+ close: D3,present: (e, t) => {- G4({+ W4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), k3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), O3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => K4(e, {+ mountPlayer: (e, t, r, i) => G4(e, {kind: "follow",item: t,media: r,@@ -78198,102 +78198,102 @@ function xFe(e, t) {let n = e.querySelector(":scope > [data-stage-fade]");e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");let r = 0, i = () => {- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), h3?.generation === t && h3.phase === "reveal" && (h3 = {- ...h3,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), m3?.generation === t && m3.phase === "reveal" && (m3 = {+ ...m3,phase: "content"- }, w3());+ }, C3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function j3(e) {- let t = S3();- return !h3 || h3.content.kind !== e || b3 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function A3(e) {+ let t = x3();+ return !m3 || m3.content.kind !== e || y3 || !t?.open || t.hasAttribute("data-closing") ? null : t;}async function SFe(e) {- !g3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (g3 = {+ !h3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (h3 = {left: window.scrollX,top: window.scrollY,anchor: document.activeElement});- let t = j3(e.kind);+ let t = A3(e.kind);if (t) {await wFe(e, t);return;}- h3 && M3({ miniplayer: !1 });- let n = ++v3, r = new AbortController();- y3 = r, b3 = !1, x3 = !1, e.kind === "jav" ? s3() : Y4(e.kind, e.id ?? NaN);- let i = A3(e);- h3 = {+ m3 && j3({ miniplayer: !1 });+ let n = ++_3, r = new AbortController();+ v3 = r, y3 = !1, b3 = !1, e.kind === "jav" ? o3() : J4(e.kind, e.id ?? NaN);+ let i = k3(e);+ m3 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? TP(i.props, r.signal) : i.kind === "jav" ? s4(i.props, r.signal) : _2(i.props, r.signal);- if (n !== v3 || h3?.request !== e) {+ let a = i.kind === "item" ? CP(i.props, r.signal) : i.kind === "jav" ? o4(i.props, r.signal) : g2(i.props, r.signal);+ if (n !== _3 || m3?.request !== e) {await a.catch(() => {});return;}let o = CFe(i);- h3 = {- ...h3,+ m3 = {+ ...m3,phase: o ? "content" : "skeleton"- }, w3();- let s = S3();+ }, C3();+ let s = x3();if (!s) {await a.catch(() => {});return;}- o || hc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), p2(s);+ o || hc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), f2(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== v3 || !h3 || o) return;+ if (n !== _3 || !m3 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- h3 = {- ...h3,+ m3 = {+ ...m3,phase: c ? "content" : "reveal"- }, w3(), c || xFe(s, n), rc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, C3(), c || xFe(s, n), rc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();}function CFe(e) {- if (e.kind === "jav") return !!H.getQueryData(a4(e.props.code));- if (e.kind === "follow") return !!H.getQueryData(m2(e.props.id));- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(dP(t)) : null;+ if (e.kind === "jav") return !!H.getQueryData(i4(e.props.code));+ if (e.kind === "follow") return !!H.getQueryData(p2(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(lP(t)) : null;if (t && !r) return !1;- let i = r ? CP(r, n) : n;- return i != null && !!H.getQueryData(uP(i));+ let i = r ? xP(r, n) : n;+ return i != null && !!H.getQueryData(cP(i));}async function wFe(e, t) {- let n = ++v3;- y3?.abort();+ let n = ++_3;+ v3?.abort();let r = new AbortController();- y3 = r, x3 = !1;- let i = A3(e);+ v3 = r, b3 = !1;+ let i = k3(e);try {- i.kind === "item" ? await TP(i.props, r.signal) : i.kind === "jav" ? await s4(i.props, r.signal) : await _2(i.props, r.signal);+ i.kind === "item" ? await CP(i.props, r.signal) : i.kind === "jav" ? await o4(i.props, r.signal) : await g2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== v3 || !h3 || j3(e.kind) !== t) return;- e.kind === "jav" ? s3() : Y4(e.kind, e.id ?? NaN), zl(t), RM(), h3 = {- ...h3,+ if (n !== _3 || !m3 || A3(e.kind) !== t) return;+ e.kind === "jav" ? o3() : J4(e.kind, e.id ?? NaN), zl(t), IM(), m3 = {+ ...m3,request: e,content: i,phase: "content"- }, w3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), rc(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, C3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), rc(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");let a = document.activeElement;a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}function TFe() {- p2(null);- let e = S3();+ f2(null);+ let e = x3();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {let n = 0, r = () => {clearTimeout(n), e.removeEventListener("animationend", i), t();@@ -78303,14 +78303,14 @@ function TFe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function M3({ miniplayer: e = !0 } = {}) {- if (v3++, y3?.abort(), y3 = null, J4(e), !h3) return;- let t = S3();- t && zl(t), RM(), p2(null), t?.open && t.close(), h3 = null, b3 = !1, x3 = !1, w3(), G4(null), document.body.removeAttribute("data-detail-open");- let n = g3;- g3 = null;+function j3({ miniplayer: e = !0 } = {}) {+ if (_3++, v3?.abort(), v3 = null, q4(e), !m3) return;+ let t = x3();+ t && zl(t), IM(), f2(null), t?.open && t.close(), m3 = null, y3 = !1, b3 = !1, C3(), W4(null), document.body.removeAttribute("data-detail-open");+ let n = h3;+ h3 = null;let r = () => {- !h3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({+ !m3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({left: n.left,top: n.top,behavior: "instant"@@ -78319,78 +78319,78 @@ function M3({ miniplayer: e = !0 } = {}) {r(), requestAnimationFrame(r);}function EFe(e) {- h3 && (h3 = {- ...h3,- content: h3.content.kind === "item" ? {+ m3 && (m3 = {+ ...m3,+ content: m3.content.kind === "item" ? {kind: "item",props: {- ...h3.content.props,+ ...m3.content.props,...e}- } : h3.content.kind === "jav" ? h3.content : {+ } : m3.content.kind === "jav" ? m3.content : {kind: "follow",props: {- ...h3.content.props,+ ...m3.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, w3());+ }, C3());}function DFe() {- let e = rFe(), t = e?.kind === "item" ? e.item : null, n = t ? Ao(t, C3().player.settings().javImage) : "";+ let e = rFe(), t = e?.kind === "item" ? e.item : null, n = t ? Ao(t, S3().player.settings().javImage) : "";if (!n) return;- let r = q4();+ let r = K4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}var OFe = {open: SFe,update: EFe,exit: TFe,- dispose: M3,- requestClose: O3,- requestEscape: D3,+ dispose: j3,+ requestClose: D3,+ requestEscape: E3,repaintPoster: DFe,- isOpen: () => !!h3,- showing: () => h3 && j3(h3.content.kind) ? h3.content.kind : null,+ isOpen: () => !!m3,+ showing: () => m3 && A3(m3.content.kind) ? m3.content.kind : null,activeVideo: () => sFe(),mountWallPlayer: iFe,toggleTheater: () => {- h3 && gN(!C3().player.settings().theaterMode);+ m3 && mN(!S3().player.settings().theaterMode);},- toggleMiniplayer: () => l3(),- closeMiniplayer: () => s3(),- miniplayerActive: () => Z4(),- miniplayerTakesCard: (e) => d3(e),+ toggleMiniplayer: () => c3(),+ closeMiniplayer: () => o3(),+ miniplayerActive: () => X4(),+ miniplayerTakesCard: (e) => u3(e),miniplayerPlay: (e) => {dFe(e);}};function kFe(e) {- return m3 = e, nFe(e, {- isOpen: () => !!h3,- requestClose: O3+ return p3 = e, nFe(e, {+ isOpen: () => !!m3,+ requestClose: D3}), OFe;}function AFe() {- let e = (0, F.useSyncExternalStore)(_Fe, () => h3);- return m3 ? /* @__PURE__ */ (0, I.jsx)(yFe, { view: e }) : null;+ let e = (0, F.useSyncExternalStore)(_Fe, () => m3);+ return p3 ? /* @__PURE__ */ (0, I.jsx)(yFe, { view: e }) : null;}// src/react/stats/stats.ts-var jFe = "/api/stats", N3 = ["stats"], P3 = (e) => B(jFe, e);+var jFe = "/api/stats", M3 = ["stats"], N3 = (e) => B(jFe, e);async function MFe(e) {await H.fetchQuery({- queryKey: N3,- queryFn: () => P3(e)+ queryKey: M3,+ queryFn: () => N3(e)});}-var F3 = (e) => e != null && Number.isFinite(e), NFe = (e) => F3(e) ? e.toLocaleString() : "未取得", PFe = (e, t) => F3(e) && F3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, FFe = (e, t) => {+var P3 = (e) => e != null && Number.isFinite(e), NFe = (e) => P3(e) ? e.toLocaleString() : "未取得", PFe = (e, t) => P3(e) && P3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, FFe = (e, t) => {let n = PFe(e, t);- return !n && F3(e) && e > 0 && F3(t) && t > 0 ? "<1%" : `${n}%`;-}, I3 = (e) => {- if (!F3(e)) return "未取得";+ return !n && P3(e) && e > 0 && P3(t) && t > 0 ? "<1%" : `${n}%`;+}, F3 = (e) => {+ if (!P3(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)} 分钟`;-}, L3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, R3 = (e) => (e.max_reached || 0) * 100, IFe = (e) => e.kind === "online" ? "在线直接观看" : L3(e) < R3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", LFe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+}, I3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, L3 = (e) => (e.max_reached || 0) * 100, IFe = (e) => e.kind === "online" ? "在线直接观看" : I3(e) < L3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", LFe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;function RFe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;@@ -78417,10 +78417,10 @@ var zFe = (e) => Math.max(1, ...e) * 1.1, BFe = (e, t) => e > 0 ? Math.max(e, t短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, z3 = (e, t = {}) => e.map((e) => ({+}, R3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), GFe = (e) => z3(e, WFe), KFe = [+})), GFe = (e) => R3(e, WFe), KFe = [[1,1,@@ -78461,7 +78461,7 @@ var zFe = (e) => Math.max(1, ...e) * 1.1, BFe = (e, t) => e > 0 ? Math.max(e, tvalue: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));// node_modules/d3-array/src/max.js-function B3(e, t) {+function z3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -78471,7 +78471,7 @@ function B3(e, t) {return n;}// node_modules/d3-array/src/min.js-function V3(e, t) {+function B3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -78481,7 +78481,7 @@ function V3(e, t) {return n;}// node_modules/d3-array/src/sum.js-function H3(e, t) {+function V3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -78495,22 +78495,22 @@ function JFe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js-function U3(e) {+function H3(e) {return function() {return e;};}// node_modules/d3-sankey/src/sankey.js+function U3(e, t) {+ return G3(e.source, t.source) || e.index - t.index;+}function W3(e, t) {- return K3(e.source, t.source) || e.index - t.index;+ return G3(e.target, t.target) || e.index - t.index;}function G3(e, t) {- return K3(e.target, t.target) || e.index - t.index;-}-function K3(e, t) {return e.y0 - t.y0;}-function q3(e) {+function K3(e) {return e.value;}function YFe(e) {@@ -78522,12 +78522,12 @@ function XFe(e) {function ZFe(e) {return e.links;}-function J3(e, t) {+function q3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function Y3({ nodes: e }) {+function J3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;@@ -78541,14 +78541,14 @@ function QFe() {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), Y3(e), e;+ return h(e), g(e), _(e), v(e), x(e), J3(e), e;}m.update = function(e) {- return Y3(e), e;+ return J3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : U3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : H3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : U3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : H3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -78556,9 +78556,9 @@ function QFe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : U3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : H3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : U3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : H3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -78574,12 +78574,12 @@ function QFe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = J3(n, t)), typeof i != "object" && (i = r.target = J3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = q3(n, t)), typeof i != "object" && (i = r.target = q3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(H3(t.sourceLinks, q3), H3(t.targetLinks, q3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(V3(t.sourceLinks, K3), V3(t.targetLinks, K3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -78604,7 +78604,7 @@ function QFe() {}}function y({ nodes: t }) {- let r = B3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = z3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -78613,7 +78613,7 @@ function QFe() {return o;}function b(e) {- let n = V3(e, (e) => (r - t - (e.length - 1) * o) / H3(e, q3));+ let n = B3(e, (e) => (r - t - (e.length - 1) * o) / V3(e, K3));for (let i of e) {let e = t;for (let t of i) {@@ -78630,7 +78630,7 @@ function QFe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (B3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (z3(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -78649,7 +78649,7 @@ function QFe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(K3), w(i, n);+ l === void 0 && i.sort(G3), w(i, n);}}function C(e, t, n) {@@ -78665,7 +78665,7 @@ function QFe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(K3), w(i, n);+ l === void 0 && i.sort(G3), w(i, n);}}function w(e, n) {@@ -78686,12 +78686,12 @@ function QFe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(G3);- for (let { target: { targetLinks: t } } of e) t.sort(W3);+ for (let { source: { sourceLinks: e } } of t) e.sort(W3);+ for (let { target: { targetLinks: t } } of e) t.sort(U3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(G3), n.sort(W3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(W3), n.sort(U3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -78720,15 +78720,15 @@ function QFe() {return m;}// node_modules/d3-path/src/path.js-var X3 = Math.PI, Z3 = 2 * X3, Q3 = 1e-6, $Fe = Z3 - Q3;-function $3() {+var Y3 = Math.PI, X3 = 2 * Y3, Z3 = 1e-6, $Fe = X3 - Z3;+function Q3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function e6() {- return new $3();+function $3() {+ return new Q3();}-$3.prototype = e6.prototype = {- constructor: $3,+Q3.prototype = $3.prototype = {+ constructor: Q3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -78749,11 +78749,11 @@ $3.prototype = e6.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > Q3) {- if (!(Math.abs(u * s - c * l) > Q3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > Z3) {+ if (!(Math.abs(u * s - c * l) > Z3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((X3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > Q3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((Y3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > Z3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -78761,7 +78761,7 @@ $3.prototype = e6.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) > Q3 || Math.abs(this._y1 - l) > Q3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % Z3 + Z3), d > $Fe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > Q3 && (this._ += "A" + n + "," + n + ",0," + +(d >= X3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > Z3 || Math.abs(this._y1 - l) > Z3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % X3 + X3), d > $Fe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > Z3 && (this._ += "A" + n + "," + n + ",0," + +(d >= Y3) + "," + 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";@@ -78771,7 +78771,7 @@ $3.prototype = e6.prototype = {}};// node_modules/d3-shape/src/constant.js-function t6(e) {+function e6(e) {return function() {return e;};@@ -78796,16 +78796,16 @@ function aIe(e) {var t = rIe, n = iIe, r = eIe, i = tIe, a = null;function o() {var o, s = nIe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = e6(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ if (a ||= o = $3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : t6(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : e6(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : t6(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : e6(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;@@ -78827,7 +78827,7 @@ function uIe() {return sIe().source(cIe).target(lIe);}// src/react/taste/taste.ts-var dIe = "/api/taste", n6 = "/api/taste/refresh", fIe = "/api/taste/import", r6 = "/api/taste/source", i6 = (e) => ["taste", e], pIe = ["taste", "refresh"], mIe = [+var dIe = "/api/taste", t6 = "/api/taste/refresh", fIe = "/api/taste/import", n6 = "/api/taste/source", r6 = (e) => ["taste", e], pIe = ["taste", "refresh"], mIe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],@@ -78838,20 +78838,20 @@ var dIe = "/api/taste", n6 = "/api/taste/refresh", fIe = "/api/taste/import", r6day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", vIe = (e, t) => V(r6, {+}) : "—", vIe = (e, t) => V(n6, {...e,window: t-}), a6 = (e, t, n = !1) => B(`${dIe}?window=${e}${n ? "&retry=1" : ""}`, t), yIe = (e) => B(n6, e);+}), i6 = (e, t, n = !1) => B(`${dIe}?window=${e}${n ? "&retry=1" : ""}`, t), yIe = (e) => B(t6, e);async function bIe(e, t) {await H.fetchQuery({- queryKey: i6(e),- queryFn: () => a6(e, t)+ queryKey: r6(e),+ queryFn: () => i6(e, t)});}-var xIe = (e) => V(n6, {+var xIe = (e) => V(t6, {window: e,background: !0-}), SIe = (e, t) => V(r6, {+}), SIe = (e, t) => V(n6, {operation: "remove",source_key: e,window: t@@ -78875,17 +78875,17 @@ async function CIe(e) {}return n;}-var wIe = 1e4, o6 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+var wIe = 1e4, a6 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";function TIe(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;if (!e.range_start && !e.range_end) return t;let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {month: "numeric",day: "numeric"- }) : o6(e);+ }) : a6(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var EIe = I3, DIe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), OIe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+var EIe = F3, DIe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), OIe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);function kIe(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;@@ -78895,22 +78895,22 @@ function AIe(e) {let t = e.map(OIe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var s6 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var o6 = (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 jIe(e) {- let t = s6(e, 6);+ let t = o6(e, 6);return t.length < 3 ? [] : t;}-var c6 = {+var s6 = {width: 720,height: 435}, MIe = {source: 145,target: 545-}, l6 = 30, NIe = 240;-function u6(e, t, n) {+}, c6 = 30, NIe = 240;+function l6(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;@@ -78920,7 +78920,7 @@ function u6(e, t, n) {function PIe(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = u6(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = u6(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = l6(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = l6(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -78929,7 +78929,7 @@ function PIe(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) * l6 + NIe), u = QFe().nodeId((e) => e.id).nodeWidth(10).nodePadding(l6).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) * c6 + NIe), u = QFe().nodeId((e) => e.id).nodeWidth(10).nodePadding(c6).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -78972,10 +78972,10 @@ function PIe(e = []) {};}),total: d,- height: l + c6.height - 404+ height: l + s6.height - 404};}-var FIe = (e) => tr(e, 17), d6 = {+var FIe = (e) => tr(e, 17), u6 = {performers: "艺人",creators: "卖家",studios: "厂牌",@@ -79054,8 +79054,8 @@ var FIe = (e) => tr(e, 17), d6 = {"alphabet","字母表","text-aa"-]], f6 = (e) => e === "compact" ? "compact" : "big";-function p6(e, t) {+]], d6 = (e) => e === "compact" ? "compact" : "big";+function f6(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -79065,7 +79065,7 @@ function p6(e, t) {category: n.get("category") || "all"};}-var m6 = (e, t, n) => Gs(e.map(([e, t, n]) => ({+var p6 = (e, t, n) => Gs(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -79078,7 +79078,7 @@ var m6 = (e, t, n) => Gs(e.map(([e, t, n]) => ({<div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span><span class="ml-auto">${tl("tag-view", "标签视图", HIe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;function WIe({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = d6[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? tl("people-layout", o + "索引版式", e === "series" ? RIe : c ? LIe : IIe, a) : "";+ let o = u6[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? tl("people-layout", o + "索引版式", e === "series" ? RIe : c ? LIe : IIe, a) : "";return `<div class="ihead peach-react" data-index-head><h2 class="disp indexheading">${o}</h2>${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}@@ -79090,7 +79090,7 @@ function WIe({ kind: e, q: t, scope: n, view: r, category: i }, a) {}) : ""}<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", t, "过滤" + o)}</div></div>- ${e === "tags" ? m6(BIe, n, "词表") : e === "performers" || e === "creators" ? m6(VIe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? m6(zIe, e, "资料类型") : ""}+ ${e === "tags" ? p6(BIe, n, "词表") : e === "performers" || e === "creators" ? p6(VIe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? p6(zIe, e, "资料类型") : ""}${e === "tags" ? UIe(r) : ""}${e === "performers" && n !== "online" ? bDe(i) : ""}${cc({@@ -79100,16 +79100,16 @@ function WIe({ kind: e, q: t, scope: n, view: r, category: i }, a) {})}`;}var GIe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function h6(e, t, n) {+function m6(e, t, n) {let r = WIe(t, n);e.querySelector("[data-skeleton]")?.dataset.skeleton !== GIe(r) && (e.innerHTML = r, hc(e));}// src/react/router/pages/index-entity.tsx-var KIe = () => yu, qIe = () => iu, g6 = () => document.getElementById("index");-function _6(e, t, n = {}) {+var KIe = () => yu, qIe = () => iu, h6 = () => document.getElementById("index");+function g6(e, t, n = {}) {let r = (0, F.useSyncExternalStore)(Au, KIe);cf();- let i = qf(Bp.navigation.location.pathname), a = (0, F.useRef)({+ let i = qf(W.navigation.location.pathname), a = (0, F.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -79134,7 +79134,7 @@ function _6(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== yu, r = t.opens !== yu;- if (t.epoch = e, t.opens = yu, qf(Bp.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = yu, qf(W.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -79156,10 +79156,10 @@ function _6(e, t, n = {}) {]);}async function JIe(e, t, n, r) {- let i = g6();+ let i = h6();if (!i) return;- let a = `/${t}`, o = p6(t, n), s = f6(Yj().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;- c || (e.surfaceChanged("index", a), h6(i, o, s), Tm(r, i, { pending: !0 })), await Ep(a, {+ let a = `/${t}`, o = f6(t, n), s = d6(qj().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;+ c || (e.surfaceChanged("index", a), m6(i, o, s), wm(r, i, { pending: !0 })), await Ep(a, {...o,layout: s,selectMode: iu,@@ -79168,22 +79168,22 @@ async function JIe(e, t, n, r) {container: i,isCurrent: r,reuse: c- }) && r() && (e.surfaceShown?.("index", a), Tm(r, i));+ }) && r() && (e.surfaceShown?.("index", a), wm(r, i));}function YIe(e) {- let t = g6(), n = t ? xp(t) : null;+ let t = h6(), n = t ? xp(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}function XIe({ epoch: e }) {- let t = (0, F.useContext)(uG), n = cf(), r = n.pathname.split("/").filter(Boolean)[0];- return _6(e, (e, i) => {+ let t = (0, F.useContext)(cG), n = cf(), r = n.pathname.split("/").filter(Boolean)[0];+ return g6(e, (e, i) => {t && JIe(t, r, n.search, i);}, { shown: () => YIe(`/${r}`) }), null;}function ZIe() {- let e = lG(), t = (0, F.useSyncExternalStore)(Au, qIe), n = (0, F.useRef)(t);+ let e = sG(), t = (0, F.useSyncExternalStore)(Au, qIe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && Op(g6(), { selectMode: t }));+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && Op(h6(), { selectMode: t }));}, [t]), /* @__PURE__ */ (0, I.jsx)(XIe, { epoch: e }, e);}function QIe(e) {@@ -79200,9 +79200,9 @@ function QIe(e) {name: a} : null;}-var v6 = /* @__PURE__ */ new WeakMap();+var _6 = /* @__PURE__ */ new WeakMap();function $Ie(e) {- let t = v6.get(e);+ let t = _6.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -79212,14 +79212,14 @@ function $Ie(e) {...e.grid.actions,revealSource: e.revealSource}- }, v6.set(e, t)), t;+ }, _6.set(e, t)), t;}-function y6() {- let e = g6(), t = e ? xp(e) : null;+function v6() {+ let e = h6(), t = e ? xp(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}async function eLe(e, t, n, r, i, a, o) {- let s = g6();+ let s = h6();if (!s) return;let { segment: c, kind: l, name: u } = n;if (!a()) return;@@ -79232,9 +79232,9 @@ async function eLe(e, t, n, r, i, a, o) {body: d.content.querySelector("[data-entity-body]>.peach-react")}, h = {...t.props(l, u, i),- ...Sm("entity")+ ...xm("entity")};- xm("entity", {+ bm("entity", {seed: h.seed,revision: h.revision,jav: h.jav@@ -79244,7 +79244,7 @@ async function eLe(e, t, n, r, i, a, o) {hosts: m,card: $Ie(e),resolvedEntity: o,- restoreNavigation: Cm(),+ restoreNavigation: Sm(),actions: {...h.actions,javContext: (e) => {@@ -79257,16 +79257,16 @@ async function eLe(e, t, n, r, i, a, o) {isCurrent: a,beforePlace: () => e.surfaceChanged("entity", r),place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && y6() && (e.surfaceShown?.("entity", r), Tm(a, m.filter));+ }) && a() && v6() && (e.surfaceShown?.("entity", r), wm(a, m.filter));}function tLe({ target: e }) {- let t = (0, F.useContext)(uG), n = lG(), r = cf();- return _6(n, (n, i) => {+ let t = (0, F.useContext)(cG), n = sG(), r = cf();+ return g6(n, (n, i) => {let a = t?.entity;t && a && (async () => {- if (n || !y6()) {+ if (n || !v6()) {if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;- Tm(i, g6(), { pending: !0 });+ wm(i, h6(), { pending: !0 });}let o = new URLSearchParams({ kind: e.kind });o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);@@ -79277,120 +79277,120 @@ function tLe({ target: e }) {e.name],queryFn: ({ signal: e }) => B(`/api/entity?${o}`, e),- staleTime: Cm() ? Infinity : 0+ staleTime: Sm() ? Infinity : 0}).catch(() => null);if (!i()) return;if (s?.redirect) {- Vp(Pn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ Bp(Pn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: Bp.navigation.location.state+ state: W.navigation.location.state});return;}if (!s?.id || s.error) {- a.missing(e.kind), Tm(i);+ a.missing(e.kind), wm(i);return;}let c = String(s.canonical_name || e.name), l = Pn(e.kind, c, Number(s.id));- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? Tm(i, g6()?.querySelector("[data-entity-filter]")) : eLe(t, a, {+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? wm(i, h6()?.querySelector("[data-entity-filter]")) : eLe(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : Vp(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : Bp(l + r.search + r.hash, {replace: !0,- state: Bp.navigation.location.state+ state: W.navigation.location.state});})();- }, { shown: () => y6() && !g6()?.hidden }), null;+ }, { shown: () => v6() && !h6()?.hidden }), null;}function nLe() {let e = QIe(cf().pathname);return e ? /* @__PURE__ */ (0, I.jsx)(tLe, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/router/pages/follow.tsx-var b6 = () => document.getElementById("stats"), rLe = () => Tu;+var y6 = () => document.getElementById("stats"), rLe = () => Tu;async function iLe(e, t) {- let n = b6(), r = e.follow;+ let n = y6(), r = e.follow;if (!n || !r) return;- let i = Sm("follow"), a = r.refresh(i), o = r.props();- if (xm("follow", {+ let i = xm("follow"), a = r.refresh(i), o = r.props();+ if (bm("follow", {view: o.view,seed: o.seed,revision: o.revision}), a) return;let s = H.getQueryData(ia(o.view, o.revision).queryKey) !== void 0;- s || (e.surfaceChanged("follow", "/follow"), V2(n, r.skeleton()), Tm(t, n, { pending: !0 })), await Ep("/follow", o, {+ s || (e.surfaceChanged("follow", "/follow"), B2(n, r.skeleton()), wm(t, n, { pending: !0 })), await Ep("/follow", o, {container: n,isCurrent: t,beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0- }), t() && Tm(t, n.querySelector("[data-filter-frame]"));+ }), t() && wm(t, n.querySelector("[data-filter-frame]"));}function aLe() {- let e = b6(), t = e ? xp(e) : null;+ let e = y6(), t = e ? xp(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}function oLe() {- let e = (0, F.useContext)(uG);- return _6(lG(), (t, n) => {+ let e = (0, F.useContext)(cG);+ return g6(sG(), (t, n) => {e && iLe(e, n);}, {shown: aLe,onCovered: () => {- Bp.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ W.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function x6(e) {+function b6(e) {let t = e ? xp(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}async function sLe(e, t) {- let n = b6();- n && (e.surfaceChanged("playlists", "/playlists"), V2(n, z2("/playlists", {+ let n = y6();+ n && (e.surfaceChanged("playlists", "/playlists"), B2(n, R2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), Tm(t, n, { pending: !0 }), await Ep("/playlists", { revision: Tu }, {+ })), wm(t, n, { pending: !0 }), await Ep("/playlists", { revision: Tu }, {container: n,isCurrent: t- }), t() && Tm(t));+ }), t() && wm(t));}function cLe() {- let e = (0, F.useContext)(uG), t = (0, F.useSyncExternalStore)(Au, rLe), n = (0, F.useRef)(t);+ let e = (0, F.useContext)(cG), t = (0, F.useSyncExternalStore)(Au, rLe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = b6();- x6(e) && Op(e, { revision: t });- }, [t]), _6(lG(), (t, n) => {+ let e = y6();+ b6(e) && Op(e, { revision: t });+ }, [t]), g6(sG(), (t, n) => {e && sLe(e, n);}, { shown: () => {- let e = b6();- return x6(e) && !e.hidden;+ let e = y6();+ return b6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsxfunction lLe() {- let e = new URLSearchParams(Bp.navigation.location.search).get("id");+ let e = new URLSearchParams(W.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}function uLe() {- let e = (0, F.useContext)(uG);- return sG(() => {+ let e = (0, F.useContext)(cG);+ return aG(() => {e?.openImmerse(lLe());}, !0), null;}function dLe() {- return /* @__PURE__ */ (0, I.jsx)(uLe, {}, lG());+ return /* @__PURE__ */ (0, I.jsx)(uLe, {}, sG());}// src/react/router/pages/managed.tsx-var fLe = () => yu > 0, S6 = () => (0, F.useSyncExternalStore)(Au, fLe), C6 = () => Yj().value.followLayout === "table" ? "table" : "default", w6 = () => new URLSearchParams(window.location.search);-function T6(e) {+var fLe = () => yu > 0, x6 = () => (0, F.useSyncExternalStore)(Au, fLe), S6 = () => qj().value.followLayout === "table" ? "table" : "default", C6 = () => new URLSearchParams(window.location.search);+function w6(e) {return Tn("/healthz", { signal: e.controller.signal }).catch((e) => {if (En(e)) return null;throw e;});}-function E6(e, t) {+function T6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",@@ -79399,9 +79399,9 @@ function E6(e, t) {}async function pLe(e, t) {if (e === "/jav") {- let e = await T6(t);+ let e = await w6(t);return t.live ? {- tab: aU(w6().get("tab")),+ tab: rU(C6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -79412,51 +79412,51 @@ async function pLe(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && Ou({ configurationRequestedSection: "网络与访问" });- let t = w6().get("section") || gu || Lf(e);+ let t = C6().get("section") || gu || Lf(e);return t ? { section: t } : {};}if (e === "/review") {- let e = w6().get("category") || "", n = await T6(t);+ let e = C6().get("category") || "", n = await w6(t);return t.live ? {- category: MY(e) ? e : "",- queue: FY(w6().get("queue")),- ...E6(n, "/review")+ category: AY(e) ? e : "",+ queue: NY(C6().get("queue")),+ ...T6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = BZ("?" + w6().toString()), n = await T6(t);+ let e = zZ("?" + C6().toString()), n = await w6(t);if (!t.live) return null;- let r = Yj().value;+ let r = qj().value;return {...e,pageSize: Number(r.followPageSize) || 20,- layout: C6(),- ...E6(n, "/subscriptions")+ layout: S6(),+ ...T6(n, "/subscriptions")};}return {};}async function mLe(e, t, n) {- let r = Bp.navigation.seq, i = () => n.live && Bp.navigation.seq === r;- if (e === "/jav" && aU(w6().get("tab")) === "library") {- Bp.replace(Zve(window.location.search));+ let r = W.navigation.seq, i = () => n.live && W.navigation.seq === r;+ if (e === "/jav" && rU(C6().get("tab")) === "library") {+ W.replace(Qve(window.location.search));return;}- if (e === "/subscriptions" && w6().get("tab") === "wants") {- Vp("/jav?tab=wants", { replace: !0 });+ if (e === "/subscriptions" && C6().get("tab") === "wants") {+ W.replace("/jav?tab=wants");return;}- if (e === "/subscriptions" && w6().get("tab") === "source") {- Vp("/settings/subscriptions", { replace: !0 });+ if (e === "/subscriptions" && C6().get("tab") === "source") {+ W.replace("/settings/subscriptions");return;}let a = document.getElementById("stats");if (!a) return;- t.surfaceChanged("management", e), V2(a, z2(e, {- followLayout: C6(),- followSort: w6().get("sort") || "",- followDir: w6().get("dir") || ""- })), Tm(i, a, { pending: !0 }), e === "/taste" && (Ou({ state: {+ t.surfaceChanged("management", e), B2(a, R2(e, {+ followLayout: S6(),+ followSort: C6().get("sort") || "",+ followDir: C6().get("dir") || ""+ })), wm(i, a, { pending: !0 }), e === "/taste" && (Ou({ state: {...U,creator: "",studio: "",@@ -79480,17 +79480,14 @@ async function mLe(e, t, n) {if (s && (n.revision = xp(a)?.revision ?? 0), e.startsWith("/settings/") && s && Ou({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && Vp("/data-cleanup#libraryProcessing", {- replace: !0,- state: null- });- }) : Tm(i);+ i() && W.replace("/data-cleanup#libraryProcessing", null);+ }) : wm(i);}}-function D6({ path: e }) {- let t = lG();+function E6({ path: e }) {+ let t = sG();cf();- let n = qf(Bp.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);+ let n = qf(W.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);n || i.current && r.current !== null || (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;return /* @__PURE__ */ (0, I.jsx)(hLe, {@@ -79499,7 +79496,7 @@ function D6({ path: e }) {}, `${a} ${r.current ?? "covered"}`);}function hLe({ path: e, covered: t }) {- let n = (0, F.useContext)(uG), r = S6(), i = (0, F.useRef)(null);+ let n = (0, F.useContext)(cG), r = x6(), i = (0, F.useRef)(null);return (0, F.useEffect)(() => {e.startsWith("/settings/") && Op(document.getElementById("stats"), { section: Lf(e) });}, [e]), (0, F.useEffect)(() => {@@ -79518,35 +79515,35 @@ function hLe({ path: e, covered: t }) {}, []), null;}function gLe() {- let e = S6(), t = (0, F.useRef)(!1);+ let e = x6(), t = (0, F.useRef)(!1);return (0, F.useEffect)(() => {- if (!e || t.current || qf(Bp.navigation.location.pathname)) return;+ if (!e || t.current || qf(W.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && Vp("/data-cleanup/resource-sync", { replace: !0 });+ n && W.replace("/data-cleanup/resource-sync");}), () => {n = !1;};}, [e]), null;}// src/react/router/route-chunk.ts-var O6 = [], k6 = "peach.chunkReloadAt", _Le = 3e4;+var D6 = [], O6 = "peach.chunkReloadAt", _Le = 3e4;async function vLe() {try {- let e = Number(sessionStorage.getItem(k6) || 0);+ let e = Number(sessionStorage.getItem(O6) || 0);if (Date.now() - e < _Le || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(k6, String(Date.now())), location.reload();+ sessionStorage.setItem(O6, String(Date.now())), location.reload();} catch {}}-function A6(e) {+function k6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return O6.push(r), {+ return D6.push(r), {preload: () => r().catch(async (e) => {throw await vLe(), e;}),@@ -79559,7 +79556,7 @@ function A6(e) {function yLe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...O6], n = () => {+ let t = [...D6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -79568,31 +79565,31 @@ function yLe() {document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });}// src/react/router/managed-routes.tsx-async function j6(e, t) {+async function A6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var M6 = A6(() => import("./peach-app.jav-page-srtaKuxG.js")), N6 = A6(() => import("./peach-app.stats-page-Domc7MK7.js")), P6 = A6(() => import("./peach-app.taste-page-DBsNS6-3.js")), F6 = A6(() => import("./peach-app.review-page-BehssYU2.js")), I6 = A6(() => import("./peach-app.data-cleanup-page-D6k7185j.js")), L6 = A6(() => import("./peach-app.duplicates-page-BHkh7UmS.js")), R6 = A6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), z6 = A6(() => import("./peach-app.scraping-page-D7UjTqN_.js")), B6 = A6(async () => {+var j6 = k6(() => import("./peach-app.jav-page-srtaKuxG.js")), M6 = k6(() => import("./peach-app.stats-page-Domc7MK7.js")), N6 = k6(() => import("./peach-app.taste-page-DBsNS6-3.js")), P6 = k6(() => import("./peach-app.review-page-BehssYU2.js")), F6 = k6(() => import("./peach-app.data-cleanup-page-DuumPSgp.js")), I6 = k6(() => import("./peach-app.duplicates-page-BHkh7UmS.js")), L6 = k6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), R6 = k6(() => import("./peach-app.scraping-page-D7UjTqN_.js")), z6 = k6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-C5gjsAZP.js"), import("./peach-app.diagnostics-page-CGRTA2_Z.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), V6 = A6(() => import("./peach-app.activity-page-B1BhVjNb.js")), H6 = A6(() => import("./peach-app.follow-manage-page-CaCSA1uf.js")), U6 = A6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));+}), B6 = k6(() => import("./peach-app.activity-page-B1BhVjNb.js")), V6 = k6(() => import("./peach-app.follow-manage-page-CaCSA1uf.js")), H6 = k6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));function bLe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- K6(r) ? n(r) : t.openManage(e);+ G6(r) ? n(r) : t.openManage(e);}-var W6 = (e) => ({- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: e }),- prefetch: (t, n) => j6(B6, Promise.all([_je(n), ...e === "/settings/diagnostics" ? [Vke(n)] : []]).then(() => {})),+var U6 = (e) => ({+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: e }),+ prefetch: (t, n) => A6(z6, Promise.all([_je(n), ...e === "/settings/diagnostics" ? [Vke(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = B6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = z6.get();return /* @__PURE__ */ (0, I.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -79603,12 +79600,12 @@ var W6 = (e) => ({})});}-}), G6 = {+}), W6 = {...np.reduce((e, t) => (e[t.path] = {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: t.path }),- prefetch: (e, n) => j6(I6, uDe(t.key, n)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: t.path }),+ prefetch: (e, n) => A6(F6, uDe(t.key, n)),page: (e, n) => {- let { DataCleanupToolPage: r } = I6.get();+ let { DataCleanupToolPage: r } = F6.get();return /* @__PURE__ */ (0, I.jsx)(r, {tool: t.key,failure: n.failure,@@ -79617,10 +79614,10 @@ var W6 = (e) => ({}}, e), {}),"/jav": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/jav" }),- prefetch: (e, t) => j6(M6, sbe(e.tab, t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/jav" }),+ prefetch: (e, t) => A6(j6, cbe(e.tab, t)),page: (e, t) => {- let { JavPage: n } = M6.get();+ let { JavPage: n } = j6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,navigate: t.navigate,@@ -79629,10 +79626,10 @@ var W6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/stats" }),- prefetch: (e, t) => j6(N6, MFe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/stats" }),+ prefetch: (e, t) => A6(M6, MFe(t)),page: (e, t) => {- let { StatsPage: n } = N6.get();+ let { StatsPage: n } = M6.get();return /* @__PURE__ */ (0, I.jsx)(n, {tagLabel: Ul,onTag: t.openTag@@ -79640,10 +79637,10 @@ var W6 = (e) => ({}},"/taste": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/taste" }),- prefetch: (e, t) => j6(P6, bIe("all", t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/taste" }),+ prefetch: (e, t) => A6(N6, bIe("all", t)),page: (e, t, n) => {- let { TastePage: r } = P6.get();+ let { TastePage: r } = N6.get();return /* @__PURE__ */ (0, I.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -79653,10 +79650,10 @@ var W6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/review" }),- prefetch: (e, t) => j6(F6, $Te(t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/review" }),+ prefetch: (e, t) => A6(P6, eEe(t)),page: (e, t) => {- let { ReviewPage: n } = F6.get();+ let { ReviewPage: n } = P6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,route: t.routeReview,@@ -79668,10 +79665,10 @@ var W6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/data-cleanup" }),- prefetch: (e, t) => j6(I6, lDe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/data-cleanup" }),+ prefetch: (e, t) => A6(F6, lDe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = I6.get();+ let { DataCleanupPage: r } = F6.get();return /* @__PURE__ */ (0, I.jsx)(r, {navigate: n,failure: t.failure,@@ -79681,10 +79678,10 @@ var W6 = (e) => ({}},"/duplicates": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/duplicates" }),- prefetch: (e, t) => j6(L6, hTe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/duplicates" }),+ prefetch: (e, t) => A6(I6, gTe(t)),page: (e, t) => {- let { DuplicatesPage: n } = L6.get();+ let { DuplicatesPage: n } = I6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -79693,46 +79690,46 @@ var W6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/quality-goals" }),- prefetch: (e, t) => j6(R6, DTe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/quality-goals" }),+ prefetch: (e, t) => A6(L6, OTe(t)),page: (e, t) => {- let { QualityGoalsPage: n } = R6.get();+ let { QualityGoalsPage: n } = L6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,- javTitleHtml: LI,- javDisplayName: II,+ javTitleHtml: FI,+ javDisplayName: PI,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/sources" }),- prefetch: (e, t) => j6(z6, ije(t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/sources" }),+ prefetch: (e, t) => A6(R6, ije(t)),page: (e, t) => {- let { ScrapingPage: n } = z6.get();+ let { ScrapingPage: n } = R6.get();return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": W6("/settings/library"),- "/settings/subscriptions": W6("/settings/subscriptions"),- "/settings/downloads": W6("/settings/downloads"),- "/settings/network": W6("/settings/network"),- "/settings/maintenance": W6("/settings/maintenance"),- "/settings/diagnostics": W6("/settings/diagnostics"),+ "/settings/library": U6("/settings/library"),+ "/settings/subscriptions": U6("/settings/subscriptions"),+ "/settings/downloads": U6("/settings/downloads"),+ "/settings/network": U6("/settings/network"),+ "/settings/maintenance": U6("/settings/maintenance"),+ "/settings/diagnostics": U6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/tasks" }),- prefetch: (e, t) => j6(V6, Ape(t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/tasks" }),+ prefetch: (e, t) => A6(B6, jpe(t)),page: () => {- let { ActivityPage: e } = V6.get();+ let { ActivityPage: e } = B6.get();return /* @__PURE__ */ (0, I.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/subscriptions" }),- prefetch: (e, t) => j6(H6, zi(t)),+ element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/subscriptions" }),+ prefetch: (e, t) => A6(V6, zi(t)),page: (e, t) => {- let { FollowManagePage: n } = H6.get();+ let { FollowManagePage: n } = V6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,route: t.routeFollowManage,@@ -79742,12 +79739,12 @@ var W6 = (e) => ({});}}-}, K6 = (e) => Object.hasOwn(G6, e), xLe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(gLe, {}) } }, SLe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(dLe, {}) } }, q6 = {+}, G6 = (e) => Object.hasOwn(W6, e), xLe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(gLe, {}) } }, SLe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(dLe, {}) } }, K6 = {"/playlists": {element: /* @__PURE__ */ (0, I.jsx)(cLe, {}),- prefetch: (e, t) => j6(U6, HAe(t)),+ prefetch: (e, t) => A6(H6, HAe(t)),page: (e, t) => {- let { PlaylistsPage: n } = U6.get();+ let { PlaylistsPage: n } = H6.get();return /* @__PURE__ */ (0, I.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -79762,7 +79759,7 @@ var W6 = (e) => ({prefetch: (e, t) => sa(e, t),page: (e) => /* @__PURE__ */ (0, I.jsx)(vOe, { ...e })}-}, J6 = (e) => Object.hasOwn(q6, e), Y6 = {+}, q6 = (e) => Object.hasOwn(K6, e), J6 = {element: /* @__PURE__ */ (0, I.jsx)(ZIe, {}),prefetch: (e, t) => jDe(e, t),page: (e, t) => /* @__PURE__ */ (0, I.jsx)(eAe, {@@ -79778,68 +79775,68 @@ var W6 = (e) => ({openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})+}, Y6 = {+ "/performers": J6,+ "/creators": J6,+ "/studios": J6,+ "/agencies": J6,+ "/tags": J6,+ "/series": J6}, X6 = {- "/performers": Y6,- "/creators": Y6,- "/studios": Y6,- "/agencies": Y6,- "/tags": Y6,- "/series": Y6-}, Z6 = {element: /* @__PURE__ */ (0, I.jsx)(nLe, {}),prefetch: (e) => yDe(e),page: (e) => /* @__PURE__ */ (0, I.jsx)(Ike, { ...e })+}, Z6 = {+ "/performers/*": X6,+ "/studios/*": X6,+ "/creators/*": X6,+ "/series/*": X6,+ "/agencies/*": X6,+ "/tags/*": X6}, Q6 = {- "/performers/*": Z6,- "/studios/*": Z6,- "/creators/*": Z6,- "/series/*": Z6,- "/agencies/*": Z6,- "/tags/*": Z6-}, $6 = {"/": {- element: /* @__PURE__ */ (0, I.jsx)(aG, {}),- prefetch: (e, t) => nde(e, yG(), t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(fY, { ...e })+ element: /* @__PURE__ */ (0, I.jsx)(rG, {}),+ prefetch: (e, t) => rde(e, _G(), t),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(uY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, I.jsx)(aG, {}),+ element: /* @__PURE__ */ (0, I.jsx)(rG, {}),prefetch: async () => {},page: (e) => /* @__PURE__ */ (0, I.jsx)(pAe, { ...e })}-}, e8 = (e) => Object.hasOwn($6, e), CLe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(Vve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(T$, { ...e }), t8 = {+}, $6 = (e) => Object.hasOwn(Q6, e), CLe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(Hve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(w$, { ...e }), e8 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(_xe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(vxe, { ...e })},"feed-new": {prefetch: (e) => hDe(e),page: (e) => /* @__PURE__ */ (0, I.jsx)(Hke, { ...e })},"library-processing": {- prefetch: (e, t) => nH(t),+ prefetch: (e, t) => eH(t),page: (e) => /* @__PURE__ */ (0, I.jsx)(CLe, { ...e })},search: {prefetch: async () => {},page: (e) => /* @__PURE__ */ (0, I.jsx)(fje, { ...e })}-}, n8 = (e) => Object.hasOwn(t8, e), r8 = {+}, t8 = (e) => Object.hasOwn(e8, e), n8 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(wle, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(Tle, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(oue, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(sue, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(lpe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(upe, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(afe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(ofe, {})},"settings-panel": {prefetch: async () => {},@@ -79853,7 +79850,7 @@ var W6 = (e) => ({prefetch: async () => {},page: () => /* @__PURE__ */ (0, I.jsx)(AFe, {})}-}, i8 = (e) => Object.hasOwn(r8, e), a8 = [+}, r8 = (e) => Object.hasOwn(n8, e), i8 = ["/","/wall","/unseen",@@ -79863,99 +79860,99 @@ var W6 = (e) => ({"/junk-files"];[- ...Object.keys(G6),- ...Object.keys(q6),- ...Object.keys(X6),- ...Object.keys(Q6),- ...a8+ ...Object.keys(W6),+ ...Object.keys(K6),+ ...Object.keys(Y6),+ ...Object.keys(Z6),+ ...i8];-var o8 = (e) => K6(e) || J6(e) || Object.hasOwn(X6, e) || Object.hasOwn(Q6, e) || e8(e) || n8(e) || i8(e);-function s8(e) {- return K6(e) ? G6[e] : J6(e) ? q6[e] : e8(e) ? $6[e] : n8(e) ? t8[e] : i8(e) ? r8[e] : Object.hasOwn(X6, e) ? X6[e] : Q6[e];+var a8 = (e) => G6(e) || q6(e) || Object.hasOwn(Y6, e) || Object.hasOwn(Z6, e) || $6(e) || t8(e) || r8(e);+function o8(e) {+ return G6(e) ? W6[e] : q6(e) ? K6[e] : $6(e) ? Q6[e] : t8(e) ? e8[e] : r8(e) ? n8[e] : Object.hasOwn(Y6, e) ? Y6[e] : Z6[e];}function wLe(e, t, n) {- return o8(e) ? s8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+ return a8(e) ? o8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}function TLe(e, t, n, r) {- return s8(e).page(t, n, r);+ return o8(e).page(t, n, r);}// src/react/application-residents.ts-var c8 = null, l8 = null, u8 = 0, d8 = /* @__PURE__ */ new Set();+var s8 = null, c8 = null, l8 = 0, u8 = /* @__PURE__ */ new Set();function ELe(e) {- return c8 = e, l8 && e(l8), () => {- c8 === e && (c8 = null);+ return s8 = e, c8 && e(c8), () => {+ s8 === e && (s8 = null);};}function DLe(e) {- return c8 && (l8 = e, c8(e), bp(Promise.resolve(wLe)), yLe()), Promise.resolve();+ return s8 && (c8 = e, s8(e), bp(Promise.resolve(wLe)), yLe()), Promise.resolve();}-async function f8(e, t, n = (e) => e) {- let r = u8;- if (t.isConnected || d8.add(t), !await Ep(e, {}, {+async function d8(e, t, n = (e) => e) {+ let r = l8;+ if (t.isConnected || u8.add(t), !await Ep(e, {}, {container: t,resident: !0,- isCurrent: () => !!c8 && r === u8,+ isCurrent: () => !!s8 && r === l8,place: () => n(t)- }) || r !== u8 || !c8) throw new DOMException("应用已卸载", "AbortError");+ }) || r !== l8 || !s8) throw new DOMException("应用已卸载", "AbortError");}function OLe() {- u8 += 1, c8 = null, l8 = null, p8 = null, m8 = null, _8 = null, v8 = null, b8 = null, x8 = null, C8 = null, w8 = null, E8 = null, D8 = null, k8 = null, A8 = null, M8 = null;- for (let e of d8) e.remove();- d8.clear(), GU();+ l8 += 1, s8 = null, c8 = null, f8 = null, p8 = null, g8 = null, _8 = null, y8 = null, b8 = null, S8 = null, C8 = null, T8 = null, E8 = null, O8 = null, k8 = null, j8 = null;+ for (let e of u8) e.remove();+ u8.clear(), UU();}-var p8 = null, m8 = null;-function h8(e) {- return p8 ??= (async () => {+var f8 = null, p8 = null;+function m8(e) {+ return f8 ??= (async () => {let t = kFe(e), n = document.createElement("div");- return n.dataset.stageHost = "", await f8("stage", n, (e) => (document.body.append(e), e)), m8 = t, t;- })(), p8;+ return n.dataset.stageHost = "", await d8("stage", n, (e) => (document.body.append(e), e)), p8 = t, t;+ })(), f8;}-var g8 = () => m8, _8 = null, v8 = null;+var h8 = () => p8, g8 = null, _8 = null;function kLe(e) {- return _8 ??= (async () => {- let t = ife(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await f8("immerse", n, (e) => (document.body.append(e), e)), v8 = t, t;- })(), _8;+ return g8 ??= (async () => {+ let t = afe(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await d8("immerse", n, (e) => (document.body.append(e), e)), _8 = t, t;+ })(), g8;}-var y8 = () => v8, b8 = null, x8 = null;+var v8 = () => _8, y8 = null, b8 = null;function ALe(e) {- return b8 ??= (async () => {+ return y8 ??= (async () => {let t = Kje(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await f8("settings-panel", n, (e) => (document.body.append(e), e)), x8 = t, t;- })(), b8;+ return n.dataset.settingsHost = "", await d8("settings-panel", n, (e) => (document.body.append(e), e)), b8 = t, t;+ })(), y8;}-var S8 = () => x8, C8 = null, w8 = null;+var x8 = () => b8, S8 = null, C8 = null;function jLe(e) {- return C8 ??= (async () => {+ return S8 ??= (async () => {let t = cMe(e);- return await f8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), w8 = t, t;- })(), C8;+ return await d8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), C8 = t, t;+ })(), S8;}-var T8 = () => w8, E8 = null, D8 = null;+var w8 = () => C8, T8 = null, E8 = null;function MLe(e) {- return E8 ??= (async () => {- let t = cpe(e);- return await f8("manage-header", e.root, (e) => (e.replaceChildren(), e)), D8 = t, t;- })(), E8;+ return T8 ??= (async () => {+ let t = lpe(e);+ return await d8("manage-header", e.root, (e) => (e.replaceChildren(), e)), E8 = t, t;+ })(), T8;}-var O8 = () => D8, k8 = null, A8 = null;+var D8 = () => E8, O8 = null, k8 = null;function NLe(e) {- return k8 ??= (async () => {- let t = Cle(e);- return await f8("batch-dock", e.root), A8 = t, t;- })(), k8;+ return O8 ??= (async () => {+ let t = wle(e);+ return await d8("batch-dock", e.root), k8 = t, t;+ })(), O8;}-var j8 = () => A8, M8 = null;+var A8 = () => k8, j8 = null;function PLe(e) {- return M8 ??= (async () => {- aue(e), await f8("glow-picker", e.root);- })(), M8;+ return j8 ??= (async () => {+ oue(e), await d8("glow-picker", e.root);+ })(), j8;}-function N8(e, t, n, r) {- KU(e, t), qU(n, r);+function M8(e, t, n, r) {+ WU(e, t), GU(n, r);}// src/application/receipts.js-var P8 = {+var N8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -79965,12 +79962,12 @@ var P8 = {seededSample: void 0};function FLe() {- KU(L("#toasts"), {+ WU(L("#toasts"), {success: R("check"),error: R("circle-alert")- }), P8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), P8.toastSeq = 0, P8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++P8.toastSeq}`, o = (e, t, n, r) => {- $o(i || (t ? "error" : "success")), N8(L("#toasts"), {+ }), N8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), N8.toastSeq = 0, N8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++N8.toastSeq}`, o = (e, t, n, r) => {+ $o(i || (t ? "error" : "success")), M8(L("#toasts"), {success: R("check"),error: R("circle-alert")}, a, {@@ -79985,10 +79982,10 @@ function FLe() {} : null});};- return o(P8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(P8.toastBody(e), t, n, null) };- }, P8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ return o(N8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(N8.toastBody(e), t, n, null) };+ }, N8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = P8.toast({ text: e }, {+ return r = N8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -80001,7 +79998,7 @@ function FLe() {}} : null}), r;- }, P8.actionFailure = (e, t) => P8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), P8.rollSeed = () => ir(), P8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, N8.actionFailure = (e, t) => N8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), N8.rollSeed = () => ir(), N8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => rr(n, r(e)) - rr(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));@@ -80029,8 +80026,8 @@ var ILe = ["folder","folder_recursive"];-function F8(e, t, n, r = n.defaultSort) {- return Aj(e, t, n.defaultSort, n.defaultSortDirection, r);+function P8(e, t, n, r = n.defaultSort) {+ return Oj(e, t, n.defaultSort, n.defaultSortDirection, r);}function LLe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = jn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;@@ -80048,7 +80045,7 @@ function LLe(e, t, n) {region: o("region") || "",year: o("year") || "",state: kn[r] || o("state") || "",- ...F8(o("sort"), o("dir"), t),+ ...P8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -80065,7 +80062,7 @@ function zLe(e) {let t = On[e.state ?? ""] || "/", n = new URLSearchParams();for (let t of ILe) {let r = e[t];- !r || t === "tag_match" && r === "all" || t === "dir" && r === Dj(e.sort ?? "") || n.set(t, r);+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Tj(e.sort ?? "") || n.set(t, r);}return !On[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}@@ -80085,7 +80082,7 @@ function BLe(e, t, n) {year: "",state: "",sort: t.defaultSort,- dir: kj(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Dj(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -80095,7 +80092,7 @@ function BLe(e, t, n) {folder_recursive: ""};}-function I8(e) {+function F8(e) {return {state: e,barsContext: {@@ -80151,21 +80148,21 @@ var VLe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, L8 = Infinity, R8 = 0, HLe = (e, t = R8) => [+}, I8 = Infinity, L8 = 0, HLe = (e, t = L8) => ["facets",e,t-], ULe = (e, t, n = R8) => [+], ULe = (e, t, n = L8) => ["tops",e,t,n-], WLe = (e, t = R8) => [+], WLe = (e, t = L8) => ["tops",e,t];-async function z8(e) {+async function R8(e) {let t = String(e), n = await Tn(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Tn(`/api/tops?${r}`));}@@ -80173,22 +80170,22 @@ function GLe(e, t) {return Promise.all([H.fetchQuery({queryKey: HLe(e),queryFn: () => Tn(`/api/facets${e ? `?${e}` : ""}`),- staleTime: L8+ staleTime: I8}), H.fetchQuery({queryKey: ULe(t, e),- queryFn: () => z8(t),- staleTime: L8+ queryFn: () => R8(t),+ staleTime: I8})]);}function KLe(e) {return H.fetchQuery({queryKey: WLe(e),- queryFn: () => z8(e),- staleTime: L8+ queryFn: () => R8(e),+ staleTime: I8});}-function B8() {- R8 += 1;+function z8() {+ L8 += 1;let e = (e) => e.state.fetchStatus === "idle";H.removeQueries({queryKey: ["facets"],@@ -80199,7 +80196,7 @@ function B8() {});}// src/application/navigation-items.ts-var V8 = [+var B8 = [["","首页",@@ -80250,7 +80247,7 @@ var V8 = ["管理","wrench"]-], H8 = [+], V8 = [["stats","统计",@@ -80296,18 +80293,18 @@ var V8 = ["Peach 配置","folder-cog"]-], U8 = [+], H8 = ["stats","taste","cleanup","follow","activity","configuration"-], qLe = (e) => H8.filter(([t]) => U8.includes(t) && (t !== "configuration" || e)), W8 = H8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], qLe = (e) => V8.filter(([t]) => H8.includes(t) && (t !== "configuration" || e)), U8 = V8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), JLe = [...V8, ...W8], YLe = {+]]), JLe = [...B8, ...U8], YLe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -80315,18 +80312,27 @@ var V8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, G8 = [+}, W8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]];+// src/history/page-title.ts+function XLe(e, t) {+ let n = /^\/works\/([A-Za-z0-9_-]{2,64})$/.exec(e);+ return n ? n[1].toUpperCase() : !t || e !== `/assets/${t.id}` ? "" : [+ t.display_code,+ t.code,+ t.name+ ].map((e) => String(e || "").trim()).find(Boolean) || "";+}// src/react/index/index-controller.ts-function K8({ kind: e, q: t, scope: n, view: r, category: i }) {+function G8({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function q8(e, t, n) {+function K8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: vo(e.k, r ? {@@ -80339,20 +80345,20 @@ function q8(e, t, n) {face: bo(e.avatar_focus)};}-function J8(e) {+function q8(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Ha({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${z(n)}</span>${r}`;}-function XLe(e) {+function ZLe(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Aa(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(K8(t), n);+ e.route(G8(t), n);},- personAvatar: q8,- authorAvatar: J8,+ personAvatar: K8,+ authorAvatar: q8,openFollowAuthor(n) {t(ja(e.followView(), n));},@@ -80362,7 +80368,7 @@ function XLe(e) {};}// src/application/effects.ts-var Y8 = class {+var J8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -80443,12 +80449,12 @@ var Y8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, X8 = new Y8();-function ZLe() {- return X8.dispose(), X8 = new Y8(), X8;+}, Y8 = new J8();+function QLe() {+ return Y8.dispose(), Y8 = new J8(), Y8;}// src/application/source-action.ts-function QLe(e) {+function $Le(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -80463,36 +80469,36 @@ function QLe(e) {};}// src/react/entity-page/entity-route.ts-var Z8 = () => Object.fromEntries(zX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function Q8(e, t) {- let n = new URLSearchParams(e), r = Z8();- for (let e of zX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var X8 = () => Object.fromEntries(RX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function Z8(e, t) {+ let n = new URLSearchParams(e), r = X8();+ for (let e of RX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...Aj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Oj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function $8(e) {+function Q8(e) {let t = new URLSearchParams();- for (let n of zX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Dj(e.sort || "") || t.set(n, e[n]);+ for (let n of RX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Tj(e.sort || "") || t.set(n, e[n]);return t.toString();}-function e5(e) {+function $8(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function t5(e, t) {- let n = new URLSearchParams($8(e));+function e5(e, t) {+ let n = new URLSearchParams(Q8(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 $Le(e, t, n, r) {- let i = t5(n, r);+function eRe(e, t, n, r) {+ let i = e5(n, r);return Pn(e, t) + (i ? `?${i}` : "");}-function eRe() {+function tRe() {let e = "";return {fresh(t, n) {@@ -80501,22 +80507,22 @@ function eRe() {read(t, n, r, i) {let a = e === Pn(t, n) && !r;e = "";- let o = a ? Z8() : { ...Q8(r, i) };+ let o = a ? X8() : { ...Z8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : e5(r)+ } : $8(r)};}};}// src/react/entity-page/photo-surface.ts-function tRe(e, t) {+function nRe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function nRe(e) {+function rRe(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);@@ -80538,12 +80544,12 @@ function nRe(e) {};}// src/react/entity-page/entity-controller.ts-function rRe(e, t, n) {+function iRe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route($Le(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(eRe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -80557,7 +80563,7 @@ function rRe(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : Z8();+ return n?.kind === t && n.name === a ? n.filters : X8();}, l = {...n,route: (e, n) => {@@ -80570,7 +80576,7 @@ function rRe(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = Oj(e, n.sort || "new", n.dir || "");+ let n = c(), i = Ej(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -80621,7 +80627,7 @@ function rRe(e, t, n) {};}// src/react/entity-page/entity-loading.ts-function iRe(e) {+function aRe(e) {return async (t, n, r) => {e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {r() && e.syncParts(t, n);@@ -80631,7 +80637,7 @@ function iRe(e) {};}// src/react/entity-page/entity-portrait.ts-function aRe(e, t) {+function oRe(e, t) {let n = e === "studio" || e === "agency", r = t.id ? _o({kind: e,id: t.id,@@ -80653,11 +80659,11 @@ function aRe(e, t) {return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Ha({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}// src/react/entity-page/entity-application.ts-function oRe(e) {- let t = eRe(), n = {+function sRe(e) {+ let t = tRe(), n = {...e.helpers,- portraitImg: aRe- }, r = rRe(e.controller, n, e.actions);+ portraitImg: oRe+ }, r = iRe(e.controller, n, e.actions);return {...r,helpers: n,@@ -80666,12 +80672,12 @@ function oRe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: iRe(e.loading),- photos: nRe(e.photos)+ loading: aRe(e.loading),+ photos: rRe(e.photos)};}// src/card-art/feed-identity.ts-function sRe(e) {+function cRe(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : vo(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${z(Pn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;@@ -80679,7 +80685,7 @@ function sRe(e) {return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;}// src/application/feed.js-var n5 = {+var t5 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -80695,56 +80701,56 @@ var n5 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function r5(e) {+function n5(e) {return e.has_cover ? Co(e, "big") : !e.cover_url || !e.code ? Pl(e) : Co(e, "big").replace(/ src="[^"]*"/, ` src="${z(po(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function cRe(e) {- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = r5(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? LI({+function lRe(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = n5(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? FI({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${iM}">${n}+ ${a}<div class="pic" style="--card-ratio:${nM}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>- <div class="meta">${sRe(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${cRe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function lRe() {+function uRe() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- n5.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Un(e)}`, t.parts]));+ t5.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Un(e)}`, t.parts]));} catch {}}-async function i5() {- let e = X8, t = await Tn("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (n5.entityShapesComplete = !0, n5.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && o5(t.home.feed), u5(location.pathname) && s5(L("#feedNew"))), n5.entityShapes;+async function r5() {+ let e = Y8, t = await Tn("/api/entity/shapes", { signal: e.signal }).catch(() => null);+ return e.isActive && t && !t.error && (t5.entityShapesComplete = !0, t5.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && a5(t.home.feed), l5(location.pathname) && o5(L("#feedNew"))), t5.entityShapes;}-var a5 = "peach.home-feed.v1";-function o5(e) {+var i5 = "peach.home-feed.v1";+function a5(e) {X.homeHasFeed = e;try {- localStorage.setItem(a5, e ? "1" : "0");+ localStorage.setItem(i5, e ? "1" : "0");} catch {}}-function uRe() {+function dRe() {try {- let e = localStorage.getItem(a5);+ let e = localStorage.getItem(i5);return e === "1" || e !== "0" && null;} catch {return null;}}-function s5(e) {- !e || Sp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n5.feedNewSkeletonHtml())));+function o5(e) {+ !e || Sp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = t5.feedNewSkeletonHtml())));}-function dRe(e, t) {+function fRe(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Bs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -80752,55 +80758,55 @@ function dRe(e, t) {actionHref: "/sources"});}-function c5(e, t = "") {- let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${iM}"><span>查看全部新作</span>${R("chevron-right")}</a>` : "";- return dRe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(cRe).join("")}${r}</div>`;+function s5(e, t = "") {+ let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${nM}"><span>查看全部新作</span>${R("chevron-right")}</a>` : "";+ return fRe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(lRe).join("")}${r}</div>`;}-function l5(e) {+function c5(e) {e && (p9(e), Z.appSettings.feedAutoScroll && Hc(e));}-function u5(e) {+function l5(e) {return jn(e) && e !== "/junk-files";}-function fRe() {+function pRe() {let e = L("#feedNew");- Sp(e) ? e.hidden = X.homeHasFeed !== !0 : (s5(e), Ep("feed-new", {+ Sp(e) ? e.hidden = X.homeHasFeed !== !0 : (o5(e), Ep("feed-new", {host: e,- revision: n5.feedRevision,- helpers: n5.feedNewHelpers,- actions: n5.feedNewActions+ revision: t5.feedRevision,+ helpers: t5.feedNewHelpers,+ actions: t5.feedNewActions}, {container: e,- isCurrent: () => u5(location.pathname)+ isCurrent: () => l5(location.pathname)}));}-function d5() {+function u5() {let e = L("#feedNew");e.querySelectorAll(".feednewrow").forEach(Uc), e.hidden = !0;}-function f5() {- n5.feedRevision += 1, Op(L("#feedNew"), { revision: n5.feedRevision }), h5({ feedRevision: n5.feedRevision });+function d5() {+ t5.feedRevision += 1, Op(L("#feedNew"), { revision: t5.feedRevision }), h5({ feedRevision: t5.feedRevision });}-function pRe() {+function mRe() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Hc(e) : Uc(e));}-var p5 = 0;-function mRe([e]) {- let t = e.contentRect.width >= n5.HERO_WIDE_PX;- cancelAnimationFrame(p5), p5 = requestAnimationFrame(() => {- p5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+var f5 = 0;+function hRe([e]) {+ let t = e.contentRect.width >= t5.HERO_WIDE_PX;+ cancelAnimationFrame(f5), f5 = requestAnimationFrame(() => {+ f5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function hRe() {- n5.FEED_SKELETON_CARDS = 8, n5.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${iM}"></div>+function gRe() {+ t5.FEED_SKELETON_CARDS = 8, t5.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${nM}"></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(n5.FEED_SKELETON_CARDS)}</div>`, n5.entityShapes = null, n5.entityShapesComplete = !1, n5.hasEntityShape = (e, t) => n5.entityShapesComplete || !!n5.entityShapes?.has(`${e}/${Un(t)}`), n5.hasEntityPart = (e, t, n) => !!t && !!n5.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), n5.feedNewSkeletonSection = () => `<section class="feednew">${n5.feedNewSkeletonHtml()}</section>`, n5.COSTAR_SKELETON_PEOPLE = 12, n5.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(n5.COSTAR_SKELETON_PEOPLE)}</div></div>`, n5.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, n5.feedRevision = 0, n5.feedNewHelpers = {- feedRowHtml: c5,- wireFeedRow: (e) => l5(e)- }, n5.feedNewActions = { settled: (e) => o5(e) }, n5.HERO_WIDE_PX = 900, X8.resize(mRe).observe(L("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(t5.FEED_SKELETON_CARDS)}</div>`, t5.entityShapes = null, t5.entityShapesComplete = !1, t5.hasEntityShape = (e, t) => t5.entityShapesComplete || !!t5.entityShapes?.has(`${e}/${Un(t)}`), t5.hasEntityPart = (e, t, n) => !!t && !!t5.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), t5.feedNewSkeletonSection = () => `<section class="feednew">${t5.feedNewSkeletonHtml()}</section>`, t5.COSTAR_SKELETON_PEOPLE = 12, t5.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(t5.COSTAR_SKELETON_PEOPLE)}</div></div>`, t5.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, t5.feedRevision = 0, t5.feedNewHelpers = {+ feedRowHtml: s5,+ wireFeedRow: (e) => c5(e)+ }, t5.feedNewActions = { settled: (e) => a5(e) }, t5.HERO_WIDE_PX = 900, Y8.resize(hRe).observe(L("#index"));}// src/entity-skeleton.ts-function gRe(e, t, n, r = "") {+function _Re(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">@@ -80814,7 +80820,7 @@ function gRe(e, t, n, r = "") {<div class="entitysection">${o}</div></div></section>`;}// src/application/entity.js-var Y = {+var p5 = {ENTITY_FILTER_KEYS: void 0,emptyEntityFilters: void 0,parseEntityFilters: void 0,@@ -80844,7 +80850,7 @@ function m5() {return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}function h5(e) {- Y.entityPageCurrent() && Op(L("#index"), e);+ p5.entityPageCurrent() && Op(L("#index"), e);}function g5() {if (eu.type === "item") return eu;@@ -80861,24 +80867,24 @@ function g5() {return eu;}function _5(e, t, n = m7()) {- return lze(n).map(([n, r]) => {- let i = e === n, a = Oj(n, e, t);+ return uze(n).map(([n, r]) => {+ let i = e === n, a = Ej(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Ej(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Ej(a.sort, a.dir) : ""}排序` : ""+ dir: i && wj(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? wj(a.sort, a.dir) : ""}排序` : ""};});}-function v5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {- return Y.application.route(e, t, n, r, i);+function v5(e, t, n, r = p5.EMPTY_ENTITY_MEDIA, i = {}) {+ return p5.application.route(e, t, n, r, i);}function y5() {- return tRe({- entityWall: Y.entityPageWall,- entityCurrent: Y.entityPageCurrent(),+ return nRe({+ entityWall: p5.entityPageWall,+ entityCurrent: p5.entityPageCurrent(),indexVisible: !L("#index").hidden,pathname: location.pathname,followMedia: $.followMediaView,@@ -80886,27 +80892,27 @@ function y5() {}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}function b5() {- Y.photos.sync();+ p5.photos.sync();}function x5() {- y5() ? Qle(uM()) : CM();+ y5() ? $le(cM()) : xM();}-function _Re(e) {- Y.photos.setSize(e);+function vRe(e) {+ p5.photos.setSize(e);}-var S5 = QLe({+var S5 = $Le({request: (e) => Tn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => P8.toast({ text: "已在资源管理器中显示" }),- failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))+ success: () => N8.toast({ text: "已在资源管理器中显示" }),+ failureText: (e) => p5.sourceHint(e instanceof Error ? e.message : String(e))});async function C5(e) {let t = { textContent: "" };return await S5(e, t), t.textContent;}-async function vRe(e) {+async function yRe(e) {let t = { textContent: "" }, n = [];return await w5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));@@ -80923,12 +80929,12 @@ async function w5(e, t, n) {body: JSON.stringify({ id: e })});if (r.ok === !1) {- t.textContent = Y.sourceHint(r.error);+ t.textContent = p5.sourceHint(r.error);return;}- if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {+ if (t.textContent = r.removed ? `${p5.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), P8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ n && n(r), N8.actionReceipt(p5.syncedText(r), { undo: e.length ? async () => {await Tn("/api/batch", {method: "POST",body: JSON.stringify({@@ -80940,22 +80946,22 @@ async function w5(e, t, n) {restored: e.length});} : null });- } else P8.actionReceipt("目录核对完成,无需改动");+ } else N8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), P8.actionFailure("核对目录", e);+ t.textContent = p5.sourceHint(e.message), N8.actionFailure("核对目录", e);}}-function yRe(e) {- return `<div class="srctools">${Y.sourceToolButtons(e)}+function bRe(e) {+ return `<div class="srctools">${p5.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function bRe(e, t) {+function xRe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && X8.handler(r, "onclick", () => S5(Number(r.dataset.reveal), n, { button: r })), i && X8.handler(i, "onclick", () => w5(Number(i.dataset.sync), n, t));+ r && Y8.handler(r, "onclick", () => S5(Number(r.dataset.reveal), n, { button: r })), i && Y8.handler(i, "onclick", () => w5(Number(i.dataset.sync), n, t));}-async function xRe(e, t) {+async function SRe(e, t) {let n = ll({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -80967,9 +80973,9 @@ async function xRe(e, t) {confirmDisabled: !0,onConfirm: () => t({ alias: r.value.trim() })}), r = n.dialog.querySelector("[name=alias]");- X8.handler(r, "oninput", () => {+ Y8.handler(r, "oninput", () => {n.confirmButton.disabled = !r.value.trim();- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => X8.handler(e, "onclick", async () => {+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => Y8.handler(e, "onclick", async () => {let r = e.dataset.aliasDrop;n.close();try {@@ -80978,31 +80984,31 @@ async function xRe(e, t) {remove: !0});} catch (e) {- P8.actionFailure("撤销别名", e);+ N8.actionFailure("撤销别名", e);return;}- P8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ N8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? P8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? N8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : P8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : N8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}function T5(e, t) {- let n = ["performer", "studio"].includes(e) && n5.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ds()}${e === "agency" ? "" : z0(_5(U.sort, U.dir, n), n ? {+ let n = ["performer", "studio"].includes(e) && t5.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ds()}${e === "agency" ? "" : R0(_5(U.sort, U.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: oM(),- options: tM- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${L0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${L0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${L0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = gRe(e, r, e === "agency" ? cc({+ value: iM(),+ options: $j+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${I0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${I0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${I0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = _Re(e, r, e === "agency" ? cc({kind: "performers",layout: V5.peopleIndexLayout()- }) : XJ("正在读取作品", mM(pM({+ }) : JJ("正在读取作品", fM(dM({active: n,home: !1,portrait: !1@@ -81015,17 +81021,17 @@ function E5(e, t) {let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && n5.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", n5.costarSkeletonFoot())), r(n.querySelector(".feednew"), n5.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", n5.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && n5.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", n5.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && t5.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", t5.costarSkeletonFoot())), r(n.querySelector(".feednew"), t5.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", t5.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && t5.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", t5.factsSkeleton()));}function D5(e) {- let t = Mn[e] || e, n = d6[t] || "条目", r = d6[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+ let t = Mn[e] || e, n = u6[t] || "条目", r = u6[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}function O5(e, t) {- O9(Y.application.fresh(e, t));+ O9(p5.application.fresh(e, t));}-function SRe() {- Y.ENTITY_FILTER_KEYS = [+function CRe() {+ p5.ENTITY_FILTER_KEYS = ["loc","creator","tag",@@ -81036,71 +81042,71 @@ function SRe() {"year","sort","dir"- ], Y.emptyEntityFilters = Z8, Y.parseEntityFilters = (e) => Q8(e, {+ ], p5.emptyEntityFilters = X8, p5.parseEntityFilters = (e) => Z8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = $8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), p5.entityFilterSearch = Q8, p5.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }- } : e, Y.activeFilterState = () => {+ } : e, p5.activeFilterState = () => {let e = g5();return e.type === "home" ? U : e.filters;}, L("#q").value = U.q, X.rememberSearchValue();}-function CRe() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!m5(), Y.entityPageLive = (e, t) => {+function wRe() {+ p5.entityPageView = "", p5.entityPageWall = !1, p5.entityPageRevision = 0, p5.entityPageCurrent = () => !!m5(), p5.entityPageLive = (e, t) => {let n = m5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;- }, Y.EMPTY_ENTITY_MEDIA = {+ }, p5.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = e5, Y.entityViewSearch = t5, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => r9(), Y.entityPageHelpers = {+ }, p5.parseMediaView = $8, p5.entityViewSearch = e5, p5.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, p5.entityBodySkeleton = () => r9(), p5.entityPageHelpers = {wireDrag: (e) => {e && p9(e);},wireScroller: (e) => {e && Mc(e);},- wireFeedRow: (e) => l5(e),- feedRowHtml: c5,- receipt: (e, t) => P8.actionReceipt(e, t),- failure: (e, t) => P8.actionFailure(e, t),- aliasForm: (e, t) => xRe(e, t),- sourceToolsHtml: (e) => yRe(e),- wireSourceTools: (e, t) => bRe(e, t),+ wireFeedRow: (e) => c5(e),+ feedRowHtml: s5,+ receipt: (e, t) => N8.actionReceipt(e, t),+ failure: (e, t) => N8.actionFailure(e, t),+ aliasForm: (e, t) => SRe(e, t),+ sourceToolsHtml: (e) => bRe(e),+ wireSourceTools: (e, t) => xRe(e, t),comboItems: (e) => K7(e),sortKeys: (e, t, n) => _5(e, t, n)- }, Y.entityFollowActions = {+ }, p5.entityFollowActions = {...$.followFeedActions,route: () => {},shuffle: () => {},loaded: () => {},toggleSelection: () => {}- }, Y.SOURCE_HINTS = {+ }, p5.SOURCE_HINTS = {"source offline": "媒体库无法访问,暂时无法核对文件;恢复连接后重试","source not mapped": "本机没有映射这个来源的盘符","file missing": "找不到源文件;点击右侧的扫描按钮,重新检查目录并更新数据库记录","unsupported platform": "当前服务端系统不支持直接定位文件","reveal failed": "打开文件管理器失败,请重试"- }, Y.sourceHint = (e) => Y.SOURCE_HINTS[e] || e, Y.syncedText = (e) => [+ }, p5.sourceHint = (e) => p5.SOURCE_HINTS[e] || e, p5.syncedText = (e) => [e.trashed ? `已把 ${e.trashed} 项移入回收站` : "",e.vanished ? `${e.vanished} 项带个人记录,已标为已消失` : "",e.reattached ? `${e.reattached} 项的记录已接到库里的另一个版本` : ""- ].filter(Boolean).join(","), Y.sourceToolButtons = (e) => `+ ].filter(Boolean).join(","), p5.sourceToolButtons = (e) => `<button type="button" data-reveal="${e}" title="在文件管理器里打开源文件所在目录"aria-label="定位源文件">${R("folder-open")}</button><button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function wRe() {- Y.application = oRe({+function TRe() {+ p5.application = sRe({controller: {context: () => {let e = g5();return e.type === "entity" ? e : null;},- live: (e, t) => Y.entityPageLive(e, t),- current: () => Y.entityPageCurrent(),+ live: (e, t) => p5.entityPageLive(e, t),+ current: () => p5.entityPageCurrent(),route: (e, t = !1) => Q.route(e, t),suffix: () => location.search + location.hash,restoreHomeContext: () => Ou({ barsContext: {@@ -81114,14 +81120,14 @@ function wRe() {jav: U.jav === "1"}),preferences: () => ({- revision: Y.entityPageRevision,- feedRevision: n5.feedRevision,- photoSize: uM(),- photoLayout: dM(),- photoLayouts: rM,+ revision: p5.entityPageRevision,+ feedRevision: t5.feedRevision,+ photoSize: cM(),+ photoLayout: lM(),+ photoLayouts: tM,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: oM(),- javLayouts: tM,+ javLayout: iM(),+ javLayouts: $j,states: X.VIEW_PILLS,peopleLayout: V5.peopleIndexLayout(),layout: n9(),@@ -81130,56 +81136,56 @@ function wRe() {seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,wireDrag: p9,- skeletonHtml: Y.entityBodySkeleton,- canLoadMore: Y.entityBodyCanLoadMore,+ skeletonHtml: p5.entityBodySkeleton,+ canLoadMore: p5.entityBodyCanLoadMore,follow: {helpers: $.followFeedHelpers,- actions: Y.entityFollowActions+ actions: p5.entityFollowActions}}),changeFilter: N7,- rollSeed: () => P8.rollSeed(),+ rollSeed: () => N8.rollSeed(),writeSeed: (e) => {U.seed = e, ku();},setJavLayout: _7,- javLayout: oM,- setPhotoLayout: gM,+ javLayout: iM,+ setPhotoLayout: mM,syncPhotoWalls: b5,openEntity: O5,photoViewActive: y5,recordPainted: (e, t) => {- Y.entityPageView = e, Y.entityPageWall = t;+ p5.entityPageView = e, p5.entityPageWall = t;},syncDensity: x5,scheduleSticky: w7,releasePage: () => kp(L("#index")),showMissing: D5,- dropBars: B8+ dropBars: z8},loading: {- shapesReady: (e, t) => n5.hasEntityShape(e, t),+ shapesReady: (e, t) => t5.hasEntityShape(e, t),waitShapes: J5,paintSkeleton: T5,resetView: () => {- Ou({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;+ Ou({ detailReturnBarsContext: null }), p5.entityPageView = "", p5.entityPageWall = !1;},- loadShapes: i5,+ loadShapes: r5,syncParts: E5},photos: {preferences: () => ({- size: uM(),- layout: dM(),+ size: cM(),+ layout: lM(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),pushEntity: h5,pushFollow: N9,syncDensity: x5,- storeSize: Xle+ storeSize: Zle},- helpers: Y.entityPageHelpers,+ helpers: p5.entityPageHelpers,actions: {toggleTag: G7,openFollowAuthor: W5,@@ -81189,11 +81195,11 @@ function wRe() {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection})- }), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;+ }), p5.photos = p5.application.photos, p5.entityPageHelpers = p5.application.helpers;}// src/application/playlists.jsvar k5 = { playlistWrite: void 0 };-function TRe(e, t) {+function ERe(e, t) {e === "tag" ? (Ou({ state: {...U,tag: t,@@ -81209,7 +81215,7 @@ function A5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function ERe({ title: e, count: t, save: n }) {+async function DRe({ title: e, count: t, save: n }) {let r = ll({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,@@ -81223,14 +81229,14 @@ async function ERe({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await y9(a.id, a.current_asset_id, !0), P8.actionReceipt("已保存为播放列表", { undo: async () => {+ i && (await y9(a.id, a.current_asset_id, !0), N8.actionReceipt("已保存为播放列表", { undo: async () => {await k5.playlistWrite({action: "delete",id: a.id}), O9("/playlists");} }));}-async function DRe(e) {+async function ORe(e) {let t = ((await Tn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${qs(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = ll({title: "加入播放列表",@@ -81258,11 +81264,11 @@ async function DRe(e) {let e = n.dialog.querySelector("[name=\"name\"]").value.trim();n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");};- X8.listen(n.dialog, "input", r), X8.listen(n.dialog, "change", r);+ Y8.listen(n.dialog, "input", r), Y8.listen(n.dialog, "change", r);let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- P8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ N8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {for (let t of a.added) await k5.playlistWrite({action: "remove",id: t,@@ -81279,7 +81285,7 @@ function j5() {let e = xp(L("#stats"));e?.path !== "/playlists" || !e.host.isConnected ? Ou({ pageOpens: yu + 1 }) : (Z5({ manage: !1 }), Ou({ playlistsRevision: Tu + 1 }));}-function ORe(e) {+function kRe(e) {let t = new URLSearchParams(location.search);for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);Q.route("/review" + (t.size ? "?" + t : ""));@@ -81287,7 +81293,7 @@ function ORe(e) {function M5(e) {Ou({ configurationRequestedSection: e }), Q.navigatePath(Vf(e));}-function kRe() {+function ARe() {k5.playlistWrite = (e) => Tn("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -81306,18 +81312,18 @@ function P5(e, t, n, r, i = !1) {};}function F5(e, t, n, r, i, a = !1) {- let o = n === "follow", s = kY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+ let o = n === "follow", s = DY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {...P5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function ARe(e, t, n, r) {+function jRe(e, t, n, r) {let i = N5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: NU(n).view === "dismissed"+ junkDismissed: jU(n).view === "dismissed"};}// src/application/selection.js@@ -81339,7 +81345,7 @@ function L5() {}), N9({selected: new Set(ru),selectMode: iu- }), I5.batchDockProps = BRe(), j8() && (j8().render(I5.batchDockProps), Z.syncGlassOptics());+ }), I5.batchDockProps = VRe(), A8() && (A8().render(I5.batchDockProps), Z.syncGlassOptics());}function R5(e, t = !1) {Ou(P5({@@ -81347,25 +81353,25 @@ function R5(e, t = !1) {followSelected: ru}, B5(), N5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", iu), iu && zl(), L("#selectMode").setAttribute("aria-pressed", String(iu)), L5();}-function jRe() {+function MRe() {return [...G5.gridCards()].map((e) => +e.dataset.id);}function z5(e, t = !1) {Ou(F5({selected: nu,followSelected: ru- }, B5(), N5(location.pathname), jRe(), e, t)), R5(!0);+ }, B5(), N5(location.pathname), MRe(), e, t)), R5(!0);}-function MRe() {+function NRe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function NRe(e, t = !1) {+function PRe(e, t = !1) {Ou(F5({selected: nu,followSelected: ru- }, B5(), "follow", MRe(), e, t)), R5(!0);+ }, B5(), "follow", NRe(), e, t)), R5(!0);}-async function PRe(e, t) {+async function FRe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -81399,7 +81405,7 @@ async function PRe(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"));R5(!1, !0), await y7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- P8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ N8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -81434,7 +81440,7 @@ async function PRe(e, t) {}});}-async function FRe() {+async function IRe() {let e = [...nu];if (!e.length) return;let t = ll({@@ -81460,13 +81466,13 @@ async function FRe() {};}});- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => X8.handler(e, "onclick", () => {+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => Y8.handler(e, "onclick", () => {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (R5(!1, !0), await y7(), P8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (R5(!1, !0), await y7(), N8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function IRe(e, t) {+async function LRe(e, t) {let n = [...ru];if (!n.length) return;let r = {@@ -81492,7 +81498,7 @@ async function IRe(e, t) {items: n,to: e})- }), R5(!1, !0), location.pathname === "/follow" && Ou({ pageOpens: yu + 1 }), P8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), R5(!1, !0), location.pathname === "/follow" && Ou({ pageOpens: yu + 1 }), N8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw Qc(t, !1), e;} finally {@@ -81501,7 +81507,7 @@ async function IRe(e, t) {}});}-async function LRe(e, t) {+async function RRe(e, t) {let n = [...nu];if (!n.length) return;let r = {@@ -81530,7 +81536,7 @@ async function LRe(e, t) {})}), R5(!1, !0), await J7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- P8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ N8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await Tn("/api/batch", {method: "POST",body: JSON.stringify({@@ -81547,7 +81553,7 @@ async function LRe(e, t) {}});}-function RRe() {+function zRe() {NLe({root: L("[data-batch-dock]"),run: (e, t, n) => {@@ -81557,12 +81563,12 @@ function RRe() {e.render(I5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function zRe() {+function BRe() {I5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, I5.trashCount = null, I5.currentSelectSurface = () => N5(location.pathname), X8.handler(L("#selectMode"), "onclick", () => R5(!iu, !!iu)), I5.REGION_CHOICES = [+ }, I5.trashCount = null, I5.currentSelectSurface = () => N5(location.pathname), Y8.handler(L("#selectMode"), "onclick", () => R5(!iu, !!iu)), I5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],@@ -81570,21 +81576,21 @@ function zRe() {["other", "其他"],["none", "撤回判定"]], I5.BATCH_RUNNERS = {- batch: PRe,- region: FRe,- follow: IRe,- junk: LRe,+ batch: FRe,+ region: IRe,+ follow: LRe,+ junk: RRe,clear: () => R5(!1, !0)- }, X8.handler(L("#density"), "onclick", () => {- y5() ? _Re(uM() === "big" ? "small" : "big") : Zle();- }), CM(), Ll({+ }, Y8.handler(L("#density"), "onclick", () => {+ y5() ? vRe(cM() === "big" ? "small" : "big") : Qle();+ }), xM(), Ll({selecting: () => iu,censored: () => l9(),delaySeconds: () => Z.appSettings.hoverDelaySeconds- }), X8.listen(window, "pagehide", () => zl()), X8.listen(document, "visibilitychange", () => {+ }), Y8.listen(window, "pagehide", () => zl()), Y8.listen(document, "visibilitychange", () => {document.hidden && zl();- }), Al(), I5.coverRecheck = 0, X8.listen(window, "resize", () => {- Dl(L("#index")), clearTimeout(I5.coverRecheck), I5.coverRecheck = X8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {+ }), Al(), I5.coverRecheck = 0, Y8.listen(window, "resize", () => {+ Dl(L("#index")), clearTimeout(I5.coverRecheck), I5.coverRecheck = Y8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && vl(e);}), 200);}, { passive: !0 });@@ -81597,8 +81603,8 @@ function B5() {followLastSelectedId: ou};}-function BRe() {- return ARe({+function VRe() {+ return jRe({selected: nu,followSelected: ru}, location.pathname, location.search, U.state);@@ -81608,31 +81614,31 @@ var V5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function VRe() {- return Z.appSettings.followLayout === "table" ? "table" : "default";-}function HRe() {- return BZ(location.search);+ return Z.appSettings.followLayout === "table" ? "table" : "default";}-function URe(e) {- return VZ(e);+function URe() {+ return zZ(location.search);}function WRe(e) {- Q.route(URe(e));+ return BZ(e);+}+function GRe(e) {+ Q.route(WRe(e));}-function GRe(e = "") {- return HZ(location.search, e);+function KRe(e = "") {+ return VZ(location.search, e);}-function KRe(e) {- return J8(e);+function qRe(e) {+ return q8(e);}function H5(e) {- return K8(e);+ return G8(e);}function U5() {L("#stats").hidden = !0, L("#index").hidden = !1, X7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function qRe(e, t) {+function JRe(e, t) {Ou({ state: {...U,state: "",@@ -81643,16 +81649,16 @@ function qRe(e, t) {function W5(e) {V5.controller.openFollowAuthor(e);}-function JRe(e) {+function YRe(e) {V5.controller.openFollowTag(e);}-function YRe() {- $.FOLLOW_MANAGE_TABS = zZ, X8.listen(document, "click", (e) => {+function XRe() {+ $.FOLLOW_MANAGE_TABS = RZ, Y8.listen(document, "click", (e) => {e.target.closest?.("[data-empty-settings]") && M5("媒体库与入库");- }), V5.peopleIndexLayout = () => f6(Z.appSettings.peopleLayout), V5.personAvatar = q8;+ }), V5.peopleIndexLayout = () => d6(Z.appSettings.peopleLayout), V5.personAvatar = K8;}-function XRe() {- V5.controller = XLe({+function ZRe() {+ V5.controller = ZLe({route: Q.route,followView: A9,adoptFollowView: j9,@@ -81678,12 +81684,12 @@ function K5(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 = Aye(NU(location.search)), hc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && F7({+ 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 = jye(jU(location.search)), hc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && F7({count: null,...R7()})), L("#loadSentinel").hidden = !0, $7()) return;let r = L("#grid"), i = r9(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== B2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== i9()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : G5.setGridCards(i), hc(L("#grid")));+ (a?.dataset.skeleton !== z2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== i9()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : G5.setGridCards(i), hc(L("#grid")));}function q5() {L("#catalogFilter").style.display = "none", P7();@@ -81692,38 +81698,38 @@ function J5() {let e = new Promise((e) => {let t = G5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();- t -= Math.min(i - n, 50), n = i, t > 0 ? X8.delay(r, Math.min(t, 50)) : e();+ t -= Math.min(i - n, 50), n = i, t > 0 ? Y8.delay(r, Math.min(t, 50)) : e();};- X8.delay(r, 50);+ Y8.delay(r, 50);});- return Promise.race([G5.entityShapesReady ||= i5(), e]);+ return Promise.race([G5.entityShapesReady ||= r5(), e]);}-function ZRe() {+function QRe() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), q5(), Sbe();+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), q5(), Cbe();else if (/^\/assets\/\d+$/.test(e)) q5();else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) q5();else if (e === "/junk-files") K5("正在读取垃圾文件");- else if (e === "/jav" && aU(new URLSearchParams(location.search).get("tab")) === "library") K5("正在读取馆藏");+ else if (e === "/jav" && rU(new URLSearchParams(location.search).get("tab")) === "library") K5("正在读取馆藏");else if (Q.managedPagePath(e)) {q5();let t = L("#stats");t.hidden = !1, X7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : G5.managementPlaceholder(e), hc(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) q5(), U5(), h6(L("#index"), p6(e.slice(1), location.search), V5.peopleIndexLayout());+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) q5(), U5(), m6(L("#index"), f6(e.slice(1), location.search), V5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {q5(), L("#index").hidden = !1, X7();let t = Nn[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (n5.hasEntityShape(t, n) ? Promise.resolve() : J5()).then(() => {+ (t5.hasEntityShape(t, n) ? Promise.resolve() : J5()).then(() => {L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (T5(t, n), hc(L("#index")));});} else Q.routeMeta(e) ? K5() : (X7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function QRe() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => R2(t, {+function $Re() {+ $.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: uM()+ gridSize: cM()}), $.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>@@ -81733,16 +81739,16 @@ function QRe() {<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Ws(Us), G5.setGridCards = (e) => oc(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), G5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), G5.managementPlaceholder = (e) => z2(e, {- followLayout: VRe(),+ }), G5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), G5.managementPlaceholder = (e) => R2(e, {+ followLayout: HRe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(HRe())+ }))(URe())}), G5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", G5.entityShapesReady = null, G5.ENTITY_SHAPES_WAIT = 400, G5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = sp(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Yze();+ let t = new URL(e, location.origin), n = decodeURIComponent(t.pathname), r = XLe(n, mu) || sp(n)?.title;+ document.title = r ? `${r} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Xze();};}// src/sidebar-skeleton.ts@@ -81753,7 +81759,7 @@ var Y5 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function $Re(e, t, n) {+function eze(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-${Y5(r)}"/></svg>`;@@ -81761,7 +81767,7 @@ function $Re(e, t, n) {}).join("")}</div>`;}// src/application/filter-scroll.js-function eze(e, t, n, r = !1) {+function tze(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -81802,15 +81808,15 @@ var X5 = {mobileFilterPath: void 0};function Z5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, X7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? s7() : (c7(""), w9()), t && V2(L("#stats"), t);+ L("#stats").hidden = !1, L("#index").hidden = !0, X7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? s7() : (c7(""), w9()), t && B2(L("#stats"), t);}function Q5() {L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), q5(), document.body.classList.remove("entity-open", "index-open");}function $5() {- L("#javLibraryHeader").hidden = !jn(location.pathname) || !m7(), document.body.classList.remove("entity-open", "index-open"), kp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, u5(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", P7(), s7(), l7();+ L("#javLibraryHeader").hidden = !jn(location.pathname) || !m7(), document.body.classList.remove("entity-open", "index-open"), kp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, l5(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", P7(), s7(), l7();}-function tze() {+function nze() {Q.route("/"), $5();}function e7({ tags: e = [], providers: t = [], duration: n = !1 }) {@@ -81838,7 +81844,7 @@ function e7({ tags: e = [], providers: t = [], duration: n = !1 }) {});}function t7(e) {- aBe({+ oBe({...A9(),...e}), C9({ filters: $.followSidebarFilters() });@@ -81853,30 +81859,30 @@ function r7(e) {function i7() {n7() && r7(!1);}-function nze() {+function rze() {_u === null && (Ou({ runtimeConfigurable: !1 }), Tn("/healthz").then((e) => {Ou({ runtimeConfigurable: !!e.configurable }), _u && o7() && s7();}).catch(() => {}));}function a7(e = "", t = !1) {if (!t && !zf(location.pathname)) {- let t = Bp.navigation;- Bp.push(Vf(e), { settingsBackground: {+ let t = W.navigation;+ W.push(Vf(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && Vp(Vf(e), {+ } else !t && e && Bp(Vf(e), {replace: !0,- state: Bp.navigation.location.state+ state: W.navigation.location.state});return e ||= Bf(location.pathname), ALe(X5.settingsHost()).then((t) => (t.open(e), t));}-function rze() {- zf(location.pathname) && (Hf(Bp.navigation.location.state) ? Bp.go(-1) : Q.navigatePath("/", !0));-}function ize() {+ zf(location.pathname) && (Hf(W.navigation.location.state) ? W.go(-1) : Q.navigatePath("/", !0));+}+function aze() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,@@ -81884,7 +81890,7 @@ function ize() {navOn: x7,navTo: S7,navToTop: () => {- i7(), wm();+ i7(), Cm();},toggleChip: (e, t, n) => N7((r) => {if (n) {@@ -81911,31 +81917,31 @@ function ize() {}};}-function aze() {+function oze() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = $Re(Z.appSettings.sidebarOrder, X5.NAV_CATALOG, x7), e.querySelector("[data-sidebar-head]").append(...t), X8.listen(e, "click", (e) => {- if (T8()) return;+ e.innerHTML = eze(Z.appSettings.sidebarOrder, X5.NAV_CATALOG, x7), e.querySelector("[data-sidebar-head]").append(...t), Y8.listen(e, "click", (e) => {+ if (w8()) return;let t = e.target.closest?.("[data-nav]");t && S7(t.dataset.nav);- }), jLe(ize()).then((e) => e.render(X5.sidebarProps)).catch(() => {});+ }), jLe(aze()).then((e) => e.render(X5.sidebarProps)).catch(() => {});}-async function oze() {- let e = X8, t = null;+async function sze() {+ let e = Y8, t = null;try {t = await Tn("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && Xj(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && Jj(t, (e) => Z.settingsEffects[e]?.());}function o7() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");}function s7() {let e = o7();- nze(), e && q5(), L("#count").classList.toggle("no-tagbar", !!e), w9(), e !== "trash" && (I5.trashCount = null), c7(e);+ rze(), e && q5(), L("#count").classList.toggle("no-tagbar", !!e), w9(), e !== "trash" && (I5.trashCount = null), c7(e);}-function sze(e) {+function cze(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -81946,19 +81952,19 @@ function sze(e) {}function c7(e = o7()) {l7();- let t = sze(e), n = O8();+ let t = cze(e), n = D8();if (n) n.render(t);else {- let e = lfe(t);+ let e = ufe(t);e !== X5.manageHeaderSkeleton && (X5.manageHeaderSkeleton = e, X5.manageHeaderRoot().innerHTML = e);}- let r = NF(t)?.title || "";+ let r = jF(t)?.title || "";r !== X5.lastManagePageLabel && (X5.lastManagePageLabel = r, r && rc(X5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function cze() {+function lze() {let e = X5.manageHeaderRoot();- X8.listen(e, "click", (e) => {- if (O8()) return;+ Y8.listen(e, "click", (e) => {+ if (D8()) return;let t = e.target.closest?.("[data-manage]");if (t) p7(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {@@ -82010,42 +82016,42 @@ function f7(e) {}function p7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", ku(), Q.route(PU()), $5(), w9(), U7());+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", ku(), Q.route(MU()), $5(), w9(), U7());}function m7() {let e = decodeURIComponent(location.pathname);return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || xu : !1;}-function lze(e = m7()) {- let t = xj.filter(([e]) => e !== "seed");- return e ? [Sj, ...t] : t;+function uze(e = m7()) {+ let t = yj.filter(([e]) => e !== "seed");+ return e ? [bj, ...t] : t;}function h7() {return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";}function g7() {- return sM(h7());+ return aM(h7());}-function uze(e) {- Jle(e), v7(), L("#grid").hidden || a9();+function dze(e) {+ Yle(e), v7(), L("#grid").hidden || a9();}function _7(e) {- hM(e), v7(), a9();+ pM(e), v7(), a9();}function v7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {e.checked = e.value === g7();}), X.catalogFilterProps && F7({ layout: L7() });}-function dze(e) {- Yle(e), v7(), a9();+function fze(e) {+ Xle(e), v7(), a9();}async function y7() {- B8(), X.mixRelatedCache.clear(), await Promise.all([b7(), U7()]);+ z8(), X.mixRelatedCache.clear(), await Promise.all([b7(), U7()]);}async function b7() {- if (Y.entityPageCurrent() && !L("#index").hidden) {- h5({ revision: ++Y.entityPageRevision });+ if (p5.entityPageCurrent() && !L("#index").hidden) {+ h5({ revision: ++p5.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);@@ -82066,7 +82072,7 @@ function x7(e) {return e === "jav" ? t === "/jav" || m7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !o7() && !U.state && !m7() && U.orient !== "竖屏" : On[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";}function S7(e) {- let t = vm(e);+ let t = _m(e);if (t === location.pathname + location.search + location.hash) return;if (i7(), t) {Q.navigatePath(t);@@ -82097,11 +82103,11 @@ function C7() {let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Nn, t[0]), r = jn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";L("#selectMode").hidden = !i, L("#density").hidden = !a, b5(), !i && iu && R5(!1, !0);}-function fze() {+function pze() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);(t !== X5.mobileFilterHost || location.pathname !== X5.mobileFilterPath) && (X5.mobileFilterScroll = null), X5.mobileFilterHost = t, X5.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- X5.mobileFilterScroll = eze(X5.mobileFilterScroll, n, innerWidth <= 760, r);+ X5.mobileFilterScroll = tze(X5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {let e = n === t && X5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;@@ -82115,54 +82121,54 @@ function fze() {});}}-function pze() {- fze(), [".board-filter-frame", "#count"].forEach((e) => {+function mze() {+ pze(), [".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 w7() {- X5.stickyFrame ||= X8.frame(() => {- X5.stickyFrame = 0, pze();+ X5.stickyFrame ||= Y8.frame(() => {+ X5.stickyFrame = 0, mze();});}-function mze() {+function hze() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), X8.handler(L("#filterBtn"), "onclick", () => r7(!L("#drawer").classList.contains("open"))), X5.SIDEBAR_ITEMS = V8, X5.MANAGE_SECTIONS = H8, X5.MANAGE_MENU_SECTIONS = U8, X5.manageMenuSections = () => qLe(_u === !0), X5.OPTIONAL_SIDEBAR_ITEMS = W8, X5.NAV_CATALOG = JLe, X5.DIRECT_MANAGE_NAV = YLe, X5.settingsHost = () => ({- selectSection: (e) => Vp(Vf(e), {+ }), Y8.handler(L("#filterBtn"), "onclick", () => r7(!L("#drawer").classList.contains("open"))), X5.SIDEBAR_ITEMS = B8, X5.MANAGE_SECTIONS = V8, X5.MANAGE_MENU_SECTIONS = H8, X5.manageMenuSections = () => qLe(_u === !0), X5.OPTIONAL_SIDEBAR_ITEMS = U8, X5.NAV_CATALOG = JLe, X5.DIRECT_MANAGE_NAV = YLe, X5.settingsHost = () => ({+ selectSection: (e) => Bp(Vf(e), {replace: !0,- state: Bp.navigation.location.state+ state: W.navigation.location.state}),- closed: rze,+ closed: ize,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => $o(e),navCatalog: X5.NAV_CATALOG,- themeOptions: Ule,- videoLayouts: tM,- followInitialRanges: G8,+ themeOptions: Wle,+ videoLayouts: $j,+ followInitialRanges: W8,videoLayout: () => g7(),- setVideoLayout: dze,+ setVideoLayout: fze,censored: l9,setCensored: d9,sfwShortcut: f9,- setSfwShortcut: Fze,+ setSfwShortcut: Ize,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: Ize,- receipt: (e) => P8.actionReceipt(e),- failure: P8.actionFailure,- syncRemote: (e) => Xj(e, (e) => Z.settingsEffects[e]?.()),+ setHighContrast: Lze,+ receipt: (e) => N8.actionReceipt(e),+ failure: N8.actionFailure,+ syncRemote: (e) => Jj(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => Tn("/healthz").then((e) => (Ou({ runtimeConfigurable: !!e.configurable }), _u)).catch(() => null)- }), X8.handler(L("#settingsBtn"), "onclick", () => void a7()), X5.lastManagePageLabel = "", X5.manageHeaderSkeleton = "", X5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, X5.scrollT = null, X5.stickyFrame = 0, X5.mobileFilterScroll = null, X5.mobileFilterHost = null, X5.mobileFilterPath = "", X8.listen(document, "focusin", w7), X8.listen(document, "focusout", w7), X8.listen(window, "scroll", () => {- w7(), location.pathname === "/follow" && M9() && Ou({ followScrollY: scrollY }), window.__scrolling = !0, zl(), clearTimeout(X5.scrollT), X5.scrollT = X8.delay(() => {+ }), Y8.handler(L("#settingsBtn"), "onclick", () => void a7()), X5.lastManagePageLabel = "", X5.manageHeaderSkeleton = "", X5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, X5.scrollT = null, X5.stickyFrame = 0, X5.mobileFilterScroll = null, X5.mobileFilterHost = null, X5.mobileFilterPath = "", Y8.listen(document, "focusin", w7), Y8.listen(document, "focusout", w7), Y8.listen(window, "scroll", () => {+ w7(), location.pathname === "/follow" && M9() && Ou({ followScrollY: scrollY }), window.__scrolling = !0, zl(), clearTimeout(X5.scrollT), X5.scrollT = Y8.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), X8.listen(window, "resize", w7, { passive: !0 }), X8.handler(L("#scrim"), "onclick", () => r7(!1));+ }, { passive: !0 }), Y8.listen(window, "resize", w7, { passive: !0 }), Y8.handler(L("#scrim"), "onclick", () => r7(!1));}// src/application/catalog.jsvar X = {@@ -82201,7 +82207,7 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function hze() {+function gze() {X.initialParams.has("loc") || (U.loc = T7(U.loc), ku());}function T7(e) {@@ -82210,13 +82216,13 @@ function T7(e) {function E7(e = U) {return zLe(e);}-function gze() {- Ou(I8(BLe(U, Z.appSettings, P8.rollSeed)));+function _ze() {+ Ou(F8(BLe(U, Z.appSettings, N8.rollSeed)));}function D7(e = null) {- gze(), e && (Object.assign(U, e), ku()), Q.route(e ? E7() : "/"), X.clearSearchField(), _9(!1), w9(), U7();+ _ze(), e && (Object.assign(U, e), ku()), Q.route(e ? E7() : "/"), X.clearSearchField(), _9(!1), w9(), U7();}-function _ze(e, t = null) {+function vze(e, t = null) {let n = e.id;!e.medium || e.medium === "video" ? x9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : z5(n);}@@ -82225,19 +82231,19 @@ function O7(e) {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function vze(e, t) {- g8()?.miniplayerTakesCard(e) ? g8().miniplayerPlay(e.id) : k7(e, t);+function yze(e, t) {+ h8()?.miniplayerTakesCard(e) ? h8().miniplayerPlay(e.id) : k7(e, t);}function k7(e, t) {- e.edition_group ? Uze(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Wze(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);+ e.edition_group ? Wze(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Gze(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);}-async function yze(e, t) {+async function bze(e, t) {try {let n = await Tn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), P8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ e.watch_later = n.watch_later, t(!!n.watch_later), N8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {let n = await Tn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -82245,10 +82251,10 @@ async function yze(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- P8.actionFailure("更新稍后看", e);+ N8.actionFailure("更新稍后看", e);}}-async function bze(e, t) {+async function xze(e, t) {try {await Tn("/api/batch", {method: "POST",@@ -82258,7 +82264,7 @@ async function bze(e, t) {})}), await J7();let n = t === "restore" ? "dispose" : "restore";- P8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ N8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await Tn("/api/batch", {method: "POST",body: JSON.stringify({@@ -82269,11 +82275,11 @@ async function bze(e, t) {}), await J7();} });} catch (e) {- throw P8.actionFailure("操作", e), e;+ throw N8.actionFailure("操作", e), e;}}-async function xze(e, t, n, r) {- let i = Number(e.rating) || 0, a = lP(i, t), o = async (t, r) => {+async function Sze(e, t, n, r) {+ let i = Number(e.rating) || 0, a = sP(i, t), o = async (t, r) => {let i = (await Tn("/api/feedback", {method: "POST",body: JSON.stringify({@@ -82287,15 +82293,15 @@ async function xze(e, t, n, r) {};try {let e = await o(a, r);- P8.actionReceipt(e ? `已评 ${cP(e)} 星` : "已取消评分", { undo: () => o(i) });+ N8.actionReceipt(e ? `已评 ${oP(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || P8.actionFailure("评分", e), e;+ throw r?.aborted || N8.actionFailure("评分", e), e;}}async function A7(e) {let t = new URLSearchParams();if (m7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {- let e = Y.activeFilterState();+ let e = p5.activeFilterState();["loc","creator",@@ -82331,7 +82337,7 @@ function N7(e) {let n = { ...t.filters };e(n), v5(t.kind, t.name, n), j7(n), M7(g5());} else if (t.type === "item") {- let t = Y.cloneBarsContext(tu);+ let t = p5.cloneBarsContext(tu);if (_9(!1), Ou({ detailReturnBarsContext: null }), t && t.type === "entity") {e(t.filters), v5(t.kind, t.name, t.filters) ? U7() : Ou({ pageOpens: yu + 1 });return;@@ -82342,7 +82348,7 @@ function N7(e) {} }), Q.route(E7()), $5(), U7();} else e(U), ku(), Q.route(E7()), j7(U), M7(eu);}-function Sze() {+function Cze() {return {tiers: null,tiersPending: !1,@@ -82378,7 +82384,7 @@ function F7(e) {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || Sze(),+ ...X.catalogFilterProps || Cze(),...e}, !X.catalogFilterMounting && (Sp(t) ? Op(t, e) : (!t.firstChild && !n && (t.innerHTML = KMe(X.catalogViews(), X.catalogFilterProps.state, R7()), hc(t)), X.catalogFilterMounting = Ep("catalog-filter", X.catalogFilterProps, {container: t,@@ -82405,12 +82411,12 @@ function I7() {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Oj(e, U.sort, U.dir);+ let t = Ej(e, U.sort, U.dir);t && (U.sort = t.sort, U.dir = t.dir, ku(), s9());},- reshuffle: () => Pze(),+ reshuffle: () => Fze(),setLayout: (e) => {- m7() ? _7(e) : uze(e);+ m7() ? _7(e) : dze(e);},moreTops: async (e) => {let t = X.catalogTopsPages;@@ -82424,13 +82430,13 @@ function L7() {return m7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: oM(),- options: tM+ value: iM(),+ options: $j} : h7() ? {name: "home-layout",label: "首页卡片版式",value: g7(),- options: tM+ options: $j} : null;}function R7() {@@ -82468,7 +82474,7 @@ function V7(e) {logo: e.has_logo ? mo(e.k, "icon", e.logo_version) : ""};}-function Cze(e, t) {+function wze(e, t) {X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? F7({tiersPending: !0,state: e.state || ""@@ -82484,14 +82490,14 @@ function H7(e) {async function U7() {let e = ++X.barsRequestSeq;if (C9(), !Zl(location.pathname) || eu.type === "item") return;- let t = g5(), n = Y.activeFilterState(), r = JSON.stringify([+ let t = g5(), n = p5.activeFilterState(), r = JSON.stringify([t,n,U.state || "",U.seed || "",m7()]);- Cze(n, e);+ wze(n, e);let i;try {i = await A7(t);@@ -82520,7 +82526,7 @@ async function U7() {performers: 0,studios: 0};- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = P8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = N8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({k: e.k,label: Ul(e.k),@@ -82547,7 +82553,7 @@ async function U7() {latest: null});}-function wze(e, t) {+function Tze(e, t) {m9.total = e, U.state === "trash" && (I5.trashCount = {total: m9.total,shown: t@@ -82566,7 +82572,7 @@ function W7() {try {let e = await Tn("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- P8.actionReceipt(`已永久删除 ${e.purged} 项`);+ N8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {await J7();}@@ -82616,13 +82622,13 @@ async function J7() {filters: U},detailReturnBarsContext: null- }), _9(!1), U.state === "ads") return Dze(e);+ }), _9(!1), U.state === "ads") return Oze(e);X.controller.page === "/junk-files" && X7(), K5(), $5();let t = Z7(e);- if (u5(location.pathname) && U.browse !== "folders") {+ if (l5(location.pathname) && U.browse !== "folders") {if (await G5.entityShapesReady, !Q.surfaceCurrent(e)) return;- fRe();- } else d5();+ pRe();+ } else u5();return q7(), L("#count").classList.remove("manage-static", "junkcount"), t;}function Y7(e) {@@ -82633,10 +82639,10 @@ function X7() {zl(e), kp(e), X.controller.clear(), e.innerHTML = "";}function Z7(e) {- return t9("/", Eze, e, { place: sBe });+ return t9("/", Dze, e, { place: cBe });}-function Tze(e) {- return t9("/junk-files", kze, e);+function Eze(e) {+ return t9("/junk-files", Aze, e);}function Q7() {return !!xp(L("#grid"));@@ -82664,28 +82670,28 @@ function t9(e, t, n, r = {}) {}function n9() {let e = h7();- return pM({+ return dM({active: m7() || e,home: e,portrait: U.orient === "竖屏"});}function r9(e = "正在读取作品") {- return XJ(e, i9());+ return JJ(e, i9());}function i9() {- return U ? mM(n9()) : 16 / 9;+ return U ? fM(n9()) : 16 / 9;}function a9() {$7() && (zl(L("#grid")), e9({layout: n9(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (zl(L("#index [data-entity-hero]")), h5({+ })), p5.entityPageCurrent() && (zl(L("#index [data-entity-hero]")), h5({layout: n9(),seekSeconds: Z.appSettings.seekSeconds}));}-function Eze() {+function Dze() {let e = decodeURIComponent(location.pathname), t = jn(e), n = U.state === "trash";return {mode: "catalog",@@ -82693,7 +82699,7 @@ function Eze() {actions: X.gridActions,layout: n9(),wall: e === "/wall",- restoreNavigation: Cm(),+ restoreNavigation: Sm(),selectMode: iu,selected: new Set(nu),seekSeconds: Z.appSettings.seekSeconds,@@ -82708,9 +82714,9 @@ function Eze() {mix: t && e !== "/wall" && !n && U.browse !== "folders",shorts: t && e !== "/wall" && !m7() && U.orient !== "竖屏" && !n && U.browse !== "folders",countRow: L("#count"),- onCount: wze,+ onCount: Tze,onCountFailed: () => F7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : BK({+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : RK({jav: m7() && !t,configurable: _u,filtered: !t@@ -82718,11 +82724,11 @@ function Eze() {canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function Dze(e) {+function Oze(e) {let t = L("#count");- return X.controller.page === "/junk-files" && Q7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (X7(), K5("正在读取垃圾文件")), $5(), q7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Tze(e);+ return X.controller.page === "/junk-files" && Q7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (X7(), K5("正在读取垃圾文件")), $5(), q7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Eze(e);}-async function Oze(e, t) {+async function kze(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await Tn("/api/batch", {@@ -82734,7 +82740,7 @@ async function Oze(e, t) {})}), await J7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- P8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ N8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await Tn("/api/batch", {method: "POST",body: JSON.stringify({@@ -82744,12 +82750,12 @@ async function Oze(e, t) {}), await J7();} });} catch (e) {- throw P8.actionFailure("操作", e), e;+ throw N8.actionFailure("操作", e), e;}}-function kze() {+function Aze() {return {- ...NU(location.search),+ ...jU(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -82758,15 +82764,15 @@ function kze() {selected: new Set(nu),countRow: L("#count"),settled: Y7,- skeletonHtml: () => R2("正在读取垃圾文件", {+ skeletonHtml: () => L2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function Aze() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => F8(e, t, Z.appSettings, n), Ou(I8(LLe(location, Z.appSettings, P8.rollSeed))), X.searchValueSnapshot = {+function jze() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => P8(e, t, Z.appSettings, n), Ou(F8(LLe(location, Z.appSettings, N8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -82787,33 +82793,33 @@ function Aze() {};};}-function jze() {- X8.handler(L("#wallBtn"), "onclick", () => {+function Mze() {+ Y8.handler(L("#wallBtn"), "onclick", () => {R5(!1, !0);let e = g5(), t = {- ...Y.activeFilterState(),+ ...p5.activeFilterState(),jav: m7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(oSe(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(sSe(void 0, t));}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {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) => LI(e, t),- displayName: (e, t) => II(e, t),+ titleHtml: (e, t) => FI(e, t),+ displayName: (e, t) => PI(e, t),tagLabel: (e) => Ul(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await h8(m9.stageHost);+ let r = await m8(m9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},wallDetails: k7,- open: (e, t) => vze(e, t),- openResource: (e, t) => g8()?.miniplayerTakesCard(e) ? g8().miniplayerPlay(e.id) : _ze(e, t),- openShort: (e) => g8()?.miniplayerTakesCard(e) ? g8().miniplayerPlay(e.id) : S9(e.id),+ open: (e, t) => yze(e, t),+ openResource: (e, t) => h8()?.miniplayerTakesCard(e) ? h8().miniplayerPlay(e.id) : vze(e, t),+ openShort: (e) => h8()?.miniplayerTakesCard(e) ? h8().miniplayerPlay(e.id) : S9(e.id),openShorts: () => S9(),- openMix: (e, t) => Hze(e, e, !0, t),+ openMix: (e, t) => Uze(e, e, !0, t),openEntity: (e, t) => O5(e, t),openUnowned: () => D7({ owner: "none" }),toggleTag: (e) => {@@ -82822,9 +82828,9 @@ function jze() {});},toggleSelection: (e, t) => z5(e, t),- watchLater: (e, t) => yze(e, t),- rate: (e, t, n, r) => xze(e, t, n, r),- resourceOperation: (e, t) => bze(e, t),+ watchLater: (e, t) => bze(e, t),+ rate: (e, t, n, r) => Sze(e, t, n, r),+ resourceOperation: (e, t) => xze(e, t),mixRelated: (e) => O7(e),canFlip: () => !iu && !l9() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {@@ -82853,7 +82859,7 @@ function jze() {], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({...e,href: e.k ? On[e.k] : "/"- })), X.TAGS_FIRST = 26, X8.listen(L("#catalogFilter"), "click", (e) => {+ })), X.TAGS_FIRST = 26, Y8.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");t && !e.defaultPrevented && (e.preventDefault(), I7().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {@@ -82864,7 +82870,7 @@ function jze() {X.catalogFilterProps && F7({ comboHidden: !0 });};}-function Mze() {+function Nze() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {iu && R5(!1, !0), Q.route(e);@@ -82876,12 +82882,12 @@ function Mze() {return await Tn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), P8.toast({ text: "已在资源管理器中显示" }), "";+ }), N8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {- return Y.sourceHint(e.message);+ return p5.sourceHint(e.message);}},- operate: (e, t) => Oze(e, t)+ operate: (e, t) => kze(e, t)};}X.controller = new VLe();@@ -82908,7 +82914,7 @@ var Z = {CENSOR_KEY: void 0};async function o9() {- let e = X8;+ let e = Y8;try {let t = await Sr(e.signal);if (!e.isActive) return Z.sourceOnline;@@ -82918,18 +82924,18 @@ async function o9() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), hze(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), gze(), Z.sourceOnline;}function s9() {let e = Q.surfacePath();if (!jn(e) || e === "/junk-files") return J7();let t = Z.nextCatalogLoad();- return Vp(E7(), {+ return Bp(E7(), {replace: !0,- state: Bp.navigation.location.state+ state: W.navigation.location.state}), t;}-function Nze(e) {+function Pze(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -82961,7 +82967,7 @@ function c9(e, t) {value: e.k,label: nr[e.k] || e.k,n: e.n ?? null,- dot: Nze(e.k),+ dot: Pze(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -82974,7 +82980,7 @@ function c9(e, t) {duration: !!e.stats?.duration};}-async function Pze(e = !1) {+async function Fze(e = !1) {if (e && (document.hidden || !jn(decodeURIComponent(location.pathname)) || m9.stageOpen() || m9.immerseOpen() || iu || nu.size || document.activeElement === L("#q"))) return !1;if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;@@ -82984,11 +82990,11 @@ async function Pze(e = !1) {return;}let n = t === "reopen" ? e : "/stats";- ym(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, Bp.navigation.location.state) : Q.navigatePath(n);+ vm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, W.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = P8.rollSeed(), ku(), B8(), F7({ refreshing: !0 });+ U.sort = "seed", U.dir = "", U.seed = N8.rollSeed(), ku(), z8(), F7({ refreshing: !0 });try {- ym();+ vm();let e = s9();await null, await Promise.all([e, U7()]);} finally {@@ -83010,49 +83016,49 @@ function d9(e) {localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), u9(e), e && zl();}function f9() {- return d1(localStorage.getItem("peach.sfw-shortcut")) || d1("Shift+KeyS");-}-function Fze(e) {- e ? localStorage.setItem(l1, f1(e)) : localStorage.removeItem(l1), Z.settingsStore.notify();+ return u1(localStorage.getItem("peach.sfw-shortcut")) || u1("Shift+KeyS");}function Ize(e) {+ e ? localStorage.setItem(c1, d1(e)) : localStorage.removeItem(c1), Z.settingsStore.notify();+}+function Lze(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}function p9(e) {return Mc(e, { drag: !0 });}-function Lze() {+function Rze() {["#nrow", "#count"].forEach((e) => p9(L(e))), document.querySelectorAll(".tier,.srow").forEach(p9);}-function Rze() {+function zze() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function zze() {+function Bze() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = Yj(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Qo(Z.appSettings.uiSounds), is(), $j(), Kle(), wM(), DM(), OM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = qj(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Qo(Z.appSettings.uiSounds), is(), Zj(), qle(), SM(), TM(), EM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {performerNameLanguage: () => {Zt(Z.appSettings.performerNameLanguage), G5.syncPageTitle(location.href), X.barsRendered = "", U7();},- theme: () => $j(),+ theme: () => Zj(),uiSounds: () => {Qo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && $o("toggle-on");},- glowFrame: () => EM(),+ glowFrame: () => wM(),glow: () => {- EM(), DM();+ wM(), TM();},batchSize: () => {location.pathname === "/" && J7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = kj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), ku(), location.pathname === "/" && s9();+ U.sort = Z.appSettings.defaultSort, U.dir = Dj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), ku(), location.pathname === "/" && s9();},sortDirection: () => {- U.dir = kj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), ku(), location.pathname === "/" && s9();+ U.dir = Dj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), ku(), location.pathname === "/" && s9();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {@@ -83061,14 +83067,14 @@ function zze() {},seekSeconds: () => a9(),groupCollapse: () => b7(),- feedAutoScroll: () => pRe(),- feedLimit: () => f5(),- feedCompilations: () => f5(),+ feedAutoScroll: () => mRe(),+ feedLimit: () => d5(),+ feedCompilations: () => d5(),miniplayer: () => {- Z.appSettings.miniplayer || g8()?.closeMiniplayer();+ Z.appSettings.miniplayer || h8()?.closeMiniplayer();},javImage: () => {- oo(document, Z.appSettings.javImage), a9(), document.querySelectorAll("img[data-jav-image].cover").forEach(ml), Vze();+ oo(document, Z.appSettings.javImage), a9(), document.querySelectorAll("img[data-jav-image].cover").forEach(ml), Hze();},searchHistoryLimit: () => Op(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {@@ -83079,7 +83085,7 @@ function zze() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = Ks;}-function Bze() {+function Vze() {Z.CENSOR_KEY = "peach-censor", u9(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.js@@ -83102,10 +83108,10 @@ function h9() {} : null;}function g9() {- return g8()?.exit() || Promise.resolve();+ return h8()?.exit() || Promise.resolve();}function _9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && T9(), g8()?.dispose({ miniplayer: n }), Ou({+ Q.queueOpenRequest !== r && T9(), h8()?.dispose({ miniplayer: n }), Ou({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -83115,8 +83121,8 @@ function _9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailReturnNeedsRestore: !1}), w7(), e && Q.route(cu || "/");}-function Vze() {- g8()?.repaintPoster();+function Hze() {+ h8()?.repaintPoster();}function v9(e, t, n, r, i = null, a = {}) {t = +t;@@ -83134,19 +83140,19 @@ function v9(e, t, n, r, i = null, a = {}) {if (a.autoplay && (s.autoplay = !0), r) {T9();let e = Q.queueOpenRequest = {- seq: Bp.navigation.seq,+ seq: W.navigation.seq,cancelled: !1};Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), Ou({ queueOpens: bu + 1 });} else return x9(n == null ? null : +n, !1, s, i, r);}-function Hze(e, t = e, n = !0, r = null) {+function Uze(e, t = e, n = !0, r = null) {return v9("mix", e, t, n, r);}-function Uze(e, t = e, n = !0, r = null) {+function Wze(e, t = e, n = !0, r = null) {return v9("editions", e, t, n, r);}-function Wze(e, t = e, n = !0, r = null) {+function Gze(e, t = e, n = !0, r = null) {return v9("parts", e, t, n, r);}function y9(e, t = null, n = !0) {@@ -83162,8 +83168,8 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {return;}zl(), e = e == null ? null : +e;- let o = r?.isConnected ? r : lu?.isConnected ? lu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : uu, c = b9(), l = du || !t && !c, u = eu.type === "item" ? tu : Y.cloneBarsContext(g5());- t ? Ou({ detailReturnPath: location.pathname + location.search }) : i || Ou({ detailReturnPath: ep() || cu }), t && Zf(), g8()?.showing() !== "item" && _9(!1, !0, {+ let o = r?.isConnected ? r : lu?.isConnected ? lu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : uu, c = b9(), l = du || !t && !c, u = eu.type === "item" ? tu : p5.cloneBarsContext(g5());+ t ? Ou({ detailReturnPath: location.pathname + location.search }) : i || Ou({ detailReturnPath: ep() || cu }), t && Zf(), h8()?.showing() !== "item" && _9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), Ou({@@ -83175,7 +83181,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {seedId: n.seedId,playlistId: n.playlistId} }), Ou({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, tp("item"));- let d = await h8(m9.stageHost);+ let d = await m8(m9.stageHost);if (a?.cancelled) return;let f = a ? {...m9.itemDetailActions,@@ -83204,54 +83210,54 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {resume: t || e == null ? null : h9()}), w7();}-async function Gze() {- let e = Y.cloneBarsContext(tu), t = cu || "/", n = du;+async function Kze() {+ let e = p5.cloneBarsContext(tu), t = cu || "/", n = du;await g9(), _9(!1, !1, { miniplayer: !1 }), Ou({ detailReturnBarsContext: null }), Qf(), Ou({ barsContext: e || {type: "home",filters: U} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Ou({ pageOpens: yu + 1 }) : (U7(), location.pathname === "/playlists" && j5()));}-async function Kze(e, t = !0) {+async function qze(e, t = !0) {if (t) {- Ou({ detailReturnPath: location.pathname + location.search }), E9("/works/" + encodeURIComponent(e), "jav", () => Kze(e, !1));+ Ou({ detailReturnPath: location.pathname + location.search }), E9("/works/" + encodeURIComponent(e), "jav", () => qze(e, !1));return;}- let n = Bp.navigation.seq, r = Y.cloneBarsContext(g5()), i = !b9(), a = ep() || (i ? "/jav?tab=discover" : cu) || "/jav?tab=discover";- g8()?.showing() !== "jav" && _9(!1, !0, { miniplayer: !1 }), Ou({+ let n = W.navigation.seq, r = p5.cloneBarsContext(g5()), i = !b9(), a = ep() || (i ? "/jav?tab=discover" : cu) || "/jav?tab=discover";+ h8()?.showing() !== "jav" && _9(!1, !0, { miniplayer: !1 }), Ou({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), zl();- let [o, s] = await Promise.all([h8(m9.stageHost), B("/healthz")]);- Bp.navigation.seq === n && (await o.open({+ let [o, s] = await Promise.all([m8(m9.stageHost), B("/healthz")]);+ W.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void Gze(),+ close: () => void Kze(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- Bp.navigation.seq === n && t && t !== e && Vp("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ W.navigation.seq === n && t && t !== e && (Bp("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: Bp.navigation.location.state- });+ state: W.navigation.location.state+ }), G5.syncPageTitle(location.href));},openTag: (e) => N7((t) => {t.tag = e;}),- receipt: (e) => P8.toast({ text: e })+ receipt: (e) => N8.toast({ text: e })}}), w7());}async function S9(e = null, t = !0) {- t ? (m9.requestedImmerseId = e, Q.route("/immerse")) : (g8()?.closeMiniplayer(), await (await kLe(m9.immerseHost)).open(e));+ t ? (m9.requestedImmerseId = e, Q.route("/immerse")) : (h8()?.closeMiniplayer(), await (await kLe(m9.immerseHost)).open(e));}-function qze() {+function Jze() {m9.total = 0, m9.facets = null, m9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => P8.toast({ text: e }, t),+ toast: (e, t) => N8.toast({ text: e }, t),loadSourceStatus: () => o9(),offlineReason: (e) => Z.offlineReason(e)},@@ -83260,20 +83266,20 @@ function qze() {e === "follow" ? F9(t, !0, n) : x9(t, !0);},openItem: (e) => void x9(e)- }, m9.stageOpen = () => !!g8()?.isOpen();+ }, m9.stageOpen = () => !!h8()?.isOpen();}-function Jze() {+function Yze() {m9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => LI(e),- displayName: (e) => II(e),+ titleHtml: (e) => FI(e),+ displayName: (e) => PI(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => Ul(e),isDurationTag: (e) => ar.has(e),tagCandidates: () => m9.facets && m9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => R2("正在读取推荐", {+ relatedSkeletonHtml: () => L2("正在读取推荐", {cards: !0,className: "related-skeleton"}),@@ -83281,15 +83287,15 @@ function Jze() {wireDrag: (e) => p9(e),wireDragReorder: (e, t) => sl(e, t)}, m9.itemDetailActions = {- close: () => Gze(),+ close: () => Kze(),present: (e) => {Ou({ presentedItem: e });let t = tu;Ou({ barsContext: {type: "item",id: e.id,- filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), pu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${pu}`, !1, tp("item")), Ou({ pendingQueueRoute: null })), U7();+ filters: t?.type === "entity" ? { ...t.filters } : p5.emptyEntityFilters()+ } }), pu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${pu}`, !1, tp("item")), Ou({ pendingQueueRoute: null })), G5.syncPageTitle(location.href), U7();},redirect: (e) => {let t = !!pu;@@ -83315,31 +83321,31 @@ function Jze() {openTag: (e) => N7((t) => {t.tag = e;}),- addToPlaylist: (e) => DRe(e),- saveMix: (e) => ERe(e),+ addToPlaylist: (e) => ORe(e),+ saveMix: (e) => DRe(e),editPlaylist: () => O9("/playlists"),openPlaylists: () => O9("/playlists"),reveal: (e) => C5(e),- sync: (e) => vRe(e),+ sync: (e) => yRe(e),trashChanged: async (e, t) => {U.state === "ads" && (t || e === "trash") && (t || (Qf(), _9(!0, !1, { miniplayer: !1 })), await J7());},- toast: (e, { undo: t } = {}) => P8.actionReceipt(e, { undo: t }),- failure: (e, t) => P8.actionFailure(e, t)+ toast: (e, { undo: t } = {}) => N8.actionReceipt(e, { undo: t }),+ failure: (e, t) => N8.actionFailure(e, t)}, m9.immerseHost = {filters: () => U,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => II(e),+ displayName: (e) => PI(e),route: (e) => Q.route("/immerse?id=" + e, !0),closed: () => D7(),openItem: (e) => void x9(e),openEntity: (e, t) => O5(e, t),openUnowned: () => D7({ owner: "none" }),- toast: (e, { undo: t } = {}) => P8.actionReceipt(e, { undo: t }),- warn: (e) => P8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => P8.actionFailure(e, t)- }, m9.immerseOpen = () => !!y8()?.isOpen(), X8.handler(L("#immerseBtn"), "onclick", () => S9());+ toast: (e, { undo: t } = {}) => N8.actionReceipt(e, { undo: t }),+ warn: (e) => N8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => N8.actionFailure(e, t)+ }, m9.immerseOpen = () => !!v8()?.isOpen(), Y8.handler(L("#immerseBtn"), "onclick", () => S9());}// src/application/navigation.jsvar Q = {@@ -83361,8 +83367,8 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function Yze() {- let e = T8();+function Xze() {+ let e = w8();e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(x7(e.dataset.nav))));}function C9(e = {}) {@@ -83374,10 +83380,10 @@ function C9(e = {}) {}), X5.sidebarProps = {...X5.sidebarProps,...e- }, T8()?.render(X5.sidebarProps);+ }, w8()?.render(X5.sidebarProps);}function w9() {- C9(), Yze(), C7();+ C9(), Xze(), C7();}function T9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Ou({ pendingQueueRoute: null });@@ -83394,7 +83400,7 @@ function D9() {function O9(e) {Q.route(e), Ou({ pageOpens: yu + 1 });}-function Xze() {+function Zze() {Q.routeMeta = (e) => {let t = sp(e);return t ? { route: t } : null;@@ -83402,7 +83408,7 @@ function Xze() {let t = sp(e);return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !qf(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? S9(Rze()) : e === "/follow" ? P9() : e === "/playlists" || Q.catalogPage(e) ? O9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? GRe() : e) : (R5(!1, !0), O9(H5({+ e === "/immerse" ? S9(zze()) : e === "/follow" ? P9() : e === "/playlists" || Q.catalogPage(e) ? O9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? KRe() : e) : (R5(!1, !0), O9(H5({kind: e.slice(1),q: "",scope: "local",@@ -83411,34 +83417,34 @@ function Xze() {})));};}-function Zze() {+function Qze() {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) => (u5(e) || d5(), kp(L("#stats"), L("#index")), !jn(e) && e !== "/trash" && X7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, Vp(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (l5(e) || u5(), kp(L("#stats"), L("#index")), !jn(e) && e !== "/trash" && X7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, Bp(e, {replace: t,state: n}), G5.syncPageTitle(e), queueMicrotask(() => {C7(), l7(), C9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? Bp.replace(e, n) : Bp.push(e, n), queueMicrotask(() => {+ t ? W.replace(e, n) : W.push(e, n), queueMicrotask(() => {C7(), l7();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}// src/jobs.ts-function Qze(e, t, n) {+function $ze(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="${z(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>${z(e)}<small>${Math.round(i)}%</small></span></div>`;}-function $ze(e, t = 0, n = 0) {- return n > 0 ? Qze(e, t, n) : Ws(e);+function eBe(e, t = 0, n = 0) {+ return n > 0 ? $ze(e, t, n) : Ws(e);}-async function eBe(e) {+async function tBe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -83453,14 +83459,14 @@ async function eBe(e) {await t(2e3);}}-function tBe(e) {+function nBe(e) {let t = e.note || ((e) => Bs(e, {label: "任务状态",variant: "error"- })), n = e.loading || Ws, r = e.progress || ((e, t, n) => $ze(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 || Ws, r = e.progress || ((e, t, n) => eBe(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;- eBe({+ tBe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -83509,9 +83515,9 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function nBe(e) {+function rBe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- P8.toast({ text: Ui(e) }, {+ N8.toast({ text: Ui(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",@@ -83524,7 +83530,7 @@ function nBe(e) {function k9() {return Aa(A9());}-function rBe() {+function iBe() {return $.controller.read();}function A9() {@@ -83545,17 +83551,17 @@ function A9() {function j9(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 iBe() {+function aBe() {let e = xp(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function M9() {- return !!iBe();+ return !!aBe();}function N9(e) {M9() && Op(L("#stats"), e);}-function aBe(e, t = {}) {+function oBe(e, t = {}) {return $.controller.route(e, t);}function P9(e = !1) {@@ -83568,7 +83574,7 @@ async function F9(e, t = !0, n = null, r = !1) {}zl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && Ou({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Ou({ followDetailReturnPath: ep() || "/follow" }), t && Zf(), g8()?.showing() !== "follow" && _9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, tp("follow")), await (await h8(m9.stageHost)).open({+ t && i && !r && Ou({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Ou({ followDetailReturnPath: ep() || "/follow" }), t && Zf(), h8()?.showing() !== "follow" && _9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, tp("follow")), await (await m8(m9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -83579,16 +83585,16 @@ async function F9(e, t = !0, n = null, r = !1) {resume: t ? null : h9()}), w7();}-async function oBe() {- await g9(), _9(!1, !1, { miniplayer: !1 }), Qf(), Q.route(hu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && M9() ? (rBe(), N9({ view: A9() })) : Ou({ pageOpens: yu + 1 }));+async function sBe() {+ await g9(), _9(!1, !1, { miniplayer: !1 }), Qf(), Q.route(hu || "/follow"), !(p5.entityPageView && p5.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && M9() ? (iBe(), N9({ view: A9() })) : Ou({ pageOpens: yu + 1 }));}-function sBe(e) {+function cBe(e) {let t = document.createElement("div");return t.className = "peach-react", oc(e, () => {e.textContent = "", e.append(t);}), t;}-function cBe() {+function lBe() {$.followFeedHelpers = Gl({wireDrag: (e) => {e && p9(e);@@ -83597,42 +83603,42 @@ function cBe() {e && Mc(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: tBe+ jobProgress: nBe}), $.followFeedActions = {loaded: (e) => e7(e),openDetail: (e) => F9(e),openAuthor: (e) => Q.navigatePath(Pn("creator", e)),- toggleSelection: (e, t) => NRe(e, t),+ toggleSelection: (e, t) => PRe(e, t),setImagesOnly: (e) => {Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), b5();},setPhotoLayout: (e) => {- gM(e), b5();+ mM(e), b5();},canFlip: () => !iu && !l9() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => P8.actionReceipt(e, { undo: t }),- failure: (e, t) => P8.actionFailure(e, t),- checkReport: (e) => nBe(e)+ toast: (e, { undo: t } = {}) => N8.actionReceipt(e, { undo: t }),+ failure: (e, t) => N8.actionFailure(e, t),+ checkReport: (e) => rBe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- g8()?.showing() !== "follow" && (zl(), _9(!1), Q5(), !M9() && (Q.claimSurface(Q.surfacePath()), Z5({ manage: !1 }), L("#stats").querySelector(".peach-react") && kp(L("#stats")), L("#stats").replaceChildren()));+ h8()?.showing() !== "follow" && (zl(), _9(!1), Q5(), !M9() && (Q.claimSurface(Q.surfacePath()), Z5({ manage: !1 }), L("#stats").querySelector(".peach-react") && kp(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = $l({view: A9,adoptView: j9,rememberReturn: (e) => Ou({ followDetailReturnPath: e }),- close: () => void oBe(),+ close: () => void sBe(),open: (e, t, n) => void F9(e, !0, t, n),drawer: e7,openAuthor: (e) => Q.navigatePath(Pn("creator", e))}, {- toast: (e, { undo: t } = {}) => P8.actionReceipt(e, { undo: t }),- failure: P8.actionFailure,+ toast: (e, { undo: t } = {}) => N8.actionReceipt(e, { undo: t }),+ failure: N8.actionFailure,canFlip: $.followFeedActions.canFlip});}-function lBe() {+function uBe() {$.controller = Na({location: () => location,view: A9,@@ -83650,34 +83656,34 @@ function lBe() {preferences: () => ({selectMode: iu,selected: ru,- photoSize: uM(),- photoLayout: dM(),+ photoSize: cM(),+ photoLayout: lM(),imagesOnly: !!Z.appSettings.followImagesOnly}),live: M9,push: N9,route: (e) => {- Q.route(e), xm("follow", {+ Q.route(e), bm("follow", {view: A9(),seed: Su,revision: Cu});},openPage: O9,- rollSeed: () => Number(P8.rollSeed()),+ rollSeed: () => Number(N8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {zl(), Q5(), Z5({ manage: !1 });},syncPhotoWalls: b5,scrollTop: () => {- Tm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));+ wm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));}}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;}// src/application/lifecycle.js-function uBe() {- BDe(), el(document), zo(document.documentElement, { variant: "page" }), zo(L("#drawerScroll")), X8.own(Zc()), Ga(document.body), X.homeHasFeed = uRe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, X5.sidebarProps = {+function dBe() {+ BDe(), el(document), zo(document.documentElement, { variant: "page" }), zo(L("#drawerScroll")), Y8.own(Zc()), Ga(document.body), X.homeHasFeed = dRe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, X5.sidebarProps = {content: null,filters: {},latest: null@@ -83688,23 +83694,23 @@ function uBe() {], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;}// src/application/tutorial.js-async function dBe() {- vU({ reopen: !0 });+async function fBe() {+ gU({ reopen: !0 });}-function fBe() {+function pBe() {let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";- Ou({ cameFromSetup: t }), X8.handler(document.getElementById("tutorialBtn"), "onclick", () => vU()), vU({ invitation: !0 }), t && e.searchParams.delete("onboarding");+ Ou({ cameFromSetup: t }), Y8.handler(document.getElementById("tutorialBtn"), "onclick", () => gU()), gU({ invitation: !0 }), t && e.searchParams.delete("onboarding");let n = e.searchParams.get("agentation");try {localStorage.removeItem("peach.agentation");} catch {}- n !== null && e.searchParams.delete("agentation"), e.href !== location.href && Vp(e, {+ n !== null && e.searchParams.delete("agentation"), e.href !== location.href && Bp(e, {replace: !0,- state: Bp.navigation.location.state+ state: W.navigation.location.state}), n === "on" && import("/dev/agentation.js").catch(() => {});}// src/react/search/recommendations.ts-var pBe = [+var mBe = [{kind: "performer",label: "艺人与新作",@@ -83755,15 +83761,15 @@ var pBe = [size: 5}];-function mBe() {- return pBe.map((e) => ({+function hBe() {+ return mBe.map((e) => ({...e,items: [],pending: !0}));}-var hBe = (e) => e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10), gBe = (e, t = e.length) => t > 1 ? `${e[0]} 等 ${t} 人` : e[0] || "";-async function _Be(e) {+var gBe = (e) => e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10), _Be = (e, t = e.length) => t > 1 ? `${e[0]} 等 ${t} 人` : e[0] || "";+async function vBe(e) {let t = await e("/api/search/recommendations"), n = (e, t, n, r = "") => ({value: String(e.code || e.display_title || e.title || e.name || "未命名作品"),id: e.id,@@ -83777,10 +83783,10 @@ async function _Be(e) {let { kind: t, name: r, coStarred: i, refs: a, total: o } = jo(e);if (!t) return n(e, void 0, "");let s = t === "performer" ? a[0] : e.creator_entity, c = nn(t, r, s?.id);- return n(e, void 0, i ? gBe([c], o) : c, yo(r, s ?? null, t));+ return n(e, void 0, i ? _Be([c], o) : c, yo(r, s ?? null, t));}, i = (e, t) => {let r = e.performer_refs || [], i = r.length ? r.map((e) => e.name) : String(e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean), a = i[0] ? yo(i[0], r[0] ?? null, "performer") : "";- return n(e, t, gBe(i), a);+ return n(e, t, _Be(i), a);}, a = {};a.asset = t.items ? (t.items.items || []).map(r) : null;let o = t.jav ? t.jav.items || [] : null;@@ -83798,7 +83804,7 @@ async function _Be(e) {avatar_focus: n.avatar_focus,rep: n.has_avatar ? n.rep : null,works: [e],- subtitle: r ? `最新作 ${r.code || "无番号"} · ${hBe(r.release_date)}` : "最新作未取得"+ subtitle: r ? `最新作 ${r.code || "无番号"} · ${gBe(r.release_date)}` : "最新作未取得"});}a.performer = o && [...s.values()];@@ -83813,9 +83819,9 @@ async function _Be(e) {let i = ga(r);for (let a of ["videos", "images"]) {if (a === "images" ? !i.has("image") : i.size && !i.has("video")) continue;- let o = _a(r, a), s = n.sources.find((e) => e.id === o.source_id), c = AG(o, s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], n), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;+ let o = _a(r, a), s = n.sources.find((e) => e.id === o.source_id), c = OG(o, s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], n), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;(a === "images" ? t : e).push({- value: EG(o),+ value: wG(o),id: o.id,who: c.author,whoAvatarHtml: c.avatar,@@ -83837,10 +83843,10 @@ async function _Be(e) {}, `/works/${encodeURIComponent(e.code)}`)) : null, a.author = t.authors ? (t.authors.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: J8(e),- subtitle: e.latest ? `最新更新于 ${IG({ published_at: e.latest })}` : "更新时间未取得"+ avatarHtml: q8(e),+ subtitle: e.latest ? `最新更新于 ${PG({ published_at: e.latest })}` : "更新时间未取得"})) : null, {- groups: pBe.map((e) => {+ groups: mBe.map((e) => {let t = a[e.kind] ?? [];return {...e,@@ -83853,7 +83859,7 @@ async function _Be(e) {};}// src/application/search-morph.js-function vBe(e, t, n, r, i, a, o) {+function yBe(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);@@ -83878,7 +83884,7 @@ var I9 = {function L9() {I9.searchControl?.close();}-function yBe(e) {+function bBe(e) {let t = e ? no({...e,is_jav: !!e.code@@ -83897,22 +83903,22 @@ function z9(e) {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 = Gc();t.classList.add("search-morphing");- let h = t.animate(vBe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(yBe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- I9.searchMorph = h, X8.handler(h, "onfinish", () => {+ I9.searchMorph = h, Y8.handler(h, "onfinish", () => {I9.searchMorph === h && R9();});}-function bBe() {- return m9.immerseOpen() ? y8().activeVideo() : g8()?.activeVideo() || null;+function xBe() {+ return m9.immerseOpen() ? v8().activeVideo() : h8()?.activeVideo() || null;}-function xBe(e) {+function SBe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function SBe() {+function CBe() {I9.searchControl = null, I9.searchActions = {search: (e) => {X.rememberSearchValue(), _9(!1), U.q = e, ku(), Q.route(U.jav === "1" ? E7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);@@ -83924,11 +83930,11 @@ function SBe() {$.followMediaView = t, F9(e, !0, n);}}, I9.searchHelpers = {- pool: () => lSe(U, Tn),- recommendations: () => _Be(Tn),- pendingRecommendations: mBe,+ pool: () => uSe(U, Tn),+ recommendations: () => vBe(Tn),+ pendingRecommendations: hBe,rollPlaceholder: (e, t) => ec(e, t),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? r5(e) : yBe(e)}</span>`,+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? n5(e) : bBe(e)}</span>`,present: (e) => ls(e),dismiss: (e) => us(e),wireScroller: (e) => Mc(e),@@ -83954,30 +83960,30 @@ function SBe() {}, {container: L("#searchMenu"),isCurrent: () => !0- }), X8.listen(L("#q"), "beforeinput", (e) => {+ }), Y8.listen(L("#q"), "beforeinput", (e) => {e.isComposing || X.rememberSearchValue(e.currentTarget);- }), X8.listen(L("#q"), "scroll", (e) => {+ }), Y8.listen(L("#q"), "scroll", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);- }), X8.listen(L("#q"), "pointerdown", (e) => {+ }), Y8.listen(L("#q"), "pointerdown", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function CBe() {- I9.searchMorph = null, I9.searchMorphViewport = innerWidth, X8.listen.bind(X8, window)("resize", () => {+function wBe() {+ I9.searchMorph = null, I9.searchMorphViewport = innerWidth, Y8.listen.bind(Y8, window)("resize", () => {innerWidth !== I9.searchMorphViewport && (I9.searchMorphViewport = innerWidth, R9());- }, { passive: !0 }), X8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", R9), X8.handler(L("#searchBtn"), "onclick", () => {+ }, { passive: !0 }), Y8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", R9), Y8.handler(L("#searchBtn"), "onclick", () => {z9(!0), L("#q").focus({ preventScroll: !0 });- }), X8.handler(L("#searchBack"), "onclick", () => {+ }), Y8.handler(L("#searchBack"), "onclick", () => {z9(!1), L9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });});let e = (e) => {e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || z9(!1), L9());};- X8.listen(document, "pointerdown", e, !0), X8.listen(document, "focusin", e), X8.handler(L("#brandHome"), "onclick", (e) => {+ Y8.listen(document, "pointerdown", e, !0), Y8.listen(document, "focusin", e), Y8.handler(L("#brandHome"), "onclick", (e) => {e.preventDefault(), D7();- }), X8.listen(document, "keydown", (e) => {+ }), Y8.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = S8();+ let t = x8();if (t?.isOpen()) {t.close();return;@@ -83987,11 +83993,11 @@ function CBe() {return;}if (m9.immerseOpen()) {- y8().close();+ v8().close();return;}if (m9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), g8().requestEscape());+ e.defaultPrevented || (e.preventDefault(), h8().requestEscape());return;}if (L("#drawer").classList.contains("open")) {@@ -84004,7 +84010,7 @@ function CBe() {}return;}- if (xBe(e.target)) return;+ if (SBe(e.target)) return;if (!e.defaultPrevented && kje(e, f9())) {e.preventDefault(), d9(!l9());return;@@ -84017,37 +84023,37 @@ function CBe() {return;}}- let t = bBe();+ let t = xBe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), g8()?.toggleTheater();+ e.preventDefault(), h8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), $N(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), ZN(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), QN(t);+ e.preventDefault(), XN(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), pN(t, ".vjs-mute-control");+ e.preventDefault(), dN(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), pN(t, ".vjs-fullscreen-control");+ e.preventDefault(), dN(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), g8()?.toggleMiniplayer();+ e.preventDefault(), h8()?.toggleMiniplayer();return;}}});}// src/history/links.ts-function wBe(e) {+function TBe(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;@@ -84070,23 +84076,23 @@ var B9 = {shellActions: void 0,routing: void 0};-function TBe() {- let e = X8, t = (e) => {- e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? Kze(e.code, !1) : e.kind === "follow" ? F9(e.id, !1) : v9(e.queue, e.key, e.item, !1);+function EBe() {+ let e = Y8, t = (e) => {+ e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? qze(e.code, !1) : e.kind === "follow" ? F9(e.id, !1) : v9(e.queue, e.key, e.item, !1);};- if (lRe(), G5.entityShapesReady = i5(), ZRe(), location.pathname === "/") {+ if (uRe(), G5.entityShapesReady = r5(), QRe(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1, u7(L("#catalogPageHeading"), e.get("q")));}- u5(decodeURIComponent(location.pathname)) && s5(L("#feedNew")), aze(), B9.shellActions = {+ l5(decodeURIComponent(location.pathname)) && o5(L("#feedNew")), oze(), B9.shellActions = {openSettings: (e) => a7(e, !0),- closeSettings: () => S8()?.close(!1),+ closeSettings: () => x8()?.close(!1),openItem: (e) => void x9(e),openEntity: (e, t) => void O5(e, t),openTag: (e) => {- tze(), G7(e);+ nze(), G7(e);},- openTasteSignal: TRe,+ openTasteSignal: ERe,navigate: (e) => {let n = new URL(e, location.href), r = Kf(n.pathname, n.search);if (r) {@@ -84094,20 +84100,20 @@ function TBe() {E9(n.pathname + n.search + n.hash, e, () => t(r));} else if (n.hash && n.pathname === location.pathname && n.search === location.search && !qf(location.pathname)) {Q.route(e);- let t = Bp.navigation.seq;- Gp(n.hash, () => Bp.navigation.seq === t);+ let t = W.navigation.seq;+ Wp(n.hash, () => W.navigation.seq === t);} else Q.navigatePath(e);},openManage: p7,managePath: (e) => Q.routePathOf("section", e) || "",openFollow: () => P9(),- receipt: (e, t) => P8.actionReceipt(e, t),- toast: (e, t) => P8.toast(e, t),- failure: P8.actionFailure,+ receipt: (e, t) => N8.actionReceipt(e, t),+ toast: (e, t) => N8.toast(e, t),+ failure: N8.actionFailure,revealSource: C5,- reopenTutorial: dBe,- routeReview: ORe,- routeFollowManage: WRe,+ reopenTutorial: fBe,+ routeReview: kRe,+ routeFollowManage: GRe,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},@@ -84118,10 +84124,10 @@ function TBe() {},exitSelectMode: () => R5(!1, !1),personAvatar: (e, t, n) => V5.personAvatar(e, t, n),- authorAvatar: (e) => KRe(e),- showIndexTags: qRe,+ authorAvatar: (e) => qRe(e),+ showIndexTags: JRe,openFollowAuthor: W5,- openFollowTag: JRe,+ openFollowTag: YRe,openPlaylist: (e, t) => void y9(e, t, !0),canFlip: () => !iu && !l9() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {@@ -84141,7 +84147,7 @@ function TBe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, Bp.navigation.claimed && (!Hp() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Hp() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, W.navigation.claimed && (!Vp() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Vp() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {m9.stageOpen() && _9(!1);@@ -84158,49 +84164,49 @@ function TBe() {missing: (e) => {B9.shellActions.surfaceChanged("entity", location.pathname), D5(e);},- loading: (e, t, n) => Y.application.loading(e, t, n),- props: (e, t, n) => Y.application.addressProps(e, t, n),+ loading: (e, t, n) => p5.application.loading(e, t, n),+ props: (e, t, n) => p5.application.addressProps(e, t, n),refresh: (e, t, n) => {- let r = Y.parseEntityFilters(n);+ let r = p5.parseEntityFilters(n);e === "creator" && (r.creator = "");let i = g5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !v5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (j7(r), M7(g5()), !0);+ return i.type !== "entity" || i.kind !== e || i.name !== t || !v5(e, t, r, p5.parseMediaView(n), { push: !1 }) ? !1 : (j7(r), M7(g5()), !0);}},follow: $.followFeedShell,catalog: {defaultLoc: () => T7("local,115"),- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (D9(), C7(), l7()), t && B8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), w9(), U7(), Z.handOff(J7())),+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (D9(), C7(), l7()), t && z8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), w9(), U7(), Z.handOff(J7())),load: () => Z.handOff(J7()),fill: () => {- if ($7() || !Hp() && !L("#grid").querySelector(".catalog-skeleton")) return;+ if ($7() || !Vp() && !L("#grid").querySelector(".catalog-skeleton")) return;let e = L("#count");e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Z7(Q.surfaceToken(Q.surfacePath()));},release: () => {- X7(), d5();+ X7(), u5();}}}, B9.routing = !1, e.listen(document, "click", (e) => {- let t = wBe(e);+ let t = TBe(e);t && (e.preventDefault(), B9.shellActions.navigate(t));- }), X8.own(Bp.listen((e) => {+ }), Y8.own(W.listen((e) => {Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !qf(e.location.pathname) && _9(!1), B9.routing && !e.claimed && D9();- })), DLe(B9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), cze(), RRe(), s7();- let n = u5(decodeURIComponent(location.pathname)) && X.homeHasFeed == null ? G5.entityShapesReady : null;+ })), DLe(B9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), lze(), zRe(), s7();+ let n = l5(decodeURIComponent(location.pathname)) && X.homeHasFeed == null ? G5.entityShapesReady : null;Promise.all([o9(),- oze(),+ sze(),n]).then(() => {- e.isActive && (G5.wantsDiscoveryBars() && U7().catch((e) => console.error("首页横条装载失败", e)), w9(), Lze(), B9.routing = !0, Ou({ pageOpens: 1 }), D9(), w7());+ e.isActive && (G5.wantsDiscoveryBars() && U7().catch((e) => console.error("首页横条装载失败", e)), w9(), Rze(), B9.routing = !0, Ou({ pageOpens: 1 }), D9(), w7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}// src/theme-transition.tsvar V9 = !1;-async function EBe(e, t) {+async function DBe(e, t) {if (V9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -84222,9 +84228,9 @@ async function EBe(e, t) {}}// src/application/chrome.js-function DBe() {+function OBe() {(() => {- let e = X8, t = [+ let e = Y8, t = ["#brandHome","#filterBtn","#settingsBtn"@@ -84284,7 +84290,7 @@ function DBe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), Tn("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- oK(t.libraries);+ iK(t.libraries);let n = [["","全部媒体库",@@ -84322,14 +84328,14 @@ function DBe() {(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" && EBe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), $j();+ t.getAttribute("aria-pressed") !== "true" && DBe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), Zj();});- })), $j();+ })), Zj();let _ = document.createElement("div");_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());let v = g.querySelector("#boardGlowBtn"), y = ps(g, v, _);- e.own(y.dispose), e.own(iue(v)), PLe({+ e.own(y.dispose), e.own(aue(v)), PLe({root: _,store: Z.settingsStore,openDetails: () => {@@ -84348,14 +84354,14 @@ function DBe() {let r = n.classList.contains("open"), i = !n7();i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;}- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(X8, window)("resize", b);+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(Y8, window)("resize", b);let x = !1;function S() {x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);}- if (e.listen.bind(X8, window)("scroll", () => {+ if (e.listen.bind(Y8, window)("scroll", () => {x || (x = !0, e.frame(S));- }, { passive: !0 }), e.listen.bind(X8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {+ }, { passive: !0 }), e.listen.bind(Y8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";let r = document.createElementNS(t, "defs");@@ -84472,8 +84478,8 @@ function DBe() {})(), r7(!n7() && sessionStorage.getItem("board.sidebar") !== "closed");}// src/navigation-progress.ts-var OBe = 200, kBe = 400, ABe = 240;-function jBe() {+var kBe = 200, ABe = 400, jBe = 240;+function MBe() {let e = document.createElement("div");e.className = "navprogress", e.setAttribute("aria-hidden", "true"), e.append(document.createElement("i")), document.body.append(e);let t = /* @__PURE__ */ new Set(), n = 0, r = 0, i = 0, a = !1, o = () => _p() || t.size > 0, s = () => {@@ -84484,12 +84490,12 @@ function jBe() {}n ||= window.setTimeout(() => {n = 0, i = performance.now(), e.dataset.state = "running";- }, OBe);+ }, kBe);} else clearTimeout(n), n = 0, !(e.dataset.state !== "running" || r) && (r = window.setTimeout(() => {e.dataset.state = "done", r = window.setTimeout(() => {r = 0, delete e.dataset.state;- }, ABe);- }, Math.max(0, kBe - (performance.now() - i))));+ }, jBe);+ }, Math.max(0, ABe - (performance.now() - i))));}, c = () => {a || (a = !0, queueMicrotask(() => {a = !1, s();@@ -84506,15 +84512,15 @@ function jBe() {};}// src/application/initialize.js-function MBe() {- uBe(), Xze(), QRe(), Zze(), zze(), FLe(), Aze(), fBe(), SRe(), qze(), zRe(), jze(), hRe(), kRe(), cBe(), YRe(), CRe(), lBe(), XRe(), wRe(), mze(), Mze(), SBe(), Jze(), CBe(), Bze(), TBe(), DBe(), X8.own(jBe()), X8.own(X7), X8.own(T9);+function NBe() {+ dBe(), Zze(), $Re(), Qze(), Bze(), FLe(), jze(), pBe(), CRe(), Jze(), BRe(), Mze(), gRe(), ARe(), lBe(), XRe(), wRe(), uBe(), ZRe(), TRe(), hze(), Nze(), CBe(), Yze(), wBe(), Vze(), EBe(), OBe(), Y8.own(MBe()), Y8.own(X7), Y8.own(T9);}// src/ui-kit/middle-truncate.ts-var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, H9 = /* @__PURE__ */ new WeakMap(), U9 = /* @__PURE__ */ new Set(), W9 = 0, G9 = /* @__PURE__ */ new WeakSet(), K9 = null, q9 = null, FBe = (e) => PBe ? [...PBe.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), J9 = (e, t) => {+var PBe = "…", FBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, H9 = /* @__PURE__ */ new WeakMap(), U9 = /* @__PURE__ */ new Set(), W9 = 0, G9 = /* @__PURE__ */ new WeakSet(), K9 = null, q9 = null, IBe = (e) => FBe ? [...FBe.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), J9 = (e, t) => {if (t >= e.length) return e.join("");let n = Math.ceil(t / 2), r = Math.floor(t / 2);- return e.slice(0, n).join("") + NBe + (r ? e.slice(-r).join("") : "");-}, IBe = (e, t) => {+ return e.slice(0, n).join("") + PBe + (r ? e.slice(-r).join("") : "");+}, LBe = (e, t) => {if (!e.length || t(e.join(""))) return e.length;let n = 0, r = e.length - 1, i = 0;for (; n <= r;) {@@ -84522,23 +84528,23 @@ var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(t(J9(e, a)) ? (i = a, n = a + 1) : r = a - 1;}return i;-}, LBe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿-]/u, RBe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, zBe = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, BBe = /[-]/u, VBe = (e) => RBe.test(e) ? 1 : zBe.test(e) && !BBe.test(e) ? 2 : 0, HBe = (e) => {+}, RBe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿-]/u, zBe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, BBe = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, VBe = /[-]/u, HBe = (e) => zBe.test(e) ? 1 : BBe.test(e) && !VBe.test(e) ? 2 : 0, UBe = (e) => {let t = 0, n = 0;for (let r of e) {- let e = VBe(r);+ let e = HBe(r);n && e && n !== e && t++, n = e;}return t;-}, UBe = null, WBe = (e, t) => {- let n = getComputedStyle(e), r = (UBe ||= document.createElement("canvas")).getContext("2d");+}, WBe = null, GBe = (e, t) => {+ let n = getComputedStyle(e), r = (WBe ||= document.createElement("canvas")).getContext("2d");if (!r) return () => Infinity;r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;let i = parseFloat(n.letterSpacing), a = parseFloat(n.wordSpacing), o = n.getPropertyValue("text-autospace"), s = t && o && o !== "no-autospace" ? (parseFloat(n.fontSize) || 0) / 8 : 0;return (e) => {let t = r.measureText(e).width;- return Number.isFinite(i) && (t += Math.max(0, FBe(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += HBe(e) * s), t;+ return Number.isFinite(i) && (t += Math.max(0, IBe(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += UBe(e) * s), t;};-}, GBe = [+}, KBe = ["font-family","font-size","font-weight",@@ -84563,7 +84569,7 @@ var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter("text-autospace","text-spacing-trim","white-space-collapse"-], Y9 = null, KBe = (e) => {+], Y9 = null, qBe = (e) => {if (!Y9) {let e = document.createElement("div");e.setAttribute("aria-hidden", "true"), e.dataset.middleTruncateProbe = "", e.style.cssText = "position:fixed;left:0;top:0;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none;contain:strict", Y9 = {@@ -84572,10 +84578,10 @@ var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(};}Y9.box.isConnected || document.documentElement.append(Y9.box);- let t = getComputedStyle(e), n = GBe.map((e) => t.getPropertyValue(e)), r = e.closest("[lang]")?.getAttribute("lang") || "", i = n.join("\n") + "\n" + r, a = Y9.groups.get(i);- return a || (a = document.createElement("div"), n.forEach((e, t) => a.style.setProperty(GBe[t], e)), a.lang = r, Y9.box.append(a), Y9.groups.set(i, a)), a;-}, qBe = 8, JBe = (e) => {- for (let t = 0; e.length && t < qBe; t++) {+ let t = getComputedStyle(e), n = KBe.map((e) => t.getPropertyValue(e)), r = e.closest("[lang]")?.getAttribute("lang") || "", i = n.join("\n") + "\n" + r, a = Y9.groups.get(i);+ return a || (a = document.createElement("div"), n.forEach((e, t) => a.style.setProperty(KBe[t], e)), a.lang = r, Y9.box.append(a), Y9.groups.set(i, a)), a;+}, JBe = 8, YBe = (e) => {+ for (let t = 0; e.length && t < JBe; t++) {let t = e.map((e) => e.tries.map((t) => {let n = document.createElement("span");return n.style.cssText = "display:block;width:max-content;text-wrap-mode:nowrap", n.textContent = J9(e.fit.parts, t), e.group.append(n), n;@@ -84593,28 +84599,28 @@ var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(])].filter((t) => t > e.fits && t < e.fails), !0;});}-}, YBe = (e) => {+}, XBe = (e) => {let t = [];for (let n of e) {- let e = n.state.full, r = LBe.test(e), i = WBe(n.element, r);- if (n.kept = IBe(n.parts, (e) => i(e) <= n.available), !r) continue;+ let e = n.state.full, r = RBe.test(e), i = GBe(n.element, r);+ if (n.kept = LBe(n.parts, (e) => i(e) <= n.available), !r) continue;let a = [n.kept, n.kept + 1].filter((e) => e > 0 && e <= n.parts.length);t.push({fit: n,- group: KBe(n.element),+ group: qBe(n.element),fits: 0,fails: n.parts.length + 1,tries: a});}- JBe(t);-}, XBe = (e) => {+ YBe(t);+}, ZBe = (e) => {let t = getComputedStyle(e), n = parseFloat(t.width);if (!Number.isFinite(n)) return e.clientWidth;let r = t.boxSizing === "border-box" ? n - (parseFloat(t.borderLeftWidth) || 0) - (parseFloat(t.borderRightWidth) || 0) : n + (parseFloat(t.paddingLeft) || 0) + (parseFloat(t.paddingRight) || 0);return Math.max(e.clientWidth, r + 1 / 64);-}, ZBe = (e) => {- if (e.dataset.middleTruncateWithin === void 0) return XBe(e);+}, QBe = (e) => {+ if (e.dataset.middleTruncateWithin === void 0) return ZBe(e);let t = e.parentElement;if (!t) return e.clientWidth;let n = getComputedStyle(t), r = parseFloat(n.columnGap) || 0, i = 0, a = 0;@@ -84623,7 +84629,7 @@ var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(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);-}, QBe = () => {+}, $Be = () => {W9 = 0;let e = [];for (let t of U9) {@@ -84631,12 +84637,12 @@ var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(n && t.isConnected && e.push({element: t,state: n,- available: ZBe(t),- parts: FBe(n.full),+ available: QBe(t),+ parts: IBe(n.full),kept: 0});}- U9.clear(), YBe(e.filter((e) => e.available > 0));+ U9.clear(), XBe(e.filter((e) => e.available > 0));for (let { element: t, state: n, available: r, parts: i, kept: a } of e) {let e = r > 0 ? J9(i, a) : n.full;n.rendered = e, t.textContent !== e && (t.textContent = e);@@ -84644,28 +84650,28 @@ var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(t.classList.toggle("middle-truncated", o), t.setAttribute("aria-label", n.full), t.hasAttribute("title") && t.dataset.middleTitle !== "true" || (t.title = n.full, t.dataset.middleTitle = "true");}}, X9 = (e) => {- H9.has(e) && (U9.add(e), W9 ||= requestAnimationFrame(QBe));-}, $Be = (e) => {+ H9.has(e) && (U9.add(e), W9 ||= requestAnimationFrame($Be));+}, eVe = (e) => {e instanceof HTMLElement && (H9.has(e) || H9.set(e, {full: e.textContent || "",rendered: e.textContent || ""}), G9.has(e) || (G9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? K9?.observe(e.parentElement) : K9?.observe(e)), X9(e));-}, eVe = (e) => {+}, tVe = (e) => {if (e.nodeType !== Node.ELEMENT_NODE) return;let t = e;- t.matches("[data-middle-truncate]") && $Be(t), t.querySelectorAll("[data-middle-truncate]").forEach($Be);+ t.matches("[data-middle-truncate]") && eVe(t), t.querySelectorAll("[data-middle-truncate]").forEach(eVe);};-function tVe(e = document) {+function nVe(e = document) {q9?.(), G9 = /* @__PURE__ */ new WeakSet();let t = !0;K9 = new ResizeObserver((e) => e.forEach((e) => {t && (X9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(X9));}));let n = K9;- eVe(e.documentElement || e);+ tVe(e.documentElement || e);let r = new MutationObserver((e) => e.forEach((e) => {if (!t) return;- e.addedNodes.forEach(eVe);+ e.addedNodes.forEach(tVe);let n = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");if (!n) return;let r = H9.get(n);@@ -84691,7 +84697,7 @@ function tVe(e = document) {return q9 = a, a;}// src/react/result-updates.tsx-var nVe = [+var rVe = ["catalog-grid","catalog-folders","item",@@ -84716,15 +84722,15 @@ var nVe = ["follow","entity","index"-], rVe = [+], iVe = ["feed-new","jav-discoveries","jav-detail","wants","index"-], iVe = {+], aVe = {catalog: [- ...nVe,+ ...rVe,...Z9,"review","taste"@@ -84734,19 +84740,19 @@ var nVe = ["stats","taste"],- discoveries: rVe,+ discoveries: iVe,review: ["review"],artwork: [- ...nVe,- ...Z9,...rVe,+ ...Z9,+ ...iVe,"avatar-choices"]};-function aVe() {+function oVe() {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 iVe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of aVe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -84759,101 +84765,101 @@ function aVe() {})), t || Promise.resolve();};}-var oVe = (e) => e.replace(/[&<>"']/g, (e) => `&#${e.charCodeAt(0)};`), sVe = 3, cVe = (e) => {- let t = oVe(e.label || "一部作品");+var sVe = (e) => e.replace(/[&<>"']/g, (e) => `&#${e.charCodeAt(0)};`), cVe = 3, lVe = (e) => {+ let t = sVe(e.label || "一部作品");return e.kind === "download" ? `「${t}」已入库并整理完成` : `新文件已入库:「${t}」`;};-function lVe(e, t) {+function uVe(e, t, n) {if (!t) return e;- let n = t.items.reduce((e, t) => Math.max(e, t.id), 0);+ let r = t.items.reduce((e, t) => Math.max(e, t.id), 0);if (!e || e.epoch !== t.epoch) return {epoch: t.epoch,- last: n+ last: r};- let r = t.items.filter((t) => t.id > e.last);- if (r.length > sVe) qU(`ingest-${t.epoch}-${n}`, {- html: `${r.length} 部作品已入库`,+ let i = t.items.filter((t) => t.id > e.last);+ if (i.length > cVe) GU(`ingest-${t.epoch}-${r}`, {+ html: `${i.length} 部作品已入库`,alert: !1,timeout: 8e3,action: null});- else for (let e of r) qU(`ingest-${t.epoch}-${e.id}`, {- html: cVe(e),+ else for (let e of i) GU(`ingest-${t.epoch}-${e.id}`, {+ html: lVe(e),alert: !1,timeout: 8e3,action: {label: "打开",- run: () => Vp(`/assets/${e.asset_id}`)+ run: () => n(e.asset_id)}});return {epoch: t.epoch,- last: Math.max(e.last, n)+ last: Math.max(e.last, r)};}-function uVe() {- let e = Ft({- queryKey: Epe,- queryFn: ({ signal: e }) => Dpe(e),- refetchInterval: (e) => e.state.data?.busy ? BI : VI- }), t = (0, F.useRef)(void 0), n = (0, F.useRef)(null), [r] = (0, F.useState)(aVe), i = e.data?.result_versions, a = e.data?.ingest_notices;+function dVe({ openItem: e }) {+ let t = Ft({+ queryKey: Dpe,+ queryFn: ({ signal: e }) => Ope(e),+ refetchInterval: (e) => e.state.data?.busy ? RI : zI+ }), n = (0, F.useRef)(void 0), r = (0, F.useRef)(null), [i] = (0, F.useState)(oVe), a = t.data?.result_versions, o = t.data?.ingest_notices;return (0, F.useEffect)(() => {- i && (t.current && r(t.current, i), t.current = i);- }, [i, r]), (0, F.useEffect)(() => {- n.current = lVe(n.current, a);- }, [a]), null;+ a && (n.current && i(n.current, a), n.current = a);+ }, [a, i]), (0, F.useEffect)(() => {+ r.current = uVe(r.current, o, e);+ }, [o, e]), null;}// src/react/application.tsxvar Q9 = null;-function dVe(e) {+function fVe(e) {Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());}-function fVe() {+function pVe() {if (!Q9) {- let e = ZLe();+ let e = QLe();Q9 = {effects: e,owners: 0- }, e.own(tVe(document)), e.own(() => {+ }, e.own(nVe(document)), e.own(() => {zl(), H.cancelQueries();}), e.own(OLe), e.own(Ap), e.own(ss);}return Q9.owners += 1, Q9.effects.resume(), Q9;}-function pVe() {+function mVe() {let [e, t] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {- let e = Q9 === null, n = fVe(), r = ELe(t);+ let e = Q9 === null, n = pVe(), r = ELe(t);if (e) try {- MBe();+ NBe();} catch (e) {throw r(), n.effects.dispose(), Q9 = null, e;}return () => {- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => dVe(n)));+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => fVe(n)));};- }, []), /* @__PURE__ */ (0, I.jsx)(Vbe, {+ }, []), /* @__PURE__ */ (0, I.jsx)(Hbe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, I.jsx)(uVe, {}) : null+ background: e ? /* @__PURE__ */ (0, I.jsx)(dVe, { openItem: e.openItem }) : null});}var $9 = /* @__PURE__ */ new WeakMap();-function mVe(e) {+function hVe(e) {let t = $9.get(e);if (t) return t;- let n = (0, zt.createRoot)(e, Hbe);+ let n = (0, zt.createRoot)(e, Ube);$9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {- $9.get(e) === n && ($9.delete(e), r(), Q9 && dVe(Q9));- }, (0, Rt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(pVe, {}))), n;+ $9.get(e) === n && ($9.delete(e), r(), Q9 && fVe(Q9));+ }, (0, Rt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(mVe, {}))), n;}// src/react/bootstrap.tsxO();-var hVe = document.getElementById("appRoot");-if (!hVe) throw Error("主界面宿主缺失");-mVe(hVe);-export { IL as $2ec61d1d4f780267$export$a8a3e93435678ff9, WL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, sz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, TD as $72abaeab4d80592f$export$78efe591171d7d45, $z as $76d00c5a4edb230a$export$76ccd210b9029917, Xz as $76d00c5a4edb230a$export$816b5d811295e6bc, nB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, iB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, Yz as $76d00c5a4edb230a$export$f850895b287ef28e, tge as $b4f18e3395fe64d7$export$3d96ec278d3efce4, ege as $b4f18e3395fe64d7$export$3e41faf802a29e71, Zhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, cB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, ige as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, fE as $ea3928288112382f$export$439d29a4e110a164, bz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Dz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Oz as $fe21c36db05242bb$export$d7b12c4107be0d61, Hge as $l, Lj as ACCENTS, tje as AMANE_BRIDGE_CHECK_URL, L$ as AMANE_BRIDGE_KEY, nje as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, tW as ArtSlot, O2 as BATCH_DELETE_TEXT, J as Button, mL as ButtonLink, BB as Bx, I$ as CHECK_ALL_KEY, u$ as CLEANUP_ENTRY, l$ as CLEANUP_ENTRY_GRID, ip as CLEANUP_HASH_REDIRECTS, np as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, e0 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, t1 as CONFIGURATION_KEY, XY as CONFIGURATION_URL, rje as COOKIE_TEXT_LIMIT, F$ as COVER_JOB_KEY, jl as COVER_STATE_TITLE, Xi as CREDENTIAL_STATE, A$ as CUSTOM_SOURCES_KEY, k$ as CUSTOM_SOURCES_URL, xG as CatalogViewToggle, PV as Checkbox, NV as CheckboxGlyph, wV as ChevronSortDown, YU as Chip, uW as CloudDownloadDialog, kH as CollapseChevron, OH as CollapseRegion, r$ as CollectionSummary, Ave as CommandSteps, yQ as CoverQueue, NTe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, IQ as DIAGNOSTICS_KEY, NEe as DIRECTORY_TEMPLATE_ERROR, _W as DISCOVERY_SORTS, rW as DOWNLOADS_KEY, nW as DOWNLOADS_URL, _Y as DUPLICATES_KEY, eW as DataTableFooter, ZJ as DataTableFrame, $U as DataTableSort, FH as Disclosure, zye as DownloadsPanel, Age as E3, PTe as ENTITY_REVIEW_KINDS, Q1 as ENTRY_LINKS_HELP, $1 as ENTRY_LINKS_HINT, MB as Ea, h_e as EmptyFocusButton, oV as EmptyState, NH as ErrorText, a_e as Eu, jve as ExternalLink, Vr as FEEDS_KEY, iX as FEED_SCHEDULE_KEY, s$ as FIELDSET_FOOT, MIe as FLOW_LABEL_X, c6 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, G8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, RZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, rX as FOLLOW_SCHEDULE_KEY, Pve as Fact, Nve as FactList, PH as FieldLabel, b$ as Fieldset, y$ as FieldsetTitle, Qpe as FilterGlass, sL as FilterGlassRows, oL as FilterIconButton, cL as FilterPill, kve as Footer, LB as Gg, lL as GlassPill, WB as HN, MH as Help, ZB as HintText, wIe as IDLE_POLL_MS, STe as IDLE_REPAIR, nL as IconButton, RQ as IndexSearch, nV as Input, tV as InputBase, S$ as IssueRow, tM as JAV_LAYOUTS, q0 as JAV_RECOMMENDATION_GRID, kX as JUNK_KEY, MW as JavHeader, gTe as KEEP_LABELS, bge as L1, Ur as LAYOUTS, Z1 as LIBRARY_FOLDER_HELP, qV as LIBRARY_PROCESSING_KEY, UY as LINKS_KEY, WY as LINK_CHECK_KEY, aEe as LINK_KINDS, iEe as LINK_PRUNE_KEY, nr as LOC, XB as Label, T$ as LibraryProcessingCard, CV as LibraryShortcuts, lH as LinkButton, Wge as Lo, CH as LoadingDots, Mge as M6, uEe as MEDIA_PROCESSING_KEY, oX as MEDIA_PROCESSING_URL, SY as MEDIA_REPAIR_KEY, xY as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, vs as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, OV as MENU_ITEM, kV as MENU_ITEM_INTERACTIVE, DV as MENU_POPOVER_SURFACE, Kge as Ma, pH as MenuDialog, kK as MixCard, rV as ModalFrame, Cx as MotionConfigContext, JB as NR, x$ as NameLink, aV as Note, d_e as OA, lX as ORGANIZE_KEY, T2 as ORGANIZE_PARAMETER_HINT, w2 as ORGANIZE_SCOPE_HINT, C2 as ORGANIZE_TEXT, fX as ORPHAN_RECORDS_KEY, D2 as ORPHAN_RECORDS_TEXT, FB as OV, bB as P7, EX as PERFORMER_DELETE_KEY, Jye as PHASES, ZY as PICK_FOLDER_URL, f$ as PLAIN_STAT_STRIP, D$ as PLAYLISTS_KEY, yMe as POLICY_COLUMNS, xMe as POLICY_COVER_NOTE, bMe as POLICY_MATRIX, X1 as POLICY_SUMMARY, w$ as PathLine, KB as Pf, AI as PillTabList, CAe as PlainStat, bH as ProcessingMode, TH as Progress, DY as QUALITY_GOALS_KEY, GB as RB, W0 as RELEASE_COLUMN_VISIBILITY_KEY, U0 as RELEASE_COLUMN_WIDTHS_KEY, EW as RELEASE_PAGE_SIZES, vW as RELEASE_SORTS, YMe as RELEASE_SORT_COLUMNS, m$ as REPAIR_CARD_TEXT, CY as REPAIR_LIBRARIES_KEY, _X as RESOURCE_APPLY_KEY, gX as RESOURCE_SCAN_KEY, E2 as RESOURCE_SYNC_TEXT, kAe as RESULT_PANEL, AAe as RESULT_SECTION, MTe as REVIEW_CATEGORIES, OX as REVIEW_COUNTS_KEY, FTe as REVIEW_DECISION_LABELS, AY as REVIEW_KEY, jY as REVIEW_LABELS, NY as REVIEW_QUEUES, PY as REVIEW_QUEUE_LABELS, XG as RetryNote, l_e as Rf, YB as Rk, Eve as Rows, M$ as SCRAPING_CHECK_ALL_URL, $Ae as SCRAPING_CHECK_URL, N$ as SCRAPING_COVER_URL, P$ as SCRAPING_KEY, QAe as SCRAPING_SETTINGS_URL, tU as SEGMENT, eU as SEGMENTED_TRACK, nX as SETTINGS_KEY, QY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, N3 as STATS_KEY, xAe as STAT_STRIP, SAe as STAT_STRIP_SIX, Tve as Section, jAe as SectionHeading, Ove as SectionSkeleton, $H as SegmentedRadioGroup, Yve as SegmentedTabList, UG as Segments, XU as Select, zU as Select$1, a1 as SelectField, BU as SelectItem, iY as SelectionActions, hj as SelectionDock, aY as SelectionPopover, AH as SettingsCard, wve as SettingsRow, jH as SettingsSectionLabel, WG as Shuffle, Rve as SiteLabel, QU as SortDirectionIcon, GG as SortKeys, vQ as SourceAvatar, zH as SourceLabel, IH as SourceMark, Dve as Stack, wAe as StatCard, C$ as StatusLabel, o_e as Su, d4 as Switch, zI as TASKS_KEY, pIe as TASTE_REFRESH_KEY, mIe as TASTE_WINDOWS, aX as THUMBNAIL_JOBS_KEY, jX as TRASH_KEY, jpe as TRIGGER_LABELS, BJ as Table, oY as TableColumnControls, sY as TableColumnResizer, lY as TableSelectionHeader, QQ as TagManager, Mve as TaskCenterLink, EH as TaskProgress, $B as TextField, QB as TextFieldContext, NB as Un, u_e as Uz, fW as WANTS_KEY, E4 as WantMagnets, Zg as WithPromise, wB as Wt, jB as Xc, qB as Xf, EB as Xl, TB as Xt, SB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, UB as _p, c_e as aB, Ei as addAlias, Ti as addSource, mW as addWant, fS as animate, B as apiGet, V as apiSend, Yj as appSettingsStore, QEe as applyConfirmText, TX as applyLeftovers, ZEe as applyPlanText, eDe as applyText, $j as applyTheme, by as asNumber, BEe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, Oq as autoResetPageIndex, vo as avatarInner, z3 as bandRows, PEe as baseName, xTe as batchOperate, que as beginPlayerGuidePreview, bj as boundedPreference, vTe as bulkCloudPreferences, uV as busyProps, s_e as cB, HPe as cachedMagnetStates, Gg as calcGeneratorVelocity, HTe as canApprove, bg as cancelFrame, GEe as candidateText, yU as cardClass, mM as cardRatio, JJ as catalogListSkeletonCellHtml, AB as cc, Ki as checkEvidenceGap, Gi as checkFailures, Fi as checkFeeds, lEe as checkLine, Ui as checkReceipt, Wi as checkSummary, aje as checkText, qi as checkedText, gK as clickedBlank, i7 as closeDrawerAfterNav, lTe as cloudLocations, j0 as cloudProxySkeleton, GC as clsx, Yge as cn, dv as collectMotionValues, Jq as columnVisibilityFeature, FJ as column_getCanSort, jJ as column_getSortFn, BTe as commonReviewSources, lW as composingKey, Lf as configurationSection, vIe as configureTasteBrowser, dl as confirmModal, Ope as controlTask, uq as copyInstancePropertiesWithoutMemos, abe as coverArrived, rbe as coverFetching, Nl as coverFetchingHtml, Ml as coverStateAction, uo as coverUrl, zq as createColumnHelper, KAe as createPlaylist, Zi as credentialDone, D0 as credentialsSkeleton, ZTe as currentReviewRow, q as cx, Nge as d6, zB as dZ, JTe as decisionPayload, YTe as decisionReceipt, qTe as defaultChoice, nDe as deletePerformerVideos, JAe as deletePlaylist, F0 as devicesSkeleton, x as diagnosticHeaders, Y1 as diagnosticsSkeleton, obe as discoveryArtwork, wW as discoveryKey, ebe as discoveryScore, _9 as disposeStage, mTe as distinctName, Vi as dropSources, i_e as du, yTe as duplicateVictims, qI as elapsedText, nn as entityDisplayName, _o as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, Dq as expandRowModel, pB as f1, xo as facePos, ei as feedIntervalText, V$ as fetchAmaneBridge, B$ as fetchCheckAllJob, vi as fetchCheckJob, n1 as fetchConfiguration, z$ as fetchCoverJob, CW as fetchCoverNow, _i as fetchCredentials, j$ as fetchCustomSources, DX as fetchDeletePerformers, tDe as fetchDeletePlan, LQ as fetchDiagnostics, TW as fetchDiscoveries, yY as fetchDuplicates, pEe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, fEe as fetchFollowSchedule, NX as fetchJunkSummary, tH as fetchLibraryProcessing, qY as fetchLinkCheck, JY as fetchLinkPrune, KY as fetchLinkStats, dEe as fetchMediaProcessing, wY as fetchMediaRepair, br as fetchMediaSources, uX as fetchOrganize, EEe as fetchOrganizeExample, pX as fetchOrphanRecords, ji as fetchPending, O$ as fetchPlaylists, OY as fetchQualityGoals, kW as fetchReleases, TY as fetchRepairLibraries, yi as fetchResolveJob, yX as fetchResourceApply, vX as fetchResourceScan, BY as fetchReview, MX as fetchReviewCounts, sX as fetchSettings, R$ as fetchSources, P3 as fetchStats, bi as fetchSuggestions, HI as fetchTasks, a6 as fetchTaste, yIe as fetchTasteJob, mEe as fetchThumbnailJobs, PX as fetchTrashSummary, pW as fetchWants, RTe as filterReviewRows, er as firstGrapheme, KK as flexRender, PIe as flowGraph, FIe as flowLabel, NFe as fmtCount, Jn as fmtDur, Xn as fmtSize, wpe as foldByKind, Vpe as foldRoutine, Li as followFeedByName, Ri as followFeedEntity, Hr as followSuggestKey, Upe as followupDetail, Cpe as followupTally, yg as frame, vB as g4, Zq as getDefaultPaginationState, pM as gridLayout, li as groupByAuthor, Bpe as groupFollowups, LY as groupReviewRows, YEe as hasChanges, bX as hasResourceRoots, WI as hasResultProblems, TIe as historySpan, mB as i2, CIe as importTasteExport, O0 as indexersSkeleton, Vg as interpolate, gW as invalidateWants, KI as isActive, $r as isBroken, qr as isLayout, Sv as isMotionValue, MY as isReviewCategory, Hpe as isRoutine, k0 as javBrowserSkeleton, Y0 as javContentSkeleton, oM as javLayout, J0 as javTagSkeleton, sDe as junkBreakdown, dTe as keepGroup, YAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, F3 as known, yge as l1, Ege as l7, zpe as latestOfKind, $n as leadingGraphemes, GFe as lengthRows, Cr as localTime, mo as logoUrl, Ii as lookupFeedActor, yB as m7, RB as mM, Dn as mapLimit, Ai as markItem, B3 as max, UFe as mediumRows, V3 as min, nEe as mirrorText, TTe as missingToolText, bY as mixedCloudPreferences, ZI as momentText, pS as motion, pv as motionValue, rn as nameFallback, Ue as notifyManager, Pge as oe, IEe as organizeOutcome, d2 as overlayHost, Jr as pageSizeOf, fi as pageWindow, Bi as patchSource, Bp as peachHistory, Bp as peachHistory$1, KTe as pendingGenres, FFe as percentText, kEe as pickOrganizeFolder, d$ as plainStatClass, FEe as planSummary, I3 as playedFor, LFe as playedItemUrl, Tpe as pollInterval, Zs as popCount, GAe as posterUrl, Nxe as previewLibraryColor, OEe as previewOrganize, OTe as previewUrl, Lpe as problemDestination, XV as processingActive, JI as progressText, RH as providerIcon, cEe as pruneText, SX as purgeCount, VEe as purgeOrphan, VB as pv, r_e as qE, H as queryClient, hB as r2, jIe as radarRows, BFe as radialArc, VFe as radialBarSize, zFe as radialCeiling, RFe as radialSlices, AN as randomId, kIe as rankDetail, AIe as rankShares, R3 as reachedShare, YI as readableErrorHeadline, tbe as recommendationScore, QTe as recordGenre, UEe as recordsText, XAe as recreatePlaylist, UAe as refreshPlaylists, Ol as relayoutCovers, G0 as releaseColumns, DW as releaseFilters, OW as releaseKey, Hi as reloadFollowManage, tEe as reloadReview, wMe as rememberShape, jEe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, SIe as removeTasteSource, hW as removeWants, Oi as renameAliasGroup, qAe as renamePlaylist, Se as replaceEqualDeep, qFe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, oq as require_with_selector, Zye as resetWants, mr as resolveFollowSort, Jg as resolveStartTime, sve as restartEffectText, WAe as resumeAssetId, LTe as reviewGroupingOptions, IY as reviewQueueData, FY as reviewQueueOf, oDe as reviewSummary, zTe as reviewWindow, WTe as rowEvidence, zY as rowFieldName, iJ as rowPaginationFeature, TJ as rowSelectionFeature, RJ as rowSortingFeature, RY as rowSubject, GTe as rowTags, UTe as rowTitle, Cge as s5, ki as saveCredential, XEe as scanLine, yEe as schedulePollInterval, $ye as searchNote, VTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, kpe as setTaskSpeed, Vf as settingsPath, eEe as settleReviewRows, pTe as sharedNamePrefix, Vp as shellNavigate, N8 as showToast, qU as showToast$1, Bn as siteMarkUrl, vq as skipFirstRun, OI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Yi as sourceIconUrl, $Ee as sourceMeta, Hs as spinnerHtml, zg as spring, cV as spriteGlyph, xi as startCheck, oEe as startLinkCheck, sEe as startLinkPrune, AEe as startOrganize, Si as startResolve, qEe as startResourceApply, KEe as startResourceScan, xIe as startTasteRefresh, bAe as statCardClass, Npe as statusLabel, wTe as statusLine, Qr as statusText, hM as storeJavLayout, XTe as submitDecision, QI as summaryItems, Bq as tableFeatures, yq as tableMemo, di as tableRows, Ipe as taskIssues, Rpe as taskSubject, o6 as tasteDate, DIe as tasteDimensions, EIe as tasteHours, i6 as tasteKey, gIe as tasteRefetchInterval, _Ie as tasteTime, PI as textLang, H0 as tierPlaceholdersHtml, hh as time, Bge as tl, hi as toggleGroup, s6 as topScores, Zge as um, Gge as uo, uH as useAction, NZ as useBackgroundJob, bG as useCatalogView, jU as useClientUpdates, Dm as useConstant, $I as useEntityNames, aL as useHorizontalScroller, Om as useIsomorphicLayoutEffect, hK as useLibraryTints, It as useMutation, FV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, tS as useReducedMotion, vEe as useRunSchedule, gEe as useSaveFollowSchedule, cX as useSaveSettings, bEe as useSaveThumbnailMode, zJ as useTable, eY as useTablePreferences, fL as useViewGlide, bTe as victimBytes, Vge as vl, Qye as wantName, IFe as watchNote, L3 as watchedShare, Fge as we, Mc as wireHorizontalScroller, MEe as withOrganizeJob, nbe as writeJavQuery, jge as z3 };+var gVe = document.getElementById("appRoot");+if (!gVe) throw Error("主界面宿主缺失");+hVe(gVe);+export { PL as $2ec61d1d4f780267$export$a8a3e93435678ff9, HL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, az as $542a13ca2fa5b484$export$5b6b19405a83ff9d, wD as $72abaeab4d80592f$export$78efe591171d7d45, Zz as $76d00c5a4edb230a$export$76ccd210b9029917, Jz as $76d00c5a4edb230a$export$816b5d811295e6bc, eB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, nB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, qz as $76d00c5a4edb230a$export$f850895b287ef28e, nge as $b4f18e3395fe64d7$export$3d96ec278d3efce4, tge as $b4f18e3395fe64d7$export$3e41faf802a29e71, Qhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, oB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, age as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, dE as $ea3928288112382f$export$439d29a4e110a164, vz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Tz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Ez as $fe21c36db05242bb$export$d7b12c4107be0d61, Uge as $l, Fj as ACCENTS, tje as AMANE_BRIDGE_CHECK_URL, I$ as AMANE_BRIDGE_KEY, nje as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, $U as ArtSlot, D2 as BATCH_DELETE_TEXT, Y as Button, fL as ButtonLink, RB as Bx, F$ as CHECK_ALL_KEY, l$ as CLEANUP_ENTRY, c$ as CLEANUP_ENTRY_GRID, ip as CLEANUP_HASH_REDIRECTS, np as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, $1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, e1 as CONFIGURATION_KEY, YY as CONFIGURATION_URL, rje as COOKIE_TEXT_LIMIT, P$ as COVER_JOB_KEY, jl as COVER_STATE_TITLE, Xi as CREDENTIAL_STATE, k$ as CUSTOM_SOURCES_KEY, O$ as CUSTOM_SOURCES_URL, yG as CatalogViewToggle, MV as Checkbox, jV as CheckboxGlyph, SV as ChevronSortDown, qU as Chip, cW as CloudDownloadDialog, DH as CollapseChevron, EH as CollapseRegion, n$ as CollectionSummary, jve as CommandSteps, vQ as CoverQueue, PTe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, FQ as DIAGNOSTICS_KEY, NEe as DIRECTORY_TEMPLATE_ERROR, hW as DISCOVERY_SORTS, tW as DOWNLOADS_KEY, eW as DOWNLOADS_URL, hY as DUPLICATES_KEY, QU as DataTableFooter, YJ as DataTableFrame, ZU as DataTableSort, NH as Disclosure, Bye as DownloadsPanel, jge as E3, FTe as ENTITY_REVIEW_KINDS, Z1 as ENTRY_LINKS_HELP, Q1 as ENTRY_LINKS_HINT, AB as Ea, g_e as EmptyFocusButton, iV as EmptyState, jH as ErrorText, o_e as Eu, Mve as ExternalLink, Vr as FEEDS_KEY, rX as FEED_SCHEDULE_KEY, o$ as FIELDSET_FOOT, MIe as FLOW_LABEL_X, s6 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, W8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, LZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, nX as FOLLOW_SCHEDULE_KEY, Fve as Fact, Pve as FactList, MH as FieldLabel, y$ as Fieldset, v$ as FieldsetTitle, $pe as FilterGlass, aL as FilterGlassRows, iL as FilterIconButton, oL as FilterPill, Ave as Footer, FB as Gg, sL as GlassPill, HB as HN, AH as Help, YB as HintText, wIe as IDLE_POLL_MS, CTe as IDLE_REPAIR, eL as IconButton, LQ as IndexSearch, eV as Input, $B as InputBase, x$ as IssueRow, $j as JAV_LAYOUTS, K0 as JAV_RECOMMENDATION_GRID, OX as JUNK_KEY, AW as JavHeader, _Te as KEEP_LABELS, xge as L1, Ur as LAYOUTS, X1 as LIBRARY_FOLDER_HELP, GV as LIBRARY_PROCESSING_KEY, VY as LINKS_KEY, HY as LINK_CHECK_KEY, aEe as LINK_KINDS, UY as LINK_PRUNE_KEY, nr as LOC, JB as Label, w$ as LibraryProcessingCard, xV as LibraryShortcuts, sH as LinkButton, Gge as Lo, xH as LoadingDots, Nge as M6, uEe as MEDIA_PROCESSING_KEY, aX as MEDIA_PROCESSING_URL, bY as MEDIA_REPAIR_KEY, yY as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, vs as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, EV as MENU_ITEM, DV as MENU_ITEM_INTERACTIVE, TV as MENU_POPOVER_SURFACE, qge as Ma, dH as MenuDialog, DK as MixCard, tV as ModalFrame, Sx as MotionConfigContext, KB as NR, b$ as NameLink, rV as Note, f_e as OA, cX as ORGANIZE_KEY, w2 as ORGANIZE_PARAMETER_HINT, C2 as ORGANIZE_SCOPE_HINT, S2 as ORGANIZE_TEXT, dX as ORPHAN_RECORDS_KEY, E2 as ORPHAN_RECORDS_TEXT, NB as OV, vB as P7, TX as PERFORMER_DELETE_KEY, Yye as PHASES, XY as PICK_FOLDER_URL, d$ as PLAIN_STAT_STRIP, E$ as PLAYLISTS_KEY, yMe as POLICY_COLUMNS, xMe as POLICY_COVER_NOTE, bMe as POLICY_MATRIX, Y1 as POLICY_SUMMARY, C$ as PathLine, WB as Pf, OI as PillTabList, CAe as PlainStat, vH as ProcessingMode, CH as Progress, TY as QUALITY_GOALS_KEY, UB as RB, U0 as RELEASE_COLUMN_VISIBILITY_KEY, H0 as RELEASE_COLUMN_WIDTHS_KEY, wW as RELEASE_PAGE_SIZES, gW as RELEASE_SORTS, YMe as RELEASE_SORT_COLUMNS, p$ as REPAIR_CARD_TEXT, xY as REPAIR_LIBRARIES_KEY, gX as RESOURCE_APPLY_KEY, hX as RESOURCE_SCAN_KEY, T2 as RESOURCE_SYNC_TEXT, kAe as RESULT_PANEL, AAe as RESULT_SECTION, NTe as REVIEW_CATEGORIES, DX as REVIEW_COUNTS_KEY, ITe as REVIEW_DECISION_LABELS, OY as REVIEW_KEY, kY as REVIEW_LABELS, jY as REVIEW_QUEUES, MY as REVIEW_QUEUE_LABELS, JG as RetryNote, u_e as Rf, qB as Rk, Dve as Rows, j$ as SCRAPING_CHECK_ALL_URL, $Ae as SCRAPING_CHECK_URL, M$ as SCRAPING_COVER_URL, N$ as SCRAPING_KEY, QAe as SCRAPING_SETTINGS_URL, $H as SEGMENT, QH as SEGMENTED_TRACK, tX as SETTINGS_KEY, ZY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, M3 as STATS_KEY, xAe as STAT_STRIP, SAe as STAT_STRIP_SIX, Eve as Section, jAe as SectionHeading, kve as SectionSkeleton, ZH as SegmentedRadioGroup, Xve as SegmentedTabList, VG as Segments, JU as Select, LU as Select$1, i1 as SelectField, RU as SelectItem, nY as SelectionActions, pj as SelectionDock, rY as SelectionPopover, OH as SettingsCard, Tve as SettingsRow, kH as SettingsSectionLabel, HG as Shuffle, zve as SiteLabel, XU as SortDirectionIcon, UG as SortKeys, _Q as SourceAvatar, LH as SourceLabel, PH as SourceMark, Ove as Stack, wAe as StatCard, S$ as StatusLabel, s_e as Su, u4 as Switch, LI as TASKS_KEY, pIe as TASTE_REFRESH_KEY, mIe as TASTE_WINDOWS, iX as THUMBNAIL_JOBS_KEY, AX as TRASH_KEY, Mpe as TRIGGER_LABELS, RJ as Table, iY as TableColumnControls, aY as TableColumnResizer, sY as TableSelectionHeader, ZQ as TagManager, Nve as TaskCenterLink, wH as TaskProgress, ZB as TextField, XB as TextFieldContext, jB as Un, d_e as Uz, uW as WANTS_KEY, T4 as WantMagnets, Xg as WithPromise, SB as Wt, kB as Xc, GB as Xf, wB as Xl, CB as Xt, bB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, VB as _p, l_e as aB, Ei as addAlias, Ti as addSource, fW as addWant, dS as animate, B as apiGet, V as apiSend, qj as appSettingsStore, QEe as applyConfirmText, wX as applyLeftovers, ZEe as applyPlanText, eDe as applyText, Zj as applyTheme, yy as asNumber, BEe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, Eq as autoResetPageIndex, vo as avatarInner, R3 as bandRows, PEe as baseName, STe as batchOperate, Jue as beginPlayerGuidePreview, vj as boundedPreference, yTe as bulkCloudPreferences, cV as busyProps, c_e as cB, HPe as cachedMagnetStates, Wg as calcGeneratorVelocity, UTe as canApprove, yg as cancelFrame, GEe as candidateText, _U as cardClass, fM as cardRatio, KJ as catalogListSkeletonCellHtml, OB as cc, Ki as checkEvidenceGap, Gi as checkFailures, Fi as checkFeeds, lEe as checkLine, Ui as checkReceipt, Wi as checkSummary, aje as checkText, qi as checkedText, mK as clickedBlank, i7 as closeDrawerAfterNav, uTe as cloudLocations, A0 as cloudProxySkeleton, WC as clsx, Xge as cn, uv as collectMotionValues, Kq as columnVisibilityFeature, NJ as column_getCanSort, kJ as column_getSortFn, VTe as commonReviewSources, sW as composingKey, Lf as configurationSection, vIe as configureTasteBrowser, dl as confirmModal, kpe as controlTask, cq as copyInstancePropertiesWithoutMemos, obe as coverArrived, ibe as coverFetching, Nl as coverFetchingHtml, Ml as coverStateAction, uo as coverUrl, Lq as createColumnHelper, KAe as createPlaylist, Zi as credentialDone, E0 as credentialsSkeleton, QTe as currentReviewRow, J as cx, Pge as d6, LB as dZ, YTe as decisionPayload, XTe as decisionReceipt, JTe as defaultChoice, nDe as deletePerformerVideos, JAe as deletePlaylist, P0 as devicesSkeleton, x as diagnosticHeaders, J1 as diagnosticsSkeleton, sbe as discoveryArtwork, SW as discoveryKey, tbe as discoveryScore, _9 as disposeStage, hTe as distinctName, Vi as dropSources, a_e as du, bTe as duplicateVictims, GI as elapsedText, nn as entityDisplayName, _o as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, Tq as expandRowModel, dB as f1, xo as facePos, ei as feedIntervalText, B$ as fetchAmaneBridge, z$ as fetchCheckAllJob, vi as fetchCheckJob, t1 as fetchConfiguration, R$ as fetchCoverJob, xW as fetchCoverNow, _i as fetchCredentials, A$ as fetchCustomSources, EX as fetchDeletePerformers, tDe as fetchDeletePlan, IQ as fetchDiagnostics, CW as fetchDiscoveries, _Y as fetchDuplicates, pEe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, fEe as fetchFollowSchedule, MX as fetchJunkSummary, $V as fetchLibraryProcessing, KY as fetchLinkCheck, qY as fetchLinkPrune, GY as fetchLinkStats, dEe as fetchMediaProcessing, SY as fetchMediaRepair, br as fetchMediaSources, lX as fetchOrganize, EEe as fetchOrganizeExample, fX as fetchOrphanRecords, ji as fetchPending, D$ as fetchPlaylists, EY as fetchQualityGoals, DW as fetchReleases, CY as fetchRepairLibraries, yi as fetchResolveJob, vX as fetchResourceApply, _X as fetchResourceScan, RY as fetchReview, jX as fetchReviewCounts, oX as fetchSettings, L$ as fetchSources, N3 as fetchStats, bi as fetchSuggestions, BI as fetchTasks, i6 as fetchTaste, yIe as fetchTasteJob, mEe as fetchThumbnailJobs, NX as fetchTrashSummary, dW as fetchWants, zTe as filterReviewRows, er as firstGrapheme, WK as flexRender, PIe as flowGraph, FIe as flowLabel, NFe as fmtCount, Jn as fmtDur, Xn as fmtSize, Tpe as foldByKind, Hpe as foldRoutine, Li as followFeedByName, Ri as followFeedEntity, Hr as followSuggestKey, Wpe as followupDetail, wpe as followupTally, vg as frame, gB as g4, Yq as getDefaultPaginationState, dM as gridLayout, li as groupByAuthor, Vpe as groupFollowups, FY as groupReviewRows, YEe as hasChanges, yX as hasResourceRoots, HI as hasResultProblems, TIe as historySpan, fB as i2, CIe as importTasteExport, D0 as indexersSkeleton, Bg as interpolate, mW as invalidateWants, WI as isActive, $r as isBroken, qr as isLayout, xv as isMotionValue, AY as isReviewCategory, Upe as isRoutine, O0 as javBrowserSkeleton, J0 as javContentSkeleton, iM as javLayout, q0 as javTagSkeleton, sDe as junkBreakdown, fTe as keepGroup, YAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, P3 as known, bge as l1, Dge as l7, Bpe as latestOfKind, $n as leadingGraphemes, GFe as lengthRows, Cr as localTime, mo as logoUrl, Ii as lookupFeedActor, _B as m7, IB as mM, Dn as mapLimit, Ai as markItem, z3 as max, UFe as mediumRows, B3 as min, rEe as mirrorText, ETe as missingToolText, vY as mixedCloudPreferences, YI as momentText, fS as motion, fv as motionValue, rn as nameFallback, Ue as notifyManager, Fge as oe, IEe as organizeOutcome, u2 as overlayHost, Jr as pageSizeOf, fi as pageWindow, Bi as patchSource, W as peachHistory, W as peachHistory$1, qTe as pendingGenres, FFe as percentText, kEe as pickOrganizeFolder, u$ as plainStatClass, FEe as planSummary, F3 as playedFor, LFe as playedItemUrl, Epe as pollInterval, Zs as popCount, GAe as posterUrl, Pxe as previewLibraryColor, OEe as previewOrganize, kTe as previewUrl, Rpe as problemDestination, JV as processingActive, KI as progressText, IH as providerIcon, cEe as pruneText, xX as purgeCount, VEe as purgeOrphan, zB as pv, i_e as qE, H as queryClient, pB as r2, jIe as radarRows, BFe as radialArc, VFe as radialBarSize, zFe as radialCeiling, RFe as radialSlices, ON as randomId, kIe as rankDetail, AIe as rankShares, L3 as reachedShare, qI as readableErrorHeadline, nbe as recommendationScore, $Te as recordGenre, UEe as recordsText, XAe as recreatePlaylist, UAe as refreshPlaylists, Ol as relayoutCovers, W0 as releaseColumns, TW as releaseFilters, EW as releaseKey, Hi as reloadFollowManage, nEe as reloadReview, wMe as rememberShape, jEe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, SIe as removeTasteSource, pW as removeWants, Oi as renameAliasGroup, qAe as renamePlaylist, Se as replaceEqualDeep, qFe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, iq as require_with_selector, Qye as resetWants, mr as resolveFollowSort, qg as resolveStartTime, cve as restartEffectText, WAe as resumeAssetId, RTe as reviewGroupingOptions, PY as reviewQueueData, NY as reviewQueueOf, oDe as reviewSummary, BTe as reviewWindow, GTe as rowEvidence, LY as rowFieldName, nJ as rowPaginationFeature, CJ as rowSelectionFeature, IJ as rowSortingFeature, IY as rowSubject, KTe as rowTags, WTe as rowTitle, wge as s5, ki as saveCredential, XEe as scanLine, yEe as schedulePollInterval, ebe as searchNote, HTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Ape as setTaskSpeed, Vf as settingsPath, tEe as settleReviewRows, mTe as sharedNamePrefix, Bp as shellNavigate, M8 as showToast, GU as showToast$1, Bn as siteMarkUrl, gq as skipFirstRun, EI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Yi as sourceIconUrl, $Ee as sourceMeta, Hs as spinnerHtml, Rg as spring, oV as spriteGlyph, xi as startCheck, oEe as startLinkCheck, sEe as startLinkPrune, AEe as startOrganize, Si as startResolve, qEe as startResourceApply, KEe as startResourceScan, xIe as startTasteRefresh, bAe as statCardClass, Ppe as statusLabel, TTe as statusLine, Qr as statusText, pM as storeJavLayout, ZTe as submitDecision, XI as summaryItems, Rq as tableFeatures, _q as tableMemo, di as tableRows, Lpe as taskIssues, zpe as taskSubject, a6 as tasteDate, DIe as tasteDimensions, EIe as tasteHours, r6 as tasteKey, gIe as tasteRefetchInterval, _Ie as tasteTime, MI as textLang, V0 as tierPlaceholdersHtml, mh as time, Vge as tl, hi as toggleGroup, o6 as topScores, Qge as um, Kge as uo, cH as useAction, MZ as useBackgroundJob, vG as useCatalogView, kU as useClientUpdates, Em as useConstant, ZI as useEntityNames, rL as useHorizontalScroller, Dm as useIsomorphicLayoutEffect, pK as useLibraryTints, It as useMutation, NV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, eS as useReducedMotion, vEe as useRunSchedule, gEe as useSaveFollowSchedule, sX as useSaveSettings, bEe as useSaveThumbnailMode, LJ as useTable, QJ as useTablePreferences, uL as useViewGlide, xTe as victimBytes, Hge as vl, $ye as wantName, IFe as watchNote, I3 as watchedShare, Ige as we, Mc as wireHorizontalScroller, MEe as withOrganizeJob, rbe as writeJavQuery, Mge as z3 };-//# debugId=2c22955d-b9f2-4b6f-9d2d-49e8a0c8d40c\ No newline at end of file+//# debugId=debfbaba-db4b-4cec-9c9c-a38bddc5ec3c\ No newline at end of file