Peach: Local-first video metadata scraper and media manager.
feat(review): 区分待处理稍后与忽略并保留恢复记录
longmeidaoc9113dbc2369
diff --git a/README.en.md b/README.en.mdindex fc2063b2e..6f67fc77b 100644--- a/README.en.md+++ b/README.en.md@@ -42,6 +42,7 @@ Public screenshots use movie demo data with documented sources and licenses, wit- **Reduce repeated scraping**: public textual metadata ships with each version. After scanning, Peach supplements recognized performers and studios with aliases, source IDs and profiles while keeping your edits. See [seed data and updates](docs/SEED.md).- **Follow across sites**: combine creator updates from configured sources and group matching posts into one card. See [sources and access requirements](docs/SOURCING.md).- **Manage tags**: local and online details share controls for adding, renaming and removing tags. Follow management supports merging tags, hiding tags in batches, and blocking or restoring content by tag. Names are preserved as aliases. See [tag management](docs/TAG_MANAGEMENT.md).+- **Review in batches**: browse and count pending, deferred and ignored candidates separately. Restore individual or selected candidates to pending while preserving their previous decisions; approved metadata is not undone.- **Find your next watch**: subscribe to performers' new releases, discover titles based on your taste and save them to your want list.- **Cloud download**: search by video code or paste a magnet link, send it to a library with cloud download support and organize the downloaded video automatically. Channels follow configured libraries and provider capabilities, through CloudDrive2 or a direct PikPak connection. Confirm your rights to access and use the content before submitting it.- **Add JAV from your browser**: detect or select a video code on a supported metadata page, then send it to Peach for cloud download and library ingestion. The [userscript](https://github.com/peach-mitao/peach-userscript) is maintained independently; see [supported sources, installation and pairing](docs/JAV_BROWSER.md).diff --git a/README.md b/README.mdindex 74911fd8c..da30b3c08 100644--- a/README.md+++ b/README.md@@ -41,6 +41,7 @@- **进度条看画面**:复用视频旁已有的 Jellyfin Trickplay、Emby/Plex 导出的 BIF、WebVTT、HLS 和 DASH 图片预览,减少重复抽帧。见[格式与命名](docs/VIDEO_PREVIEWS.md)。- **减少重复刮削**:随版本附带公开文字资料,扫描后为已识别的人物和厂牌补充别名、来源编号与资料,保留手动修改。见[种子数据边界与更新](docs/SEED.md)。- **管理标签**:本地与在线详情共用标签的添加、改名和删除入口;关注管理可合并标签、批量隐藏标签或按标签屏蔽内容并恢复。旧名称留作别名。见[标签管理](docs/TAG_MANAGEMENT.md)。+- **分批复核资料**:待处理、稍后处理与已忽略分别查看和计数,支持逐项及批量恢复到待处理;恢复保留原判定记录,不撤回已批准的资料。- **跨站关注**:按已配置的来源汇总创作者更新,同一作品合成一张卡;来源支持和访问条件见[来源采集](docs/SOURCING.md)。- **追新作、找想看的**:按人物订阅新作,按口味发现作品,用「想要」清单留住待找的片子。- **云下载**:按番号查找或粘贴磁力,提交到支持云下载的媒体库,落地后自动整理入库。渠道随媒体库与网盘能力生成,支持 CloudDrive2 和 PikPak 直连;提交前须确认具有相应访问与使用权。diff --git a/docs/REUSE.md b/docs/REUSE.mdindex 5a5e02fcf..1c30e3e2d 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -413,6 +413,8 @@ JAV 作品详情与馆藏视频共用 `IdentityCell` 的头像、标识和首字## 发现推荐缓存+复核状态复用 `review_decision`、候选 CSV、TanStack Query 和 BoardUI `Tabs`。`/api/review` 的根段提供待处理,`queues.later` 与 `queues.ignored` 提供独立分类和计数;页面地址保存状态与分类。旧 `skipped` 直接投影为稍后处理,人工 `rejected` 投影为已忽略,自动判定不混入人工忽略。迁移 `0050` 只新增 `review_decision_history`,不重写旧决定。显式恢复先在同一事务保存原决定,再删除当前拒绝或跳过决定;已批准和不在当前候选中的资料不可恢复。只读镜像校验三个状态完整性,旧缓存缺状态时报告未取得。无新增依赖。+搜索推荐复用 `/api/items`、馆藏范围的 `/api/jav/discoveries`、`/api/follow`、`/api/follow/authors` 与 `/api/feeds/discoveries`,图片复用 `coverImage`、`feedNewCoverHtml`、`avatarInner` 和 `authorAvatarHtml`。JAV 保留 IDF/MMR 口味排序,关注取全部状态的随机作品,视频与图片复用 `groupMediaKinds`、`itemForMedia` 和附件缩略图;署名沿用 `followIdentity` 的发布者判据。搜索框不启动库外资料补齐;详情与订阅分别沿用现有作品、作者、关注管理路由。无新增依赖、迁移或 ledger 写入。发现推荐的浏览证据复用 `taste_history` 私有历史库、规范身份和原子 JSON 写入;按日取证与同地址身份解析独立缓存。缓存只保存实体计数,历史、别名、关注、标签决定和解析规则参与失效;观看反馈不重复解析历史,任务心跳不影响偏好版本。页面预取复用 TanStack Query 的 `ensureQueryData`,无新增依赖。diff --git a/frontend/e2e/design-fixture.ts b/frontend/e2e/design-fixture.tsindex 3ffa94597..b85a58436 100644--- a/frontend/e2e/design-fixture.ts+++ b/frontend/e2e/design-fixture.ts@@ -170,6 +170,7 @@ export async function openReview(browser: Browser, rows = [REVIEW_ROW], viewportcontentType: 'application/json',body: JSON.stringify({sections: { metadata_fields: rows }, counts: { metadata_fields: rows.length }, genre_tags: [],+ queues: { later: { sections: {}, counts: {} }, ignored: { sections: {}, counts: {} } },}),}));await opened.page.reload({ waitUntil: 'load' });diff --git a/frontend/src/application/playlists.js b/frontend/src/application/playlists.jsindex 149d6420d..eaea736af 100644--- a/frontend/src/application/playlists.js+++ b/frontend/src/application/playlists.js@@ -92,7 +92,11 @@ export function rereadPlaylists(){}export function routeReview(params){- navigationState.route('/review'+(params.category?'?category='+encodeURIComponent(params.category):''));+ const query = new URLSearchParams(location.search);+ for(const key of ['category','queue']){+ if(params[key])query.set(key,params[key]);else query.delete(key);+ }+ navigationState.route('/review'+(query.size?'?'+query:''));}export function openConfigurationSection(section){diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.tsindex bd58d0ee7..ab34c7af6 100644--- a/frontend/src/react/bundle.d.ts+++ b/frontend/src/react/bundle.d.ts@@ -408,8 +408,9 @@ export interface FollowManageProps {export interface ReviewProps {/** 地址栏此刻带着的分类。不认识的值退回默认那一档。 */category: string;+ queue?: string;/** 把分类写回地址栏。空串表示这一项此刻就是默认值,壳不写进去。 */- route(params: { category: string }): void;+ route(params: { category: string; queue?: string }): void;/** 打开作品详情(遗留层的整页视图,含播放器与队列)。 */openItem(id: number): void;/** 打开实体资料页。`kind` 是 `creator`/`performer`。 */diff --git a/frontend/src/react/components/pill-tab.tsx b/frontend/src/react/components/pill-tab.tsxindex b2ade14ac..e37586456 100644--- a/frontend/src/react/components/pill-tab.tsx+++ b/frontend/src/react/components/pill-tab.tsx@@ -154,6 +154,7 @@ export function PillTab({onSelect,children,className,+ disabled,}: {variant?: PillTabVariant;icon?: IconComponent;@@ -161,10 +162,12 @@ export function PillTab({onSelect: () => void;children: ReactNode;className?: string;+ disabled?: boolean;}) {return (<buttontype="button"+ disabled={disabled}aria-pressed={isSelected}data-pill-selected={isSelected ? "" : undefined}data-pill-variant={variant}diff --git a/frontend/src/react/review/bulk-toolbar.tsx b/frontend/src/react/review/bulk-toolbar.tsxindex 8e1e5b48f..c2ab2a2af 100644--- a/frontend/src/react/review/bulk-toolbar.tsx+++ b/frontend/src/react/review/bulk-toolbar.tsx@@ -8,10 +8,11 @@ import { RiCheckDoubleLine } from '@remixicon/react';import { Button } from '@/components/base/buttons/button';import { Select, SelectItem } from '../components/select';import { SelectionDock } from '../components/selection-dock';-import type { DecisionStatus, ReviewGroup, ReviewGrouping, ReviewRow } from './review';+import type { DecisionStatus, ReviewGroup, ReviewGrouping, ReviewQueue, ReviewRow } from './review';import { commonReviewSources } from './review';export interface BulkToolbarProps {+ queueView?: ReviewQueue;groupOptions: [ReviewGrouping, string][];groupBy: ReviewGrouping;onGroupBy(next: ReviewGrouping): void;@@ -30,13 +31,13 @@ export interface BulkToolbarProps {busy: boolean;feedback: string;onUnifySource(source: string): void;- onRun(status: Extract<DecisionStatus, 'approved' | 'rejected'>): void;+ onRun(status: DecisionStatus): void;}export function BulkToolbar(props: BulkToolbarProps) {const {groupOptions, groupBy, onGroupBy, groups, filter, onFilter, pageKeys, selected, onSelected,- selectedRows, metadata, approvable, busy, feedback, onUnifySource, onRun,+ selectedRows, metadata, approvable, busy, feedback, onUnifySource, onRun, queueView = 'pending',} = props;const shown = pageKeys.filter((key) => selected.has(key));const allShown = shown.length > 0 && shown.length === pageKeys.length;@@ -78,7 +79,7 @@ export function BulkToolbar(props: BulkToolbarProps) {</div><SelectionDock label="复核所选项目" visible={selected.size > 0} count={`已选 ${selected.size} 项`}>- {needsSource ? (+ {needsSource && queueView !== 'ignored' ? (<Select aria-label="统一选择来源" size="sm" selectedKey=""isDisabled={busy || !sources.length}onSelectionChange={(key) => { if (key !== null && key !== '') onUnifySource(String(key)) }}>@@ -86,10 +87,14 @@ export function BulkToolbar(props: BulkToolbarProps) {{sources.map((source) => <SelectItem key={source} id={source}>{source}</SelectItem>)}</Select>) : null}- <Button variant="danger" size="small" disabled={busy || !selected.size}- onClick={() => onRun('rejected')}>拒绝所选</Button>- <Button variant="primary" size="small" disabled={busy || !selected.size || !approvable}- onClick={() => onRun('approved')}>通过所选</Button>+ {queueView !== 'ignored' ? <Button variant="ghost" size="small" disabled={busy || !selected.size}+ onClick={() => onRun('rejected')}>忽略所选</Button> : null}+ {queueView === 'pending' ? <Button variant="secondary" size="small" disabled={busy || !selected.size}+ onClick={() => onRun('skipped')}>稍后处理所选</Button> : <Button+ variant={queueView === 'ignored' ? 'primary' : 'secondary'} size="small" disabled={busy || !selected.size}+ onClick={() => onRun('restore')}>恢复所选</Button>}+ {queueView !== 'ignored' ? <Button variant="primary" size="small" disabled={busy || !selected.size || !approvable}+ onClick={() => onRun('approved')}>通过所选</Button> : null}<Button variant="ghost" size="small" disabled={busy}onClick={() => onSelected(new Set())}>取消选择</Button>{feedbackdiff --git a/frontend/src/react/review/review-card.tsx b/frontend/src/react/review/review-card.tsxindex 0de686ee5..b772517d1 100644--- a/frontend/src/react/review/review-card.tsx+++ b/frontend/src/react/review/review-card.tsx@@ -1,7 +1,6 @@/* 队列里的一张卡:问的是什么、凭什么判、以及三个结论。*- * 主体动作在最右——一行里从左到右是「拒绝、跳过、通过」,读到最后一枚才是这张卡真正要人- * 做的判断。Geist 的弹层与 Fieldset 操作条都是这个方向。 */+ * 待处理卡依次提供忽略、稍后处理、通过,主操作靠右;已忽略卡只提供恢复。 */import { useRef } from 'react';import { avatarInner } from '@peach/card-art';@@ -16,7 +15,8 @@ import { RiImageLine } from '@remixicon/react';import { busyProps } from '../settings/use-action';import { CandidateChoices, PendingGenres } from './candidate-form';import { AssetPicker, EntityHead, IdentityEvidence, OriginAsset, SourceImage } from './review-evidence';-import type { DecisionStatus, ReviewCategory, ReviewRow, RowChoice } from './review';+import type { DecisionStatus, ReviewCategory, ReviewQueue, ReviewRow, RowChoice } from './review';+import { REVIEW_DECISION_LABELS } from './review';import {canApprove, ENTITY_REVIEW_KINDS, rowEvidence, rowFieldName, rowSubject, rowTags, rowTitle,} from './review';@@ -51,6 +51,7 @@ export interface CardHandlers {export interface ReviewCardProps {category: ReviewCategory;+ queueView?: ReviewQueue;row: ReviewRow;choice: RowChoice;onChoice(next: RowChoice): void;@@ -67,7 +68,7 @@ export interface ReviewCardProps {export function ReviewCard(props: ReviewCardProps) {const {category, row, choice, onChoice, selected, onSelect, locked, busy, problem, genreTags,- onDecide, handlers,+ onDecide, handlers, queueView = 'pending',} = props;/* Checkbox 的 `onChange` 只给新状态,Shift 要从触发它的那一下事件里取:按下先于变更,键盘的空格也一样。 */@@ -87,7 +88,7 @@ export function ReviewCard(props: ReviewCardProps) {const approvable = canApprove(category, row);const comparison = row.comparison_assets || [];const assets = row.preview_assets || [];- const decided = String(row.decision || 'pending') !== 'pending';+ const decisionLabel = REVIEW_DECISION_LABELS[row.decision || ''];/* 对照作品排在不缩的卡头里:服务端给两条,再多也只露前两条,其余报一个数,否则卡头会把动作条挤出卡外。 */@@ -165,7 +166,7 @@ export function ReviewCard(props: ReviewCardProps) {</span>)}<div className="min-w-0 flex-1">{heading}</div>- {decided ? <Chip variant="caption" color="neutral">{row.decision}</Chip> : null}+ {decisionLabel ? <Chip variant="caption" color="neutral">{decisionLabel}</Chip> : null}</header>{/* 中段只长不缩:内容短时它吃掉剩下的高度,内容长时卡不变形,由这一段自己滚。@@ -214,16 +215,17 @@ export function ReviewCard(props: ReviewCardProps) {{/* 动作条占满卡底那一格:沉一档底色、上面一条线把「看证据」和「下判断」分开,下面两角跟着卡的圆角收口。 */}<footer className="-mx-5 flex min-h-14 shrink-0 flex-wrap items-center justify-end gap-2 rounded-b-surface border-t border-separator-border bg-background-secondary-default py-3 pr-3 pl-5">- <Button variant="danger" size="small" disabled={locked} {...busyProps(busy)}- onClick={() => onDecide('rejected')}>拒绝</Button>- <Button variant="secondary" size="small" disabled={locked} {...busyProps(busy)}- onClick={() => onDecide('skipped')}>跳过</Button>- {/* 没有可采纳的候选时这颗键灰着,字面说它为什么点不了,和旁边的「跳过」分得开。 */}- <Button variant="primary" size="small" disabled={locked || !approvable} {...busyProps(busy)}- title={approvable ? undefined : '没有可采用的资料,只能拒绝或跳过'}+ {queueView !== 'ignored' ? <Button variant="ghost" size="small" disabled={locked} {...busyProps(busy)}+ onClick={() => onDecide('rejected')}>忽略</Button> : null}+ {queueView === 'pending' ? <Button variant="secondary" size="small" disabled={locked} {...busyProps(busy)}+ onClick={() => onDecide('skipped')}>稍后处理</Button> : <Button+ variant={queueView === 'ignored' ? 'primary' : 'secondary'} size="small" disabled={locked} {...busyProps(busy)}+ onClick={() => onDecide('restore')}>恢复待处理</Button>}+ {queueView !== 'ignored' ? <Button variant="primary" size="small" disabled={locked || !approvable} {...busyProps(busy)}+ title={approvable ? undefined : '没有可采用的资料,可先保留或忽略'}onClick={() => onDecide('approved')}>{approvable ? '通过' : '不可通过'}- </Button>+ </Button> : null}{problem? <p role="status" className="w-full text-body-2-regular text-text-error-primary">{problem}</p>: null}diff --git a/frontend/src/react/review/review-page.tsx b/frontend/src/react/review/review-page.tsxindex 77f5e3015..b5d4ab929 100644--- a/frontend/src/react/review/review-page.tsx+++ b/frontend/src/react/review/review-page.tsx@@ -4,7 +4,7 @@* 打开页面不会再触发一次写操作。** 地址栏与组件状态的分界(ADR-0031「迁移桥接」):- * - `category` 在地址栏上。九个分类是固定的一组身份,「在看哪一条队列」链接得过来,+ * - `category` 与 `queue` 在地址栏上,分类和处理状态都能通过链接及刷新还原,* 刷新也要还原——判到一半按了刷新却被扔回元数据字段,等于重新找位置。* - 分组、筛选、页码是组件状态。复核队列是消耗性的:判一条它就少一条,第 3 页指的是* 哪二十行随每一次判定而变,写进地址栏分享出去只会指向另一批东西。换分类、换分组、@@ -22,16 +22,19 @@ import { EmptyState } from '../components/empty-state';import { Note } from '../components/note';import { Page } from '../components/page';import { PillAriaTabList } from '../components/pill-aria-tab-list';+import { PillTabList } from '../components/pill-tabs';+import { PillTab } from '../components/pill-tab';import { ExternalLink } from '../settings/section';import { BulkToolbar } from './bulk-toolbar';import { GenreTagList } from './candidate-form';import { ReviewCard } from './review-card';-import type { DecisionStatus, ReviewCategory, ReviewData, ReviewGrouping, ReviewRow, RowChoice } from './review';+import type { DecisionStatus, ReviewCategory, ReviewData, ReviewGrouping, ReviewQueue, ReviewRow, RowChoice } from './review';import {canApprove, currentReviewRow, DEFAULT_CATEGORY, decisionPayload, decisionReceipt, defaultChoice,- dropReviewRows, fetchReview, filterReviewRows, groupReviewRows, isReviewCategory, mirrorText,+ fetchReview, filterReviewRows, groupReviewRows, isReviewCategory, mirrorText,REVIEW_CATEGORIES, REVIEW_KEY, REVIEW_LABELS, reviewGroupingOptions,- reviewWindow, selectReviewRange, submitDecision,+ REVIEW_QUEUES, REVIEW_QUEUE_LABELS, reviewQueueData, reviewQueueOf,+ reviewWindow, selectReviewRange, settleReviewRows, submitDecision,} from './review';// 与配置页共用 BoardUI gray PillTab 样式;保留 tabpanel 与复核队列计数。@@ -77,6 +80,7 @@ export function ReviewPage(props: ReviewProps) {} = props;const [category, setCategory] = useState<ReviewCategory>(isReviewCategory(props.category) ? props.category : DEFAULT_CATEGORY);+ const [queueView, setQueueView] = useState<ReviewQueue>(() => reviewQueueOf(props.queue));const [groupBy, setGroupBy] = useState<ReviewGrouping>('candidates');const [filter, setFilter] = useState('');const [page, setPage] = useState(1);@@ -95,11 +99,29 @@ export function ReviewPage(props: ReviewProps) {const review = useQuery({ queryKey: REVIEW_KEY, queryFn: ({ signal }) => fetchReview(signal) });- const data: ReviewData = review.data || { sections: {}, counts: {} };- const queue = data.sections[category] || [];+ const data: ReviewData = review.data || { sections: {}, counts: {},+ queues: { later: { sections: {}, counts: {} }, ignored: { sections: {}, counts: {} } } };+ const snapshot = reviewQueueData(data, queueView);+ const queue = snapshot.sections[category] || [];const metadata = category === 'metadata_fields';const locked = readOnly;+ useEffect(() => {+ const available = new Set(queue.map(row => row.item_key));+ setSelected(current => {+ const kept = [...current].filter(key => available.has(key));+ return kept.length === current.size ? current : new Set(kept);+ });+ setChoices(current => {+ const kept = [...current].filter(([key]) => available.has(key));+ return kept.length === current.size ? current : new Map(kept);+ });+ setErrors(current => {+ const kept = [...current].filter(([key]) => available.has(key));+ return kept.length === current.size ? current : new Map(kept);+ });+ }, [queue]);+const groupOptions = reviewGroupingOptions(queue, metadata);const activeGroupBy: ReviewGrouping =groupOptions.some(([key]) => key === groupBy) ? groupBy : 'candidates';@@ -127,8 +149,7 @@ export function ReviewPage(props: ReviewProps) {/* 换分类就是换一条队列:上一条队列里的勾选、选中的来源和失败原因都不再有对应的行,留着只会让工具条报一个算不出来的数。 */- const goCategory = (next: ReviewCategory) => {- setCategory(next);+ const resetView = () => {setGroupBy('candidates');setFilter('');setPage(1);@@ -137,16 +158,24 @@ export function ReviewPage(props: ReviewProps) {setErrors(new Map());setFeedback('');anchor.current = null;- route({ category: next === DEFAULT_CATEGORY ? '' : next });+ };+ const goCategory = (next: ReviewCategory) => {+ setCategory(next);+ resetView();+ route({ category: next === DEFAULT_CATEGORY ? '' : next, queue: queueView === 'pending' ? '' : queueView });+ };+ const goQueue = (next: ReviewQueue) => {+ setQueueView(next);+ resetView();+ route({ category: category === DEFAULT_CATEGORY ? '' : category, queue: next === 'pending' ? '' : next });};const decide = useMutation({- mutationFn: ({ row, status }: { row: ReviewRow; status: DecisionStatus }) =>- submitDecision(decisionPayload(category, currentReviewRow(category, row), status, choiceOf(row))),- onSuccess: (result, { row, status }) => {+ mutationFn: ({ row, status, category: target }: { row: ReviewRow; status: DecisionStatus; category: ReviewCategory }) =>+ submitDecision(decisionPayload(target, currentReviewRow(target, row), status, choiceOf(row))),+ onSuccess: (result, { row, status, category: target }) => {if (!result.ok) { fail(row.item_key, result.error || '服务端拒绝了这次判定'); return }- // 判过的直接移出本批并同步计数,下一条立刻顶上来;留在队列里就像没生效。- dropReviewRows(category, [row.item_key]);+ settleReviewRows(target, [row.item_key], status);forget([row.item_key]);toast(decisionReceipt(status));},@@ -156,35 +185,37 @@ export function ReviewPage(props: ReviewProps) {/* 批量逐条提交:失败的留在屏幕上供重试,成功的立刻从队列里摘掉。整批一次性交上去的话,中间任何一条被服务端拒绝,用户都不知道前面几条到底写没写。 */const bulk = useMutation({- mutationFn: async (status: 'approved' | 'rejected') => {- const rows = selectedRows;+ mutationFn: async ({ status, category: target, rows }: {+ status: DecisionStatus; category: ReviewCategory; rows: ReviewRow[];+ }) => {const done: string[] = [];const failures: [string, string][] = [];for (const [at, row] of rows.entries()) {if (!alive.current) break;setFeedback(`正在处理 ${at} / ${rows.length}`);try {- const result = await submitDecision(decisionPayload(category, currentReviewRow(category, row), status, choiceOf(row)));+ const result = await submitDecision(decisionPayload(target, currentReviewRow(target, row), status, choiceOf(row)));if (!result.ok) throw new Error(result.error || '服务端未采用该项');done.push(row.item_key);} catch (cause) {failures.push([row.item_key, errorMessage(cause)]);}}- return { status, done, failures };+ return { status, category: target, done, failures };},- onSuccess: ({ status, done, failures }) => {- dropReviewRows(category, done);+ onSuccess: ({ status, category: target, done, failures }) => {+ settleReviewRows(target, done, status);forget(done);failures.forEach(([key, message]) => fail(key, message));setFeedback('');- toast(`已${status === 'approved' ? '通过' : '拒绝'} ${done.length} 项`+ const action = { approved: '通过', rejected: '忽略', skipped: '移至稍后处理', restore: '恢复待处理' }[status];+ toast(`已${action} ${done.length} 项`+ (failures.length ? `,${failures.length} 项未完成` : ''));},onError: (cause) => { setFeedback(errorMessage(cause)) },});- const runBulk = (status: 'approved' | 'rejected') => {+ const runBulk = (status: DecisionStatus) => {if (bulk.isPending || !selectedRows.length) return;if (status === 'approved' && metadata&& selectedRows.some((row) => !choiceOf(row).candidateKey)) {@@ -192,7 +223,7 @@ export function ReviewPage(props: ReviewProps) {return;}setFeedback('');- bulk.mutate(status);+ bulk.mutate({ status, category, rows: selectedRows });};/* 统一选择来源只动所选那几行的选中项,不替人按下「通过」:改的是要写什么,判断仍归人。 */@@ -239,6 +270,19 @@ export function ReviewPage(props: ReviewProps) {) : null}<GenreTagList tags={genreTags} />+ <PillTabList aria-label="复核状态" data-pill-nav=""+ className="flex w-fit max-w-full flex-nowrap gap-1 overflow-x-auto">+ {REVIEW_QUEUES.map(key => <PillTab key={key} variant="gray" isSelected={queueView === key}+ disabled={decide.isPending || bulk.isPending}+ onSelect={() => { if (key !== queueView) goQueue(key) }}>+ <span data-copy-key={`review.queue.${key}`}>{REVIEW_QUEUE_LABELS[key]}</span>{' '}+ <span className="tabular-nums text-caption-1-medium text-text-secondary">+ {review.data ? REVIEW_CATEGORIES.reduce((sum, category) =>+ sum + Number(reviewQueueData(data, key).counts[category] || 0), 0).toLocaleString() : '…'}+ </span>+ </PillTab>)}+ </PillTabList>+{/* 分类目录位于正文左侧;窄屏使用正文上方的导航。 */}<Tabs orientation={narrow ? 'horizontal' : 'vertical'} selectedKey={category} onSelectionChange={(key) => {const next = String(key);@@ -249,9 +293,9 @@ export function ReviewPage(props: ReviewProps) {<PillAriaTabList scrollable={narrow} aria-labelledby="reviewcategories" data-section-itemsclassName="flex review-split:flex-col review-split:items-stretch">{REVIEW_CATEGORIES.map((key) => {- const count = Number(data.counts[key] || 0);+ const count = Number(snapshot.counts[key] || 0);return (- <Tab key={key} id={key} className={TAB_CLASS}+ <Tab key={key} id={key} className={TAB_CLASS} isDisabled={decide.isPending || bulk.isPending}data-pill-selected={category === key ? '' : undefined} data-pill-variant="gray">{REVIEW_LABELS[key]}{/* 计数走独立徽标,为 0 时整枚去掉,不留一个「0」占位。 */}@@ -268,14 +312,14 @@ export function ReviewPage(props: ReviewProps) {<TabPanel id={category} className="flex min-w-0 flex-1 flex-col gap-5">{queue.length && !locked ? (- <BulkToolbar groupOptions={groupOptions} groupBy={activeGroupBy}+ <BulkToolbar queueView={queueView} groupOptions={groupOptions} groupBy={activeGroupBy}onGroupBy={(next) => { setGroupBy(next); setFilter(''); setPage(1) }}groups={groups} filter={activeFilter}onFilter={(next) => { setFilter(next); setPage(1) }}pageKeys={pageKeys} selected={selected} onSelected={setSelected}selectedRows={selectedRows} metadata={metadata}approvable={selectedRows.every((row) => canApprove(category, row))}- busy={bulk.isPending} feedback={feedback}+ busy={bulk.isPending || decide.isPending} feedback={feedback}onUnifySource={unifySource} onRun={runBulk} />) : null}@@ -301,7 +345,7 @@ export function ReviewPage(props: ReviewProps) {) : null}<div className="review-grid gap-5">{group.rows.map((row) => (- <ReviewCard key={row.item_key} category={category} row={row}+ <ReviewCard key={row.item_key} category={category} row={row} queueView={queueView}choice={choiceOf(row)}onChoice={(next) => setChoices((now) => new Map(now).set(row.item_key, next))}selected={selected.has(row.item_key)}@@ -312,13 +356,13 @@ export function ReviewPage(props: ReviewProps) {return next;})}locked={locked}- busy={decide.isPending && decide.variables?.row.item_key === row.item_key}+ busy={bulk.isPending || decide.isPending && decide.variables?.row.item_key === row.item_key}problem={errors.get(row.item_key) || ''}genreTags={genreTags}onDecide={(status) => {if (decide.isPending || bulk.isPending) return;setErrors((now) => new Map([...now].filter(([key]) => key !== row.item_key)));- decide.mutate({ row, status });+ decide.mutate({ row, status, category });}}handlers={handlers} />))}@@ -332,13 +376,13 @@ export function ReviewPage(props: ReviewProps) {{errorMessage(review.error)}</Note>) : (- <EmptyState icon={RiCheckboxCircleLine} title="此分类没有待复核项目"- actions={REVIEW_CATEGORIES.some(key => key !== category && Number(data.counts[key] || 0) > 0)+ <EmptyState icon={RiCheckboxCircleLine} title={`此分类没有${REVIEW_QUEUE_LABELS[queueView]}项目`}+ actions={REVIEW_CATEGORIES.some(key => key !== category && Number(snapshot.counts[key] || 0) > 0)? <Button size="small" onClick={() => {- const next = REVIEW_CATEGORIES.find(key => key !== category && Number(data.counts[key] || 0) > 0);+ const next = REVIEW_CATEGORIES.find(key => key !== category && Number(snapshot.counts[key] || 0) > 0);if (next) goCategory(next);}}>查看其他分类</Button> : undefined}>- 可切换分类查看其他待确认资料。+ {queueView === 'pending' ? '可切换分类查看其他待确认资料。' : `${REVIEW_QUEUE_LABELS[queueView]}的资料会保留在这里,可恢复到待处理。`}</EmptyState>)}diff --git a/frontend/src/react/review/review.ts b/frontend/src/react/review/review.tsindex dad396d11..6e37a6881 100644--- a/frontend/src/react/review/review.ts+++ b/frontend/src/react/review/review.ts@@ -83,6 +83,7 @@ export interface ReviewAsset {* 形状,用不上的项缺席。 */export interface ReviewRow {item_key: string;+ queue_order?: number;decision?: string;status?: string;candidates?: ReviewCandidate[];@@ -136,14 +137,37 @@ export interface ReviewMirror {read_only?: boolean;}-export interface ReviewData {+export const REVIEW_QUEUES = ['pending', 'later', 'ignored'] as const;+export type ReviewQueue = typeof REVIEW_QUEUES[number];+export const REVIEW_QUEUE_LABELS: Record<ReviewQueue, string> = {+ pending: '待处理', later: '稍后处理', ignored: '已忽略',+};+export const REVIEW_DECISION_LABELS: Record<string, string> = {+ approved: '已通过', rejected: '已忽略', skipped: '稍后处理',+};+export const reviewQueueOf = (value: unknown): ReviewQueue =>+ value === 'later' || value === 'ignored' ? value : 'pending';++export interface ReviewQueueData {sections: Partial<Record<ReviewCategory, ReviewRow[]>>;counts: Partial<Record<ReviewCategory, number>>;+}++export interface ReviewData extends ReviewQueueData {+ queues: Record<Exclude<ReviewQueue, 'pending'>, ReviewQueueData>;/** 收录 genre 时的候选词表:静态表已经投影到的那批内容标签。 */genre_tags?: string[];mirror?: ReviewMirror | null;}+export const reviewQueueData = (data: ReviewData, queue: ReviewQueue): ReviewQueueData =>+ queue === 'pending' ? { sections: data.sections, counts: data.counts } : data.queues[queue];++function mapReviewQueues(data: ReviewData, transform: (snapshot: ReviewQueueData) => ReviewQueueData): ReviewData {+ return { ...data, ...transform(reviewQueueData(data, 'pending')),+ queues: { later: transform(data.queues.later), ignored: transform(data.queues.ignored) } };+}+/* ── 分组、筛选、分页 ── */export type ReviewGrouping = 'candidates' | 'source' | 'field';@@ -153,7 +177,7 @@ export interface ReviewGroup { key: string; title: string; rows: ReviewRow[] }/** 这一批队列能按什么分组。按来源、按字段两档要队列里真有那一项才出现。 */export function reviewGroupingOptions(rows: ReviewRow[], metadata: boolean): [ReviewGrouping, string][] {const options: [ReviewGrouping, string][] = [- ['candidates', metadata ? '按来源数量' : '全部待复核'],+ ['candidates', metadata ? '按来源数量' : '不分组'],];if (rows.some((row) => row.source || row.candidates?.some((candidate) => candidate.source))) {options.push(['source', '按来源']);@@ -178,7 +202,7 @@ export function groupReviewRows(rows: ReviewRow[], by: ReviewGrouping): ReviewGrtitle = sources.join(' / ') || '未标注来源';} else {key = row.candidates ? (row.candidates.length === 1 ? 'single' : 'multiple') : 'pending';- title = key === 'single' ? '单一来源' : key === 'multiple' ? '需选择来源' : '待复核';+ title = key === 'single' ? '单一来源' : key === 'multiple' ? '需选择来源' : '资料';}if (!groups.has(key)) groups.set(key, { key, title, rows: [] });groups.get(key)!.rows.push(row);@@ -270,7 +294,7 @@ export function defaultChoice(row: ReviewRow): RowChoice {};}-export type DecisionStatus = 'approved' | 'rejected' | 'skipped';+export type DecisionStatus = 'approved' | 'rejected' | 'skipped' | 'restore';/** 交给 `/api/review/decision` 的那一份。*@@ -295,12 +319,21 @@ export function decisionPayload(};}-export const decisionReceipt = (status: DecisionStatus): string =>- (status === 'approved' ? '已通过资料' : status === 'rejected' ? '已拒绝资料' : '已跳过资料');+export const decisionReceipt = (status: DecisionStatus): string => ({+ approved: '已通过资料', rejected: '已忽略资料', skipped: '已移至稍后处理', restore: '已恢复待处理',+})[status];/* ── 取数与写操作 ── */-export const fetchReview = (signal?: AbortSignal) => apiGet<ReviewData>(REVIEW_URL, signal);+export async function fetchReview(signal?: AbortSignal): Promise<ReviewData> {+ const data = await apiGet<ReviewData>(REVIEW_URL, signal);+ for (const key of ['later', 'ignored'] as const) {+ if (!data.queues?.[key]?.sections || !data.queues[key].counts) {+ throw new Error(`${REVIEW_QUEUE_LABELS[key]}状态未取得,请刷新或更新写入端`);+ }+ }+ return data;+}export interface DecisionResult {ok: boolean;@@ -312,25 +345,26 @@ export async function submitDecision(payload: Record<string, unknown>): Promise<const result = await apiSend<DecisionResult>(REVIEW_DECISION_URL, payload);if (result.ok && result.asset_revisions) {const revisions = result.asset_revisions;- queryClient.setQueryData<ReviewData>(REVIEW_KEY, (data) => data && ({- ...data,+ queryClient.setQueryData<ReviewData>(REVIEW_KEY, (data) => data && mapReviewQueues(data, snapshot => ({+ ...snapshot,sections: {- ...data.sections,- metadata_fields: data.sections.metadata_fields?.map((row) => {+ ...snapshot.sections,+ metadata_fields: snapshot.sections.metadata_fields?.map((row) => {const change = revisions[String(row.asset_id)];return row.asset_path && change && row.asset_mutation_revision === change.before? { ...row, asset_mutation_revision: change.after } : row;}),},- }));+ })));}return result;}/** 批量队列保留行身份;并发凭据来自共享缓存里的最新回执。 */export function currentReviewRow(category: ReviewCategory, row: ReviewRow): ReviewRow {- return queryClient.getQueryData<ReviewData>(REVIEW_KEY)?.sections[category]- ?.find((item) => item.item_key === row.item_key) || row;+ const data = queryClient.getQueryData<ReviewData>(REVIEW_KEY);+ return data ? REVIEW_QUEUES.flatMap(key => reviewQueueData(data, key).sections[category] || [])+ .find(item => item.item_key === row.item_key) || row : row;}/** 收录一个 genre(给中文名)或把它判成非内容(`tag` 留空)。 */@@ -346,18 +380,29 @@ export async function prefetchReview(signal: AbortSignal): Promise<void> {** 失败的那几条不动:它们还要留在屏幕上供重试。 */export function dropReviewRows(category: ReviewCategory, keys: string[]): void {+ settleReviewRows(category, keys, 'approved');+}++/** 一份响应内移动状态,三个队列的行与计数同时更新;失败的行保持原位。 */+export function settleReviewRows(category: ReviewCategory, keys: string[], status: DecisionStatus): void {const gone = new Set(keys);if (!gone.size) return;queryClient.setQueryData<ReviewData>(REVIEW_KEY, (data) => {if (!data) return data;- const rows = data.sections[category] || [];- const kept = rows.filter((row) => !gone.has(String(row.item_key)));- if (kept.length === rows.length) return data;- return {- ...data,- sections: { ...data.sections, [category]: kept },- counts: { ...data.counts, [category]: Math.max(0, (data.counts[category] ?? rows.length) - (rows.length - kept.length)) },- };+ const moved = REVIEW_QUEUES.flatMap(key => reviewQueueData(data, key).sections[category] || [])+ .filter(row => gone.has(row.item_key));+ if (!moved.length) return data;+ const target = { skipped: 'later', rejected: 'ignored', restore: 'pending', approved: null }[status];+ const snapshots = Object.fromEntries(REVIEW_QUEUES.map(key => {+ const snapshot = reviewQueueData(data, key);+ const kept = (snapshot.sections[category] || []).filter(row => !gone.has(row.item_key));+ const rows = target === key ? [...kept, ...moved.map(row => ({ ...row,+ decision: status === 'restore' ? 'pending' : status, decision_note: '' }))] : kept;+ rows.sort((a, b) => (a.queue_order ?? 0) - (b.queue_order ?? 0));+ return [key, { ...snapshot, sections: { ...snapshot.sections, [category]: rows },+ counts: { ...snapshot.counts, [category]: rows.length } }];+ })) as Record<ReviewQueue, ReviewQueueData>;+ return { ...data, ...snapshots.pending, queues: { later: snapshots.later, ignored: snapshots.ignored } };});}diff --git a/frontend/src/react/router/pages/managed.tsx b/frontend/src/react/router/pages/managed.tsxindex 7cc5c1592..de5366326 100644--- a/frontend/src/react/router/pages/managed.tsx+++ b/frontend/src/react/router/pages/managed.tsx@@ -27,7 +27,7 @@ import {import { managementSkeletonHtml, paintManagementPlaceholder } from '../../../management-placeholder';import { routeScrollBehavior, scrollToAnchor } from '../../../ui-kit/anchor-scroll';-import { isReviewCategory } from '../../review/review';+import { isReviewCategory, reviewQueueOf } from '../../review/review';import { javLibraryPath, javTab } from '../../jav/jav';import { ShellActionsContext, useOpenEpoch } from '../router';import type { ManagedOpenProps, ManagedPath, ShellActions } from '../shell-actions';@@ -99,7 +99,8 @@ async function openProps(path: ManagedPath, run: Run): Promise<object | null> {const category = search().get('category') || '';const runtime = await readRuntime(run);if (!run.live) return null;- return { category: isReviewCategory(category) ? category : '', ...writerProps(runtime, '/review') } satisfies ManagedOpenProps['/review'];+ return { category: isReviewCategory(category) ? category : '', queue: reviewQueueOf(search().get('queue')),+ ...writerProps(runtime, '/review') } satisfies ManagedOpenProps['/review'];}if (path === '/subscriptions') {const route = followManageParams('?' + search().toString());diff --git a/frontend/src/react/router/shell-actions.ts b/frontend/src/react/router/shell-actions.tsindex 7e71624dc..7eea4f700 100644--- a/frontend/src/react/router/shell-actions.ts+++ b/frontend/src/react/router/shell-actions.ts@@ -49,7 +49,7 @@ export interface ShellActions {/** 让安装教程重新出现。 */reopenTutorial(): Promise<void>;/** 复核页把分类写回地址栏,不重开。 */- routeReview(params: { category: string }): void;+ routeReview(params: { category: string; queue?: string }): void;/** 关注管理页把页签、页码与排序写回地址栏,不重开。 */routeFollowManage(params: { tab: string; page: number; sort: string; dir: string }): void;/** 关注管理页的偏好改了,存储归壳。 */@@ -166,7 +166,7 @@ export interface ManagedOpenProps extends Record<ConfigurationPath, { section?:'/jav': { tab: string; readOnly: boolean };'/stats': Record<string, never>;'/taste': { onboarding: boolean };- '/review': { category: string; readOnly: boolean; readOnlyMessage: string; writerUrl: string };+ '/review': { category: string; queue?: string; readOnly: boolean; readOnlyMessage: string; writerUrl: string };'/data-cleanup': Record<string, never>;'/duplicates': Record<string, never>;'/quality-goals': Record<string, never>;diff --git a/frontend/test/react/review.test.tsx b/frontend/test/react/review.test.tsxindex 0a226908b..7bbba5fa9 100644--- a/frontend/test/react/review.test.tsx+++ b/frontend/test/react/review.test.tsx@@ -10,7 +10,7 @@ import { afterEach, expect, it, vi } from 'vitest';import { queryClient } from '../../src/react/query';import {commonReviewSources, filterReviewRows, groupReviewRows, prefetchReview, REVIEW_DECISION_URL,- REVIEW_KEY, REVIEW_PAGE_SIZE, REVIEW_URL, reviewGroupingOptions,+ REVIEW_KEY, REVIEW_PAGE_SIZE, REVIEW_URL, reviewGroupingOptions, settleReviewRows,reviewWindow, type ReviewCandidate, type ReviewData, type ReviewRow,type DecisionResult,} from '../../src/react/review/review';@@ -31,6 +31,7 @@ const candidate = (source: string, value: string): ReviewCandidate =>/** 一条元数据字段候选。`sources` 给几家就是几个候选,给一家就是单一来源。 */const row = (at: number, sources: string[] = ['javdb', 'nfo']): ReviewRow => ({item_key: `row-${at}`,+ queue_order: at,field: 'title',field_label: '标题',query: `ABC-${at}`,@@ -46,6 +47,7 @@ const QUEUE: ReviewRow[] = [const review = (over: Partial<ReviewData> = {}): ReviewData => ({sections: { metadata_fields: QUEUE, creator_tags: [] },counts: { metadata_fields: QUEUE.length, creator_tags: 0 },+ queues: { later: { sections: {}, counts: {} }, ignored: { sections: {}, counts: {} } },genre_tags: ['剧情'],...over,});@@ -106,6 +108,8 @@ const buttonIn = (root: ParentNode, name: string) =>[...root.querySelectorAll('button')].find((button) => button.textContent?.trim() === name) ?? null;const tabNamed = (root: ParentNode, name: string) =>[...root.querySelectorAll('[role="tab"]')].find((tab) => tab.textContent?.startsWith(name)) ?? null;+const stateNamed = (root: ParentNode, name: string) =>+ [...root.querySelectorAll('[aria-label="复核状态"] button')].find(button => button.textContent?.startsWith(name)) ?? null;const statusText = (root: ParentNode) =>[...root.querySelectorAll('[role="status"]')].map((node) => node.textContent?.trim());/** Note 按语气落在 `note`/`status`/`alert` 三种角色上。 */@@ -157,12 +161,12 @@ it('分类进地址栏,换一条队列就把手里的选择放下', async () =expect(statusText(host)).toContain('已选 1 项');expect(host.querySelector('[data-selection-dock]')).not.toBeNull();await click(tabNamed(host, '创作者标签'));- expect(props.route).toHaveBeenCalledWith({ category: 'creator_tags' });+ expect(props.route).toHaveBeenCalledWith({ category: 'creator_tags', queue: '' });expect(statusText(host)).not.toContain('已选 1 项');expect(host.querySelector('[data-selection-dock]')).toBeNull();// 默认那一档不写进地址栏。await click(tabNamed(host, '元数据字段'));- expect(props.route).toHaveBeenLastCalledWith({ category: '' });+ expect(props.route).toHaveBeenLastCalledWith({ category: '', queue: '' });});it('Shift 选一段,翻页之后手里还是同一批', async () => {@@ -207,7 +211,7 @@ it('批量判定把成功的摘掉,没写成的留下来等重试', async () =await click(buttonIn(host, '全选当前分类'));expect(statusText(host)).toContain('已选 3 项');expect(actionOrder(buttonIn(host, '通过所选')!.parentElement).filter((name) => name.endsWith('所选') || name === '取消选择'))- .toEqual(['拒绝所选', '通过所选', '取消选择']);+ .toEqual(['忽略所选', '稍后处理所选', '通过所选', '取消选择']);await click(buttonIn(host, '通过所选'));await settle();expect(props.toast).toHaveBeenCalledWith('已通过 2 项,1 项未完成');@@ -271,7 +275,7 @@ it('只读数据库上判定与批量都不给点', async () => {// 勾选与批量操作整条都不出现:没有可写的东西,工具条只是一排点不动的按钮。expect(boxOf(host, 0)).toBeFalsy();expect(buttonIn(host, '全选本页')).toBeNull();- for (const name of ['通过', '拒绝', '跳过']) {+ for (const name of ['通过', '忽略', '稍后处理']) {expect(buttonIn(cards(host)[0]!, name)).toHaveProperty('disabled', true);}});@@ -281,6 +285,75 @@ it('打开复核页只读队列,不再触发自动落库写操作', async () =expect(fetcher.mock.calls.map(([url]) => String(url))).toEqual([REVIEW_URL]);});+it('稍后处理切换独立队列,刷新地址可还原且恢复保持原排序', async () => {+ const { host, props } = await open();+ await click(buttonIn(cards(host)[1]!, '稍后处理'));+ await settle();+ expect(queueOf().counts.metadata_fields).toBe(24);+ expect(queueOf().queues.later.counts.metadata_fields).toBe(1);+ await click(stateNamed(host, '稍后处理'));+ expect(props.route).toHaveBeenLastCalledWith({ category: '', queue: 'later' });+ expect(keys(host)).toEqual(['row-1']);+ expect(buttonIn(cards(host)[0]!, '恢复待处理')).toBeTruthy();+ await click(buttonIn(cards(host)[0]!, '恢复待处理'));+ await settle();+ expect(queueOf().queues.later.counts.metadata_fields).toBe(0);+ expect(queueOf().sections.metadata_fields?.slice(0, 3).map(row => row.item_key))+ .toEqual(['row-0', 'row-1', 'row-2']);+ await click(stateNamed(host, '待处理'));+ expect(keys(host).slice(0, 3)).toEqual(['row-0', 'row-1', 'row-2']);+});++it('已忽略通过链接打开,只提供恢复,跨状态清空选择', async () => {+ const data = review({ queues: {+ later: { sections: {}, counts: {} },+ ignored: { sections: { metadata_fields: [{ ...row(7), decision: 'rejected' }] },+ counts: { metadata_fields: 1 } },+ } });+ const { host, props } = await open({ data }, { queue: 'ignored' });+ expect(keys(host)).toEqual(['row-7']);+ expect(buttonIn(cards(host)[0]!, '通过')).toBeNull();+ expect(buttonIn(cards(host)[0]!, '恢复待处理')).toBeTruthy();+ await click(boxOf(host, 0));+ expect(buttonIn(host, '恢复所选')).toBeTruthy();+ expect(buttonIn(host, '通过所选')).toBeNull();+ await click(stateNamed(host, '待处理'));+ expect(props.route).toHaveBeenLastCalledWith({ category: '', queue: '' });+ expect(host.querySelector('[data-selection-dock]')).toBeNull();+});++it('批量状态移动只采用成功项,失败行和其他类别保持不变', () => {+ queryClient.setQueryData(REVIEW_KEY, review());+ settleReviewRows('metadata_fields', ['row-1', 'row-2'], 'rejected');+ const data = queueOf();+ expect(data.counts.metadata_fields).toBe(23);+ expect(data.queues.ignored.sections.metadata_fields?.map(row => row.item_key))+ .toEqual(['row-1', 'row-2']);+ expect(data.sections.metadata_fields?.some(row => row.item_key === 'row-0')).toBe(true);+ expect(data.sections.creator_tags).toEqual([]);+ settleReviewRows('metadata_fields', ['row-1'], 'restore');+ expect(queueOf().queues.ignored.counts.metadata_fields).toBe(1);+ expect(queueOf().counts.metadata_fields).toBe(24);+});++it('批量稍后处理失败的行留在待处理,成功行进入独立队列', async () => {+ const rows = [row(0, ['nfo']), row(1, ['nfo']), row(2, ['nfo'])];+ const { host } = await open({+ data: review({ sections: { metadata_fields: rows }, counts: { metadata_fields: 3 } }),+ decisions: [{ ok: true }, { ok: false, error: '候选已变更' }, { ok: true }],+ });+ await click(buttonIn(host, '全选本页'));+ await click(buttonIn(host, '稍后处理所选'));+ await settle();+ expect(keys(host)).toEqual(['row-1']);+ expect(cards(host)[0]?.textContent).toContain('候选已变更');+ expect(queueOf().counts.metadata_fields).toBe(1);+ expect(queueOf().queues.later.counts.metadata_fields).toBe(2);+ await click(stateNamed(host, '稍后处理'));+ expect(keys(host)).toEqual(['row-0', 'row-2']);+ expect(host.querySelector('[data-selection-dock]')).toBeNull();+});+it('队列读取失败时说读取失败、给重试键,和空队列分得开;重试成功后画出队列', async () => {let fail = true;vi.stubGlobal('fetch', vi.fn(async (input: string) => {@@ -302,10 +375,10 @@ it('队列读取失败时说读取失败、给重试键,和空队列分得开expect(cards(host)).toHaveLength(REVIEW_PAGE_SIZE);});-it('没有可采纳候选的卡,通过键写「不可通过」,和「跳过」字面分得开', async () => {+it('没有可采纳候选的卡仍可忽略或稍后处理,通过键不可用', async () => {const empty: ReviewRow = { ...row(7), candidates: [] };const { host } = await open({ data: review({ sections: { metadata_fields: [empty], creator_tags: [] } }) });const footer = cards(host)[0]!.querySelector('footer')!;expect([...footer.querySelectorAll('button')].map((button) => button.textContent?.trim()))- .toEqual(['拒绝', '跳过', '不可通过']);+ .toEqual(['忽略', '稍后处理', '不可通过']);});diff --git a/migrations/0050_review_restoration_history.sql b/migrations/0050_review_restoration_history.sqlnew file mode 100644index 000000000..5e4da19d5--- /dev/null+++ b/migrations/0050_review_restoration_history.sql@@ -0,0 +1,14 @@+-- 恢复待处理前保留原来的忽略或稍后处理决定;已批准资料不由恢复入口撤回。+CREATE TABLE review_decision_history(+ id INTEGER PRIMARY KEY,+ category TEXT NOT NULL,+ item_key TEXT NOT NULL,+ status TEXT NOT NULL CHECK(status IN ('rejected','skipped')),+ reviewer TEXT NOT NULL,+ note TEXT NOT NULL,+ decided_at TEXT NOT NULL,+ restored_at TEXT NOT NULL+);++CREATE INDEX idx_review_decision_history_item+ON review_decision_history(category,item_key,restored_at DESC);diff --git a/src/peach/review_mirror.py b/src/peach/review_mirror.pyindex 791cd6eff..e432a7367 100644--- a/src/peach/review_mirror.py+++ b/src/peach/review_mirror.py@@ -216,6 +216,14 @@ class ReviewMirror:for key in ("sections", "sources", "counts"):if not isinstance(payload.get(key), dict):raise ReviewMirrorError(f"写入端复核响应缺少 {key}")+ queues = payload.get('queues')+ if not isinstance(queues, dict):+ raise ReviewMirrorError('写入端未提供复核状态,请更新写入端')+ for key in ('later', 'ignored'):+ snapshot = queues.get(key)+ if not isinstance(snapshot, dict) or not all(+ isinstance(snapshot.get(field), dict) for field in ('sections', 'counts')):+ raise ReviewMirrorError(f'写入端的复核状态 {key} 未取得')def _rewrite_preview_urls(self, payload: dict) -> dict:result = deepcopy(payload)diff --git a/src/peach/web_review.py b/src/peach/web_review.pyindex 6d123409b..72bda30f3 100644--- a/src/peach/web_review.py+++ b/src/peach/web_review.py@@ -38,6 +38,7 @@ from .metadata_auto_apply import (_entity_identity_key,_fold_genre_decisions,_landing_scope,+ _is_automatic,_offers_another_stage_name,_only_mib_official,_parsed_candidates,@@ -343,7 +344,7 @@ def _metadata_queue_rows(connection, rows: list[dict],return [row for row in rows if row['item_key'] in kept], genre_decisions-def _review_rows(contract: ReviewContract, category: str) -> tuple[list[dict], str | None, int]:+def _review_rows(contract: ReviewContract, category: str, *, queue: str | None = 'pending') -> tuple[list[dict], str | None, int]:#: 用户对来源 genre 的决定。判「这一行还有没有词等着收录」要用它,而那一步在库#: 连接关掉之后才跑,所以先取出来。genre_decisions: dict[str, str | None] = {}@@ -373,7 +374,8 @@ def _review_rows(contract: ReviewContract, category: str) -> tuple[list[dict], s# 为别名。复核页该显示账本认的那个名字,来源写法降为副标题。_use_canonical_entity_names(connection, rows)_attach_review_asset_context(connection, rows)- for row in rows:+ for position, row in enumerate(rows):+ row['queue_order'] = positiondecision = decisions.get(row["item_key"], {})if category == "studio_logos" and row.get("content_state") == "changed":# 同一厂牌上游头像变化是新的事实;旧批次 approved 不得把变化静默藏掉。@@ -425,7 +427,7 @@ def _review_rows(contract: ReviewContract, category: str) -> tuple[list[dict], s#: 取景与索引页、资料页同一份 sidecar、同一个换算。这张脸是复核时认人的#: 唯一线索,几何居中把脑袋裁掉就等于没有这一格。row["avatar_focus"] = contract.avatar_focus(face_kind, row.get("entity_id"))- return _pending_first(rows), source, skipped+ return _select_review_queue(rows, queue), source, skipped#: 元数据里的多值字段用顿号分隔;比较时按集合而不是按字符串。@@ -604,21 +606,20 @@ def _use_canonical_entity_names(connection, rows: list[dict]) -> None:row["current_name"] = name-def _pending_first(rows: list[dict]) -> list[dict]:- """判过的不再占复核队列。+def _review_queue(row: dict) -> str | None:+ """人工待处理、稍后与忽略分别计数;自动否决不占人工忽略队列。"""+ status = row.get('decision', 'pending')+ if status == 'pending':+ return 'pending'+ if status == 'skipped':+ return 'later'+ if status == 'rejected' and not _is_automatic({'note': row.get('decision_note', '')}):+ return 'ignored'+ return None- 队列由服务端定义,前端只负责画。原样返回全部候选、只给每行挂一个 `decision`,- 靠前端在本地把判过的行 splice 掉的话,「点通过」当场消失、一刷新全回来- (厂牌 logo 上最明显)。- `approved` / `rejected` 是终局,直接移出;`跳过` 按字面意思是「稍后再看」,- 留在队列里但排到最后,否则一次跳过就等于永久隐藏,而界面上没有任何入口- 能把它找回来。- """- return sorted(- (row for row in rows if row.get("decision") not in ("approved", "rejected")),- key=lambda row: row.get("decision") == "skipped",- )+def _select_review_queue(rows: list[dict], queue: str | None) -> list[dict]:+ return [row for row in rows if queue is None or _review_queue(row) == queue]def _review_evidence(category: str, row: dict) -> str:@@ -676,18 +677,23 @@ def q_review(contract: ReviewContract):九宫格没抽出来是机械状态,没有可批准或否决的东西,和 `cover_sources` 的未取得同一条理由不进队列;重抽归 `scripts/sheets.py`,缺多少由 `peach status` 的加工进度报。"""- sections, sources, skipped = {}, {}, {}+ groups = {key: {} for key in ('pending', 'later', 'ignored')}+ sources, skipped = {}, {}for category in REVIEW_CATEGORIES:- rows, source, dropped = _review_rows(contract, category)- sections[category] = rows+ rows, source, dropped = _review_rows(contract, category, queue=None)+ for key, sections in groups.items():+ sections[category] = _select_review_queue(rows, key)sources[category] = sourceskipped[category] = dropped# 候选文件缺失和主键缺失都要说出来。静默的空列表会被读成「没有待复核项」。# `genre_tags` 是收录 genre 时的候选词表。给的是静态表已经投影到的那百来个内容标签,# 不是账本里全部 5508 个标签实体:后者大半来自文件名,拿它当建议只会把噪声接着抄下去。- return {"sections": sections, "sources": sources, "skipped_rows": skipped,+ snapshots = {key: {'sections': sections,+ 'counts': {category: len(rows) for category, rows in sections.items()}}+ for key, sections in groups.items()}+ return {**snapshots['pending'], "sources": sources, "skipped_rows": skipped,"genre_tags": sorted(set(CONTENT_GENRES.values())),- "counts": {key: len(value) for key, value in sections.items()}}+ "queues": {key: snapshots[key] for key in ('later', 'ignored')}}def _selected_metadata_candidate(contract: ReviewContract, item_key: str, candidate_key: str) -> tuple[dict, dict]:@@ -866,6 +872,28 @@ def _approve_metadata_with_receipt(connection, group, candidate, now, note, expereturn applied, revisions+def _restore_review_decision(contract: ReviewContract, category: str, item_key: str, now: str) -> dict:+ with contract.write_transaction() as connection:+ prior = connection.execute(+ 'SELECT status,note FROM review_decision WHERE category=? AND item_key=?',+ (category, item_key)).fetchone()+ if prior is None or prior[0] not in {'skipped', 'rejected'} or _is_automatic({'note': prior[1]}):+ raise ValueError('只有稍后处理或已忽略的资料可以恢复,已批准的资料不会撤回')+ rows, _source, _dropped = _queue_rows(contract, category, connection)+ if item_key not in {row['item_key'] for row in rows}:+ raise ValueError('所选资料已不在当前候选中,未恢复')+ connection.execute(+ 'INSERT INTO review_decision_history'+ '(category,item_key,status,reviewer,note,decided_at,restored_at) '+ 'SELECT category,item_key,status,reviewer,note,updated_at,? '+ 'FROM review_decision WHERE category=? AND item_key=?', (now, category, item_key))+ connection.execute('DELETE FROM review_decision WHERE category=? AND item_key=?',+ (category, item_key))+ contract.cache_bust()+ return {'ok': True, 'category': category, 'item_key': item_key,+ 'status': 'pending', 'applied_assets': 0}++def w_review_decision(contract: ReviewContract, body):category = str(body.get("category", "")).strip()item_key = str(body.get("item_key", "")).strip()@@ -878,9 +906,11 @@ def w_review_decision(contract: ReviewContract, body):"fc2_similarity", "video_endcards",}:raise ValueError("invalid review category")- if not item_key or status not in {"approved", "rejected", "skipped"}:+ if not item_key or status not in {"approved", "rejected", "skipped", "restore"}:raise ValueError("invalid review decision")now = time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime())+ if status == 'restore':+ return _restore_review_decision(contract, category, item_key, now)note = str(body.get("note", "")).strip()[:2000]# 乐观并发是可选的:带上就按它验,不带就按「我是唯一写者」处理。前端只在候选钉死# 一条资产(`asset_path`)时带,按番号命中多条的那种组没有单一 revision 可报。@@ -897,79 +927,80 @@ def w_review_decision(contract: ReviewContract, body):(category, item_key, status, note, now),)applied = 0- if category == "metadata_fields" and status == "approved":- candidate_key = str(body.get("candidate_key") or "").strip()- if not candidate_key:- raise ValueError("批准资料字段时,请先选择要采用的来源")- group, candidate = _selected_metadata_candidate(contract, item_key, candidate_key)- applied, asset_revisions = _approve_metadata_with_receipt(- connection, group, candidate, now, note, expected_revision)- elif category == "creator_tags" and status == "approved":- # 权威值只能来自候选文件本身。直接采信请求体的话,「批准候选 X」- # 可以写入与 X 无关的创作者和标签,而 review_decision 里留痕仍写着 X 通过。- candidates = {row["item_key"]: row- for row in read_candidates(category, contract.candidate_root)[0]}- candidate = candidates.get(item_key)- if candidate is None:- raise ValueError("所选资料不在当前批次,无法批准")- if str(candidate.get("status") or "").strip() != "candidate":- raise ValueError("只有 candidate 状态的复核项可以批准")- creator = str(candidate.get("creator") or "").strip()- tags = [tag.strip() for tag in str(candidate.get("tags") or "").split("|") if tag.strip()]- claimed_creator = str(body.get("creator", "")).strip()- claimed_tags = [tag.strip() for tag in str(body.get("tags", "")).split("|") if tag.strip()]- if (claimed_creator and claimed_creator != creator) or (claimed_tags and claimed_tags != tags):- raise ValueError("提交内容与所选资料不一致,未保存")- tags = current_tags(tags)- if not creator or not tags:- raise ValueError("approved creator review requires creator and tags")- entity = resolve_entity(connection, "creator", creator)- if not entity:- raise ValueError("creator entity not found")- assets = connection.execute(- "SELECT DISTINCT ae.asset_id FROM asset_entity ae JOIN asset a ON a.id=ae.asset_id "- "WHERE ae.entity_id=? AND ae.role='creator' AND a.medium='video' AND a.disposal IS NULL",- (entity["id"],),- ).fetchall()- selected_ids = {int(value) for value in body.get("selected_ids") or []}- available_ids = {asset["asset_id"] for asset in assets}- if selected_ids:- if not selected_ids <= available_ids:- raise ValueError("selected assets are outside the reviewed creator")- asset_ids = sorted(selected_ids)- else:- # 没有勾选就是「整条候选通过」。这里什么都不写却照样把决定记成- # approved 的话,留痕说通过、实际没写是最糟的组合。- asset_ids = sorted(available_ids)- if len(asset_ids) > REVIEW_APPLY_LIMIT:- raise ValueError(- f"该创作者有 {len(asset_ids)} 条作品,超过单次批准上限 "- f"{REVIEW_APPLY_LIMIT},请在页面上显式勾选后再通过"+ if status == "approved":+ if category == "metadata_fields":+ candidate_key = str(body.get("candidate_key") or "").strip()+ if not candidate_key:+ raise ValueError("批准资料字段时,请先选择要采用的来源")+ group, candidate = _selected_metadata_candidate(contract, item_key, candidate_key)+ applied, asset_revisions = _approve_metadata_with_receipt(+ connection, group, candidate, now, note, expected_revision)+ elif category == "creator_tags":+ # 权威值只能来自候选文件本身。直接采信请求体的话,「批准候选 X」+ # 可以写入与 X 无关的创作者和标签,而 review_decision 里留痕仍写着 X 通过。+ candidates = {row["item_key"]: row+ for row in read_candidates(category, contract.candidate_root)[0]}+ candidate = candidates.get(item_key)+ if candidate is None:+ raise ValueError("所选资料不在当前批次,无法批准")+ if str(candidate.get("status") or "").strip() != "candidate":+ raise ValueError("只有 candidate 状态的复核项可以批准")+ creator = str(candidate.get("creator") or "").strip()+ tags = [tag.strip() for tag in str(candidate.get("tags") or "").split("|") if tag.strip()]+ claimed_creator = str(body.get("creator", "")).strip()+ claimed_tags = [tag.strip() for tag in str(body.get("tags", "")).split("|") if tag.strip()]+ if (claimed_creator and claimed_creator != creator) or (claimed_tags and claimed_tags != tags):+ raise ValueError("提交内容与所选资料不一致,未保存")+ tags = current_tags(tags)+ if not creator or not tags:+ raise ValueError("approved creator review requires creator and tags")+ entity = resolve_entity(connection, "creator", creator)+ if not entity:+ raise ValueError("creator entity not found")+ assets = connection.execute(+ "SELECT DISTINCT ae.asset_id FROM asset_entity ae JOIN asset a ON a.id=ae.asset_id "+ "WHERE ae.entity_id=? AND ae.role='creator' AND a.medium='video' AND a.disposal IS NULL",+ (entity["id"],),+ ).fetchall()+ selected_ids = {int(value) for value in body.get("selected_ids") or []}+ available_ids = {asset["asset_id"] for asset in assets}+ if selected_ids:+ if not selected_ids <= available_ids:+ raise ValueError("selected assets are outside the reviewed creator")+ asset_ids = sorted(selected_ids)+ else:+ # 没有勾选就是「整条候选通过」。这里什么都不写却照样把决定记成+ # approved 的话,留痕说通过、实际没写是最糟的组合。+ asset_ids = sorted(available_ids)+ if len(asset_ids) > REVIEW_APPLY_LIMIT:+ raise ValueError(+ f"该创作者有 {len(asset_ids)} 条作品,超过单次批准上限 "+ f"{REVIEW_APPLY_LIMIT},请在页面上显式勾选后再通过"+ )+ payload = json.dumps({"review_item": item_key}, ensure_ascii=False)+ for tag in tags:+ # 每种标签只解析一次,批量关系沿用同一身份与统一名称。+ entity_id = upsert_asset_entity(connection, kind='tag', name=tag, asset_id=asset_ids[0], role='tag',+ source='vision_creator_review', confidence=0.6, metadata={'review_item': item_key},+ now=now, update_entity_metadata=False)+ canonical = connection.execute('SELECT canonical_name FROM entity WHERE id=?', (entity_id,)).fetchone()[0]+ connection.executemany(+ "INSERT OR IGNORE INTO asset_tag(asset_id,tag,confidence,source) VALUES(?,?,0.6,'vision_creator_review')",+ [(asset_id, canonical) for asset_id in asset_ids])+ connection.executemany(+ "INSERT INTO asset_entity(asset_id,entity_id,role,source,confidence,"+ "metadata_json,first_seen_at,last_seen_at) "+ "VALUES(?,?,'tag','vision_creator_review',0.6,?,?,?) "+ "ON CONFLICT(asset_id,entity_id,role,source) DO UPDATE SET "+ "confidence=excluded.confidence,metadata_json=excluded.metadata_json,"+ "last_seen_at=excluded.last_seen_at",+ [(asset_id, entity_id, payload, now, now) for asset_id in asset_ids],)- payload = json.dumps({"review_item": item_key}, ensure_ascii=False)- for tag in tags:- # 每种标签只解析一次,批量关系沿用同一身份与统一名称。- entity_id = upsert_asset_entity(connection, kind='tag', name=tag, asset_id=asset_ids[0], role='tag',- source='vision_creator_review', confidence=0.6, metadata={'review_item': item_key},- now=now, update_entity_metadata=False)- canonical = connection.execute('SELECT canonical_name FROM entity WHERE id=?', (entity_id,)).fetchone()[0]- connection.executemany(- "INSERT OR IGNORE INTO asset_tag(asset_id,tag,confidence,source) VALUES(?,?,0.6,'vision_creator_review')",- [(asset_id, canonical) for asset_id in asset_ids])- connection.executemany(- "INSERT INTO asset_entity(asset_id,entity_id,role,source,confidence,"- "metadata_json,first_seen_at,last_seen_at) "- "VALUES(?,?,'tag','vision_creator_review',0.6,?,?,?) "- "ON CONFLICT(asset_id,entity_id,role,source) DO UPDATE SET "- "confidence=excluded.confidence,metadata_json=excluded.metadata_json,"- "last_seen_at=excluded.last_seen_at",- [(asset_id, entity_id, payload, now, now) for asset_id in asset_ids],- )- applied = len(asset_ids)- elif category == "studio_logos" and status == "approved":- applied = _install_studio_logo(contract, item_key)- elif category == "performer_avatars" and status == "approved":- applied = _install_performer_avatar(contract, item_key)+ applied = len(asset_ids)+ elif category == "studio_logos":+ applied = _install_studio_logo(contract, item_key)+ elif category == "performer_avatars":+ applied = _install_performer_avatar(contract, item_key)contract.cache_bust() # 标签写完,聚合缓存必须失效,否则 facets 最多 90 秒还是旧数return {"ok": True, "category": category, "item_key": item_key, "status": status,"applied_assets": applied, "asset_revisions": asset_revisions}diff --git a/tests/test_complexity_ratchet.py b/tests/test_complexity_ratchet.pyindex ea09442a2..ba69139cc 100644--- a/tests/test_complexity_ratchet.py+++ b/tests/test_complexity_ratchet.py@@ -43,7 +43,7 @@ BASELINE: dict[str, int] = {"src/peach/fanbox.py:normalize_fanbox_post": 59,"scripts/merge_duplicate_identities.py:collect": 50,"src/peach/web_review.py:_attach_review_asset_context": 46,- "src/peach/web_review.py:w_review_decision": 43,+ "src/peach/web_review.py:w_review_decision": 41,"scripts/harvest_social_avatars.py:run": 45,"scripts/fetch_studio_avatar_candidates.py:main": 44,"src/peach/web_catalog.py:q_item": 44,diff --git a/tests/test_migrations.py b/tests/test_migrations.pyindex 1b2f22992..dcc4c2c34 100644--- a/tests/test_migrations.py+++ b/tests/test_migrations.py@@ -13,6 +13,25 @@ MIGRATIONS = Path(__file__).resolve().parents[1] / "migrations"class MigrationTests(unittest.TestCase):+ def test_review_history_upgrade_preserves_legacy_decisions(self):+ prior = self.root / 'prior'+ prior.mkdir()+ for path in MIGRATIONS.glob('*.sql'):+ if path.name < '0050_':+ shutil.copyfile(path, prior / path.name)+ upgrade(self.db, prior)+ with closing(sqlite3.connect(self.db)) as connection:+ connection.executemany('INSERT INTO review_decision(category,item_key,status,reviewer,note,updated_at) VALUES(?,?,?,?,?,?)',+ [('creator_tags', state, state, '本人', '旧记录', 'old') for state in ('approved', 'rejected', 'skipped')])+ connection.commit()+ before = connection.execute('SELECT * FROM review_decision ORDER BY item_key').fetchall()+ self.assertEqual([item.version for item in upgrade(self.db, MIGRATIONS)], ['0050'])+ self.assertEqual(connection.execute('SELECT * FROM review_decision ORDER BY item_key').fetchall(), before)+ self.assertEqual(connection.execute('SELECT COUNT(*) FROM review_decision_history').fetchone()[0], 0)+ self.assertEqual(connection.execute('PRAGMA integrity_check').fetchone()[0], 'ok')+ self.assertEqual(connection.execute('PRAGMA foreign_key_check').fetchall(), [])+ self.assertEqual(upgrade(self.db, MIGRATIONS), [])+def test_task_reference_migration_preserves_rows_and_existing_links(self):prior = self.root.resolve() / 'prior'prior.mkdir()@@ -39,7 +58,7 @@ class MigrationTests(unittest.TestCase):assets = connection.execute('SELECT * FROM asset').fetchall()tags = connection.execute('SELECT * FROM asset_tag').fetchall()self.assertEqual(len(connection.execute('PRAGMA foreign_key_check').fetchall()), 4)- self.assertEqual([m.version for m in upgrade(self.db, MIGRATIONS)], ['0049'])+ self.assertEqual([m.version for m in upgrade(self.db, MIGRATIONS)], ['0049', '0050'])self.assertEqual(connection.execute('PRAGMA foreign_key_check').fetchall(), [])self.assertEqual(connection.execute('PRAGMA integrity_check').fetchone()[0], 'ok')self.assertEqual(connection.execute('SELECT id,parent_run_id,root_run_id FROM task_run ORDER BY id').fetchall(),@@ -65,7 +84,7 @@ class MigrationTests(unittest.TestCase):connection.execute("INSERT INTO asset(id,location,path,medium,disposal) VALUES(1,'local','sample.mp4','video','trash')")connection.execute("INSERT INTO asset_tag(asset_id,tag,source) VALUES(1,'示例','user')")connection.commit()- self.assertEqual([migration.version for migration in upgrade(self.db, MIGRATIONS)], ['0046', '0047', '0048', '0049'])+ self.assertEqual([migration.version for migration in upgrade(self.db, MIGRATIONS)], ['0046', '0047', '0048', '0049', '0050'])self.assertEqual(connection.execute("SELECT disposal,disposal_reason FROM asset WHERE id=1").fetchone(), ('trash', None))self.assertEqual(connection.execute("SELECT tag,source FROM asset_tag WHERE asset_id=1").fetchall(), [('示例', 'user')])self.assertEqual(connection.execute("SELECT count(*) FROM asset").fetchone()[0], 1)@@ -84,7 +103,7 @@ class MigrationTests(unittest.TestCase):sqlite3.connect(self.db).close()backup = self.root / "before.db"done = upgrade(self.db, MIGRATIONS, backup)- self.assertEqual([m.version for m in done], [f'{number:04d}' for number in range(50)])+ self.assertEqual([m.version for m in done], [f'{number:04d}' for number in range(51)])self.assertTrue(backup.exists())con = sqlite3.connect(self.db)tables = {row[0] for row in con.execute(@@ -102,7 +121,7 @@ class MigrationTests(unittest.TestCase):"asset_tag_preference", "asset_search", "follow_playback","genre_decision", "asset_subtitle", "task_run", "performer_profile", "code_sample_image","entity_classification", "entity_identity_link", "seed_pack_history", "schema_migration"} <= tables)- self.assertEqual(versions, [f'{number:04d}' for number in range(50)])+ self.assertEqual(versions, [f'{number:04d}' for number in range(51)])self.assertEqual(upgrade(self.db, MIGRATIONS), [])self.assertEqual(plan(self.db, MIGRATIONS)[1], [])diff --git a/tests/test_review_mirror.py b/tests/test_review_mirror.pyindex d1e498c55..a3840d086 100644--- a/tests/test_review_mirror.py+++ b/tests/test_review_mirror.py@@ -12,6 +12,7 @@ LOCAL_EMPTY = {"sections": {"creator_tags": []},"sources": {"creator_tags": None},"counts": {"creator_tags": 0},+ "queues": {"later": {"sections": {}, "counts": {}}, "ignored": {"sections": {}, "counts": {}}},}@@ -49,6 +50,10 @@ class ReviewMirrorTests(unittest.TestCase):def test_live_writer_payload_is_validated_rewritten_and_cached(self):remote = {+ **LOCAL_EMPTY,+ 'queues': {'later': {'sections': {'metadata_fields': [{'item_key': 'later', 'preview_url': '/poster?id=2'}]},+ 'counts': {'metadata_fields': 1}},+ 'ignored': {'sections': {}, 'counts': {}}},"sections": {"creator_tags": [{"item_key": "one", "preview_url": "/endcard-frame?id=1","comparison_assets": [{"preview_url": "/poster?id=1"}],@@ -74,12 +79,15 @@ class ReviewMirrorTests(unittest.TestCase):self.assertEqual(row["comparison_assets"][0]["preview_url"],"https://writer.test/poster?id=1")self.assertTrue(self.cache.is_file())+ self.assertEqual(result['queues']['later']['sections']['metadata_fields'][0]['preview_url'],+ 'https://writer.test/poster?id=2')self.assertEqual(opener.requests[0][0].get_header("X-token"), "secret")def test_cached_writer_payload_survives_a_temporary_network_failure(self):live = FakeOpener({"https://writer.test/healthz": {"ledger_sync": "writer"},"https://writer.test/api/review": {+ **LOCAL_EMPTY,"sections": {"creator_tags": [{"item_key": "one"}]},"sources": {"creator_tags": "batch.csv"},"counts": {"creator_tags": 1},@@ -118,6 +126,7 @@ class ReviewMirrorTests(unittest.TestCase):opener = FakeOpener({"https://writer.test/healthz": {"ledger_sync": "writer"},"https://writer.test/api/review": {+ **LOCAL_EMPTY,"sections": {"creator_tags": [{"item_key": "one"}]},"sources": {"creator_tags": "batch.csv"},"counts": {"creator_tags": 1},@@ -140,6 +149,17 @@ class ReviewMirrorTests(unittest.TestCase):self.assertEqual(result["mirror"]["state"], "unavailable")self.assertIn("严格校验", result["mirror"]["error"])+ def test_legacy_live_and_cached_payloads_report_missing_states(self):+ legacy = {key: value for key, value in LOCAL_EMPTY.items() if key != 'queues'}+ self.cache.parent.mkdir(parents=True)+ self.cache.write_text(json.dumps({'payload': legacy, 'fetched_at': 'old'}), encoding='utf-8')+ opener = FakeOpener({'https://writer.test/healthz': {'ledger_sync': 'writer'},+ 'https://writer.test/api/review': legacy})+ result = ReviewMirror('https://writer.test', self.ca, self.cache, opener=opener).resolve(LOCAL_EMPTY)+ self.assertEqual(result['mirror']['state'], 'unavailable')+ self.assertIn('未提供复核状态', result['mirror']['error'])+ self.assertEqual(result['queues'], LOCAL_EMPTY['queues'])+def test_macos_keychain_ca_is_added_without_replacing_the_file_ca(self):keychain = self.root / "login.keychain-db"keychain.write_text("keychain", encoding="utf-8")@@ -164,6 +184,7 @@ class ReviewMirrorTests(unittest.TestCase):def curl_runner(args, **kwargs):calls.append((args, kwargs))payload = ({"ledger_sync": "writer"} if args[-1].endswith("/healthz") else {+ **LOCAL_EMPTY,"sections": {"creator_tags": [{"item_key": "one"}]},"sources": {"creator_tags": "batch.csv"},"counts": {"creator_tags": 1},diff --git a/tests/test_web_review.py b/tests/test_web_review.pyindex cf066e86a..75d43d62d 100644--- a/tests/test_web_review.py+++ b/tests/test_web_review.py@@ -2446,14 +2446,8 @@ class ReviewQueueTests(unittest.TestCase):# 来源写法不能丢,降为副标题。self.assertEqual(rows[0]["source_name"], "Alice Shaku")- def test_decided_rows_leave_the_queue_and_skipped_ones_sink(self):- """判过的不能一刷新又回来。-- `_review_rows` 原样返回全部候选、只挂一个 `decision`、靠前端在本地 splice- 的话,点「通过」当场消失、刷新全回来(厂牌 logo 上最明显)。- `跳过` 是「稍后再看」,仍留在队列但排到最后——否则一次跳过等于永久隐藏,- 而界面上没有任何入口能把它找回来。- """+ def test_review_states_survive_reload_and_restore_preserves_the_prior_decision(self):+ """待处理、稍后处理、忽略独立计数,恢复保留原判定与时间。"""self.write_candidates("creator-tags-candidate-20260818.csv", [{"board": "a", "creator": "ukiru", "tags": "x", "status": "candidate"},{"board": "b", "creator": "ukiru", "tags": "y", "status": "candidate"},@@ -2463,7 +2457,36 @@ class ReviewQueueTests(unittest.TestCase):self.decide("creator_tags", "b", "rejected")self.assertEqual(self.queue_keys("creator_tags"), ["a", "c"])self.decide("creator_tags", "a", "skipped")- self.assertEqual(self.queue_keys("creator_tags"), ["c", "a"])+ self.assertEqual(self.queue_keys("creator_tags"), ["c"])+ snapshot = rm_review.q_review(self.contract)+ self.assertEqual(snapshot['counts']['creator_tags'], 1)+ for state, key in [('later', 'a'), ('ignored', 'b')]:+ self.assertEqual([row['item_key'] for row in snapshot['queues'][state]['sections']['creator_tags']], [key])+ self.assertEqual(snapshot['queues'][state]['counts']['creator_tags'], 1)+ with contextlib.closing(sqlite3.connect(self.db_path)) as connection:+ connection.execute("UPDATE review_decision SET reviewer='本人',note='留待确认' WHERE item_key='a'")+ connection.commit()+ prior = connection.execute("SELECT status,reviewer,note,updated_at FROM review_decision WHERE item_key='a'").fetchone()+ self.assertEqual(self.decide('creator_tags', 'a', 'restore')['applied_assets'], 0)+ self.assertEqual(self.queue_keys('creator_tags'), ['a', 'c'])+ self.assertEqual(rm_review.q_review(self.contract)['queues']['later']['counts']['creator_tags'], 0)+ with contextlib.closing(sqlite3.connect(self.db_path)) as connection:+ self.assertEqual(connection.execute('SELECT status,reviewer,note,decided_at FROM review_decision_history').fetchone(), prior)+ self.assertTrue(connection.execute('SELECT restored_at FROM review_decision_history').fetchone()[0])++ def test_restore_rejects_approved_or_missing_candidates_without_changing_decisions(self):+ with contextlib.closing(sqlite3.connect(self.db_path)) as connection:+ connection.executemany('INSERT INTO review_decision(category,item_key,status,updated_at) VALUES(?,?,?,?)',+ [('creator_tags', 'approved', 'approved', 'old'), ('creator_tags', 'gone', 'skipped', 'old')])+ connection.commit()+ connection.execute("INSERT INTO review_decision(category,item_key,status,note,updated_at) VALUES('creator_tags','automatic','rejected','{\"auto_rejected\":true}','old')")+ connection.commit()+ for key in ('approved', 'gone', 'automatic'):+ with self.assertRaises(ValueError):+ self.decide('creator_tags', key, 'restore')+ with contextlib.closing(sqlite3.connect(self.db_path)) as connection:+ self.assertEqual(connection.execute('SELECT COUNT(*) FROM review_decision').fetchone()[0], 3)+ self.assertEqual(connection.execute('SELECT COUNT(*) FROM review_decision_history').fetchone()[0], 0)def test_approving_a_studio_logo_actually_installs_it(self):"""批准必须真的把图装进 `/logo` 读的目录。diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 3c17ac020..eb21fa237 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] = "558ecb94-e808-4b1e-a451-b5398e4eb0ea", e._sentryDebugIdIdentifier = "sentry-dbid-558ecb94-e808-4b1e-a451-b5398e4eb0ea");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "80067394-1ff7-46c5-9630-4ba7b43dd0ab", e._sentryDebugIdIdentifier = "sentry-dbid-80067394-1ff7-46c5-9630-4ba7b43dd0ab");} 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) => {@@ -1075,29 +1075,29 @@ var k = /* @__PURE__ */ o(((e) => {}return null;}- var me = Array.isArray, he = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = {+ var me = Array.isArray, he = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, _e = {pending: !1,data: null,method: null,action: null- }, _e = [], ve = -1;- function ye(e) {+ }, ve = [], ye = -1;+ function be(e) {return { current: e };}- function be(e) {- 0 > ve || (e.current = _e[ve], _e[ve] = null, ve--);+ function xe(e) {+ 0 > ye || (e.current = ve[ye], ve[ye] = null, ye--);}- function xe(e, t) {- ve++, _e[ve] = e.current, e.current = t;+ function Se(e, t) {+ ye++, ve[ye] = e.current, e.current = t;}- var Se = ye(null), Ce = ye(null), we = ye(null), Te = ye(null);- function Ee(e, t) {- switch (xe(we, t), xe(Ce, e), xe(Se, null), t.nodeType) {+ var Ce = be(null), we = be(null), Te = be(null), Ee = be(null);+ function De(e, t) {+ switch (Se(Te, t), Se(we, e), Se(Ce, null), t.nodeType) {case 9:case 11:- e = (e = t.documentElement) && (e = e.namespaceURI) ? yp(e) : 0;+ e = (e = t.documentElement) && (e = e.namespaceURI) ? bp(e) : 0;break;- default: if (e = t.tagName, t = t.namespaceURI) t = yp(t), e = bp(t, e);+ default: if (e = t.tagName, t = t.namespaceURI) t = bp(t), e = xp(t, e);else switch (e) {case "svg":e = 1;@@ -1108,34 +1108,34 @@ var k = /* @__PURE__ */ o(((e) => {default: e = 0;}}- be(Se), xe(Se, e);+ xe(Ce), Se(Ce, e);}- function De() {- be(Se), be(Ce), be(we);+ function Oe() {+ xe(Ce), xe(we), xe(Te);}- function Oe(e) {+ function ke(e) {var t = e.memoizedState;- t !== null && (gh._currentValue = t.memoizedState, xe(Te, e)), t = Se.current;- var n = bp(t, e.type);- t !== n && (xe(Ce, e), xe(Se, n));+ t !== null && (_h._currentValue = t.memoizedState, Se(Ee, e)), t = Ce.current;+ var n = xp(t, e.type);+ t !== n && (Se(we, e), Se(Ce, n));}- function ke(e) {- Ce.current === e && (be(Se), be(Ce)), Te.current === e && (be(Te), gh._currentValue = ge);+ function Ae(e) {+ we.current === e && (xe(Ce), xe(we)), Ee.current === e && (xe(Ee), _h._currentValue = _e);}- var Ae, je;- function Me(e) {- if (Ae === void 0) try {+ var je, Me;+ function Ne(e) {+ if (je === void 0) try {throw Error();} catch (e) {var t = e.stack.trim().match(/\n( *(at )?)/);- Ae = t && t[1] || "", je = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";+ je = t && t[1] || "", Me = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";}- return "\n" + Ae + e + je;+ return "\n" + je + e + Me;}- var Ne = !1;- function Pe(e, t) {- if (!e || Ne) return "";- Ne = !0;+ var Pe = !1;+ function Fe(e, t) {+ if (!e || Pe) return "";+ Pe = !0;var n = Error.prepareStackTrace;Error.prepareStackTrace = void 0;try {@@ -1206,50 +1206,50 @@ var k = /* @__PURE__ */ o(((e) => {}}} finally {- Ne = !1, Error.prepareStackTrace = n;+ Pe = !1, Error.prepareStackTrace = n;}- return (n = e ? e.displayName || e.name : "") ? Me(n) : "";+ return (n = e ? e.displayName || e.name : "") ? Ne(n) : "";}- function Fe(e, t) {+ function Ie(e, t) {switch (e.tag) {case 26:case 27:- case 5: return Me(e.type);- case 16: return Me("Lazy");- case 13: return e.child !== t && t !== null ? Me("Suspense Fallback") : Me("Suspense");- case 19: return Me("SuspenseList");+ case 5: return Ne(e.type);+ case 16: return Ne("Lazy");+ case 13: return e.child !== t && t !== null ? Ne("Suspense Fallback") : Ne("Suspense");+ case 19: return Ne("SuspenseList");case 0:- case 15: return Pe(e.type, !1);- case 11: return Pe(e.type.render, !1);- case 1: return Pe(e.type, !0);- case 31: return Me("Activity");- case 30: return Me("ViewTransition");+ case 15: return Fe(e.type, !1);+ case 11: return Fe(e.type.render, !1);+ case 1: return Fe(e.type, !0);+ case 31: return Ne("Activity");+ case 30: return Ne("ViewTransition");default: return "";}}- function Ie(e) {+ function Le(e) {try {var t = "", n = null;do- t += Fe(e, n), n = e, e = e.return;+ t += Ie(e, n), n = e, e = e.return;while (e);return t;} catch (e) {return "\nError generating stack: " + e.message + "\n" + e.stack;}}- var Le = Object.prototype.hasOwnProperty, Re = t.unstable_scheduleCallback, ze = t.unstable_cancelCallback, Be = t.unstable_shouldYield, Ve = t.unstable_requestPaint, He = t.unstable_now, Ue = t.unstable_getCurrentPriorityLevel, We = t.unstable_ImmediatePriority, Ge = t.unstable_UserBlockingPriority, Ke = t.unstable_NormalPriority, qe = t.unstable_LowPriority, Je = t.unstable_IdlePriority, Ye = t.log, Xe = t.unstable_setDisableYieldValue, Ze = null, Qe = null;- function $e(e) {- if (typeof Ye == "function" && Xe(e), Qe && typeof Qe.setStrictMode == "function") try {- Qe.setStrictMode(Ze, e);+ var Re = Object.prototype.hasOwnProperty, ze = t.unstable_scheduleCallback, Be = t.unstable_cancelCallback, Ve = t.unstable_shouldYield, He = t.unstable_requestPaint, Ue = t.unstable_now, We = t.unstable_getCurrentPriorityLevel, Ge = t.unstable_ImmediatePriority, Ke = t.unstable_UserBlockingPriority, qe = t.unstable_NormalPriority, Je = t.unstable_LowPriority, Ye = t.unstable_IdlePriority, Xe = t.log, Ze = t.unstable_setDisableYieldValue, Qe = null, $e = null;+ function et(e) {+ if (typeof Xe == "function" && Ze(e), $e && typeof $e.setStrictMode == "function") try {+ $e.setStrictMode(Qe, e);} catch {}}- var et = Math.clz32 ? Math.clz32 : rt, tt = Math.log, nt = Math.LN2;- function rt(e) {- return e >>>= 0, e === 0 ? 32 : 31 - (tt(e) / nt | 0) | 0;+ var tt = Math.clz32 ? Math.clz32 : it, nt = Math.log, rt = Math.LN2;+ function it(e) {+ return e >>>= 0, e === 0 ? 32 : 31 - (nt(e) / rt | 0) | 0;}- var it = 256, at = 262144, ot = 4194304;- function st(e) {+ var at = 256, ot = 262144, st = 4194304;+ function ct(e) {var t = e & 42;if (t !== 0) return t;switch (e & -e) {@@ -1287,27 +1287,27 @@ var k = /* @__PURE__ */ o(((e) => {default: return e;}}- function ct(e, t, n) {+ function lt(e, t, n) {var r = e.pendingLanes;if (r === 0) return 0;var i = 0, a = e.suspendedLanes, o = e.pingedLanes;e = e.warmLanes;var s = r & 134217727;- return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = st(n))) : i = st(o) : i = st(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = st(n))) : i = st(o)) : i = st(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = ct(n))) : i = ct(o) : i = ct(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = ct(n))) : i = ct(o)) : i = ct(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;}- function lt(e, t) {+ function ut(e, t) {return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;}- function ut(e, t) {+ function dt(e, t) {t & 8 && (t |= t & 32);var n = e.entangledLanes;if (n !== 0) for (e = e.entanglements, n &= t; 0 < n;) {- var r = 31 - et(n), i = 1 << r;+ var r = 31 - tt(n), i = 1 << r;t |= e[r], n &= ~i;}return t;}- function dt(e, t) {+ function ft(e, t) {switch (e) {case 1:case 2:@@ -1343,23 +1343,23 @@ var k = /* @__PURE__ */ o(((e) => {default: return -1;}}- function ft() {- var e = ot;- return ot <<= 1, !(ot & 62914560) && (ot = 4194304), e;+ function pt() {+ var e = st;+ return st <<= 1, !(st & 62914560) && (st = 4194304), e;}- function pt(e) {+ function mt(e) {for (var t = [], n = 0; 31 > n; n++) t.push(e);return t;}- function mt(e, t) {+ function ht(e, t) {e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);}- function ht(e, t, n, r, i, a) {+ function gt(e, t, n, r, i, a) {var o = e.pendingLanes;e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;var s = e.entanglements, c = e.expirationTimes, l = e.hiddenUpdates;for (n = o & ~n; 0 < n;) {- var u = 31 - et(n), d = 1 << u;+ var u = 31 - tt(n), d = 1 << u;s[u] = 0, c[u] = -1;var f = l[u];if (f !== null) for (l[u] = null, u = 0; u < f.length; u++) {@@ -1368,25 +1368,25 @@ var k = /* @__PURE__ */ o(((e) => {}n &= ~d;}- r !== 0 && gt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));+ r !== 0 && _t(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));}- function gt(e, t, n) {+ function _t(e, t, n) {e.pendingLanes |= t, e.suspendedLanes &= ~t;- var r = 31 - et(t);+ var r = 31 - tt(t);e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;}- function _t(e, t) {+ function vt(e, t) {var n = e.entangledLanes |= t;for (e = e.entanglements; n;) {- var r = 31 - et(n), i = 1 << r;+ var r = 31 - tt(n), i = 1 << r;i & t | e[r] & t && (e[r] |= t), n &= ~i;}}- function vt(e, t) {+ function yt(e, t) {var n = t & -t;- return n = n & 42 ? 1 : yt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;+ return n = n & 42 ? 1 : bt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;}- function yt(e) {+ function bt(e) {switch (e) {case 2:e = 1;@@ -1424,33 +1424,33 @@ var k = /* @__PURE__ */ o(((e) => {}return e;}- function bt(e) {+ function xt(e) {return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;}- function xt() {- var e = I.p;- return e === 0 ? (e = window.event, e === void 0 ? 32 : Mh(e.type)) : e;+ function St() {+ var e = ge.p;+ return e === 0 ? (e = window.event, e === void 0 ? 32 : Nh(e.type)) : e;}- function St(e, t) {- var n = I.p;+ function Ct(e, t) {+ var n = ge.p;try {- return I.p = e, t();+ return ge.p = e, t();} finally {- I.p = n;+ ge.p = n;}}- var Ct = Math.random().toString(36).slice(2), wt = "__reactFiber$" + Ct, Tt = "__reactProps$" + Ct, Et = "__reactContainer$" + Ct, Dt = "__reactEvents$" + Ct, Ot = "__reactListeners$" + Ct, kt = "__reactHandles$" + Ct, At = "__reactResources$" + Ct, jt = "__reactMarker$" + Ct, Mt = "__reactLoad$" + Ct;- function Nt(e) {- delete e[wt], delete e[Tt], delete e[Ot], delete e[kt];- }+ var wt = Math.random().toString(36).slice(2), Tt = "__reactFiber$" + wt, Et = "__reactProps$" + wt, Dt = "__reactContainer$" + wt, Ot = "__reactEvents$" + wt, kt = "__reactListeners$" + wt, At = "__reactHandles$" + wt, jt = "__reactResources$" + wt, Mt = "__reactMarker$" + wt, Nt = "__reactLoad$" + wt;function Pt(e) {+ delete e[Tt], delete e[Et], delete e[kt], delete e[At];+ }+ function Ft(e) {var t;- if (t = e[wt]) return t;+ if (t = e[Tt]) 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 = xm(e); e !== null;) {- if (n = e[wt]) return n;- e = xm(e);+ if (t = n[Dt] || n[Tt]) {+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = Sm(e); e !== null;) {+ if (n = e[Tt]) return n;+ e = Sm(e);}return t;}@@ -1458,49 +1458,49 @@ var k = /* @__PURE__ */ o(((e) => {}return null;}- function Ft(e) {- if (e = e[wt] || e[Et]) {+ function It(e) {+ if (e = e[Tt] || e[Dt]) {var t = e.tag;if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;}return null;}- function It(e) {+ function Lt(e) {var t = e.tag;if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;throw Error(i(33));}- function Lt(e) {- var t = e[At];- return t ||= e[At] = {+ function Rt(e) {+ var t = e[jt];+ return t ||= e[jt] = {hoistableStyles: /* @__PURE__ */ new Map(),hoistableScripts: /* @__PURE__ */ new Map()}, t;}- function Rt(e) {- e[jt] = !0;- }function zt(e) {- e[Mt] = void 0;+ e[Mt] = !0;}- var Bt = /* @__PURE__ */ new Set(), Vt = {};- function Ht(e, t) {- Ut(e, t), Ut(e + "Capture", t);+ function Bt(e) {+ e[Nt] = void 0;}+ var Vt = /* @__PURE__ */ new Set(), Ht = {};function Ut(e, t) {- for (Vt[e] = t, e = 0; e < t.length; e++) Bt.add(t[e]);+ Wt(e, t), Wt(e + "Capture", t);+ }+ function Wt(e, t) {+ for (Ht[e] = t, e = 0; e < t.length; e++) Vt.add(t[e]);}- var Wt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Gt = {}, Kt = {};- function qt(e) {- return Le.call(Kt, e) ? !0 : Le.call(Gt, e) ? !1 : Wt.test(e) ? Kt[e] = !0 : (Gt[e] = !0, !1);+ var Gt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Kt = {}, qt = {};+ function Jt(e) {+ return Re.call(qt, e) ? !0 : Re.call(Kt, e) ? !1 : Gt.test(e) ? qt[e] = !0 : (Kt[e] = !0, !1);}- var Jt = !1;- function Yt() {- var e = Jt;- return Jt = !1, e;+ var Yt = !1;+ function Xt() {+ var e = Yt;+ return Yt = !1, e;}- function Xt(e, t, n) {- if (qt(t)) {+ function Zt(e, t, n) {+ if (Jt(t)) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -1520,7 +1520,7 @@ var k = /* @__PURE__ */ o(((e) => {}}}- function Zt(e, t, n) {+ function Qt(e, t, n) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -1534,7 +1534,7 @@ var k = /* @__PURE__ */ o(((e) => {e.setAttribute(t, n);}}- function Qt(e, t, n, r) {+ function $t(e, t, n, r) {if (r === null) e.removeAttribute(n);else {switch (typeof r) {@@ -1548,7 +1548,7 @@ var k = /* @__PURE__ */ o(((e) => {e.setAttributeNS(t, n, r);}}- function $t(e) {+ function en(e) {switch (typeof e) {case "bigint":case "boolean":@@ -1559,11 +1559,11 @@ var k = /* @__PURE__ */ o(((e) => {default: return "";}}- function en(e) {+ function tn(e) {var t = e.type;return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");}- function tn(e, t, n) {+ function nn(e, t, n) {var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);if (!e.hasOwnProperty(t) && r !== void 0 && typeof r.get == "function" && typeof r.set == "function") {var i = r.get, a = r.set;@@ -1588,48 +1588,48 @@ var k = /* @__PURE__ */ o(((e) => {};}}- function nn(e) {+ function rn(e) {if (!e._valueTracker) {- var t = en(e) ? "checked" : "value";- e._valueTracker = tn(e, t, "" + e[t]);+ var t = tn(e) ? "checked" : "value";+ e._valueTracker = nn(e, t, "" + e[t]);}}- function rn(e) {+ function an(e) {if (!e) return !1;var t = e._valueTracker;if (!t) return !0;var n = t.getValue(), r = "";- return e && (r = en(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);+ return e && (r = tn(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);}- var an = /[\n"\\]/g;- function L(e) {- return e.replace(an, function(e) {+ var on = /[\n"\\]/g;+ function I(e) {+ return e.replace(on, function(e) {return "\\" + e.charCodeAt(0).toString(16) + " ";});}- function R(e, t, n, r, i, a, o, s) {- e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + $t(t)) : e.value !== "" + $t(t) && (e.value = "" + $t(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : sn(e, $t(n)) : o === "number" && e.value == t ? sn(e, $t(e.value)) : sn(e, $t(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + $t(s) : e.removeAttribute("name");+ function L(e, t, n, r, i, a, o, s) {+ e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + en(t)) : e.value !== "" + en(t) && (e.value = "" + en(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : cn(e, en(n)) : o === "number" && e.value == t ? cn(e, en(e.value)) : cn(e, en(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + en(s) : e.removeAttribute("name");}- function on(e, t, n, r, i, a, o, s) {+ function sn(e, t, n, r, i, a, o, s) {if (a != null && typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && (e.type = a), t != null || n != null) {if (!(a !== "submit" && a !== "reset" || t != null)) {- nn(e);+ rn(e);return;}- n = n == null ? "" : "" + $t(n), t = t == null ? n : "" + $t(t), s || t === e.value || (e.value = t), e.defaultValue = t;+ n = n == null ? "" : "" + en(n), t = t == null ? n : "" + en(t), s || t === e.value || (e.value = t), e.defaultValue = t;}- r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), nn(e);+ r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), rn(e);}- function sn(e, t) {+ function cn(e, t) {e.defaultValue !== "" + t && (e.defaultValue = "" + t);}- function cn(e, t, n, r) {+ function ln(e, t, n, r) {if (e = e.options, t) {t = {};for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0);} else {- for (n = "" + $t(n), t = null, i = 0; i < e.length; i++) {+ for (n = "" + en(n), t = null, i = 0; i < e.length; i++) {if (e[i].value === n) {e[i].selected = !0, r && (e[i].defaultSelected = !0);return;@@ -1639,10 +1639,10 @@ var k = /* @__PURE__ */ o(((e) => {t !== null && (t.selected = !0);}}- function ln(e, t, n) {- t != null && (t = "" + $t(t), t !== e.value && (e.value = t), n == null) ? e.defaultValue !== t && (e.defaultValue = t) : e.defaultValue = n == null ? "" : "" + $t(n);+ function un(e, t, n) {+ t != null && (t = "" + en(t), t !== e.value && (e.value = t), n == null) ? e.defaultValue !== t && (e.defaultValue = t) : e.defaultValue = n == null ? "" : "" + en(n);}- function un(e, t, n, r) {+ function dn(e, t, n, r) {if (t == null) {if (r != null) {if (n != null) throw Error(i(92));@@ -1654,9 +1654,9 @@ var k = /* @__PURE__ */ o(((e) => {}n ??= "", t = n;}- n = $t(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), nn(e);+ n = en(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), rn(e);}- function dn(e, t) {+ function fn(e, t) {if (t) {var n = e.firstChild;if (n && n === e.lastChild && n.nodeType === 3) {@@ -1666,19 +1666,19 @@ var k = /* @__PURE__ */ o(((e) => {}e.textContent = t;}- var fn = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));- function pn(e, t, n) {+ var pn = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));+ function mn(e, t, n) {var r = t.indexOf("--") === 0;- n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || fn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";+ n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || pn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";}- function mn(e, t, n) {+ function hn(e, t, n) {if (t != null && typeof t != "object") throw Error(i(62));if (e = e.style, n != null) {- for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Jt = !0);- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (pn(e, a, r), Jt = !0);- } else for (var o in t) t.hasOwnProperty(o) && pn(e, o, t[o]);+ for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Yt = !0);+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (mn(e, a, r), Yt = !0);+ } else for (var o in t) t.hasOwnProperty(o) && mn(e, o, t[o]);}- function hn(e) {+ function gn(e) {if (e.indexOf("-") === -1) return !1;switch (e) {case "annotation-xml":@@ -1692,7 +1692,7 @@ var k = /* @__PURE__ */ o(((e) => {default: return !0;}}- var z = /* @__PURE__ */ new Map([+ var R = /* @__PURE__ */ new Map([["acceptCharset", "accept-charset"],["htmlFor", "for"],["httpEquiv", "http-equiv"],@@ -1772,56 +1772,56 @@ var k = /* @__PURE__ */ o(((e) => {["writingMode", "writing-mode"],["xmlnsXlink", "xmlns:xlink"],["xHeight", "x-height"]- ]), gn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;- function _n(e) {- return gn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;+ ]), _n = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;+ function vn(e) {+ return _n.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;}- function vn() {}- var yn = null;- function bn(e) {+ function yn() {}+ var bn = null;+ function xn(e) {return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;}- var xn = null, Sn = null;- function Cn(e) {- var t = Ft(e);+ var Sn = null, Cn = null;+ function wn(e) {+ var t = It(e);if (t && (e = t.stateNode)) {- var n = e[Tt] || null;+ var n = e[Et] || null;a: switch (e = t.stateNode, t.type) {case "input":- if (R(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {+ if (L(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {for (n = e; n.parentNode;) n = n.parentNode;- for (n = n.querySelectorAll("input[name=\"" + L("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {+ for (n = n.querySelectorAll("input[name=\"" + I("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {var r = n[t];if (r !== e && r.form === e.form) {- var a = r[Tt] || null;+ var a = r[Et] || null;if (!a) throw Error(i(90));- R(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);+ L(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);}}- for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && rn(r);+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && an(r);}break a;case "textarea":- ln(e, n.value, n.defaultValue);+ un(e, n.value, n.defaultValue);break a;- case "select": t = n.value, t != null && cn(e, !!n.multiple, t, !1);+ case "select": t = n.value, t != null && ln(e, !!n.multiple, t, !1);}}}- var wn = !1;- function Tn(e, t, n) {- if (wn) return e(t, n);- wn = !0;+ var Tn = !1;+ function En(e, t, n) {+ if (Tn) return e(t, n);+ Tn = !0;try {return e(t);} finally {- if (wn = !1, (xn !== null || Sn !== null) && (Gd(), xn && (t = xn, e = Sn, Sn = xn = null, Cn(t), e))) for (t = 0; t < e.length; t++) Cn(e[t]);+ if (Tn = !1, (Sn !== null || Cn !== null) && (Kd(), Sn && (t = Sn, e = Cn, Cn = Sn = null, wn(t), e))) for (t = 0; t < e.length; t++) wn(e[t]);}}- function En(e, t) {+ function Dn(e, t) {var n = e.stateNode;if (n === null) return null;- var r = n[Tt] || null;+ var r = n[Et] || null;if (r === null) return null;n = r[t];a: switch (t) {@@ -1844,54 +1844,54 @@ var k = /* @__PURE__ */ o(((e) => {if (n && typeof n != "function") throw Error(i(231, t, typeof n));return n;}- var Dn = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, On = !1;- if (Dn) try {- var kn = {};- Object.defineProperty(kn, "passive", { get: function() {- On = !0;- } }), window.addEventListener("test", kn, kn), window.removeEventListener("test", kn, kn);+ var On = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, kn = !1;+ if (On) try {+ var An = {};+ Object.defineProperty(An, "passive", { get: function() {+ kn = !0;+ } }), window.addEventListener("test", An, An), window.removeEventListener("test", An, An);} catch {- On = !1;+ kn = !1;}- var An = null, jn = null, Mn = null;- function Nn() {- if (Mn) return Mn;- var e, t = jn, n = t.length, r, i = "value" in An ? An.value : An.textContent, a = i.length;+ var jn = null, Mn = null, Nn = null;+ function Pn() {+ if (Nn) return Nn;+ var e, t = Mn, n = t.length, r, i = "value" in jn ? jn.value : jn.textContent, a = i.length;for (e = 0; e < n && t[e] === i[e]; e++);var o = n - e;for (r = 1; r <= o && t[n - r] === i[a - r]; r++);- return Mn = i.slice(e, 1 < r ? 1 - r : void 0);+ return Nn = i.slice(e, 1 < r ? 1 - r : void 0);}- function Pn(e) {+ function Fn(e) {var t = e.keyCode;return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;}- function Fn() {+ function In() {return !0;}- function In() {+ function Ln() {return !1;}- function Ln(e) {+ function Rn(e) {function t(t, n, r, i, a) {for (var o in this._reactName = t, this._targetInst = r, this.type = n, this.nativeEvent = i, this.target = a, this.currentTarget = null, e) e.hasOwnProperty(o) && (t = e[o], this[o] = t ? t(i) : i[o]);- return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Fn : In, this.isPropagationStopped = In, this;+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? In : Ln, this.isPropagationStopped = Ln, this;}return w(t.prototype, {preventDefault: function() {this.defaultPrevented = !0;var e = this.nativeEvent;- e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Fn);+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = In);},stopPropagation: function() {var e = this.nativeEvent;- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Fn);+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = In);},persist: function() {},- isPersistent: Fn+ isPersistent: In}), t;}- var Rn = {+ var zn = {eventPhase: 0,bubbles: 0,cancelable: 0,@@ -1900,10 +1900,10 @@ var k = /* @__PURE__ */ o(((e) => {},defaultPrevented: 0,isTrusted: 0- }, zn = Ln(Rn), Bn = w({}, Rn, {+ }, Bn = Rn(zn), Vn = w({}, zn, {view: 0,detail: 0- }), Vn = Ln(Bn), Hn, Un, Wn, B = w({}, Bn, {+ }), Hn = Rn(Vn), Un, Wn, Gn, z = w({}, Vn, {screenX: 0,screenY: 0,clientX: 0,@@ -1914,25 +1914,25 @@ var k = /* @__PURE__ */ o(((e) => {shiftKey: 0,altKey: 0,metaKey: 0,- getModifierState: $n,+ getModifierState: er,button: 0,buttons: 0,relatedTarget: function(e) {return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;},movementX: function(e) {- return "movementX" in e ? e.movementX : (e !== Wn && (Wn && e.type === "mousemove" ? (Hn = e.screenX - Wn.screenX, Un = e.screenY - Wn.screenY) : Un = Hn = 0, Wn = e), Hn);+ return "movementX" in e ? e.movementX : (e !== Gn && (Gn && e.type === "mousemove" ? (Un = e.screenX - Gn.screenX, Wn = e.screenY - Gn.screenY) : Wn = Un = 0, Gn = e), Un);},movementY: function(e) {- return "movementY" in e ? e.movementY : Un;+ return "movementY" in e ? e.movementY : Wn;}- }), V = Ln(B), Gn = Ln(w({}, B, { dataTransfer: 0 })), Kn = Ln(w({}, Bn, { relatedTarget: 0 })), qn = Ln(w({}, Rn, {+ }), B = Rn(z), Kn = Rn(w({}, z, { dataTransfer: 0 })), qn = Rn(w({}, Vn, { relatedTarget: 0 })), Jn = Rn(w({}, zn, {animationName: 0,elapsedTime: 0,pseudoElement: 0- })), Jn = Ln(w({}, Rn, { clipboardData: function(e) {+ })), Yn = Rn(w({}, zn, { clipboardData: function(e) {return "clipboardData" in e ? e.clipboardData : window.clipboardData;- } })), Yn = Ln(w({}, Rn, { data: 0 })), Xn = {+ } })), Xn = Rn(w({}, zn, { data: 0 })), Zn = {Esc: "Escape",Spacebar: " ",Left: "ArrowLeft",@@ -1945,7 +1945,7 @@ var k = /* @__PURE__ */ o(((e) => {Apps: "ContextMenu",Scroll: "ScrollLock",MozPrintableKey: "Unidentified"- }, Zn = {+ }, Qn = {8: "Backspace",9: "Tab",12: "Clear",@@ -1982,26 +1982,26 @@ var k = /* @__PURE__ */ o(((e) => {144: "NumLock",145: "ScrollLock",224: "Meta"- }, Qn = {+ }, $n = {Alt: "altKey",Control: "ctrlKey",Meta: "metaKey",Shift: "shiftKey"};- function H(e) {+ function V(e) {var t = this.nativeEvent;- return t.getModifierState ? t.getModifierState(e) : (e = Qn[e]) ? !!t[e] : !1;+ return t.getModifierState ? t.getModifierState(e) : (e = $n[e]) ? !!t[e] : !1;}- function $n() {- return H;+ function er() {+ return V;}- var er = Ln(w({}, Bn, {+ var tr = Rn(w({}, Vn, {key: function(e) {if (e.key) {- var t = Xn[e.key] || e.key;+ var t = Zn[e.key] || e.key;if (t !== "Unidentified") return t;}- return e.type === "keypress" ? (e = Pn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Zn[e.keyCode] || "Unidentified" : "";+ return e.type === "keypress" ? (e = Fn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Qn[e.keyCode] || "Unidentified" : "";},code: 0,location: 0,@@ -2011,17 +2011,17 @@ var k = /* @__PURE__ */ o(((e) => {metaKey: 0,repeat: 0,locale: 0,- getModifierState: $n,+ getModifierState: er,charCode: function(e) {- return e.type === "keypress" ? Pn(e) : 0;+ return e.type === "keypress" ? Fn(e) : 0;},keyCode: function(e) {return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;},which: function(e) {- return e.type === "keypress" ? Pn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;+ return e.type === "keypress" ? Fn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;}- })), tr = Ln(w({}, B, {+ })), nr = Rn(w({}, z, {pointerId: 0,width: 0,height: 0,@@ -2032,7 +2032,7 @@ var k = /* @__PURE__ */ o(((e) => {twist: 0,pointerType: 0,isPrimary: 0- })), nr = Ln(w({}, Rn, { submitter: 0 })), rr = Ln(w({}, Bn, {+ })), rr = Rn(w({}, zn, { submitter: 0 })), ir = Rn(w({}, Vn, {touches: 0,targetTouches: 0,changedTouches: 0,@@ -2040,12 +2040,12 @@ var k = /* @__PURE__ */ o(((e) => {metaKey: 0,ctrlKey: 0,shiftKey: 0,- getModifierState: $n- })), ir = Ln(w({}, Rn, {+ getModifierState: er+ })), ar = Rn(w({}, zn, {propertyName: 0,elapsedTime: 0,pseudoElement: 0- })), ar = Ln(w({}, B, {+ })), or = Rn(w({}, z, {deltaX: function(e) {return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;},@@ -2054,21 +2054,21 @@ var k = /* @__PURE__ */ o(((e) => {},deltaZ: 0,deltaMode: 0- })), or = Ln(w({}, Rn, {+ })), sr = Rn(w({}, zn, {newState: 0,oldState: 0,source: 0- })), sr = [+ })), cr = [9,13,27,32- ], cr = Dn && "CompositionEvent" in window, lr = null;- Dn && "documentMode" in document && (lr = document.documentMode);- var ur = Dn && "TextEvent" in window && !lr, dr = Dn && (!cr || lr && 8 < lr && 11 >= lr), fr = " ", pr = !1;- function mr(e, t) {+ ], lr = On && "CompositionEvent" in window, ur = null;+ On && "documentMode" in document && (ur = document.documentMode);+ var dr = On && "TextEvent" in window && !ur, fr = On && (!lr || ur && 8 < ur && 11 >= ur), pr = " ", mr = !1;+ function hr(e, t) {switch (e) {- case "keyup": return sr.indexOf(t.keyCode) !== -1;+ case "keyup": return cr.indexOf(t.keyCode) !== -1;case "keydown": return t.keyCode !== 229;case "keypress":case "mousedown":@@ -2076,20 +2076,20 @@ var k = /* @__PURE__ */ o(((e) => {default: return !1;}}- function hr(e) {+ function gr(e) {return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;}- var gr = !1;- function _r(e, t) {+ var _r = !1;+ function vr(e, t) {switch (e) {- case "compositionend": return hr(t);- case "keypress": return t.which === 32 ? (pr = !0, fr) : null;- case "textInput": return e = t.data, e === fr && pr ? null : e;+ case "compositionend": return gr(t);+ case "keypress": return t.which === 32 ? (mr = !0, pr) : null;+ case "textInput": return e = t.data, e === pr && mr ? null : e;default: return null;}}- function vr(e, t) {- if (gr) return e === "compositionend" || !cr && mr(e, t) ? (e = Nn(), Mn = jn = An = null, gr = !1, e) : null;+ function yr(e, t) {+ if (_r) return e === "compositionend" || !lr && hr(e, t) ? (e = Pn(), Nn = Mn = jn = null, _r = !1, e) : null;switch (e) {case "paste": return null;case "keypress":@@ -2098,11 +2098,11 @@ var k = /* @__PURE__ */ o(((e) => {if (t.which) return String.fromCharCode(t.which);}return null;- case "compositionend": return dr && t.locale !== "ko" ? null : t.data;+ case "compositionend": return fr && t.locale !== "ko" ? null : t.data;default: return null;}}- var yr = {+ var br = {color: !0,date: !0,datetime: !0,@@ -2119,76 +2119,76 @@ var k = /* @__PURE__ */ o(((e) => {url: !0,week: !0};- function br(e) {+ function xr(e) {var t = e && e.nodeName && e.nodeName.toLowerCase();- return t === "input" ? !!yr[e.type] : t === "textarea";+ return t === "input" ? !!br[e.type] : t === "textarea";}- function xr(e, t, n, r) {- xn ? Sn ? Sn.push(r) : Sn = [r] : xn = r, t = np(t, "onChange"), 0 < t.length && (n = new zn("onChange", "change", null, n, r), e.push({+ function Sr(e, t, n, r) {+ Sn ? Cn ? Cn.push(r) : Cn = [r] : Sn = r, t = rp(t, "onChange"), 0 < t.length && (n = new Bn("onChange", "change", null, n, r), e.push({event: n,listeners: t}));}- var Sr = null, Cr = null;- function wr(e) {- Jf(e, 0);- }+ var Cr = null, wr = null;function Tr(e) {- if (rn(It(e))) return e;+ Yf(e, 0);+ }+ function Er(e) {+ if (an(Lt(e))) return e;}- function Er(e, t) {+ function Dr(e, t) {if (e === "change") return t;}- var Dr = !1;- if (Dn) {- var Or;- if (Dn) {- var kr = "oninput" in document;- if (!kr) {- var Ar = document.createElement("div");- Ar.setAttribute("oninput", "return;"), kr = typeof Ar.oninput == "function";+ var Or = !1;+ if (On) {+ var kr;+ if (On) {+ var Ar = "oninput" in document;+ if (!Ar) {+ var jr = document.createElement("div");+ jr.setAttribute("oninput", "return;"), Ar = typeof jr.oninput == "function";}- Or = kr;- } else Or = !1;- Dr = Or && (!document.documentMode || 9 < document.documentMode);+ kr = Ar;+ } else kr = !1;+ Or = kr && (!document.documentMode || 9 < document.documentMode);}- function jr() {- Sr && (Sr.detachEvent("onpropertychange", Mr), Cr = Sr = null);+ function Mr() {+ Cr && (Cr.detachEvent("onpropertychange", Nr), wr = Cr = null);}- function Mr(e) {- if (e.propertyName === "value" && Tr(Cr)) {+ function Nr(e) {+ if (e.propertyName === "value" && Er(wr)) {var t = [];- xr(t, Cr, e, bn(e)), Tn(wr, t);+ Sr(t, wr, e, xn(e)), En(Tr, t);}}- function Nr(e, t, n) {- e === "focusin" ? (jr(), Sr = t, Cr = n, Sr.attachEvent("onpropertychange", Mr)) : e === "focusout" && jr();+ function Pr(e, t, n) {+ e === "focusin" ? (Mr(), Cr = t, wr = n, Cr.attachEvent("onpropertychange", Nr)) : e === "focusout" && Mr();}- function Pr(e) {- if (e === "selectionchange" || e === "keyup" || e === "keydown") return Tr(Cr);- }- function Fr(e, t) {- if (e === "click") return Tr(t);+ function Fr(e) {+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return Er(wr);}function Ir(e, t) {- if (e === "input" || e === "change") return Tr(t);+ if (e === "click") return Er(t);}function Lr(e, t) {+ if (e === "input" || e === "change") return Er(t);+ }+ function Rr(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}- var Rr = typeof Object.is == "function" ? Object.is : Lr;- function zr(e, t) {- if (Rr(e, t)) return !0;+ var zr = typeof Object.is == "function" ? Object.is : Rr;+ function Br(e, t) {+ if (zr(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;var n = Object.keys(e), r = Object.keys(t);if (n.length !== r.length) return !1;for (r = 0; r < n.length; r++) {var i = n[r];- if (!Le.call(t, i) || !Rr(e[i], t[i])) return !1;+ if (!Re.call(t, i) || !zr(e[i], t[i])) return !1;}return !0;}- function Br(e) {+ function Vr(e) {if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;try {return e.activeElement || e.body;@@ -2196,12 +2196,12 @@ var k = /* @__PURE__ */ o(((e) => {return e.body;}}- function Vr(e) {+ function Hr(e) {for (; e && e.firstChild;) e = e.firstChild;return e;}- function Hr(e, t) {- var n = Vr(e);+ function Ur(e, t) {+ var n = Hr(e);e = 0;for (var r; n;) {if (n.nodeType === 3) {@@ -2221,15 +2221,15 @@ var k = /* @__PURE__ */ o(((e) => {}n = void 0;}- n = Vr(n);+ n = Hr(n);}}- function Ur(e, t) {- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Ur(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;+ function Wr(e, t) {+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Wr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;}- function Wr(e) {+ function Gr(e) {e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;- for (var t = Br(e.document); t instanceof e.HTMLIFrameElement;) {+ for (var t = Vr(e.document); t instanceof e.HTMLIFrameElement;) {try {var n = typeof t.contentWindow.location.href == "string";} catch {@@ -2237,18 +2237,18 @@ var k = /* @__PURE__ */ o(((e) => {}if (n) e = t.contentWindow;else break;- t = Br(e.document);+ t = Vr(e.document);}return t;}- function Gr(e) {+ function Kr(e) {var t = e && e.nodeName && e.nodeName.toLowerCase();return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true");}- var Kr = Dn && "documentMode" in document && 11 >= document.documentMode, qr = null, Jr = null, Yr = null, Xr = !1;- function Zr(e, t, n) {+ var qr = On && "documentMode" in document && 11 >= document.documentMode, Jr = null, Yr = null, Xr = null, Zr = !1;+ function Qr(e, t, n) {var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;- Xr || qr == null || qr !== Br(r) || (r = qr, "selectionStart" in r && Gr(r) ? r = {+ Zr || Jr == null || Jr !== Vr(r) || (r = Jr, "selectionStart" in r && Kr(r) ? r = {start: r.selectionStart,end: r.selectionEnd} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {@@ -2256,48 +2256,48 @@ var k = /* @__PURE__ */ o(((e) => {anchorOffset: r.anchorOffset,focusNode: r.focusNode,focusOffset: r.focusOffset- }), Yr && zr(Yr, r) || (Yr = r, r = np(Jr, "onSelect"), 0 < r.length && (t = new zn("onSelect", "select", null, t, n), e.push({+ }), Xr && Br(Xr, r) || (Xr = r, r = rp(Yr, "onSelect"), 0 < r.length && (t = new Bn("onSelect", "select", null, t, n), e.push({event: t,listeners: r- }), t.target = qr)));+ }), t.target = Jr)));}- function Qr(e, t) {+ function $r(e, t) {var n = {};return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;}- var $r = {- animationend: Qr("Animation", "AnimationEnd"),- animationiteration: Qr("Animation", "AnimationIteration"),- animationstart: Qr("Animation", "AnimationStart"),- transitionrun: Qr("Transition", "TransitionRun"),- transitionstart: Qr("Transition", "TransitionStart"),- transitioncancel: Qr("Transition", "TransitionCancel"),- transitionend: Qr("Transition", "TransitionEnd")- }, ei = {}, ti = {};- Dn && (ti = document.createElement("div").style, "AnimationEvent" in window || (delete $r.animationend.animation, delete $r.animationiteration.animation, delete $r.animationstart.animation), "TransitionEvent" in window || delete $r.transitionend.transition);- function ni(e) {- if (ei[e]) return ei[e];- if (!$r[e]) return e;- var t = $r[e], n;- for (n in t) if (t.hasOwnProperty(n) && n in ti) return ei[e] = t[n];+ var ei = {+ animationend: $r("Animation", "AnimationEnd"),+ animationiteration: $r("Animation", "AnimationIteration"),+ animationstart: $r("Animation", "AnimationStart"),+ transitionrun: $r("Transition", "TransitionRun"),+ transitionstart: $r("Transition", "TransitionStart"),+ transitioncancel: $r("Transition", "TransitionCancel"),+ transitionend: $r("Transition", "TransitionEnd")+ }, ti = {}, ni = {};+ On && (ni = document.createElement("div").style, "AnimationEvent" in window || (delete ei.animationend.animation, delete ei.animationiteration.animation, delete ei.animationstart.animation), "TransitionEvent" in window || delete ei.transitionend.transition);+ function ri(e) {+ if (ti[e]) return ti[e];+ if (!ei[e]) return e;+ var t = ei[e], n;+ for (n in t) if (t.hasOwnProperty(n) && n in ni) return ti[e] = t[n];return e;}- var ri = ni("animationend"), ii = ni("animationiteration"), ai = ni("animationstart"), oi = ni("transitionrun"), si = ni("transitionstart"), ci = ni("transitioncancel"), li = ni("transitionend"), ui = /* @__PURE__ */ new Map(), di = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");- di.push("scrollEnd");- function fi(e, t) {- ui.set(e, t), Ht(t, [e]);+ var ii = ri("animationend"), ai = ri("animationiteration"), oi = ri("animationstart"), si = ri("transitionrun"), ci = ri("transitionstart"), li = ri("transitioncancel"), ui = ri("transitionend"), di = /* @__PURE__ */ new Map(), fi = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");+ fi.push("scrollEnd");+ function pi(e, t) {+ di.set(e, t), Ut(t, [e]);}- var pi = 0;- function mi(e, t) {+ var mi = 0;+ function hi(e, t) {if (e.name != null && e.name !== "auto") return e.name;if (t.autoName !== null) return t.autoName;- e = Dd.identifierPrefix;- var n = pi++;+ e = Od.identifierPrefix;+ var n = mi++;return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;}- function hi(e) {+ function gi(e) {if (e == null || typeof e == "string") return e;- var t = null, n = Pd;+ var t = null, n = Fd;if (n !== null) for (var r = 0; r < n.length; r++) {var i = e[n[r]];if (i != null) {@@ -2307,10 +2307,10 @@ var k = /* @__PURE__ */ o(((e) => {}return t ?? e.default;}- function gi(e, t) {- return e = hi(e), t = hi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;+ function _i(e, t) {+ return e = gi(e), t = gi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;}- var _i = typeof reportError == "function" ? reportError : function(e) {+ var vi = typeof reportError == "function" ? reportError : function(e) {if (typeof window == "object" && typeof window.ErrorEvent == "function") {var t = new window.ErrorEvent("error", {bubbles: !0,@@ -2324,62 +2324,62 @@ var k = /* @__PURE__ */ o(((e) => {return;}console.error(e);- }, vi = [], yi = 0, bi = 0;- function xi() {- for (var e = yi, t = bi = yi = 0; t < e;) {- var n = vi[t];- vi[t++] = null;- var r = vi[t];- vi[t++] = null;- var i = vi[t];- vi[t++] = null;- var a = vi[t];- if (vi[t++] = null, r !== null && i !== null) {+ }, yi = [], bi = 0, xi = 0;+ function Si() {+ for (var e = bi, t = xi = bi = 0; t < e;) {+ var n = yi[t];+ yi[t++] = null;+ var r = yi[t];+ yi[t++] = null;+ var i = yi[t];+ yi[t++] = null;+ var a = yi[t];+ if (yi[t++] = null, r !== null && i !== null) {var o = r.pending;o === null ? i.next = i : (i.next = o.next, o.next = i), r.pending = i;}- a !== 0 && Ti(n, i, a);+ a !== 0 && Ei(n, i, a);}}- function Si(e, t, n, r) {- vi[yi++] = e, vi[yi++] = t, vi[yi++] = n, vi[yi++] = r, bi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);- }function Ci(e, t, n, r) {- return Si(e, t, n, r), Ei(e);+ yi[bi++] = e, yi[bi++] = t, yi[bi++] = n, yi[bi++] = r, xi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);+ }+ function wi(e, t, n, r) {+ return Ci(e, t, n, r), Di(e);}- function wi(e, t) {- return Si(e, null, null, t), Ei(e);+ function Ti(e, t) {+ return Ci(e, null, null, t), Di(e);}- function Ti(e, t, n) {+ function Ei(e, t, n) {e.lanes |= n;var r = e.alternate;r !== null && (r.lanes |= n);for (var i = !1, a = e.return; a !== null;) a.childLanes |= n, r = a.alternate, r !== null && (r.childLanes |= n), a.tag === 22 && (e = a.stateNode, e === null || e._visibility & 1 || (i = !0)), e = a, a = a.return;- return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - et(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;+ return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - tt(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;}- function Ei(e) {- if (50 < Fd) throw Fd = 0, Id = null, Error(i(185));+ function Di(e) {+ if (50 < Id) throw Id = 0, Ld = null, Error(i(185));for (var t = e.return; t !== null;) e = t, t = e.return;return e.tag === 3 ? e.stateNode : null;}- var Di = {};- function Oi(e, t, n, r) {+ var Oi = {};+ function ki(e, t, n, r) {this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;}- function ki(e, t, n, r) {- return new Oi(e, t, n, r);+ function Ai(e, t, n, r) {+ return new ki(e, t, n, r);}- function Ai(e) {+ function ji(e) {return e = e.prototype, !(!e || !e.isReactComponent);}- function ji(e, t) {+ function Mi(e, t) {var n = e.alternate;- return n === null ? (n = ki(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {+ return n === null ? (n = Ai(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {lanes: t.lanes,firstContext: t.firstContext}, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n.refCleanup = e.refCleanup, n;}- function Mi(e, t) {+ function Ni(e, t) {e.flags &= 1206910978;var n = e.alternate;return n === null ? (e.childLanes = 0, e.lanes = t, e.child = null, e.subtreeFlags = 0, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null) : (e.childLanes = n.childLanes, e.lanes = n.lanes, e.child = n.child, e.subtreeFlags = 0, e.deletions = null, e.memoizedProps = n.memoizedProps, e.memoizedState = n.memoizedState, e.updateQueue = n.updateQueue, e.type = n.type, t = n.dependencies, e.dependencies = t === null ? null : {@@ -2387,21 +2387,21 @@ var k = /* @__PURE__ */ o(((e) => {firstContext: t.firstContext}), e;}- function Ni(e, t, n, r, a, o) {+ function Pi(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 = nh(e, n, Se.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ if (r = e, typeof r == "function") ji(r) && (s = 1);+ else if (typeof r == "string") s = rh(e, n, Ce.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;else a: switch (r) {- case ae: return e = ki(31, n, t, a), e.elementType = ae, e.lanes = o, e;- case O: return Pi(n.children, a, o, t);+ case ae: return e = Ai(31, n, t, a), e.elementType = ae, e.lanes = o, e;+ case O: return Fi(n.children, a, o, t);case k:s = 8, a |= 24;break;- case j: return e = ki(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;- case re: return e = ki(13, n, t, a), e.elementType = re, e.lanes = o, e;- case ie: return e = ki(19, n, t, a), e.elementType = ie, e.lanes = o, e;+ case j: return e = Ai(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;+ case re: return e = Ai(13, n, t, a), e.elementType = re, e.lanes = o, e;+ case ie: return e = Ai(19, n, t, a), e.elementType = ie, e.lanes = o, e;case oe:- case ce: return e = a | 32, e = ki(30, n, t, e), e.elementType = ce, e.lanes = o, e.stateNode = {+ case ce: return e = a | 32, e = Ai(30, n, t, e), e.elementType = ce, e.lanes = o, e.stateNode = {autoName: null,paired: null,clones: null,@@ -2427,159 +2427,159 @@ var k = /* @__PURE__ */ o(((e) => {}s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;}- return t = ki(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;+ return t = Ai(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;}- function Pi(e, t, n, r) {- return e = ki(7, e, r, t), e.lanes = n, e;+ function Fi(e, t, n, r) {+ return e = Ai(7, e, r, t), e.lanes = n, e;}- function Fi(e, t, n) {- return e = ki(6, e, null, t), e.lanes = n, e;+ function Ii(e, t, n) {+ return e = Ai(6, e, null, t), e.lanes = n, e;}- function Ii(e) {- var t = ki(18, null, null, 0);+ function Li(e) {+ var t = Ai(18, null, null, 0);return t.stateNode = e, t;}- function Li(e, t, n) {- return t = ki(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {+ function Ri(e, t, n) {+ return t = Ai(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {containerInfo: e.containerInfo,pendingChildren: null,implementation: e.implementation}, t;}- var Ri = /* @__PURE__ */ new WeakMap();- function zi(e, t) {+ var zi = /* @__PURE__ */ new WeakMap();+ function Bi(e, t) {if (typeof e == "object" && e) {- var n = Ri.get(e);+ var n = zi.get(e);return n === void 0 ? (t = {value: e,source: t,- stack: Ie(t)- }, Ri.set(e, t), t) : n;+ stack: Le(t)+ }, zi.set(e, t), t) : n;}return {value: e,source: t,- stack: Ie(t)+ stack: Le(t)};}- var Bi = [], Vi = 0, Hi = null, Ui = 0, Wi = [], Gi = 0, Ki = null, qi = 1, Ji = "";- function Yi(e, t) {- Bi[Vi++] = Ui, Bi[Vi++] = Hi, Hi = e, Ui = t;+ var Vi = [], Hi = 0, Ui = null, Wi = 0, Gi = [], Ki = 0, qi = null, Ji = 1, Yi = "";+ function Xi(e, t) {+ Vi[Hi++] = Wi, Vi[Hi++] = Ui, Ui = e, Wi = t;}- function Xi(e, t, n) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, Ki = e;- var r = qi;- e = Ji;- var i = 32 - et(r) - 1;+ function Zi(e, t, n) {+ Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, qi = e;+ var r = Ji;+ e = Yi;+ var i = 32 - tt(r) - 1;r &= ~(1 << i), n += 1;- var a = 32 - et(t) + i;+ var a = 32 - tt(t) + i;if (30 < a) {var o = i - i % 5;- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, qi = 1 << 32 - et(t) + i | n << i | r, Ji = a + e;- } else qi = 1 << a | n << i | r, Ji = e;- }- function Zi(e) {- e.return !== null && (Yi(e, 1), Xi(e, 1, 0));+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ji = 1 << 32 - tt(t) + i | n << i | r, Yi = a + e;+ } else Ji = 1 << a | n << i | r, Yi = e;}function Qi(e) {- for (; e === Hi;) Hi = Bi[--Vi], Bi[Vi] = null, Ui = Bi[--Vi], Bi[Vi] = null;- for (; e === Ki;) Ki = Wi[--Gi], Wi[Gi] = null, Ji = Wi[--Gi], Wi[Gi] = null, qi = Wi[--Gi], Wi[Gi] = null;+ e.return !== null && (Xi(e, 1), Zi(e, 1, 0));}- function $i(e, t) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, qi = t.id, Ji = t.overflow, Ki = e;+ function $i(e) {+ for (; e === Ui;) Ui = Vi[--Hi], Vi[Hi] = null, Wi = Vi[--Hi], Vi[Hi] = null;+ for (; e === qi;) qi = Gi[--Ki], Gi[Ki] = null, Yi = Gi[--Ki], Gi[Ki] = null, Ji = Gi[--Ki], Gi[Ki] = null;}- var ea = null, ta = null, na = !1, ra = null, ia = !1, aa = Error(i(519));- function oa(e) {- throw fa(zi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), aa;+ function ea(e, t) {+ Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, Ji = t.id, Yi = t.overflow, qi = e;}+ var ta = null, na = null, ra = !1, ia = null, aa = !1, oa = Error(i(519));function sa(e) {+ throw pa(Bi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), oa;+ }+ function ca(e) {var t = e.stateNode, n = e.type, r = e.memoizedProps;- switch (t[wt] = e, t[Tt] = r, n) {+ switch (t[Tt] = e, t[Et] = r, n) {case "dialog":- Yf("cancel", t), Yf("close", t);+ Xf("cancel", t), Xf("close", t);break;case "iframe":case "object":case "embed":- Yf("load", t);+ Xf("load", t);break;case "video":case "audio":- for (n = 0; n < Kf.length; n++) Yf(Kf[n], t);+ for (n = 0; n < qf.length; n++) Xf(qf[n], t);break;case "source":- Yf("error", t);+ Xf("error", t);break;case "img":case "image":case "link":- Yf("error", t), Yf("load", t);+ Xf("error", t), Xf("load", t);break;case "details":- Yf("toggle", t);+ Xf("toggle", t);break;case "input":- Yf("invalid", t), on(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ Xf("invalid", t), sn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);break;case "select":- Yf("invalid", t);+ Xf("invalid", t);break;- case "textarea": Yf("invalid", t), un(t, r.value, r.defaultValue, r.children);+ case "textarea": Xf("invalid", t), dn(t, r.value, r.defaultValue, r.children);}- n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || cp(t.textContent, n) ? (r.popover != null && (Yf("beforetoggle", t), Yf("toggle", t)), r.onScroll != null && Yf("scroll", t), r.onScrollEnd != null && Yf("scrollend", t), r.onClick != null && (t.onclick = vn), t = !0) : t = !1, t || oa(e, !0);+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || lp(t.textContent, n) ? (r.popover != null && (Xf("beforetoggle", t), Xf("toggle", t)), r.onScroll != null && Xf("scroll", t), r.onScrollEnd != null && Xf("scrollend", t), r.onClick != null && (t.onclick = yn), t = !0) : t = !1, t || sa(e, !0);}- function ca(e) {- for (ea = e.return; ea;) switch (ea.tag) {+ function la(e) {+ for (ta = e.return; ta;) switch (ta.tag) {case 5:case 31:case 13:- ia = !1;+ aa = !1;return;case 27:case 3:- ia = !0;+ aa = !0;return;- default: ea = ea.return;+ default: ta = ta.return;}}- function la(e) {- if (e !== ea) return !1;- if (!na) return ca(e), na = !0, !1;+ function ua(e) {+ if (e !== ta) return !1;+ if (!ra) return la(e), ra = !0, !1;var t = e.tag, n;- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Sp(e.type, e.memoizedProps)), n = !n), n && ta && oa(e), ca(e), t === 13) {+ 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 && na && sa(e), la(e), t === 13) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ta = bm(e);+ na = xm(e);} else if (t === 31) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ta = bm(e);- } else t === 27 ? (t = ta, jp(e.type) ? (e = ym, ym = null, ta = e) : ta = t) : ta = ea ? vm(e.stateNode.nextSibling) : null;+ na = xm(e);+ } else t === 27 ? (t = na, Mp(e.type) ? (e = bm, bm = null, na = e) : na = t) : na = ta ? ym(e.stateNode.nextSibling) : null;return !0;}- function ua() {- ta = ea = null, na = !1;- }function da() {- var e = ra;- return e !== null && (yd === null ? yd = e : yd.push.apply(yd, e), ra = null), e;+ na = ta = null, ra = !1;}- function fa(e) {- ra === null ? ra = [e] : ra.push(e);+ function fa() {+ var e = ia;+ return e !== null && (bd === null ? bd = e : bd.push.apply(bd, e), ia = null), e;}- var pa = ye(null), ma = null, ha = null;- function ga(e, t, n) {- xe(pa, t._currentValue), t._currentValue = n;+ function pa(e) {+ ia === null ? ia = [e] : ia.push(e);}- function _a(e) {- e._currentValue = pa.current, be(pa);+ var ma = be(null), ha = null, ga = null;+ function _a(e, t, n) {+ Se(ma, t._currentValue), t._currentValue = n;}- function va(e, t, n) {+ function va(e) {+ e._currentValue = ma.current, xe(ma);+ }+ function ya(e, t, n) {for (; e !== null;) {var r = e.alternate;if ((e.childLanes & t) === t ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t) : (e.childLanes |= t, r !== null && (r.childLanes |= t)), e === n) break;e = e.return;}}- function ya(e, t, n, r) {+ function ba(e, t, n, r) {var a = e.child;for (a !== null && (a.return = e); a !== null;) {var o = a.dependencies;@@ -2590,15 +2590,15 @@ var k = /* @__PURE__ */ o(((e) => {var c = o;o = a;for (var l = 0; l < t.length; l++) if (c.context === t[l]) {- o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), va(o.return, n, e), r || (s = null);+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ya(o.return, n, e), r || (s = null);break a;}o = c.next;}} else if (a.tag === 18) {if (s = a.return, s === null) throw Error(i(341));- s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), va(s, n, e), s = null;- } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), va(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;+ s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), ya(s, n, e), s = null;+ } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), ya(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;if (s !== null) s.return = a;else for (s = a; s !== null;) {if (s === e) {@@ -2614,7 +2614,7 @@ var k = /* @__PURE__ */ o(((e) => {a = s;}}- function ba(e, t, n, r) {+ function xa(e, t, n, r) {e = null;for (var a = t, o = !1; a !== null;) {if (!o) {@@ -2626,48 +2626,48 @@ var k = /* @__PURE__ */ o(((e) => {if (s === null) throw Error(i(387));if (s = s.memoizedProps, s !== null) {var c = a.type;- Rr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));+ zr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));}- } else if (a === Te.current) {+ } else if (a === Ee.current) {if (s = a.alternate, s === null) throw Error(i(387));- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [gh] : e.push(gh));+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [_h] : e.push(_h));}a = a.return;}- return e !== null && ya(t, e, n, r), t.flags |= 262144, e !== null;+ return e !== null && ba(t, e, n, r), t.flags |= 262144, e !== null;}- function xa(e) {+ function Sa(e) {for (e = e.firstContext; e !== null;) {- if (!Rr(e.context._currentValue, e.memoizedValue)) return !0;+ if (!zr(e.context._currentValue, e.memoizedValue)) return !0;e = e.next;}return !1;}- function Sa(e) {- ma = e, ha = null, e = e.dependencies, e !== null && (e.firstContext = null);- }function Ca(e) {- return Ta(ma, e);+ ha = e, ga = null, e = e.dependencies, e !== null && (e.firstContext = null);}- function wa(e, t) {- return ma === null && Sa(e), Ta(e, t);+ function wa(e) {+ return Ea(ha, e);}function Ta(e, t) {+ return ha === null && Ca(e), Ea(e, t);+ }+ function Ea(e, t) {var n = t._currentValue;if (t = {context: t,memoizedValue: n,next: null- }, ha === null) {+ }, ga === null) {if (e === null) throw Error(i(308));- ha = t, e.dependencies = {+ ga = t, e.dependencies = {lanes: 0,firstContext: t}, e.flags |= 524288;- } else ha = ha.next = t;+ } else ga = ga.next = t;return n;}- var Ea = typeof AbortController < "u" ? AbortController : function() {+ var Da = typeof AbortController < "u" ? AbortController : function() {var e = [], t = this.signal = {aborted: !1,addEventListener: function(t, n) {@@ -2679,7 +2679,7 @@ var k = /* @__PURE__ */ o(((e) => {return e();});};- }, Da = t.unstable_scheduleCallback, Oa = t.unstable_NormalPriority, ka = {+ }, Oa = t.unstable_scheduleCallback, ka = t.unstable_NormalPriority, Aa = {$$typeof: ne,Consumer: null,Provider: null,@@ -2687,19 +2687,19 @@ var k = /* @__PURE__ */ o(((e) => {_currentValue2: null,_threadCount: 0};- function Aa() {+ function ja() {return {- controller: new Ea(),+ controller: new Da(),data: /* @__PURE__ */ new Map(),refCount: 0};}- function ja(e) {- e.refCount--, e.refCount === 0 && Da(Oa, function() {+ function Ma(e) {+ e.refCount--, e.refCount === 0 && Oa(ka, function() {e.controller.abort();});}- function Ma(e, t) {+ function Na(e, t) {if (e.pendingLanes & 4194048) {var n = e.transitionTypes;for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {@@ -2708,16 +2708,16 @@ var k = /* @__PURE__ */ o(((e) => {}}}- var Na = null;- function Pa(e) {+ var Pa = null;+ function Fa(e) {var t = e.transitionTypes;return e.transitionTypes = null, t;}- var Fa = null, Ia = 0, La = 0, Ra = null;- function za(e, t) {- if (Fa === null) {- var n = Fa = [];- Ia = 0, La = Vf(), Ra = {+ var Ia = null, La = 0, Ra = 0, za = null;+ function Ba(e, t) {+ if (Ia === null) {+ var n = Ia = [];+ La = 0, Ra = Hf(), za = {status: "pending",value: void 0,then: function(e) {@@ -2725,17 +2725,17 @@ var k = /* @__PURE__ */ o(((e) => {}};}- return Ia++, t.then(Ba, Ba), t;+ return La++, t.then(Va, Va), t;}- function Ba() {- if (--Ia === 0 && (Na = null, Fa !== null)) {- Ra !== null && (Ra.status = "fulfilled");- var e = Fa;- Fa = null, La = 0, Ra = null;+ function Va() {+ if (--La === 0 && (Pa = null, Ia !== null)) {+ za !== null && (za.status = "fulfilled");+ var e = Ia;+ Ia = null, Ra = 0, za = null;for (var t = 0; t < e.length; t++) (0, e[t])();}}- function Va(e, t) {+ function Ha(e, t) {var n = [], r = {status: "pending",value: null,@@ -2751,48 +2751,48 @@ var k = /* @__PURE__ */ o(((e) => {for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);}), r;}- var Ha = he.S;+ var Ua = he.S;he.S = function(e, t) {- if (Sd = He(), typeof t == "object" && t && typeof t.then == "function" && za(e, t), Na !== null) for (var n = Df; n !== null;) Ma(n, Na), n = n.next;+ if (Cd = Ue(), typeof t == "object" && t && typeof t.then == "function" && Ba(e, t), Pa !== null) for (var n = Of; n !== null;) Na(n, Pa), n = n.next;if (n = e.types, n !== null) {- for (var r = Df; r !== null;) Ma(r, n), r = r.next;- if (La !== 0) {- r = Na, r === null && (r = Na = []);+ for (var r = Of; r !== null;) Na(r, n), r = r.next;+ if (Ra !== 0) {+ r = Pa, r === null && (r = Pa = []);for (var i = 0; i < n.length; i++) {var a = n[i];r.indexOf(a) === -1 && r.push(a);}}}- Ha !== null && Ha(e, t);+ Ua !== null && Ua(e, t);};- var Ua = ye(null);- function Wa() {- var e = Ua.current;- return e === null ? rd.pooledCache : e;+ var Wa = be(null);+ function Ga() {+ var e = Wa.current;+ return e === null ? id.pooledCache : e;}- function Ga(e, t) {- t === null ? xe(Ua, Ua.current) : xe(Ua, t.pool);+ function Ka(e, t) {+ t === null ? Se(Wa, Wa.current) : Se(Wa, t.pool);}- function Ka() {- var e = Wa();+ function qa() {+ var e = Ga();return e === null ? null : {- parent: ka._currentValue,+ parent: Aa._currentValue,pool: e};}- var qa = Error(i(460)), Ja = Error(i(474)), Ya = Error(i(542)), Xa = { then: function() {} };- function Za(e) {+ var Ja = Error(i(460)), Ya = Error(i(474)), Xa = Error(i(542)), Za = { then: function() {} };+ function Qa(e) {return e = e.status, e === "fulfilled" || e === "rejected";}- function Qa(e, t, n) {- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(vn, vn), t = n), t.status) {+ function $a(e, t, n) {+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(yn, yn), t = n), t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, no(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;+ case "rejected": throw e = t.reason, ro(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;default:- if (typeof t.status == "string") t.then(vn, vn);+ if (typeof t.status == "string") t.then(yn, yn);else {- if (e = rd, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));+ if (e = id, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));e = t, e.status = "pending", e.then(function(e) {if (t.status === "pending") {var n = t;@@ -2807,40 +2807,40 @@ var k = /* @__PURE__ */ o(((e) => {}switch (t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, no(e), e;+ case "rejected": throw e = t.reason, ro(e), e;}- throw eo = t, qa;+ throw to = t, Ja;}}- function $a(e) {+ function eo(e) {try {var t = e._init;return t(e._payload);} catch (e) {- throw typeof e == "object" && e && typeof e.then == "function" ? (eo = e, qa) : e;+ throw typeof e == "object" && e && typeof e.then == "function" ? (to = e, Ja) : e;}}- var eo = null;- function to() {- if (eo === null) throw Error(i(459));- var e = eo;- return eo = null, e;+ var to = null;+ function no() {+ if (to === null) throw Error(i(459));+ var e = to;+ return to = null, e;}- function no(e) {- if (e === qa || e === Ya) throw Error(i(483));+ function ro(e) {+ if (e === Ja || e === Xa) throw Error(i(483));}- var ro = null, io = 0;- function ao(e) {- var t = io;- return io += 1, ro === null && (ro = []), Qa(ro, e, t);+ var io = null, ao = 0;+ function oo(e) {+ var t = ao;+ return ao += 1, io === null && (io = []), $a(io, e, t);}- function oo(e, t) {+ function so(e, t) {t = t.props.ref, e.ref = t === void 0 ? null : t;}- function so(e, t) {+ function co(e, t) {throw t.$$typeof === T ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));}- function co(e) {+ function lo(e) {function t(t, n) {if (e) {var r = t.deletions;@@ -2857,7 +2857,7 @@ var k = /* @__PURE__ */ o(((e) => {return t;}function a(e, t) {- return e = ji(e, t), e.index = 0, e.sibling = null, e;+ return e = Mi(e, t), e.index = 0, e.sibling = null, e;}function o(t, n, r) {return t.index = r, e ? (r = t.alternate, r === null ? (t.flags |= 134217730, n) : (r = r.index, r < n ? (t.flags |= 2, n) : r)) : (t.flags |= 1048576, n);@@ -2866,30 +2866,30 @@ var k = /* @__PURE__ */ o(((e) => {return e && t.alternate === null && (t.flags |= 134217730), t;}function c(e, t, n, r) {- return t === null || t.tag !== 6 ? (t = Fi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);+ return t === null || t.tag !== 6 ? (t = Ii(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);}function l(e, t, n, r) {var i = n.type;- return i === O ? (e = d(e, t, n.props.children, r, n.key), oo(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === F && $a(i) === t.type) ? (t = a(t, n.props), oo(t, n), t.return = e, t) : (t = Ni(n.type, n.key, n.props, null, e.mode, r), oo(t, n), t.return = e, t);+ return i === O ? (e = d(e, t, n.props.children, r, n.key), so(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === F && eo(i) === t.type) ? (t = a(t, n.props), so(t, n), t.return = e, t) : (t = Pi(n.type, n.key, n.props, null, e.mode, r), so(t, n), t.return = e, t);}function u(e, t, n, r) {- return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Li(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);+ return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Ri(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);}function d(e, t, n, r, i) {- return t === null || t.tag !== 7 ? (t = Pi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);+ return t === null || t.tag !== 7 ? (t = Fi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);}function f(e, t, n) {- if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Fi("" + t, e.mode, n), t.return = e, t;+ if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Ii("" + t, e.mode, n), t.return = e, t;if (typeof t == "object" && t) {switch (t.$$typeof) {- case E: return n = Ni(t.type, t.key, t.props, null, e.mode, n), oo(n, t), n.return = e, n;- case D: return t = Li(t, e.mode, n), t.return = e, t;- case F: return t = $a(t), f(e, t, n);+ case E: return n = Pi(t.type, t.key, t.props, null, e.mode, n), so(n, t), n.return = e, n;+ case D: return t = Ri(t, e.mode, n), t.return = e, t;+ case F: return t = eo(t), f(e, t, n);}- if (me(t) || de(t)) return t = Pi(t, e.mode, n, null), t.return = e, t;- if (typeof t.then == "function") return f(e, ao(t), n);- if (t.$$typeof === ne) return f(e, wa(e, t), n);- so(e, t);+ if (me(t) || de(t)) return t = Fi(t, e.mode, n, null), t.return = e, t;+ if (typeof t.then == "function") return f(e, oo(t), n);+ if (t.$$typeof === ne) return f(e, Ta(e, t), n);+ co(e, t);}return null;}@@ -2900,12 +2900,12 @@ var k = /* @__PURE__ */ o(((e) => {switch (n.$$typeof) {case E: return n.key === i ? l(e, t, n, r) : null;case D: return n.key === i ? u(e, t, n, r) : null;- case F: return n = $a(n), p(e, t, n, r);+ case F: return n = eo(n), p(e, t, n, r);}if (me(n) || de(n)) return i === null ? d(e, t, n, r, null) : null;- if (typeof n.then == "function") return p(e, t, ao(n), r);- if (n.$$typeof === ne) return p(e, t, wa(e, n), r);- so(e, n);+ if (typeof n.then == "function") return p(e, t, oo(n), r);+ if (n.$$typeof === ne) return p(e, t, Ta(e, n), r);+ co(e, n);}return null;}@@ -2915,12 +2915,12 @@ var k = /* @__PURE__ */ o(((e) => {switch (r.$$typeof) {case E: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);case D: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);- case F: return r = $a(r), m(e, t, n, r, i);+ case F: return r = eo(r), m(e, t, n, r, i);}if (me(r) || de(r)) return e = e.get(n) || null, d(t, e, r, i, null);- if (typeof r.then == "function") return m(e, t, n, ao(r), i);- if (r.$$typeof === ne) return m(e, t, n, wa(t, r), i);- so(t, r);+ if (typeof r.then == "function") return m(e, t, n, oo(r), i);+ if (r.$$typeof === ne) return m(e, t, n, Ta(t, r), i);+ co(t, r);}return null;}@@ -2934,15 +2934,15 @@ var k = /* @__PURE__ */ o(((e) => {}e && d && _.alternate === null && t(i, d), a = o(_, a, h), u === null ? l = _ : u.sibling = _, u = _, d = g;}- if (h === s.length) return n(i, d), na && Yi(i, h), l;+ if (h === s.length) return n(i, d), ra && Xi(i, h), l;if (d === null) {for (; h < s.length; h++) d = f(i, s[h], c), d !== null && (a = o(d, a, h), u === null ? l = d : u.sibling = d, u = d);- return na && Yi(i, h), l;+ return ra && Xi(i, h), l;}for (d = r(d); h < s.length; h++) g = m(d, i, h, s[h], c), g !== null && (e && (_ = g.alternate, _ !== null && d.delete(_.key === null ? h : _.key)), a = o(g, a, h), u === null ? l = g : u.sibling = g, u = g);return e && d.forEach(function(e) {return t(i, e);- }), na && Yi(i, h), l;+ }), ra && Xi(i, h), l;}function g(a, s, c, l) {if (c == null) throw Error(i(151));@@ -2955,15 +2955,15 @@ var k = /* @__PURE__ */ o(((e) => {}e && h && y.alternate === null && t(a, h), s = o(y, s, g), d === null ? u = y : d.sibling = y, d = y, h = _;}- if (v.done) return n(a, h), na && Yi(a, g), u;+ if (v.done) return n(a, h), ra && Xi(a, g), u;if (h === null) {for (; !v.done; g++, v = c.next()) v = f(a, v.value, l), v !== null && (s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);- return na && Yi(a, g), u;+ return ra && Xi(a, g), u;}for (h = r(h); !v.done; g++, v = c.next()) v = m(h, a, g, v.value, l), v !== null && (e && (_ = v.alternate, _ !== null && h.delete(_.key === null ? g : _.key)), s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);return e && h.forEach(function(e) {return t(a, e);- }), na && Yi(a, g), u;+ }), ra && Xi(a, g), u;}function _(e, r, o, c) {if (typeof o == "object" && o && o.type === O && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {@@ -2974,11 +2974,11 @@ var k = /* @__PURE__ */ o(((e) => {if (r.key === l) {if (l = o.type, l === O) {if (r.tag === 7) {- n(e, r.sibling), c = a(r, o.props.children), oo(c, o), c.return = e, e = c;+ n(e, r.sibling), c = a(r, o.props.children), so(c, o), c.return = e, e = c;break a;}- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === F && $a(l) === r.type) {- n(e, r.sibling), c = a(r, o.props), oo(c, o), c.return = e, e = c;+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === F && eo(l) === r.type) {+ n(e, r.sibling), c = a(r, o.props), so(c, o), c.return = e, e = c;break a;}n(e, r);@@ -2986,7 +2986,7 @@ var k = /* @__PURE__ */ o(((e) => {}t(e, r), r = r.sibling;}- o.type === O ? (c = Pi(o.props.children, e.mode, c, o.key), oo(c, o), c.return = e, e = c) : (c = Ni(o.type, o.key, o.props, null, e.mode, c), oo(c, o), c.return = e, e = c);+ o.type === O ? (c = Fi(o.props.children, e.mode, c, o.key), so(c, o), c.return = e, e = c) : (c = Pi(o.type, o.key, o.props, null, e.mode, c), so(c, o), c.return = e, e = c);}return s(e);case D:@@ -3002,36 +3002,36 @@ var k = /* @__PURE__ */ o(((e) => {}t(e, r), r = r.sibling;}- c = Li(o, e.mode, c), c.return = e, e = c;+ c = Ri(o, e.mode, c), c.return = e, e = c;}return s(e);- case F: return o = $a(o), _(e, r, o, c);+ case F: return o = eo(o), _(e, r, o, c);}if (me(o)) return h(e, r, o, c);if (de(o)) {if (l = de(o), typeof l != "function") throw Error(i(150));return o = l.call(o), g(e, r, o, c);}- if (typeof o.then == "function") return _(e, r, ao(o), c);- if (o.$$typeof === ne) return _(e, r, wa(e, o), c);- so(e, o);+ if (typeof o.then == "function") return _(e, r, oo(o), c);+ if (o.$$typeof === ne) return _(e, r, Ta(e, o), c);+ co(e, o);}- return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Fi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);+ return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Ii(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);}return function(e, t, n, r) {try {- io = 0;+ ao = 0;var i = _(e, t, n, r);- return ro = null, i;+ return io = null, i;} catch (t) {- if (t === qa || t === Ya) throw t;- var a = ki(29, t, null, e.mode);+ if (t === Ja || t === Xa) throw t;+ var a = Ai(29, t, null, e.mode);return a.lanes = r, a.return = e, a;}};}- var lo = co(!0), uo = co(!1), fo = !1;- function po(e) {+ var uo = lo(!0), fo = lo(!1), po = !1;+ function mo(e) {e.updateQueue = {baseState: e.memoizedState,firstBaseUpdate: null,@@ -3044,7 +3044,7 @@ var k = /* @__PURE__ */ o(((e) => {callbacks: null};}- function mo(e, t) {+ function ho(e, t) {e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {baseState: e.baseState,firstBaseUpdate: e.firstBaseUpdate,@@ -3053,7 +3053,7 @@ var k = /* @__PURE__ */ o(((e) => {callbacks: null});}- function ho(e) {+ function go(e) {return {lane: e,tag: 0,@@ -3062,22 +3062,22 @@ var k = /* @__PURE__ */ o(((e) => {next: null};}- function go(e, t, n) {+ function _o(e, t, n) {var r = e.updateQueue;if (r === null) return null;- if (r = r.shared, nd & 2) {+ if (r = r.shared, rd & 2) {var i = r.pending;- return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ei(e), Ti(e, null, n), t;+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Di(e), Ei(e, null, n), t;}- return Si(e, r, t, n), Ei(e);+ return Ci(e, r, t, n), Di(e);}- function _o(e, t, n) {+ function vo(e, t, n) {if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, _t(e, n);+ r &= e.pendingLanes, n |= r, t.lanes = n, vt(e, n);}}- function vo(e, t) {+ function yo(e, t) {var n = e.updateQueue, r = e.alternate;if (r !== null && (r = r.updateQueue, n === r)) {var i = null, a = null;@@ -3103,17 +3103,17 @@ var k = /* @__PURE__ */ o(((e) => {}, e.updateQueue = n;} else e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;}- var yo = !1;- function bo() {- if (yo) {- var e = Ra;+ var bo = !1;+ function xo() {+ if (bo) {+ var e = za;if (e !== null) throw e;}}- function xo(e, t, n, r) {- yo = !1;+ function So(e, t, n, r) {+ bo = !1;var i = e.updateQueue;- fo = !1;+ po = !1;var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;if (s !== null) {i.shared.pending = null;@@ -3127,8 +3127,8 @@ var k = /* @__PURE__ */ o(((e) => {o = 0, u = l = c = null, s = a;do {var f = s.lane & -536870913, p = f !== s.lane;- if (p ? (ad & f) === f : (r & f) === f) {- f !== 0 && f === La && (yo = !0), u !== null && (u = u.next = {+ if (p ? (od & f) === f : (r & f) === f) {+ f !== 0 && f === Ra && (bo = !0), u !== null && (u = u.next = {lane: 0,tag: s.tag,payload: s.payload,@@ -3152,7 +3152,7 @@ var k = /* @__PURE__ */ o(((e) => {if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;d = w({}, d, f);break a;- case 2: fo = !0;+ case 2: po = !0;}}f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));@@ -3168,56 +3168,56 @@ var k = /* @__PURE__ */ o(((e) => {p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;}} while (1);- u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), pd |= o, e.lanes = o, e.memoizedState = d;+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), md |= o, e.lanes = o, e.memoizedState = d;}}- function So(e, t) {+ function Co(e, t) {if (typeof e != "function") throw Error(i(191, e));e.call(t);}- function Co(e, t) {+ function wo(e, t) {var n = e.callbacks;- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) So(n[e], t);- }- var wo = ye(null), To = ye(0);- function Eo(e, t) {- e = dd, xe(To, e), xe(wo, t), dd = e | t.baseLanes;+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) Co(n[e], t);}- function Do() {- xe(To, dd), xe(wo, wo.current);+ var To = be(null), Eo = be(0);+ function Do(e, t) {+ e = fd, Se(Eo, e), Se(To, t), fd = e | t.baseLanes;}function Oo() {- dd = To.current, be(wo), be(To);+ Se(Eo, fd), Se(To, To.current);}- var ko = ye(null), Ao = null;- function jo(e) {- var t = e.alternate;- xe(Io, Io.current & 1), xe(ko, e), Ao === null && (t === null || wo.current !== null || t.memoizedState !== null) && (Ao = e);+ function ko() {+ fd = Eo.current, xe(To), xe(Eo);}+ var Ao = be(null), jo = null;function Mo(e) {- xe(Io, Io.current), xe(ko, e), Ao === null && (Ao = e);+ var t = e.alternate;+ Se(Lo, Lo.current & 1), Se(Ao, e), jo === null && (t === null || To.current !== null || t.memoizedState !== null) && (jo = e);}function No(e) {- e.tag === 22 ? (xe(Io, Io.current), xe(ko, e), Ao === null && (Ao = e)) : Po();+ Se(Lo, Lo.current), Se(Ao, e), jo === null && (jo = e);}- function Po() {- xe(Io, Io.current), xe(ko, ko.current);+ function Po(e) {+ e.tag === 22 ? (Se(Lo, Lo.current), Se(Ao, e), jo === null && (jo = e)) : Fo();}- function Fo(e) {- be(ko), Ao === e && (Ao = null), be(Io);+ function Fo() {+ Se(Lo, Lo.current), Se(Ao, Ao.current);}- var Io = ye(0);- function Lo(e, t) {- xe(ko, ko.current), xe(Io, t);+ function Io(e) {+ xe(Ao), jo === e && (jo = null), xe(Lo);}- function Ro(e) {- be(Io), be(ko), Ao === e && (Ao = null);+ var Lo = be(0);+ function Ro(e, t) {+ Se(Ao, Ao.current), Se(Lo, t);}function zo(e) {+ xe(Lo), xe(Ao), jo === e && (jo = null);+ }+ function Bo(e) {for (var t = e; t !== null;) {if (t.tag === 13) {var n = t.memoizedState;- if (n !== null && (n = n.dehydrated, n === null || hm(n) || gm(n))) return t;+ if (n !== null && (n = n.dehydrated, n === null || gm(n) || _m(n))) return t;} else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {if (t.flags & 128) return t;} else if (t.child !== null) {@@ -3233,59 +3233,59 @@ var k = /* @__PURE__ */ o(((e) => {}return null;}- var Bo = 0, Vo = null, Ho = null, Uo = null, Wo = !1, Go = !1, Ko = !1, qo = 0, Jo = 0, Yo = null, Xo = 0;- function Zo() {+ var Vo = 0, Ho = null, Uo = null, Wo = null, Go = !1, Ko = !1, qo = !1, Jo = 0, Yo = 0, Xo = null, Zo = 0;+ function Qo() {throw Error(i(321));}- function Qo(e, t) {+ function $o(e, t) {if (t === null) return !1;- for (var n = 0; n < t.length && n < e.length; n++) if (!Rr(e[n], t[n])) return !1;+ for (var n = 0; n < t.length && n < e.length; n++) if (!zr(e[n], t[n])) return !1;return !0;}- function $o(e, t, n, r, i, a) {- return Bo = a, Vo = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, he.H = e === null || e.memoizedState === null ? gc : _c, Ko = !1, a = n(r, i), Ko = !1, Go && (a = ts(t, n, r, i)), es(e), a;+ function es(e, t, n, r, i, a) {+ return Vo = a, Ho = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, he.H = e === null || e.memoizedState === null ? _c : vc, qo = !1, a = n(r, i), qo = !1, Ko && (a = ns(t, n, r, i)), ts(e), a;}- function es(e) {- he.H = hc;- var t = Ho !== null && Ho.next !== null;- if (Bo = 0, Uo = Ho = Vo = null, Wo = !1, Jo = 0, Yo = null, t) throw Error(i(300));- e === null || Pc || (e = e.dependencies, e !== null && xa(e) && (Pc = !0));+ function ts(e) {+ he.H = gc;+ var t = Uo !== null && Uo.next !== null;+ if (Vo = 0, Wo = Uo = Ho = null, Go = !1, Yo = 0, Xo = null, t) throw Error(i(300));+ e === null || Fc || (e = e.dependencies, e !== null && Sa(e) && (Fc = !0));}- function ts(e, t, n, r) {- Vo = e;+ function ns(e, t, n, r) {+ Ho = e;var a = 0;do {- if (Go && (Yo = null), Jo = 0, Go = !1, 25 <= a) throw Error(i(301));- if (a += 1, Uo = Ho = null, e.updateQueue != null) {+ if (Ko && (Xo = null), Yo = 0, Ko = !1, 25 <= a) throw Error(i(301));+ if (a += 1, Wo = Uo = null, e.updateQueue != null) {var o = e.updateQueue;o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);}- he.H = vc, o = t(n, r);- } while (Go);+ he.H = yc, o = t(n, r);+ } while (Ko);return o;}- function ns() {+ function rs() {var e = he.H, t = e.useState()[0];- return t = typeof t.then == "function" ? ls(t) : t, e = e.useState()[0], (Ho === null ? null : Ho.memoizedState) !== e && (Vo.flags |= 1024), t;+ return t = typeof t.then == "function" ? us(t) : t, e = e.useState()[0], (Uo === null ? null : Uo.memoizedState) !== e && (Ho.flags |= 1024), t;}- function rs() {- var e = qo !== 0;- return qo = 0, e;+ function is() {+ var e = Jo !== 0;+ return Jo = 0, e;}- function is(e, t, n) {+ function as(e, t, n) {t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;}- function as(e) {- if (Wo) {+ function os(e) {+ if (Go) {for (e = e.memoizedState; e !== null;) {var t = e.queue;t !== null && (t.pending = null), e = e.next;}- Wo = !1;+ Go = !1;}- Bo = 0, Uo = Ho = Vo = null, Go = !1, Jo = qo = 0, Yo = null;+ Vo = 0, Wo = Uo = Ho = null, Ko = !1, Yo = Jo = 0, Xo = null;}- function os() {+ function ss() {var e = {memoizedState: null,baseState: null,@@ -3293,28 +3293,28 @@ var k = /* @__PURE__ */ o(((e) => {queue: null,next: null};- return Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e, Uo;+ return Wo === null ? Ho.memoizedState = Wo = e : Wo = Wo.next = e, Wo;}- function ss() {- if (Ho === null) {- var e = Vo.alternate;+ function cs() {+ if (Uo === null) {+ var e = Ho.alternate;e = e === null ? null : e.memoizedState;- } else e = Ho.next;- var t = Uo === null ? Vo.memoizedState : Uo.next;- if (t !== null) Uo = t, Ho = e;+ } else e = Uo.next;+ var t = Wo === null ? Ho.memoizedState : Wo.next;+ if (t !== null) Wo = t, Uo = e;else {- if (e === null) throw Vo.alternate === null ? Error(i(467)) : Error(i(310));- Ho = e, e = {- memoizedState: Ho.memoizedState,- baseState: Ho.baseState,- baseQueue: Ho.baseQueue,- queue: Ho.queue,+ if (e === null) throw Ho.alternate === null ? Error(i(467)) : Error(i(310));+ Uo = e, e = {+ memoizedState: Uo.memoizedState,+ baseState: Uo.baseState,+ baseQueue: Uo.baseQueue,+ queue: Uo.queue,next: null- }, Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e;+ }, Wo === null ? Ho.memoizedState = Wo = e : Wo = Wo.next = e;}- return Uo;+ return Wo;}- function cs() {+ function ls() {return {lastEffect: null,events: null,@@ -3322,22 +3322,22 @@ var k = /* @__PURE__ */ o(((e) => {memoCache: null};}- function ls(e) {- var t = Jo;- return Jo += 1, Yo === null && (Yo = []), e = Qa(Yo, e, t), t = Vo, (Uo === null ? t.memoizedState : Uo.next) === null && (t = t.alternate, he.H = t === null || t.memoizedState === null ? gc : _c), e;- }function us(e) {+ var t = Yo;+ return Yo += 1, Xo === null && (Xo = []), e = $a(Xo, e, t), t = Ho, (Wo === null ? t.memoizedState : Wo.next) === null && (t = t.alternate, he.H = t === null || t.memoizedState === null ? _c : vc), e;+ }+ function ds(e) {if (typeof e == "object" && e) {- if (typeof e.then == "function") return ls(e);+ if (typeof e.then == "function") return us(e);if (e.$$typeof === le) return;- if (e.$$typeof === ne) return Ca(e);+ if (e.$$typeof === ne) return wa(e);}throw Error(i(438, String(e)));}- function ds(e) {- var t = null, n = Vo.updateQueue;+ function fs(e) {+ var t = null, n = Ho.updateQueue;if (n !== null && (t = n.memoCache), t == null) {- var r = Vo.alternate;+ var r = Ho.alternate;r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {data: r.data.map(function(e) {return e.slice();@@ -3348,16 +3348,16 @@ var k = /* @__PURE__ */ o(((e) => {if (t ??= {data: [],index: 0- }, n === null && (n = cs(), Vo.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = se;+ }, n === null && (n = ls(), Ho.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = se;return t.index++, n;}- function fs(e, t) {+ function ps(e, t) {return typeof t == "function" ? t(e) : t;}- function ps(e) {- return ms(ss(), Ho, e);+ function ms(e) {+ return hs(cs(), Uo, e);}- function ms(e, t, n) {+ function hs(e, t, n) {var r = e.queue;if (r === null) throw Error(i(311));r.lastRenderedReducer = n;@@ -3375,7 +3375,7 @@ var k = /* @__PURE__ */ o(((e) => {var c = s = null, l = null, u = t, d = !1;do {var f = u.lane & -536870913;- if (f === u.lane ? (Bo & f) === f : (ad & f) === f) {+ if (f === u.lane ? (Vo & f) === f : (od & f) === f) {var p = u.revertLane;if (p === 0) l !== null && (l = l.next = {lane: 0,@@ -3385,9 +3385,9 @@ var k = /* @__PURE__ */ o(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }), f === La && (d = !0);- else if ((Bo & p) === p) {- u = u.next, p === La && (d = !0);+ }), f === Ra && (d = !0);+ else if ((Vo & p) === p) {+ u = u.next, p === Ra && (d = !0);continue;} else f = {lane: 0,@@ -3397,8 +3397,8 @@ var k = /* @__PURE__ */ o(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = f, s = o) : l = l.next = f, Vo.lanes |= p, pd |= p;- f = u.action, Ko && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);+ }, l === null ? (c = l = f, s = o) : l = l.next = f, Ho.lanes |= p, md |= p;+ f = u.action, qo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);} else p = {lane: f,revertLane: u.revertLane,@@ -3407,16 +3407,16 @@ var k = /* @__PURE__ */ o(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = p, s = o) : l = l.next = p, Vo.lanes |= f, pd |= f;+ }, l === null ? (c = l = p, s = o) : l = l.next = p, Ho.lanes |= f, md |= f;u = u.next;} while (u !== null && u !== t);- if (l === null ? s = o : l.next = c, !Rr(o, e.memoizedState) && (Pc = !0, d && (n = Ra, n !== null))) throw n;+ if (l === null ? s = o : l.next = c, !zr(o, e.memoizedState) && (Fc = !0, d && (n = za, n !== null))) throw n;e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;}return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];}- function hs(e) {- var t = ss(), n = t.queue;+ function gs(e) {+ var t = cs(), n = t.queue;if (n === null) throw Error(i(311));n.lastRenderedReducer = e;var r = n.dispatch, a = n.pending, o = t.memoizedState;@@ -3426,61 +3426,61 @@ var k = /* @__PURE__ */ o(((e) => {doo = e(o, s.action), s = s.next;while (s !== a);- Rr(o, t.memoizedState) || (Pc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;+ zr(o, t.memoizedState) || (Fc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;}return [o, r];}- function gs(e, t, n) {- var r = Vo, a = ss(), o = na;+ function _s(e, t, n) {+ var r = Ho, a = cs(), o = ra;if (o) {if (n === void 0) throw Error(i(407));n = n();} else n = t();- var s = !Rr((Ho || a).memoizedState, n);- if (s && (a.memoizedState = n, Pc = !0), a = a.queue, Vs(ys.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Uo !== null && !!(Uo.memoizedState.tag & 1), Is(e ? 9 : 8, { destroy: void 0 }, vs.bind(null, r, a, n, t), null), e) {- if (r.flags |= 2048, rd === null) throw Error(i(349));- o || Bo & 127 || _s(r, t, n);+ var s = !zr((Uo || a).memoizedState, n);+ if (s && (a.memoizedState = n, Fc = !0), a = a.queue, Hs(bs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Wo !== null && !!(Wo.memoizedState.tag & 1), Ls(e ? 9 : 8, { destroy: void 0 }, ys.bind(null, r, a, n, t), null), e) {+ if (r.flags |= 2048, id === null) throw Error(i(349));+ o || Vo & 127 || vs(r, t, n);}return n;}- function _s(e, t, n) {+ function vs(e, t, n) {e.flags |= 16384, e = {getSnapshot: t,value: n- }, t = Vo.updateQueue, t === null ? (t = cs(), Vo.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));+ }, t = Ho.updateQueue, t === null ? (t = ls(), Ho.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));}- function vs(e, t, n, r) {- t.value = n, t.getSnapshot = r, bs(t) && xs(e);+ function ys(e, t, n, r) {+ t.value = n, t.getSnapshot = r, xs(t) && Ss(e);}- function ys(e, t, n) {+ function bs(e, t, n) {return n(function() {- bs(t) && xs(e);+ xs(t) && Ss(e);});}- function bs(e) {+ function xs(e) {var t = e.getSnapshot;e = e.value;try {var n = t();- return !Rr(e, n);+ return !zr(e, n);} catch {return !0;}}- function xs(e) {- var t = wi(e, 2);- t !== null && Bd(t, e, 2);- }function Ss(e) {- var t = os();+ var t = Ti(e, 2);+ t !== null && Vd(t, e, 2);+ }+ function Cs(e) {+ var t = ss();if (typeof e == "function") {var n = e;- if (e = n(), Ko) {- $e(!0);+ if (e = n(), qo) {+ et(!0);try {n();} finally {- $e(!1);+ et(!1);}}}@@ -3488,15 +3488,15 @@ var k = /* @__PURE__ */ o(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,+ lastRenderedReducer: ps,lastRenderedState: e}, t;}- function Cs(e, t, n, r) {- return e.baseState = n, ms(e, Ho, typeof r == "function" ? r : fs);+ function ws(e, t, n, r) {+ return e.baseState = n, hs(e, Uo, typeof r == "function" ? r : ps);}- function ws(e, t, n, r, a) {- if (fc(e)) throw Error(i(485));+ function Ts(e, t, n, r, a) {+ if (pc(e)) throw Error(i(485));if (e = t.action, e !== null) {var o = {payload: a,@@ -3511,124 +3511,124 @@ var k = /* @__PURE__ */ o(((e) => {o.listeners.push(e);}};- he.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Ts(t, o)) : (o.next = n.next, t.pending = n.next = o);+ he.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Es(t, o)) : (o.next = n.next, t.pending = n.next = o);}}- function Ts(e, t) {+ function Es(e, t) {var n = t.action, r = t.payload, i = e.state;if (t.isTransition) {var a = he.T, o = {};o.types = a === null ? null : a.types, he.T = o;try {var s = n(i, r), c = he.S;- c !== null && c(o, s), Es(e, t, s);+ c !== null && c(o, s), Ds(e, t, s);} catch (n) {- Os(e, t, n);+ ks(e, t, n);} finally {a !== null && o.types !== null && (a.types = o.types), he.T = a;}} else try {- a = n(i, r), Es(e, t, a);+ a = n(i, r), Ds(e, t, a);} catch (n) {- Os(e, t, n);+ ks(e, t, n);}}- function Es(e, t, n) {+ function Ds(e, t, n) {typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {- Ds(e, t, n);+ Os(e, t, n);}, function(n) {- return Os(e, t, n);- }) : Ds(e, t, n);- }- function Ds(e, t, n) {- t.status = "fulfilled", t.value = n, ks(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Ts(e, n)));+ return ks(e, t, n);+ }) : Os(e, t, n);}function Os(e, t, n) {+ t.status = "fulfilled", t.value = n, As(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Es(e, n)));+ }+ function ks(e, t, n) {var r = e.pending;if (e.pending = null, r !== null) {r = r.next;do- t.status = "rejected", t.reason = n, ks(t), t = t.next;+ t.status = "rejected", t.reason = n, As(t), t = t.next;while (t !== r);}e.action = null;}- function ks(e) {+ function As(e) {e = e.listeners;for (var t = 0; t < e.length; t++) (0, e[t])();}- function As(e, t) {+ function js(e, t) {return t;}- function js(e, t) {- if (na) {- var n = rd.formState;+ function Ms(e, t) {+ if (ra) {+ var n = id.formState;if (n !== null) {a: {- var r = Vo;- if (na) {- if (ta) {+ var r = Ho;+ if (ra) {+ if (na) {b: {- for (var i = ta, a = ia; i.nodeType !== 8;) if (!a || (i = vm(i.nextSibling), i === null)) {+ for (var i = na, a = aa; i.nodeType !== 8;) if (!a || (i = ym(i.nextSibling), i === null)) {i = null;break b;}a = i.data, i = a === "F!" || a === "F" ? i : null;}if (i) {- ta = vm(i.nextSibling), r = i.data === "F!";+ na = ym(i.nextSibling), r = i.data === "F!";break a;}}- oa(r);+ sa(r);}r = !1;}r && (t = n[0]);}}- return n = os(), n.memoizedState = n.baseState = t, r = {+ return n = ss(), n.memoizedState = n.baseState = t, r = {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: As,+ lastRenderedReducer: js,lastRenderedState: t- }, n.queue = r, n = lc.bind(null, Vo, r), r.dispatch = n, r = Ss(!1), a = dc.bind(null, Vo, !1, r.queue), r = os(), i = {+ }, n.queue = r, n = uc.bind(null, Ho, r), r.dispatch = n, r = Cs(!1), a = fc.bind(null, Ho, !1, r.queue), r = ss(), i = {state: t,dispatch: null,action: e,pending: null- }, r.queue = i, n = ws.bind(null, Vo, i, a, n), i.dispatch = n, r.memoizedState = e, [+ }, r.queue = i, n = Ts.bind(null, Ho, i, a, n), i.dispatch = n, r.memoizedState = e, [t,n,!1];}- function Ms(e) {- return Ns(ss(), Ho, e);+ function Ns(e) {+ return Ps(cs(), Uo, e);}- function Ns(e, t, n) {- if (t = ms(e, t, As)[0], e = ps(fs)[0], typeof t == "object" && t && typeof t.then == "function") try {- var r = ls(t);+ function Ps(e, t, n) {+ if (t = hs(e, t, js)[0], e = ms(ps)[0], typeof t == "object" && t && typeof t.then == "function") try {+ var r = us(t);} catch (e) {- throw e === qa ? Ya : e;+ throw e === Ja ? Xa : e;}else r = t;- t = ss();+ t = cs();var i = t.queue, a = i.dispatch;- return n !== t.memoizedState && (Vo.flags |= 2048, Is(9, { destroy: void 0 }, Ps.bind(null, i, n), null)), [+ return n !== t.memoizedState && (Ho.flags |= 2048, Ls(9, { destroy: void 0 }, Fs.bind(null, i, n), null)), [r,a,e];}- function Ps(e, t) {+ function Fs(e, t) {e.action = t;}- function Fs(e) {- var t = ss(), n = Ho;- if (n !== null) return Ns(t, n, e);- ss(), t = t.memoizedState, n = ss();+ function Is(e) {+ var t = cs(), n = Uo;+ if (n !== null) return Ps(t, n, e);+ cs(), t = t.memoizedState, n = cs();var r = n.queue.dispatch;return n.memoizedState = e, [t,@@ -3636,60 +3636,60 @@ var k = /* @__PURE__ */ o(((e) => {!1];}- function Is(e, t, n, r) {+ function Ls(e, t, n, r) {return e = {tag: e,create: n,deps: r,inst: t,next: null- }, t = Vo.updateQueue, t === null && (t = cs(), Vo.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;- }- function Ls() {- return ss().memoizedState;+ }, t = Ho.updateQueue, t === null && (t = ls(), Ho.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;}- function Rs(e, t, n, r) {- var i = os();- Vo.flags |= e, i.memoizedState = Is(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);+ function Rs() {+ return cs().memoizedState;}function zs(e, t, n, r) {var i = ss();+ Ho.flags |= e, i.memoizedState = Ls(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);+ }+ function Bs(e, t, n, r) {+ var i = cs();r = r === void 0 ? null : r;var a = i.memoizedState.inst;- Ho !== null && r !== null && Qo(r, Ho.memoizedState.deps) ? i.memoizedState = Is(t, a, n, r) : (Vo.flags |= e, i.memoizedState = Is(1 | t, a, n, r));- }- function Bs(e, t) {- Rs(8390656, 8, e, t);+ Uo !== null && r !== null && $o(r, Uo.memoizedState.deps) ? i.memoizedState = Ls(t, a, n, r) : (Ho.flags |= e, i.memoizedState = Ls(1 | t, a, n, r));}function Vs(e, t) {- zs(2048, 8, e, t);+ zs(8390656, 8, e, t);}- function Hs(e) {- Vo.flags |= 4;- var t = Vo.updateQueue;- if (t === null) t = cs(), Vo.updateQueue = t, t.events = [e];+ function Hs(e, t) {+ Bs(2048, 8, e, t);+ }+ function Us(e) {+ Ho.flags |= 4;+ var t = Ho.updateQueue;+ if (t === null) t = ls(), Ho.updateQueue = t, t.events = [e];else {var n = t.events;n === null ? t.events = [e] : n.push(e);}}- function Us(e) {- var t = ss().memoizedState;- return Hs({+ function Ws(e) {+ var t = cs().memoizedState;+ return Us({ref: t,nextImpl: e}), function() {- if (nd & 2) throw Error(i(440));+ if (rd & 2) throw Error(i(440));return t.impl.apply(void 0, arguments);};}- function Ws(e, t) {- return zs(4, 2, e, t);- }function Gs(e, t) {- return zs(4, 4, e, t);+ return Bs(4, 2, e, t);}function Ks(e, t) {+ return Bs(4, 4, e, t);+ }+ function qs(e, t) {if (typeof t == "function") {e = e();var n = t(e);@@ -3701,76 +3701,76 @@ var k = /* @__PURE__ */ o(((e) => {t.current = null;};}- function qs(e, t, n) {- n = n == null ? null : n.concat([e]), zs(4, 4, Ks.bind(null, t, e), n);+ function Js(e, t, n) {+ n = n == null ? null : n.concat([e]), Bs(4, 4, qs.bind(null, t, e), n);}- function Js() {}- function Ys(e, t) {- var n = ss();+ function Ys() {}+ function Xs(e, t) {+ var n = cs();t = t === void 0 ? null : t;var r = n.memoizedState;- return t !== null && Qo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);+ return t !== null && $o(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);}- function Xs(e, t) {- var n = ss();+ function Zs(e, t) {+ var n = cs();t = t === void 0 ? null : t;var r = n.memoizedState;- if (t !== null && Qo(t, r[1])) return r[0];- if (r = e(), Ko) {- $e(!0);+ if (t !== null && $o(t, r[1])) return r[0];+ if (r = e(), qo) {+ et(!0);try {e();} finally {- $e(!1);+ et(!1);}}return n.memoizedState = [r, t], r;}- function Zs(e, t, n) {- return n === void 0 || Bo & 1073741824 && !(ad & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Rd(), Vo.lanes |= e, pd |= e, n);+ function Qs(e, t, n) {+ return n === void 0 || Vo & 1073741824 && !(od & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = zd(), Ho.lanes |= e, md |= e, n);}- function Qs(e, t, n, r) {- return Rr(n, t) ? n : wo.current === null ? !(Bo & 106) || Bo & 1073741824 && !(ad & 261930) ? (Pc = !0, e.memoizedState = n) : (e = Rd(), Vo.lanes |= e, pd |= e, t) : (e = Zs(e, n, r), Rr(e, t) || (Pc = !0), e);+ function $s(e, t, n, r) {+ return zr(n, t) ? n : To.current === null ? !(Vo & 106) || Vo & 1073741824 && !(od & 261930) ? (Fc = !0, e.memoizedState = n) : (e = zd(), Ho.lanes |= e, md |= e, t) : (e = Qs(e, n, r), zr(e, t) || (Fc = !0), e);}- function $s(e, t, n, r, i) {- var a = I.p;- I.p = a !== 0 && 8 > a ? a : 8;+ function ec(e, t, n, r, i) {+ var a = ge.p;+ ge.p = a !== 0 && 8 > a ? a : 8;var o = he.T, s = {};- s.types = o === null ? null : o.types, he.T = s, dc(e, !1, t, n);+ s.types = o === null ? null : o.types, he.T = s, fc(e, !1, t, n);try {var c = i(), l = he.S;- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? uc(e, t, Va(c, r), Ld(e)) : uc(e, t, r, Ld(e));+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? dc(e, t, Ha(c, r), Rd(e)) : dc(e, t, r, Rd(e));} catch (n) {- uc(e, t, {+ dc(e, t, {then: function() {},status: "rejected",reason: n- }, Ld());+ }, Rd());} finally {- I.p = a, o !== null && s.types !== null && (o.types = s.types), he.T = o;+ ge.p = a, o !== null && s.types !== null && (o.types = s.types), he.T = o;}}- function ec() {}- function tc(e, t, n, r) {+ function tc() {}+ function nc(e, t, n, r) {if (e.tag !== 5) throw Error(i(476));- var a = nc(e).queue;- $s(e, a, t, ge, n === null ? ec : function() {- return rc(e), n(r);+ var a = rc(e).queue;+ ec(e, a, t, _e, n === null ? tc : function() {+ return ic(e), n(r);});}- function nc(e) {+ function rc(e) {var t = e.memoizedState;if (t !== null) return t;t = {- memoizedState: ge,- baseState: ge,+ memoizedState: _e,+ baseState: _e,baseQueue: null,queue: {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,- lastRenderedState: ge+ lastRenderedReducer: ps,+ lastRenderedState: _e},next: null};@@ -3783,41 +3783,41 @@ var k = /* @__PURE__ */ o(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,+ lastRenderedReducer: ps,lastRenderedState: n},next: null}, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;}- function rc(e) {- var t = nc(e);- t.next === null && (t = e.alternate.memoizedState), uc(e, t.next.queue, {}, Ld());- }- function ic() {- return Ca(gh);+ function ic(e) {+ var t = rc(e);+ t.next === null && (t = e.alternate.memoizedState), dc(e, t.next.queue, {}, Rd());}function ac() {- return ss().memoizedState;+ return wa(_h);}function oc() {- return ss().memoizedState;+ return cs().memoizedState;}- function sc(e) {+ function sc() {+ return cs().memoizedState;+ }+ function cc(e) {for (var t = e.return; t !== null;) {switch (t.tag) {case 24:case 3:- var n = Ld();- e = ho(n);- var r = go(t, e, n);- r !== null && (Bd(r, t, n), _o(r, t, n)), t = { cache: Aa() }, e.payload = t;+ var n = Rd();+ e = go(n);+ var r = _o(t, e, n);+ r !== null && (Vd(r, t, n), vo(r, t, n)), t = { cache: ja() }, e.payload = t;return;}t = t.return;}}- function cc(e, t, n) {- var r = Ld();+ function lc(e, t, n) {+ var r = Rd();n = {lane: r,revertLane: 0,@@ -3826,12 +3826,12 @@ var k = /* @__PURE__ */ o(((e) => {hasEagerState: !1,eagerState: null,next: null- }, fc(e) ? pc(t, n) : (n = Ci(e, t, n, r), n !== null && (Bd(n, e, r), mc(n, t, r)));+ }, pc(e) ? mc(t, n) : (n = wi(e, t, n, r), n !== null && (Vd(n, e, r), hc(n, t, r)));}- function lc(e, t, n) {- uc(e, t, n, Ld());+ function uc(e, t, n) {+ dc(e, t, n, Rd());}- function uc(e, t, n, r) {+ function dc(e, t, n, r) {var i = {lane: r,revertLane: 0,@@ -3841,111 +3841,111 @@ var k = /* @__PURE__ */ o(((e) => {eagerState: null,next: null};- if (fc(e)) pc(t, i);+ if (pc(e)) mc(t, i);else {var a = e.alternate;if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) try {var o = t.lastRenderedState, s = a(o, n);- if (i.hasEagerState = !0, i.eagerState = s, Rr(s, o)) return Si(e, t, i, 0), rd === null && xi(), !1;+ if (i.hasEagerState = !0, i.eagerState = s, zr(s, o)) return Ci(e, t, i, 0), id === null && Si(), !1;} catch {}- if (n = Ci(e, t, i, r), n !== null) return Bd(n, e, r), mc(n, t, r), !0;+ if (n = wi(e, t, i, r), n !== null) return Vd(n, e, r), hc(n, t, r), !0;}return !1;}- function dc(e, t, n, r) {+ function fc(e, t, n, r) {if (r = {lane: 2,- revertLane: Vf(),+ revertLane: Hf(),gesture: null,action: r,hasEagerState: !1,eagerState: null,next: null- }, fc(e)) {+ }, pc(e)) {if (t) throw Error(i(479));- } else t = Ci(e, n, r, 2), t !== null && Bd(t, e, 2);+ } else t = wi(e, n, r, 2), t !== null && Vd(t, e, 2);}- function fc(e) {+ function pc(e) {var t = e.alternate;- return e === Vo || t !== null && t === Vo;+ return e === Ho || t !== null && t === Ho;}- function pc(e, t) {- Go = Wo = !0;+ function mc(e, t) {+ Ko = Go = !0;var n = e.pending;n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;}- function mc(e, t, n) {+ function hc(e, t, n) {if (n & 4194048) {var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, _t(e, n);- }- }- var hc = {- readContext: Ca,- use: us,- useCallback: Zo,- useContext: Zo,- useEffect: Zo,- useImperativeHandle: Zo,- useLayoutEffect: Zo,- useInsertionEffect: Zo,- useMemo: Zo,- useReducer: Zo,- useRef: Zo,- useState: Zo,- useDebugValue: Zo,- useDeferredValue: Zo,- useTransition: Zo,- useSyncExternalStore: Zo,- useId: Zo,- useHostTransitionStatus: Zo,- useFormState: Zo,- useActionState: Zo,- useOptimistic: Zo,- useMemoCache: Zo,- useCacheRefresh: Zo,- useEffectEvent: Zo- }, gc = {- readContext: Ca,- use: us,+ r &= e.pendingLanes, n |= r, t.lanes = n, vt(e, n);+ }+ }+ var gc = {+ readContext: wa,+ use: ds,+ useCallback: Qo,+ useContext: Qo,+ useEffect: Qo,+ useImperativeHandle: Qo,+ useLayoutEffect: Qo,+ useInsertionEffect: Qo,+ useMemo: Qo,+ useReducer: Qo,+ useRef: Qo,+ useState: Qo,+ useDebugValue: Qo,+ useDeferredValue: Qo,+ useTransition: Qo,+ useSyncExternalStore: Qo,+ useId: Qo,+ useHostTransitionStatus: Qo,+ useFormState: Qo,+ useActionState: Qo,+ useOptimistic: Qo,+ useMemoCache: Qo,+ useCacheRefresh: Qo,+ useEffectEvent: Qo+ }, _c = {+ readContext: wa,+ use: ds,useCallback: function(e, t) {- return os().memoizedState = [e, t === void 0 ? null : t], e;+ return ss().memoizedState = [e, t === void 0 ? null : t], e;},- useContext: Ca,- useEffect: Bs,+ useContext: wa,+ useEffect: Vs,useImperativeHandle: function(e, t, n) {- n = n == null ? null : n.concat([e]), Rs(4194308, 4, Ks.bind(null, t, e), n);+ n = n == null ? null : n.concat([e]), zs(4194308, 4, qs.bind(null, t, e), n);},useLayoutEffect: function(e, t) {- return Rs(4194308, 4, e, t);+ return zs(4194308, 4, e, t);},useInsertionEffect: function(e, t) {- Rs(4, 2, e, t);+ zs(4, 2, e, t);},useMemo: function(e, t) {- var n = os();+ var n = ss();t = t === void 0 ? null : t;var r = e();- if (Ko) {- $e(!0);+ if (qo) {+ et(!0);try {e();} finally {- $e(!1);+ et(!1);}}return n.memoizedState = [r, t], r;},useReducer: function(e, t, n) {- var r = os();+ var r = ss();if (n !== void 0) {var i = n(t);- if (Ko) {- $e(!0);+ if (qo) {+ et(!0);try {n(t);} finally {- $e(!1);+ et(!1);}}} else i = t;@@ -3955,54 +3955,54 @@ var k = /* @__PURE__ */ o(((e) => {dispatch: null,lastRenderedReducer: e,lastRenderedState: i- }, r.queue = e, e = e.dispatch = cc.bind(null, Vo, e), [r.memoizedState, e];+ }, r.queue = e, e = e.dispatch = lc.bind(null, Ho, e), [r.memoizedState, e];},useRef: function(e) {- var t = os();+ var t = ss();return e = { current: e }, t.memoizedState = e;},useState: function(e) {- e = Ss(e);- var t = e.queue, n = lc.bind(null, Vo, t);+ e = Cs(e);+ var t = e.queue, n = uc.bind(null, Ho, t);return t.dispatch = n, [e.memoizedState, n];},- useDebugValue: Js,+ useDebugValue: Ys,useDeferredValue: function(e, t) {- return Zs(os(), e, t);+ return Qs(ss(), e, t);},useTransition: function() {- var e = Ss(!1);- return e = $s.bind(null, Vo, e.queue, !0, !1), os().memoizedState = e, [!1, e];+ var e = Cs(!1);+ return e = ec.bind(null, Ho, e.queue, !0, !1), ss().memoizedState = e, [!1, e];},useSyncExternalStore: function(e, t, n) {- var r = Vo, a = os();- if (na) {+ var r = Ho, a = ss();+ if (ra) {if (n === void 0) throw Error(i(407));n = n();} else {- if (n = t(), rd === null) throw Error(i(349));- ad & 127 || _s(r, t, n);+ if (n = t(), id === null) throw Error(i(349));+ od & 127 || vs(r, t, n);}a.memoizedState = n;var o = {value: n,getSnapshot: t};- return a.queue = o, Bs(ys.bind(null, r, o, e), [e]), r.flags |= 2048, Is(9, { destroy: void 0 }, vs.bind(null, r, o, n, t), null), n;+ return a.queue = o, Vs(bs.bind(null, r, o, e), [e]), r.flags |= 2048, Ls(9, { destroy: void 0 }, ys.bind(null, r, o, n, t), null), n;},useId: function() {- var e = os(), t = rd.identifierPrefix;- if (na) {- var n = Ji, r = qi;- n = (r & ~(1 << 32 - et(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = qo++, 0 < n && (t += "H" + n.toString(32)), t += "_";- } else n = Xo++, t = "_" + t + "r_" + n.toString(32) + "_";+ var e = ss(), t = id.identifierPrefix;+ if (ra) {+ var n = Yi, r = Ji;+ n = (r & ~(1 << 32 - tt(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Jo++, 0 < n && (t += "H" + n.toString(32)), t += "_";+ } else n = Zo++, t = "_" + t + "r_" + n.toString(32) + "_";return e.memoizedState = t;},- useHostTransitionStatus: ic,- useFormState: js,- useActionState: js,+ useHostTransitionStatus: ac,+ useFormState: Ms,+ useActionState: Ms,useOptimistic: function(e) {- var t = os();+ var t = ss();t.memoizedState = t.baseState = e;var n = {pending: null,@@ -4011,132 +4011,132 @@ var k = /* @__PURE__ */ o(((e) => {lastRenderedReducer: null,lastRenderedState: null};- return t.queue = n, t = dc.bind(null, Vo, !0, n), n.dispatch = t, [e, t];+ return t.queue = n, t = fc.bind(null, Ho, !0, n), n.dispatch = t, [e, t];},- useMemoCache: ds,+ useMemoCache: fs,useCacheRefresh: function() {- return os().memoizedState = sc.bind(null, Vo);+ return ss().memoizedState = cc.bind(null, Ho);},useEffectEvent: function(e) {- var t = os(), n = { impl: e };+ var t = ss(), n = { impl: e };return t.memoizedState = n, function() {- if (nd & 2) throw Error(i(440));+ if (rd & 2) throw Error(i(440));return n.impl.apply(void 0, arguments);};}- }, _c = {- readContext: Ca,- use: us,- useCallback: Ys,- useContext: Ca,- useEffect: Vs,- useImperativeHandle: qs,- useInsertionEffect: Ws,- useLayoutEffect: Gs,- useMemo: Xs,- useReducer: ps,- useRef: Ls,+ }, vc = {+ readContext: wa,+ use: ds,+ useCallback: Xs,+ useContext: wa,+ useEffect: Hs,+ useImperativeHandle: Js,+ useInsertionEffect: Gs,+ useLayoutEffect: Ks,+ useMemo: Zs,+ useReducer: ms,+ useRef: Rs,useState: function() {- return ps(fs);+ return ms(ps);},- useDebugValue: Js,+ useDebugValue: Ys,useDeferredValue: function(e, t) {- return Qs(ss(), Ho.memoizedState, e, t);+ return $s(cs(), Uo.memoizedState, e, t);},useTransition: function() {- var e = ps(fs)[0], t = ss().memoizedState;- return [typeof e == "boolean" ? e : ls(e), t];+ var e = ms(ps)[0], t = cs().memoizedState;+ return [typeof e == "boolean" ? e : us(e), t];},- useSyncExternalStore: gs,- useId: ac,- useHostTransitionStatus: ic,- useFormState: Ms,- useActionState: Ms,+ useSyncExternalStore: _s,+ useId: oc,+ useHostTransitionStatus: ac,+ useFormState: Ns,+ useActionState: Ns,useOptimistic: function(e, t) {- return Cs(ss(), Ho, e, t);+ return ws(cs(), Uo, e, t);},- useMemoCache: ds,- useCacheRefresh: oc,- useEffectEvent: Us- }, vc = {- readContext: Ca,- use: us,- useCallback: Ys,- useContext: Ca,- useEffect: Vs,- useImperativeHandle: qs,- useInsertionEffect: Ws,- useLayoutEffect: Gs,- useMemo: Xs,- useReducer: hs,- useRef: Ls,+ useMemoCache: fs,+ useCacheRefresh: sc,+ useEffectEvent: Ws+ }, yc = {+ readContext: wa,+ use: ds,+ useCallback: Xs,+ useContext: wa,+ useEffect: Hs,+ useImperativeHandle: Js,+ useInsertionEffect: Gs,+ useLayoutEffect: Ks,+ useMemo: Zs,+ useReducer: gs,+ useRef: Rs,useState: function() {- return hs(fs);+ return gs(ps);},- useDebugValue: Js,+ useDebugValue: Ys,useDeferredValue: function(e, t) {- var n = ss();- return Ho === null ? Zs(n, e, t) : Qs(n, Ho.memoizedState, e, t);+ var n = cs();+ return Uo === null ? Qs(n, e, t) : $s(n, Uo.memoizedState, e, t);},useTransition: function() {- var e = hs(fs)[0], t = ss().memoizedState;- return [typeof e == "boolean" ? e : ls(e), t];+ var e = gs(ps)[0], t = cs().memoizedState;+ return [typeof e == "boolean" ? e : us(e), t];},- useSyncExternalStore: gs,- useId: ac,- useHostTransitionStatus: ic,- useFormState: Fs,- useActionState: Fs,+ useSyncExternalStore: _s,+ useId: oc,+ useHostTransitionStatus: ac,+ useFormState: Is,+ useActionState: Is,useOptimistic: function(e, t) {- var n = ss();- return Ho === null ? (n.baseState = e, [e, n.queue.dispatch]) : Cs(n, Ho, e, t);+ var n = cs();+ return Uo === null ? (n.baseState = e, [e, n.queue.dispatch]) : ws(n, Uo, e, t);},- useMemoCache: ds,- useCacheRefresh: oc,- useEffectEvent: Us+ useMemoCache: fs,+ useCacheRefresh: sc,+ useEffectEvent: Ws};- function yc(e, t, n, r) {+ function bc(e, t, n, r) {t = e.memoizedState, n = n(r, t), n = n == null ? t : w({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);}- var bc = {+ var xc = {enqueueSetState: function(e, t, n) {e = e._reactInternals;- var r = Ld(), i = ho(r);- i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Bd(t, e, r), _o(t, e, r));+ var r = Rd(), i = go(r);+ i.payload = t, n != null && (i.callback = n), t = _o(e, i, r), t !== null && (Vd(t, e, r), vo(t, e, r));},enqueueReplaceState: function(e, t, n) {e = e._reactInternals;- var r = Ld(), i = ho(r);- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Bd(t, e, r), _o(t, e, r));+ var r = Rd(), i = go(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = _o(e, i, r), t !== null && (Vd(t, e, r), vo(t, e, r));},enqueueForceUpdate: function(e, t) {e = e._reactInternals;- var n = Ld(), r = ho(n);- r.tag = 2, t != null && (r.callback = t), t = go(e, r, n), t !== null && (Bd(t, e, n), _o(t, e, n));+ var n = Rd(), r = go(n);+ r.tag = 2, t != null && (r.callback = t), t = _o(e, r, n), t !== null && (Vd(t, e, n), vo(t, e, n));}};- function xc(e, t, n, r, i, a, o) {- return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !zr(n, r) || !zr(i, a) : !0;+ function Sc(e, t, n, r, i, a, o) {+ return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Br(n, r) || !Br(i, a) : !0;}- function Sc(e, t, n, r) {- e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && bc.enqueueReplaceState(t, t.state, null);+ function Cc(e, t, n, r) {+ e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && xc.enqueueReplaceState(t, t.state, null);}- function Cc(e, t) {+ function wc(e, t) {var n = t;if ("ref" in t) for (var r in n = {}, t) r !== "ref" && (n[r] = t[r]);if (e = e.defaultProps) for (var i in n === t && (n = w({}, n)), e) n[i] === void 0 && (n[i] = e[i]);return n;}- function wc(e) {- _i(e);- }function Tc(e) {- console.error(e);+ vi(e);}function Ec(e) {- _i(e);+ console.error(e);}- function Dc(e, t) {+ function Dc(e) {+ vi(e);+ }+ function Oc(e, t) {try {var n = e.onUncaughtError;n(t.value, { componentStack: t.stack });@@ -4146,7 +4146,7 @@ var k = /* @__PURE__ */ o(((e) => {});}}- function Oc(e, t, n) {+ function kc(e, t, n) {try {var r = e.onCaughtError;r(n.value, {@@ -4159,57 +4159,57 @@ var k = /* @__PURE__ */ o(((e) => {});}}- function kc(e, t, n) {- return n = ho(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {- Dc(e, t);+ function Ac(e, t, n) {+ return n = go(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {+ Oc(e, t);}, n;}- function Ac(e) {- return e = ho(e), e.tag = 3, e;+ function jc(e) {+ return e = go(e), e.tag = 3, e;}- function jc(e, t, n, r) {+ function Mc(e, t, n, r) {var i = n.type.getDerivedStateFromError;if (typeof i == "function") {var a = r.value;e.payload = function() {return i(a);}, e.callback = function() {- Oc(t, n, r);+ kc(t, n, r);};}var o = n.stateNode;o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {- Oc(t, n, r), typeof i != "function" && (Td === null ? Td = /* @__PURE__ */ new Set([this]) : Td.add(this));+ kc(t, n, r), typeof i != "function" && (Ed === null ? Ed = /* @__PURE__ */ new Set([this]) : Ed.add(this));var e = r.stack;this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });});}- function Mc(e, t, n, r, a) {+ function Nc(e, t, n, r, a) {if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {- if (t = n.alternate, t !== null && ba(t, n, a, !0), n = ko.current, n !== null) {+ if (t = n.alternate, t !== null && xa(t, n, a, !0), n = Ao.current, n !== null) {switch (n.tag) {case 31:case 13:- case 19: return Ao === null ? Qd() : n.alternate === null && fd === 0 && (fd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), xf(e, r, a)), !1;- case 22: return n.flags |= 65536, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {+ case 19: return jo === null ? $d() : n.alternate === null && pd === 0 && (pd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Za ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), Sf(e, r, a)), !1;+ case 22: return n.flags |= 65536, r === Za ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {transitions: null,markerInstances: null,retryQueue: /* @__PURE__ */ new Set([r])- }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), xf(e, r, a)), !1;+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), Sf(e, r, a)), !1;}throw Error(i(435, n.tag));}- return xf(e, r, a), Qd(), !1;+ return Sf(e, r, a), $d(), !1;}- if (na) return t = ko.current, t === null ? (r !== aa && (t = Error(i(423), { cause: r }), fa(zi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = zi(r, n), a = kc(e.stateNode, r, a), vo(e, a), fd !== 4 && (fd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== aa && (e = Error(i(422), { cause: r }), fa(zi(e, n)))), !1;+ if (ra) return t = Ao.current, t === null ? (r !== oa && (t = Error(i(423), { cause: r }), pa(Bi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Bi(r, n), a = Ac(e.stateNode, r, a), yo(e, a), pd !== 4 && (pd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== oa && (e = Error(i(422), { cause: r }), pa(Bi(e, n)))), !1;var o = Error(i(520), { cause: r });- if (o = zi(o, n), vd === null ? vd = [o] : vd.push(o), fd !== 4 && (fd = 2), t === null) return !0;- r = zi(r, n), n = t;+ if (o = Bi(o, n), yd === null ? yd = [o] : yd.push(o), pd !== 4 && (pd = 2), t === null) return !0;+ r = Bi(r, n), n = t;do {switch (n.tag) {- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = kc(n.stateNode, r, e), vo(n, e), !1;+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Ac(n.stateNode, r, e), yo(n, e), !1;case 1:- if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Td === null || !Td.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ac(a), jc(a, e, n, r), vo(n, a), !1;+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Ed === null || !Ed.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = jc(a), Mc(a, e, n, r), yo(n, a), !1;break;case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;}@@ -4217,41 +4217,41 @@ var k = /* @__PURE__ */ o(((e) => {} while (n !== null);return !1;}- var Nc = Error(i(461)), Pc = !1;- function Fc(e, t, n, r) {- t.child = e === null ? uo(t, null, n, r) : lo(t, e.child, n, r);+ var Pc = Error(i(461)), Fc = !1;+ function Ic(e, t, n, r) {+ t.child = e === null ? fo(t, null, n, r) : uo(t, e.child, n, r);}- function Ic(e, t, n, r, i) {+ function Lc(e, t, n, r, i) {n = n.render;var a = t.ref;if ("ref" in r) {var o = {};for (var s in r) s !== "ref" && (o[s] = r[s]);} else o = r;- return Sa(t), r = $o(e, t, n, o, a, i), s = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (na && s && Zi(t), t.flags |= 1, Fc(e, t, r, i), t.child);+ return Ca(t), r = es(e, t, n, o, a, i), s = is(), e !== null && !Fc ? (as(e, t, i), dl(e, t, i)) : (ra && s && Qi(t), t.flags |= 1, Ic(e, t, r, i), t.child);}- function Lc(e, t, n, r, i) {+ function Rc(e, t, n, r, i) {if (e === null) {var a = n.type;- return typeof a == "function" && !Ai(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Rc(e, t, a, r, i)) : (e = Ni(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);+ return typeof a == "function" && !ji(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, zc(e, t, a, r, i)) : (e = Pi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);}- if (a = e.child, !dl(e, i)) {+ if (a = e.child, !fl(e, i)) {var o = a.memoizedProps;- if (n = n.compare, n = n === null ? zr : n, n(o, r) && e.ref === t.ref) return ul(e, t, i);+ if (n = n.compare, n = n === null ? Br : n, n(o, r) && e.ref === t.ref) return dl(e, t, i);}- return t.flags |= 1, e = ji(a, r), e.ref = t.ref, e.return = t, t.child = e;+ return t.flags |= 1, e = Mi(a, r), e.ref = t.ref, e.return = t, t.child = e;}- function Rc(e, t, n, r, i) {+ function zc(e, t, n, r, i) {if (e !== null) {var a = e.memoizedProps;- if (zr(a, r) && e.ref === t.ref) {- if (Pc = !1, t.pendingProps = r = a, dl(e, i)) e.flags & 131072 && (Pc = !0);- else return t.lanes = e.lanes, ul(e, t, i);+ if (Br(a, r) && e.ref === t.ref) {+ if (Fc = !1, t.pendingProps = r = a, fl(e, i)) e.flags & 131072 && (Fc = !0);+ else return t.lanes = e.lanes, dl(e, t, i);}}- return Kc(e, t, n, r, i);+ return qc(e, t, n, r, i);}- function zc(e, t, n, r) {+ function Bc(e, t, n, r) {var i = r.children, a = e === null ? null : e.memoizedState;if (e === null && t.stateNode === null && (t.stateNode = {_visibility: 1,@@ -4264,17 +4264,17 @@ var k = /* @__PURE__ */ o(((e) => {for (r = t.child = e.child, i = 0; r !== null;) i = i | r.lanes | r.childLanes, r = r.sibling;r = i & ~a;} else r = 0, t.child = null;- return Vc(e, t, a, n, r);+ return Hc(e, t, a, n, r);}if (n & 536870912) t.memoizedState = {baseLanes: 0,cachePool: null- }, e !== null && Ga(t, a === null ? null : a.cachePool), a === null ? Do() : Eo(t, a), No(t);- else return r = t.lanes = 536870912, Vc(e, t, a === null ? n : a.baseLanes | n, n, r);- } else a === null ? (e !== null && Ga(t, null), Do(), Po()) : (Ga(t, a.cachePool), Eo(t, a), Po(), t.memoizedState = null);- return Fc(e, t, i, n), t.child;+ }, e !== null && Ka(t, a === null ? null : a.cachePool), a === null ? Oo() : Do(t, a), Po(t);+ else return r = t.lanes = 536870912, Hc(e, t, a === null ? n : a.baseLanes | n, n, r);+ } else a === null ? (e !== null && Ka(t, null), Oo(), Fo()) : (Ka(t, a.cachePool), Do(t, a), Fo(), t.memoizedState = null);+ return Ic(e, t, i, n), t.child;}- function Bc(e, t) {+ function Vc(e, t) {return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {_visibility: 1,_pendingMarkers: null,@@ -4282,68 +4282,68 @@ var k = /* @__PURE__ */ o(((e) => {_transitions: null}), t.sibling;}- function Vc(e, t, n, r, i) {- var a = Wa();+ function Hc(e, t, n, r, i) {+ var a = Ga();return a = a === null ? null : {- parent: ka._currentValue,+ parent: Aa._currentValue,pool: a}, t.memoizedState = {baseLanes: n,cachePool: a- }, e !== null && Ga(t, null), Do(), No(t), e !== null && ba(e, t, r, !0), t.childLanes = i, null;+ }, e !== null && Ka(t, null), Oo(), Po(t), e !== null && xa(e, t, r, !0), t.childLanes = i, null;}- function Hc(e, t) {- return t = tl({+ function Uc(e, t) {+ return t = nl({mode: t.mode,children: t.children}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;}- function Uc(e, t, n) {- return lo(t, e.child, null, n), e = Hc(t, t.pendingProps), e.flags |= 2, Fo(t), t.memoizedState = null, e;- }function Wc(e, t, n) {+ return uo(t, e.child, null, n), e = Uc(t, t.pendingProps), e.flags |= 2, Io(t), t.memoizedState = null, e;+ }+ function Gc(e, t, n) {var r = t.pendingProps, a = !!(t.flags & 128);if (t.flags &= -129, e === null) {- if (na) {- if (r.mode === "hidden") return e = Hc(t, r), t.lanes = 536870912, e.memoizedState = {+ if (ra) {+ if (r.mode === "hidden") return e = Uc(t, r), t.lanes = 536870912, e.memoizedState = {baseLanes: 0,cachePool: null- }, Bc(null, e);- if (Mo(t), (e = ta) ? (e = mm(e, ia), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ }, Vc(null, e);+ if (No(t), (e = na) ? (e = hm(e, aa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji+ treeContext: qi === null ? null : {+ id: Ji,+ overflow: Yi},retryLane: 536870912,hydrationErrors: null- }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw oa(t);+ }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw sa(t);return t.lanes = 536870912, null;}- return Hc(t, r);+ return Uc(t, r);}var o = e.memoizedState;if (o !== null) {var s = o.dehydrated;- if (Mo(t), a) {- if (t.flags & 256) t.flags &= -257, t = Uc(e, t, n);+ if (No(t), a) {+ if (t.flags & 256) t.flags &= -257, t = Wc(e, t, n);else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;else throw Error(i(558));- } else if (Pc || ba(e, t, n, !1), a = (n & e.childLanes) !== 0, Pc || a) {- if (wo.current === null) {- if (r = rd, r !== null && (s = vt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, wi(e, s), Bd(r, e, s), Nc;- Qd();+ } else if (Fc || xa(e, t, n, !1), a = (n & e.childLanes) !== 0, Fc || a) {+ if (To.current === null) {+ if (r = id, r !== null && (s = yt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ti(e, s), Vd(r, e, s), Pc;+ $d();}- t = Uc(e, t, n);- } 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;+ t = Wc(e, t, n);+ } else e = o.treeContext, na = ym(s.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = Uc(t, r), t.flags |= 134221824;return t;}- return e = ji(e.child, {+ return e = Mi(e.child, {mode: r.mode,children: r.children}), e.ref = t.ref, t.child = e, e.return = t, e;}- function Gc(e, t) {+ function Kc(e, t) {var n = t.ref;if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);else {@@ -4351,135 +4351,135 @@ var k = /* @__PURE__ */ o(((e) => {(e === null || e.ref !== n) && (t.flags |= 4194816);}}- function Kc(e, t, n, r, i) {- return Sa(t), n = $o(e, t, n, r, void 0, i), r = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (na && r && Zi(t), t.flags |= 1, Fc(e, t, n, i), t.child);+ function qc(e, t, n, r, i) {+ return Ca(t), n = es(e, t, n, r, void 0, i), r = is(), e !== null && !Fc ? (as(e, t, i), dl(e, t, i)) : (ra && r && Qi(t), t.flags |= 1, Ic(e, t, n, i), t.child);}- function qc(e, t, n, r, i, a) {- return Sa(t), t.updateQueue = null, n = ts(t, r, n, i), es(e), r = rs(), e !== null && !Pc ? (is(e, t, a), ul(e, t, a)) : (na && r && Zi(t), t.flags |= 1, Fc(e, t, n, a), t.child);+ function Jc(e, t, n, r, i, a) {+ return Ca(t), t.updateQueue = null, n = ns(t, r, n, i), ts(e), r = is(), e !== null && !Fc ? (as(e, t, a), dl(e, t, a)) : (ra && r && Qi(t), t.flags |= 1, Ic(e, t, n, a), t.child);}- function Jc(e, t, n, r, i) {- if (Sa(t), t.stateNode === null) {- var a = Di, o = n.contextType;- typeof o == "object" && o && (a = Ca(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = bc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, po(t), o = n.contextType, a.context = typeof o == "object" && o ? Ca(o) : Di, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (yc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && bc.enqueueReplaceState(a, a.state, null), xo(t, r, a, i), bo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;+ function Yc(e, t, n, r, i) {+ if (Ca(t), t.stateNode === null) {+ var a = Oi, o = n.contextType;+ typeof o == "object" && o && (a = wa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = xc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, mo(t), o = n.contextType, a.context = typeof o == "object" && o ? wa(o) : Oi, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (bc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && xc.enqueueReplaceState(a, a.state, null), So(t, r, a, i), xo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;} else if (e === null) {a = t.stateNode;- var s = t.memoizedProps, c = Cc(n, s);+ var s = t.memoizedProps, c = wc(n, s);a.props = c;var l = a.context, u = n.contextType;- o = Di, typeof u == "object" && u && (o = Ca(u));+ o = Oi, typeof u == "object" && u && (o = wa(u));var d = n.getDerivedStateFromProps;- u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && Sc(t, a, r, o), fo = !1;+ u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && Cc(t, a, r, o), po = !1;var f = t.memoizedState;- a.state = f, xo(t, r, a, i), bo(), l = t.memoizedState, s || f !== l || fo ? (typeof d == "function" && (yc(t, n, d, r), l = t.memoizedState), (c = fo || xc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);+ a.state = f, So(t, r, a, i), xo(), l = t.memoizedState, s || f !== l || po ? (typeof d == "function" && (bc(t, n, d, r), l = t.memoizedState), (c = po || Sc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);} else {- a = t.stateNode, mo(e, t), o = t.memoizedProps, u = Cc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Di, typeof l == "object" && l && (c = Ca(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Sc(t, a, r, c), fo = !1, f = t.memoizedState, a.state = f, xo(t, r, a, i), bo();+ a = t.stateNode, ho(e, t), o = t.memoizedProps, u = wc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Oi, typeof l == "object" && l && (c = wa(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Cc(t, a, r, c), po = !1, f = t.memoizedState, a.state = f, So(t, r, a, i), xo();var p = t.memoizedState;- o !== d || f !== p || fo || e !== null && e.dependencies !== null && xa(e.dependencies) ? (typeof s == "function" && (yc(t, n, s, r), p = t.memoizedState), (u = fo || xc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && xa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);+ o !== d || f !== p || po || e !== null && e.dependencies !== null && Sa(e.dependencies) ? (typeof s == "function" && (bc(t, n, s, r), p = t.memoizedState), (u = po || Sc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && Sa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);}- return a = r, Gc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = lo(t, e.child, null, i), t.child = lo(t, null, n, i)) : Fc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ul(e, t, i), e;+ return a = r, Kc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = uo(t, e.child, null, i), t.child = uo(t, null, n, i)) : Ic(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = dl(e, t, i), e;}- function Yc(e, t, n, r) {- return ua(), t.flags |= 256, Fc(e, t, n, r), t.child;+ function Xc(e, t, n, r) {+ return da(), t.flags |= 256, Ic(e, t, n, r), t.child;}- var Xc = {+ var Zc = {dehydrated: null,treeContext: null,retryLane: 0,hydrationErrors: null};- function Zc(e) {+ function Qc(e) {return {baseLanes: e,- cachePool: Ka()+ cachePool: qa()};}- function Qc(e, t, n) {- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= gd), e;- }function $c(e, t, n) {+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= _d), e;+ }+ function el(e, t, n) {var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Io.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {- if (na) {- if (i ? jo(t) : Po(), (e = ta) ? (e = mm(e, ia), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Lo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {+ if (ra) {+ if (i ? Mo(t) : Fo(), (e = na) ? (e = hm(e, aa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji+ treeContext: qi === null ? null : {+ id: Ji,+ overflow: Yi},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 = gm(e) ? 32 : 536870912, null;+ }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw sa(t);+ return t.lanes = _m(e) ? 32 : 536870912, null;}- return a = r.children, r = r.fallback, i ? (Po(), i = t.mode, a = tl({+ return a = r.children, r = r.fallback, i ? (Fo(), i = t.mode, a = nl({mode: "hidden",children: a- }, i), r = Pi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Zc(n), r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(null, r)) : (jo(t), el(t, a));+ }, i), r = Fi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Qc(n), r.childLanes = $c(e, o, n), t.memoizedState = Zc, Vc(null, r)) : (Mo(t), tl(t, a));}var s = e.memoizedState;if (s !== null) {var c = s.dehydrated;- if (c !== null) return rl(e, t, a, o, r, c, s, n);+ if (c !== null) return il(e, t, a, o, r, c, s, n);}- return i ? (Po(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = ji(s, {+ return i ? (Fo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Mi(s, {mode: "hidden",children: r.children- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Pi(i, a, n, null), i.flags |= 2) : i = ji(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Bc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Zc(n) : (a = i.cachePool, a === null ? a = Ka() : (s = ka._currentValue, a = a.parent === s ? a : {+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Fi(i, a, n, null), i.flags |= 2) : i = Mi(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Vc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Qc(n) : (a = i.cachePool, a === null ? a = qa() : (s = Aa._currentValue, a = a.parent === s ? a : {parent: s,pool: s}), i = {baseLanes: i.baseLanes | n,cachePool: a- }), r.memoizedState = i, r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(e.child, r)) : (jo(t), n = e.child, e = n.sibling, n = ji(n, {+ }), r.memoizedState = i, r.childLanes = $c(e, o, n), t.memoizedState = Zc, Vc(e.child, r)) : (Mo(t), n = e.child, e = n.sibling, n = Mi(n, {mode: "visible",children: r.children}), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);}- function el(e, t) {- return t = tl({+ function tl(e, t) {+ return t = nl({mode: "visible",children: t}, e.mode), t.return = e, e.child = t;}- function tl(e, t) {- return e = ki(22, e, null, t), e.lanes = 0, e;+ function nl(e, t) {+ return e = Ai(22, e, null, t), e.lanes = 0, e;}- function nl(e, t, n) {- return lo(t, e.child, null, n), e = el(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;+ function rl(e, t, n) {+ return uo(t, e.child, null, n), e = tl(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;}- function rl(e, t, n, r, a, o, s, c) {- if (n) return t.flags & 256 ? (jo(t), t.flags &= -257, nl(e, t, c)) : t.memoizedState === null ? (Po(), o = a.fallback, s = t.mode, a = tl({+ function il(e, t, n, r, a, o, s, c) {+ if (n) return t.flags & 256 ? (Mo(t), t.flags &= -257, rl(e, t, c)) : t.memoizedState === null ? (Fo(), o = a.fallback, s = t.mode, a = nl({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), gm(o)) {+ }, s), o = Fi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, uo(t, e.child, null, c), a = t.child, a.memoizedState = Qc(c), a.childLanes = $c(e, r, c), t.memoizedState = Zc, Vc(null, a)) : (Fo(), t.child = e.child, t.flags |= 128, null);+ if (Mo(t), _m(o)) {if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;- return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, fa({+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, pa({value: a,source: null,stack: null- })), nl(e, t, c);+ })), rl(e, t, c);}- if (Pc || ba(e, t, c, !1), r = (c & e.childLanes) !== 0, Pc || r) {- if (wo.current !== null) return nl(e, t, c);- if (r = rd, r !== null && (a = vt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, wi(e, a), Bd(r, e, a), Nc;- return hm(o) || Qd(), nl(e, t, c);+ if (Fc || xa(e, t, c, !1), r = (c & e.childLanes) !== 0, Fc || r) {+ if (To.current !== null) return rl(e, t, c);+ if (r = id, r !== null && (a = yt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ti(e, a), Vd(r, e, a), Pc;+ return gm(o) || $d(), rl(e, t, c);}- 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);+ return gm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, na = ym(o.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = tl(t, a.children), t.flags |= 134221824, t);}- function il(e, t, n) {+ function al(e, t, n) {e.lanes |= t;var r = e.alternate;- r !== null && (r.lanes |= t), va(e.return, t, n);+ r !== null && (r.lanes |= t), ya(e.return, t, n);}- function al(e) {+ function ol(e) {for (var t = null; e !== null;) {var n = e.alternate;- n !== null && zo(n) === null && (t = e), e = e.sibling;+ n !== null && Bo(n) === null && (t = e), e = e.sibling;}return t;}- function ol(e, t, n, r, i, a) {+ function sl(e, t, n, r, i, a) {var o = e.memoizedState;o === null ? e.memoizedState = {isBackwards: t,@@ -4491,22 +4491,22 @@ var k = /* @__PURE__ */ o(((e) => {treeForkCount: a} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);}- function sl(e) {+ function cl(e) {var t = e.child;for (e.child = null; t !== null;) {var n = t.sibling;t.sibling = e.child, e.child = t, t = n;}}- function cl(e, t, n) {+ function ll(e, t, n) {var r = t.pendingProps, i = r.revealOrder, a = r.tail;r = r.children;- var o = Io.current;- if (t.flags & 128) return Lo(t, o), null;+ var o = Lo.current;+ if (t.flags & 128) return Ro(t, o), null;var s = !!(o & 2);- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Lo(t, o), i === "backwards" && e !== null ? (sl(e), Fc(e, t, r, n), sl(e)) : Fc(e, t, r, n), r = na ? Ui : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {- if (e.tag === 13) e.memoizedState !== null && il(e, n, t);- else if (e.tag === 19) il(e, n, t);+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Ro(t, o), i === "backwards" && e !== null ? (cl(e), Ic(e, t, r, n), cl(e)) : Ic(e, t, r, n), r = ra ? Wi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {+ if (e.tag === 13) e.memoizedState !== null && al(e, n, t);+ else if (e.tag === 19) al(e, n, t);else if (e.child !== null) {e.child.return = e, e = e.child;continue;@@ -4520,115 +4520,115 @@ var k = /* @__PURE__ */ o(((e) => {}switch (i) {case "backwards":- n = al(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, sl(t)), ol(t, !0, i, null, a, r);+ n = ol(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, cl(t)), sl(t, !0, i, null, a, r);break;case "unstable_legacy-backwards":for (n = null, i = t.child, t.child = null; i !== null;) {- if (e = i.alternate, e !== null && zo(e) === null) {+ if (e = i.alternate, e !== null && Bo(e) === null) {t.child = i;break;}e = i.sibling, i.sibling = n, n = i, i = e;}- ol(t, !0, n, null, a, r);+ sl(t, !0, n, null, a, r);break;case "together":- ol(t, !1, null, null, void 0, r);+ sl(t, !1, null, null, void 0, r);break;case "independent":t.memoizedState = null;break;- default: n = al(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), ol(t, !1, i, n, a, r);+ default: n = ol(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), sl(t, !1, i, n, a, r);}return t.child;}- function ll(e, t, n) {+ function ul(e, t, n) {var r = t.pendingProps;- return ga(t, t.type, r.value), Fc(e, t, r.children, n), t.child;+ return _a(t, t.type, r.value), Ic(e, t, r.children, n), t.child;}- function ul(e, t, n) {- if (e !== null && (t.dependencies = e.dependencies), pd |= t.lanes, (n & t.childLanes) === 0) {+ function dl(e, t, n) {+ if (e !== null && (t.dependencies = e.dependencies), md |= t.lanes, (n & t.childLanes) === 0) {if (e !== null) {- if (ba(e, t, n, !1), (n & t.childLanes) === 0) return null;+ if (xa(e, t, n, !1), (n & t.childLanes) === 0) return null;} else return null;}if (e !== null && t.child !== e.child) throw Error(i(153));if (t.child !== null) {- for (e = t.child, n = ji(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ji(e, e.pendingProps), n.return = t;+ for (e = t.child, n = Mi(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Mi(e, e.pendingProps), n.return = t;n.sibling = null;}return t.child;}- function dl(e, t) {- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && xa(e)));+ function fl(e, t) {+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && Sa(e)));}- function fl(e, t, n) {+ function pl(e, t, n) {switch (t.tag) {case 3:- Ee(t, t.stateNode.containerInfo), ga(t, ka, e.memoizedState.cache), ua();+ De(t, t.stateNode.containerInfo), _a(t, Aa, e.memoizedState.cache), da();break;case 27:case 5:- Oe(t);+ ke(t);break;case 4:- Ee(t, t.stateNode.containerInfo);+ De(t, t.stateNode.containerInfo);break;case 10:- ga(t, t.type, t.memoizedProps.value);+ _a(t, t.type, t.memoizedProps.value);break;case 31:- if (t.memoizedState !== null) return t.flags |= 128, Mo(t), null;+ if (t.memoizedState !== null) return t.flags |= 128, No(t), null;break;case 13:var r = t.memoizedState;if (r !== null) {- if (r.dehydrated !== null) return jo(t), t.flags |= 128, null;- r = ba(e, t, n, !1);+ if (r.dehydrated !== null) return Mo(t), t.flags |= 128, null;+ r = xa(e, t, n, !1);var i = t.child.childLanes;- return r || (n & i) !== 0 ? $c(e, t, n) : (jo(t), e = ul(e, t, n), e === null ? null : e.sibling);+ return r || (n & i) !== 0 ? el(e, t, n) : (Mo(t), e = dl(e, t, n), e === null ? null : e.sibling);}- jo(t);+ Mo(t);break;case 19:- if (t.flags & 128) return cl(e, t, n);- if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ba(e, t, n, !1), (n & t.childLanes) !== 0), i) {- if (r) return cl(e, t, n);+ if (t.flags & 128) return ll(e, t, n);+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (xa(e, t, n, !1), (n & t.childLanes) !== 0), i) {+ if (r) return ll(e, t, n);t.flags |= 128;}- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Lo(t, Io.current), r) break;+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Ro(t, Lo.current), r) break;return null;- case 22: return t.lanes = 0, zc(e, t, n, t.pendingProps);- case 24: ga(t, ka, e.memoizedState.cache);+ case 22: return t.lanes = 0, Bc(e, t, n, t.pendingProps);+ case 24: _a(t, Aa, e.memoizedState.cache);}- return ul(e, t, n);+ return dl(e, t, n);}- function pl(e, t, n) {+ function ml(e, t, n) {if (e !== null) {- if (e.memoizedProps !== t.pendingProps) Pc = !0;+ if (e.memoizedProps !== t.pendingProps) Fc = !0;else {- if (!dl(e, n) && !(t.flags & 128)) return Pc = !1, fl(e, t, n);- Pc = !!(e.flags & 131072);+ if (!fl(e, n) && !(t.flags & 128)) return Fc = !1, pl(e, t, n);+ Fc = !!(e.flags & 131072);}- } else Pc = !1, na && t.flags & 1048576 && Xi(t, Ui, t.index);+ } else Fc = !1, ra && t.flags & 1048576 && Zi(t, Wi, t.index);switch (t.lanes = 0, t.tag) {case 16:a: {var r = t.pendingProps;- if (e = $a(t.elementType), t.type = e, typeof e == "function") Ai(e) ? (r = Cc(e, r), t.tag = 1, t = Jc(null, t, e, r, n)) : (t.tag = 0, t = Kc(null, t, e, r, n));+ if (e = eo(t.elementType), t.type = e, typeof e == "function") ji(e) ? (r = wc(e, r), t.tag = 1, t = Yc(null, t, e, r, n)) : (t.tag = 0, t = qc(null, t, e, r, n));else {if (e != null) {var a = e.$$typeof;if (a === N) {- t.tag = 11, t = Ic(null, t, e, r, n);+ t.tag = 11, t = Lc(null, t, e, r, n);break a;}if (a === P) {- t.tag = 14, t = Lc(null, t, e, r, n);+ t.tag = 14, t = Rc(null, t, e, r, n);break a;}if (a === ne) {- t.tag = 10, t.type = e, t = ll(null, t, n);+ t.tag = 10, t.type = e, t = ul(null, t, n);break a;}}@@ -4636,26 +4636,26 @@ var k = /* @__PURE__ */ o(((e) => {}}return t;- case 0: return Kc(e, t, t.type, t.pendingProps, n);- case 1: return r = t.type, a = Cc(r, t.pendingProps), Jc(e, t, r, a, n);+ case 0: return qc(e, t, t.type, t.pendingProps, n);+ case 1: return r = t.type, a = wc(r, t.pendingProps), Yc(e, t, r, a, n);case 3:a: {- if (Ee(t, t.stateNode.containerInfo), e === null) throw Error(i(387));+ if (De(t, t.stateNode.containerInfo), e === null) throw Error(i(387));r = t.pendingProps;var o = t.memoizedState;- a = o.element, mo(e, t), xo(t, r, null, n);+ a = o.element, ho(e, t), So(t, r, null, n);var s = t.memoizedState;- if (r = s.cache, ga(t, ka, r), r !== o.cache && ya(t, [ka], n, !0), bo(), r = s.element, o.isDehydrated) {+ if (r = s.cache, _a(t, Aa, r), r !== o.cache && ba(t, [Aa], n, !0), xo(), r = s.element, o.isDehydrated) {if (o = {element: r,isDehydrated: !1,cache: s.cache}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {- t = Yc(e, t, r, n);+ t = Xc(e, t, r, n);break a;}if (r !== a) {- a = zi(Error(i(424)), t), fa(a), t = Yc(e, t, r, n);+ a = Bi(Error(i(424)), t), pa(a), t = Xc(e, t, r, n);break a;}switch (e = t.stateNode.containerInfo, e.nodeType) {@@ -4664,76 +4664,76 @@ var k = /* @__PURE__ */ o(((e) => {break;default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;}- 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;+ for (na = ym(e.firstChild), ta = t, ra = !0, ia = null, aa = !0, n = fo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;} else {- if (ua(), r === a) {- t = ul(e, t, n);+ if (da(), r === a) {+ t = dl(e, t, n);break a;}- Fc(e, t, r, n);+ Ic(e, t, r, n);}t = t.child;}return t;- case 26: return Gc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : na || (t.stateNode = xp(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, jp(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, Sp(a, o) ? r = null : s !== null && Sp(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);- case 7: return r = t.pendingProps, Gc(e, t), Fc(e, t, r, n), t.child;- case 8: return Fc(e, t, t.pendingProps.children, n), t.child;- case 12: return Fc(e, t, t.pendingProps.children, n), t.child;- case 10: return ll(e, t, n);- case 9: return a = t.type._context, r = t.pendingProps.children, Sa(t), a = Ca(a), r = r(a), t.flags |= 1, Fc(e, t, r, n), t.child;- case 14: return Lc(e, t, t.type, t.pendingProps, n);- case 15: return Rc(e, t, t.type, t.pendingProps, n);- case 19: return cl(e, t, n);- case 31: return Wc(e, t, n);- case 22: return zc(e, t, n, t.pendingProps);- case 24: return Sa(t), r = Ca(ka), e === null ? (a = Wa(), a === null && (a = rd, o = Aa(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {+ case 26: return Kc(e, t), e === null ? (n = Um(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ra || (t.stateNode = Sp(t.type, t.pendingProps, Te.current, t)) : t.memoizedState = Um(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return ke(t), e === null && ra && (r = t.stateNode = Tm(t.type, t.pendingProps, Te.current), ta = t, aa = !0, a = na, Mp(t.type) ? (bm = a, na = ym(r.firstChild)) : na = a), Ic(e, t, t.pendingProps.children, n), Kc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && ra && ((a = r = na) && (r = pm(r, t.type, t.pendingProps, aa), r === null ? a = !1 : (t.stateNode = r, ta = t, na = ym(r.firstChild), aa = !1, a = !0)), a || sa(t)), ke(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 = es(e, t, rs, null, null, n), _h._currentValue = a), Kc(e, t), Ic(e, t, r, n), t.child;+ case 6: return e === null && ra && ((e = n = na) && (n = mm(n, t.pendingProps, aa), n === null ? e = !1 : (t.stateNode = n, ta = t, na = null, e = !0)), e || sa(t)), null;+ case 13: return el(e, t, n);+ case 4: return De(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = uo(t, null, r, n) : Ic(e, t, r, n), t.child;+ case 11: return Lc(e, t, t.type, t.pendingProps, n);+ case 7: return r = t.pendingProps, Kc(e, t), Ic(e, t, r, n), t.child;+ case 8: return Ic(e, t, t.pendingProps.children, n), t.child;+ case 12: return Ic(e, t, t.pendingProps.children, n), t.child;+ case 10: return ul(e, t, n);+ case 9: return a = t.type._context, r = t.pendingProps.children, Ca(t), a = wa(a), r = r(a), t.flags |= 1, Ic(e, t, r, n), t.child;+ case 14: return Rc(e, t, t.type, t.pendingProps, n);+ case 15: return zc(e, t, t.type, t.pendingProps, n);+ case 19: return ll(e, t, n);+ case 31: return Gc(e, t, n);+ case 22: return Bc(e, t, n, t.pendingProps);+ case 24: return Ca(t), r = wa(Aa), e === null ? (a = Ga(), a === null && (a = id, o = ja(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {parent: r,cache: a- }, po(t), ga(t, ka, a)) : ((e.lanes & n) !== 0 && (mo(e, t), xo(t, null, null, n), bo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ga(t, ka, r), r !== a.cache && ya(t, [ka], n, !0)) : (a = {+ }, mo(t), _a(t, Aa, a)) : ((e.lanes & n) !== 0 && (ho(e, t), So(t, null, null, n), xo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, _a(t, Aa, r), r !== a.cache && ba(t, [Aa], n, !0)) : (a = {parent: r,cache: r- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ga(t, ka, r))), Fc(e, t, t.pendingProps.children, n), t.child;+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), _a(t, Aa, r))), Ic(e, t, t.pendingProps.children, n), t.child;case 30: return t.stateNode === null && (t.stateNode = {autoName: null,paired: null,clones: null,ref: null- }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : na && Zi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Gc(e, t), Fc(e, t, r.children, n), t.child;+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : ra && Qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Kc(e, t), Ic(e, t, r.children, n), t.child;case 29: throw t.pendingProps;}throw Error(i(156, t.tag));}- function ml(e) {+ function hl(e) {e.flags |= 4;}- function hl(e, t, n, r, i) {+ function gl(e, t, n, r, i) {var 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 ((a = !!(e.mode & 32)) && (a = n === null ? ih(t, r) : ih(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 (Yd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else if (Xd()) e.flags |= 8192;+ else throw to = Za, Ya;}} else e.flags &= -16777217;}- function gl(e, t) {+ function _l(e, t) {if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;- else if (e.flags |= 16777216, !ih(t)) {- if (Yd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else if (e.flags |= 16777216, !ah(t)) {+ if (Xd()) e.flags |= 8192;+ else throw to = Za, Ya;}}- function _l(e, t) {- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ft(), e.lanes |= t, _d |= t);- }function vl(e, t) {- if (!na) switch (e.tailMode) {+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : pt(), e.lanes |= t, vd |= t);+ }+ function yl(e, t) {+ if (!ra) switch (e.tailMode) {case "visible": break;case "collapsed":for (var n = e.tail, r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;@@ -4744,15 +4744,15 @@ var k = /* @__PURE__ */ o(((e) => {n === null ? e.tail = null : n.sibling = null;}}- function yl(e) {+ function bl(e) {var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0;if (t) for (var i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags & 1206910976, r |= i.flags & 1206910976, i.return = e, i = i.sibling;else for (i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags, r |= i.flags, i.return = e, i = i.sibling;return e.subtreeFlags |= r, e.childLanes = n, t;}- function bl(e, t, n) {+ function xl(e, t, n) {var r = t.pendingProps;- switch (Qi(t), t.tag) {+ switch ($i(t), t.tag) {case 16:case 15:case 0:@@ -4761,32 +4761,32 @@ var k = /* @__PURE__ */ o(((e) => {case 8:case 12:case 9:- case 14: return yl(t), null;- case 1: return yl(t), null;- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), _a(ka), De(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (la(t) ? ml(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, da())), yl(t), null;+ case 14: return bl(t), null;+ case 1: return bl(t), null;+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), va(Aa), Oe(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (ua(t) ? hl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, fa())), bl(t), null;case 26:var a = t.type, o = t.memoizedState;- return e === null ? (ml(t), o === null ? (yl(t), hl(t, a, null, r, n)) : (yl(t), gl(t, o))) : o ? o === e.memoizedState ? (yl(t), t.flags &= -16777217) : (ml(t), yl(t), gl(t, o)) : (e = e.memoizedProps, e !== r && ml(t), yl(t), hl(t, a, e, r, n)), null;+ return e === null ? (hl(t), o === null ? (bl(t), gl(t, a, null, r, n)) : (bl(t), _l(t, o))) : o ? o === e.memoizedState ? (bl(t), t.flags &= -16777217) : (hl(t), bl(t), _l(t, o)) : (e = e.memoizedProps, e !== r && hl(t), bl(t), gl(t, a, e, r, n)), null;case 27:- if (ke(t), n = we.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (Ae(t), n = Te.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && hl(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return yl(t), t.subtreeFlags &= -33554433, null;+ return bl(t), t.subtreeFlags &= -33554433, null;}- e = Se.current, la(t) ? sa(t, e) : (e = wm(a, r, n), t.stateNode = e, ml(t));+ e = Ce.current, ua(t) ? ca(t, e) : (e = Tm(a, r, n), t.stateNode = e, hl(t));}- return yl(t), t.subtreeFlags &= -33554433, null;+ return bl(t), t.subtreeFlags &= -33554433, null;case 5:- if (ke(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (Ae(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && hl(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return yl(t), t.subtreeFlags &= -33554433, null;+ return bl(t), t.subtreeFlags &= -33554433, null;}- if (o = Se.current, la(t)) sa(t, o);+ if (o = Ce.current, ua(t)) ca(t, o);else {- var s = vp(we.current);+ var s = yp(Te.current);switch (o) {case 1:o = s.createElementNS("http://www.w3.org/2000/svg", a);@@ -4810,7 +4810,7 @@ var k = /* @__PURE__ */ o(((e) => {default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);}}- o[wt] = t, o[Tt] = r;+ o[Tt] = t, o[Et] = r;a: for (s = t.child; s !== null;) {if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {@@ -4825,7 +4825,7 @@ var k = /* @__PURE__ */ o(((e) => {s.sibling.return = s.return, s = s.sibling;}t.stateNode = o;- a: switch (dp(o, a, r), a) {+ a: switch (fp(o, a, r), a) {case "button":case "input":case "select":@@ -4837,71 +4837,71 @@ var k = /* @__PURE__ */ o(((e) => {break a;default: r = !1;}- r && ml(t);+ r && hl(t);}}- return yl(t), t.subtreeFlags &= -33554433, hl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;+ return bl(t), t.subtreeFlags &= -33554433, gl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;case 6:- if (e && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (e && t.stateNode != null) e.memoizedProps !== r && hl(t);else {if (typeof r != "string" && t.stateNode === null) throw Error(i(166));- if (e = we.current, la(t)) {- if (e = t.stateNode, n = t.memoizedProps, r = null, a = ea, a !== null) switch (a.tag) {+ if (e = Te.current, ua(t)) {+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = ta, a !== null) switch (a.tag) {case 27:case 5: r = a.memoizedProps;}- e[wt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || cp(e.nodeValue, n)), e || oa(t, !0);- } else e = vp(e).createTextNode(r), e[wt] = t, t.stateNode = e;+ e[Tt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || lp(e.nodeValue, n)), e || sa(t, !0);+ } else e = yp(e).createTextNode(r), e[Tt] = t, t.stateNode = e;}- return yl(t), null;+ return bl(t), null;case 31:if (n = t.memoizedState, e === null || e.memoizedState !== null) {- if (r = la(t), n !== null) {+ if (r = ua(t), n !== null) {if (e === null) {if (!r) throw Error(i(318));if (e = t.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(557));- e[wt] = t;- } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- yl(t), e = !1;- } else n = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;- if (!e) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);+ e[Tt] = t;+ } else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ bl(t), e = !1;+ } else n = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;+ if (!e) return t.flags & 256 ? (Io(t), t) : (Io(t), null);if (t.flags & 128) throw Error(i(558));}- return yl(t), null;+ return bl(t), null;case 13:if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {- if (a = la(t), r !== null && r.dehydrated !== null) {+ if (a = ua(t), r !== null && r.dehydrated !== null) {if (e === null) {if (!a) throw Error(i(318));if (a = t.memoizedState, a = a === null ? null : a.dehydrated, !a) throw Error(i(317));- a[wt] = t;- } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- yl(t), a = !1;- } else a = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;- if (!a) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);+ a[Tt] = t;+ } else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ bl(t), a = !1;+ } else a = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;+ if (!a) return t.flags & 256 ? (Io(t), t) : (Io(t), null);}- return Fo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), _l(t, t.updateQueue), yl(t), null);- case 4: return De(), e === null && Qf(t.stateNode.containerInfo), t.flags |= 67108864, yl(t), null;- case 10: return _a(t.type), yl(t), null;+ return Io(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), vl(t, t.updateQueue), bl(t), null);+ case 4: return Oe(), e === null && $f(t.stateNode.containerInfo), t.flags |= 67108864, bl(t), null;+ case 10: return va(t.type), bl(t), null;case 19:- if (Ro(t), r = t.memoizedState, r === null) return yl(t), null;+ if (zo(t), r = t.memoizedState, r === null) return bl(t), null;if (a = !!(t.flags & 128), o = r.rendering, o === null) {- if (a) vl(r, !1);+ if (a) yl(r, !1);else {- if (fd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {- if (o = zo(e), o !== null) {- for (t.flags |= 128, vl(r, !1), e = o.updateQueue, t.updateQueue = e, _l(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Mi(n, e), n = n.sibling;- return Lo(t, Io.current & 1 | 2), na && Yi(t, r.treeForkCount), t.child;+ if (pd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {+ if (o = Bo(e), o !== null) {+ for (t.flags |= 128, yl(r, !1), e = o.updateQueue, t.updateQueue = e, vl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Ni(n, e), n = n.sibling;+ return Ro(t, Lo.current & 1 | 2), ra && Xi(t, r.treeForkCount), t.child;}e = e.sibling;}- r.tail !== null && He() > Cd && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);+ r.tail !== null && Ue() > wd && (t.flags |= 128, a = !0, yl(r, !1), t.lanes = 4194304);}} else {if (!a) {- if (e = zo(o), e !== null) {- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, _l(t, e), vl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !na) return yl(t), null;- } else 2 * He() - r.renderingStartTime > Cd && n !== 536870912 && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);+ if (e = Bo(o), e !== null) {+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, vl(t, e), yl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ra) return bl(t), null;+ } else 2 * Ue() - r.renderingStartTime > wd && n !== 536870912 && (t.flags |= 128, a = !0, yl(r, !1), t.lanes = 4194304);}r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);}@@ -4917,79 +4917,79 @@ var k = /* @__PURE__ */ o(((e) => {}n = !0;}- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = He(), e.sibling = null, o = Io.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || na ? Lo(t, o) : (n = o, xe(ko, t), xe(Io, n), Ao === null && (Ao = t)), na && Yi(t, r.treeForkCount), e;+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Ue(), e.sibling = null, o = Lo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ra ? Ro(t, o) : (n = o, Se(Ao, t), Se(Lo, n), jo === null && (jo = t)), ra && Xi(t, r.treeForkCount), e;}- return yl(t), null;+ return bl(t), null;case 22:- case 23: return Fo(t), Oo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (yl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : yl(t), n = t.updateQueue, n !== null && _l(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && be(Ua), null;- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), _a(ka), yl(t), null;+ case 23: return Io(t), ko(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (bl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : bl(t), n = t.updateQueue, n !== null && vl(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && xe(Wa), null;+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), va(Aa), bl(t), null;case 25: return null;- case 30: return t.flags |= 33554432, yl(t), null;+ case 30: return t.flags |= 33554432, bl(t), null;}throw Error(i(156, t.tag));}- function xl(e, t) {- switch (Qi(t), t.tag) {+ function Sl(e, t) {+ switch ($i(t), t.tag) {case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 3: return _a(ka), De(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;+ case 3: return va(Aa), Oe(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;case 26:case 27:- case 5: return ke(t), null;+ case 5: return Ae(t), null;case 31:if (t.memoizedState !== null) {- if (Fo(t), t.alternate === null) throw Error(i(340));- ua();+ if (Io(t), t.alternate === null) throw Error(i(340));+ da();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;case 13:- if (Fo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {+ if (Io(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {if (t.alternate === null) throw Error(i(340));- ua();+ da();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 19: return Ro(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;- case 4: return De(), null;- case 10: return _a(t.type), null;+ case 19: return zo(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;+ case 4: return Oe(), null;+ case 10: return va(t.type), null;case 22:- case 23: return Fo(t), Oo(), e !== null && be(Ua), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 24: return _a(ka), null;+ case 23: return Io(t), ko(), e !== null && xe(Wa), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 24: return va(Aa), null;case 25: return null;default: return null;}}- function Sl(e, t) {- switch (Qi(t), t.tag) {+ function Cl(e, t) {+ switch ($i(t), t.tag) {case 3:- _a(ka), De();+ va(Aa), Oe();break;case 26:case 27:case 5:- ke(t);+ Ae(t);break;case 4:- De();+ Oe();break;case 31:- t.memoizedState !== null && Fo(t);+ t.memoizedState !== null && Io(t);break;case 13:- Fo(t);+ Io(t);break;case 19:- Ro(t);+ zo(t);break;case 10:- _a(t.type);+ va(t.type);break;case 22:case 23:- Fo(t), Oo(), e !== null && be(Ua);+ Io(t), ko(), e !== null && xe(Wa);break;- case 24: _a(ka);+ case 24: va(Aa);}}- function Cl(e, t) {+ function wl(e, t) {try {var n = t.updateQueue, r = n === null ? null : n.lastEffect;if (r !== null) {@@ -5005,10 +5005,10 @@ var k = /* @__PURE__ */ o(((e) => {} while (n !== i);}} catch (e) {- bf(t, t.return, e);+ xf(t, t.return, e);}}- function wl(e, t, n) {+ function Tl(e, t, n) {try {var r = t.updateQueue, i = r === null ? null : r.lastEffect;if (i !== null) {@@ -5023,7 +5023,7 @@ var k = /* @__PURE__ */ o(((e) => {try {l();} catch (e) {- bf(i, c, e);+ xf(i, c, e);}}}@@ -5031,29 +5031,29 @@ var k = /* @__PURE__ */ o(((e) => {} while (r !== a);}} catch (e) {- bf(t, t.return, e);+ xf(t, t.return, e);}}- function Tl(e) {+ function El(e) {var t = e.updateQueue;if (t !== null) {var n = e.stateNode;try {- Co(t, n);+ wo(t, n);} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}}}- function El(e, t, n) {- n.props = Cc(e.type, e.memoizedProps), n.state = e.memoizedState;+ function Dl(e, t, n) {+ n.props = wc(e.type, e.memoizedProps), n.state = e.memoizedState;try {n.componentWillUnmount();} catch (n) {- bf(e, t, n);+ xf(e, t, n);}}- function Dl(e, t) {+ function Ol(e, t) {try {var n = e.ref;if (n !== null) {@@ -5064,13 +5064,13 @@ var k = /* @__PURE__ */ o(((e) => {var r = e.stateNode;break;case 30:- var i = e.stateNode, a = mi(e.memoizedProps, i);- (i.ref === null || i.ref.name !== a) && (i.ref = Up(a)), r = i.ref;+ var i = e.stateNode, a = hi(e.memoizedProps, i);+ (i.ref === null || i.ref.name !== a) && (i.ref = Wp(a)), r = i.ref;break;case 7:if (e.stateNode === null) {- var o = new Wp(e);- f(e.child, !1, sm, o, void 0, void 0), e.stateNode = o;+ var o = new Gp(e);+ f(e.child, !1, cm, o, void 0, void 0), e.stateNode = o;}r = e.stateNode;break;@@ -5079,43 +5079,43 @@ var k = /* @__PURE__ */ o(((e) => {typeof n == "function" ? e.refCleanup = n(r) : n.current = r;}} catch (n) {- bf(e, t, n);+ xf(e, t, n);}}- function Ol(e, t) {+ function kl(e, t) {var n = e.ref, r = e.refCleanup;if (n !== null) {if (typeof r == "function") try {r();} catch (n) {- bf(e, t, n);+ xf(e, t, n);} finally {e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);}else if (typeof n == "function") try {n(null);} catch (n) {- bf(e, t, n);+ xf(e, t, n);}else n.current = null;}}- 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++) lm(e.stateNode, t[n]);- }- function Al(e) {- for (var t = e.return; t !== null && (Nl(t) && lm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;+ function Al(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]);}function jl(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 && (Pl(t) && um(e.stateNode, t.stateNode), !Nl(t));) t = t.return;}function Ml(e) {- return e.tag === 5 || e.tag === 3 || e.tag === 27;+ for (var t = e.return; t !== null && (Pl(t) && dm(e.stateNode, t.stateNode), !Nl(t));) t = t.return;}function Nl(e) {- return e && e.tag === 7 && e.stateNode !== null;+ return e.tag === 5 || e.tag === 3 || e.tag === 27;}function Pl(e) {+ return e && e.tag === 7 && e.stateNode !== null;+ }+ function Fl(e) {var t = e.type, n = e.memoizedProps, r = e.stateNode;try {a: switch (t) {@@ -5128,103 +5128,103 @@ var k = /* @__PURE__ */ o(((e) => {case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);}} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}}- function Fl(e, t, n) {+ function Il(e, t, n) {try {var r = e.stateNode;- pp(r, e.type, n, t), r[Tt] = t;+ mp(r, e.type, n, t), r[Et] = t;} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}}- function Il(e) {- return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && jp(e.type) || e.tag === 4;- }function Ll(e) {+ return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Mp(e.type) || e.tag === 4;+ }+ function Rl(e) {a: for (;;) {for (; e.sibling === null;) {- if (e.return === null || Il(e.return)) return null;+ if (e.return === null || Ll(e.return)) return null;e = e.return;}for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {- if (e.tag === 27 && jp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;+ if (e.tag === 27 && Mp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;e.child.return = e, e = e.child;}if (!(e.flags & 2)) return e.stateNode;}}- function Rl(e, t, n, r) {+ function zl(e, t, n, r) {var i = e.tag;- if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = vn)), kl(e, r), Jt = !0;- else if (i !== 4 && (i === 27 && (kl(e, r), r = null, jp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;+ if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = yn)), Al(e, r), Yt = !0;+ else if (i !== 4 && (i === 27 && (Al(e, r), r = null, Mp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (zl(e, t, n, r), e = e.sibling; e !== null;) zl(e, t, n, r), e = e.sibling;}- function zl(e, t, n, r) {+ function Bl(e, t, n, r) {var i = e.tag;- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), kl(e, r), Jt = !0;- else if (i !== 4 && (i === 27 && (kl(e, r), r = null, jp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (zl(e, t, n, r), e = e.sibling; e !== null;) zl(e, t, n, r), e = e.sibling;+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Al(e, r), Yt = !0;+ else if (i !== 4 && (i === 27 && (Al(e, r), r = null, Mp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Bl(e, t, n, r), e = e.sibling; e !== null;) Bl(e, t, n, r), e = e.sibling;}- function Bl(e) {+ function Vl(e) {var t = e.stateNode, n = e.memoizedProps;try {for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);- dp(t, r, n), t[wt] = e, t[Tt] = n;+ fp(t, r, n), t[Tt] = e, t[Et] = n;} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}}- var Vl = !1, Hl = null;- function U(e) {- (e.tag === 30 || e.subtreeFlags & 33554432) && (Vl = !0);- }- var Ul = null;- function Wl() {- var e = Ul;- return Ul = null, e;+ var Hl = !1, Ul = null;+ function H(e) {+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Hl = !0);}- var Gl = 0;- function Kl(e, t, n, r, i) {- return Gl = 0, ql(e.child, t, n, r, i);+ var Wl = null;+ function Gl() {+ var e = Wl;+ return Wl = null, e;}+ var Kl = 0;function ql(e, t, n, r, i) {+ return Kl = 0, Jl(e.child, t, n, r, i);+ }+ function Jl(e, t, n, r, i) {for (var a = !1; e !== null;) {if (e.tag === 5) {var o = e.stateNode;if (r !== null) {- var s = Lp(o);+ var s = Rp(o);r.push(s), s.view && (a = !0);- } else a || Lp(o).view && (a = !0);- Vl = !0, Pp(o, Gl === 0 ? t : t + "_" + Gl, n), Gl++;- } else e.tag === 22 && e.memoizedState !== null || e.tag === 30 && i || ql(e.child, t, n, r, i) && (a = !0);+ } else a || Rp(o).view && (a = !0);+ Hl = !0, Fp(o, Kl === 0 ? t : t + "_" + Kl, n), Kl++;+ } else e.tag === 22 && e.memoizedState !== null || e.tag === 30 && i || Jl(e.child, t, n, r, i) && (a = !0);e = e.sibling;}return a;}- function Jl(e, t) {- for (; e !== null;) e.tag === 5 ? Fp(e.stateNode, e.memoizedProps) : e.tag === 22 && e.memoizedState !== null || e.tag === 30 && t || Jl(e.child, t), e = e.sibling;+ function Yl(e, t) {+ for (; e !== null;) e.tag === 5 ? Ip(e.stateNode, e.memoizedProps) : e.tag === 22 && e.memoizedState !== null || e.tag === 30 && t || Yl(e.child, t), e = e.sibling;}- function Yl(e) {+ function Xl(e) {if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {- if ((e.tag !== 22 || e.memoizedState === null) && (Yl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {+ if ((e.tag !== 22 || e.memoizedState === null) && (Xl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {var t = e.memoizedProps;if (t.name == null || t.name === "auto") throw Error(i(544));var n = t.name;- t = gi(t.default, t.share), t !== "none" && (Kl(e, n, t, null, !1) || Jl(e.child, !1));+ t = _i(t.default, t.share), t !== "none" && (ql(e, n, t, null, !1) || Yl(e.child, !1));}e = e.sibling;}}- function Xl(e, t) {+ function Zl(e, t) {if (e.tag === 30) {- var n = e.stateNode, r = e.memoizedProps, i = mi(r, n), a = gi(r.default, n.paired ? r.share : r.enter);- a === "none" ? Yl(e) : Kl(e, i, a, null, !1) ? (Yl(e), n.paired || t || zd(e, r.onEnter)) : Jl(e.child, !1);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Xl(e, t), e = e.sibling;- else Yl(e);- }- function Zl(e) {- if (Hl !== null && Hl.size !== 0) {- var t = Hl;+ var n = e.stateNode, r = e.memoizedProps, i = hi(r, n), a = _i(r.default, n.paired ? r.share : r.enter);+ a === "none" ? Xl(e) : ql(e, i, a, null, !1) ? (Xl(e), n.paired || t || Bd(e, r.onEnter)) : Yl(e.child, !1);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e, t), e = e.sibling;+ else Xl(e);+ }+ function Ql(e) {+ if (Ul !== null && Ul.size !== 0) {+ var t = Ul;if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {if (e.tag !== 22 || e.memoizedState === null) {if (e.tag === 30 && e.flags & 18874368) {@@ -5232,59 +5232,59 @@ var k = /* @__PURE__ */ o(((e) => {if (r != null && r !== "auto") {var i = t.get(r);if (i !== void 0) {- var a = gi(n.default, n.share);- if (a !== "none" && (Kl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, zd(e, n.onShare)) : Jl(e.child, !1)), t.delete(r), t.size === 0) break;+ var a = _i(n.default, n.share);+ if (a !== "none" && (ql(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Bd(e, n.onShare)) : Yl(e.child, !1)), t.delete(r), t.size === 0) break;}}}- Zl(e);+ Ql(e);}e = e.sibling;}}}- function Ql(e) {+ function $l(e) {if (e.tag === 30) {- var t = e.memoizedProps, n = mi(t, e.stateNode), r = Hl === null ? void 0 : Hl.get(n), i = gi(t.default, r === void 0 ? t.exit : t.share);- i !== "none" && (Kl(e, n, i, null, !1) ? r === void 0 ? zd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Hl.delete(n), zd(e, t.onShare)) : Jl(e.child, !1)), Hl !== null && Zl(e);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e), e = e.sibling;- else Hl !== null && Zl(e);+ var t = e.memoizedProps, n = hi(t, e.stateNode), r = Ul === null ? void 0 : Ul.get(n), i = _i(t.default, r === void 0 ? t.exit : t.share);+ i !== "none" && (ql(e, n, i, null, !1) ? r === void 0 ? Bd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Ul.delete(n), Bd(e, t.onShare)) : Yl(e.child, !1)), Ul !== null && Ql(e);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) $l(e), e = e.sibling;+ else Ul !== null && Ql(e);}- function $l(e) {+ function eu(e) {for (e = e.child; e !== null;) {if (e.tag === 30) {- var t = e.memoizedProps, n = mi(t, e.stateNode);- t = gi(t.default, t.update), e.flags &= -5, t !== "none" && Kl(e, n, t, e.memoizedState = [], !1);- } else e.subtreeFlags & 33554432 && $l(e);+ var t = e.memoizedProps, n = hi(t, e.stateNode);+ t = _i(t.default, t.update), e.flags &= -5, t !== "none" && ql(e, n, t, e.memoizedState = [], !1);+ } else e.subtreeFlags & 33554432 && eu(e);e = e.sibling;}}- function eu(e) {+ function tu(e) {if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {if (e.tag !== 22 || e.memoizedState === null) {if (e.tag === 30 && e.flags & 18874368) {var t = e.stateNode;- t.paired !== null && (t.paired = null, Jl(e.child, !1));+ t.paired !== null && (t.paired = null, Yl(e.child, !1));}- eu(e);+ tu(e);}e = e.sibling;}}- function tu(e) {- if (e.tag === 30) e.stateNode.paired = null, Jl(e.child, !1), eu(e);- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) tu(e), e = e.sibling;- else eu(e);- }function nu(e) {- for (e = e.child; e !== null;) e.tag === 30 ? Jl(e.child, !1) : e.subtreeFlags & 33554432 && nu(e), e = e.sibling;+ if (e.tag === 30) e.stateNode.paired = null, Yl(e.child, !1), tu(e);+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) nu(e), e = e.sibling;+ else tu(e);+ }+ function ru(e) {+ for (e = e.child; e !== null;) e.tag === 30 ? Yl(e.child, !1) : e.subtreeFlags & 33554432 && ru(e), e = e.sibling;}- function ru(e, t, n, r, i, a, o) {+ function iu(e, t, n, r, i, a, o) {for (var s = !1; t !== null;) {if (t.tag === 5) {var c = t.stateNode;- if (a !== null && Gl < a.length) {- var l = a[Gl], u = Lp(c);+ if (a !== null && Kl < a.length) {+ var l = a[Kl], u = Rp(c);(l.view || u.view) && (s = !0);var d;if (d = !(e.flags & 4)) {@@ -5297,30 +5297,30 @@ var k = /* @__PURE__ */ o(((e) => {}d && (e.flags |= 4), u.abs ? u = !l.abs : (l = l.rect, u = u.rect, u = l.height !== u.height || l.width !== u.width), u && (e.flags |= 32);} else e.flags |= 32;- e.flags & 4 && Pp(c, Gl === 0 ? n : n + "_" + Gl, i), s && e.flags & 4 || (Ul === null && (Ul = []), Ul.push(c, Gl === 0 ? r : r + "_" + Gl, t.memoizedProps)), Gl++;- } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : ru(e, t.child, n, r, i, a, o) && (s = !0));+ e.flags & 4 && Fp(c, Kl === 0 ? n : n + "_" + Kl, i), s && e.flags & 4 || (Wl === null && (Wl = []), Wl.push(c, Kl === 0 ? r : r + "_" + Kl, t.memoizedProps)), Kl++;+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : iu(e, t.child, n, r, i, a, o) && (s = !0));t = t.sibling;}return s;}- function iu(e, t) {+ function au(e, t) {for (e = e.child; e !== null;) {if (e.tag === 30) {- var n = e.memoizedProps, r = e.stateNode, i = mi(n, r), a = gi(n.default, n.update);+ var n = e.memoizedProps, r = e.stateNode, i = hi(n, r), a = _i(n.default, n.update);if (t) {r = r.clones;- var o = r === null ? null : r.map(Rp);+ var o = r === null ? null : r.map(zp);} else o = e.memoizedState, e.memoizedState = null;r = e;var s = e.child;- Gl = 0, i = ru(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || zd(e, n.onUpdate));- } else e.subtreeFlags & 33554432 && iu(e, t);+ Kl = 0, i = iu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Bd(e, n.onUpdate));+ } else e.subtreeFlags & 33554432 && au(e, t);e = e.sibling;}}- 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, gp = Th, e = Wr(e), Gr(e)) {+ var ou = !1, su = !1, cu = !1, lu = !1, uu = typeof WeakSet == "function" ? WeakSet : Set, du = null, fu = !1, pu = !1, mu = !1, hu = !1;+ function gu(e, t, n) {+ if (e = e.containerInfo, _p = Eh, e = Gr(e), Kr(e)) {if ("selectionStart" in e) var r = {start: e.selectionStart,end: e.selectionEnd@@ -5359,31 +5359,31 @@ var k = /* @__PURE__ */ o(((e) => {end: 0};} else r = null;- for (_p = {+ for (vp = {focusedElem: e,selectionRange: r- }, 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 && Ql(r[a]);- if (e.alternate === null && e.flags & 2) n && U(e), gu(n);+ }, Eh = !1, n = (n & 335544064) === n, du = t, t = n ? 9270 : 1024; du !== null;) {+ if (e = du, 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 && H(e), _u(n);else {if (e.tag === 22) {if (r = e.alternate, e.memoizedState !== null) {- r !== null && r.memoizedState === null && n && Ql(r), gu(n);+ r !== null && r.memoizedState === null && n && $l(r), _u(n);continue;}if (r !== null && r.memoizedState !== null) {- n && U(e), gu(n);+ n && H(e), _u(n);continue;}}- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, uu = r) : (n && $l(e), gu(n));+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, du = r) : (n && eu(e), _u(n));}}- Hl = null;+ Ul = null;}- function gu(e) {- for (; uu !== null;) {- var t = uu, n = e, r = t.alternate, a = t.flags;+ function _u(e) {+ for (; du !== null;) {+ var t = du, n = e, r = t.alternate, a = t.flags;switch (t.tag) {case 0:case 11:@@ -5393,21 +5393,21 @@ var k = /* @__PURE__ */ o(((e) => {n = void 0, a = r.memoizedProps, r = r.memoizedState;var o = t.stateNode;try {- var s = Cc(t.type, a);+ var s = wc(t.type, a);n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;} catch (e) {- bf(t, t.return, e);+ xf(t, t.return, e);}}break;case 3:if (a & 1024) {- if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) dm(r);+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) fm(r);else if (n === 1) switch (r.nodeName) {case "HEAD":case "HTML":case "BODY":- dm(r);+ fm(r);break;default: r.textContent = "";}@@ -5420,46 +5420,46 @@ var k = /* @__PURE__ */ o(((e) => {case 4:case 17: break;case 30:- n && r !== null && (n = mi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = gi(a.default, a.update), a !== "none" && Kl(r, n, a, r.memoizedState = [], !0));+ n && r !== null && (n = hi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = _i(a.default, a.update), a !== "none" && ql(r, n, a, r.memoizedState = [], !0));break;default: if (a & 1024) throw Error(i(163));}if (r = t.sibling, r !== null) {- r.return = t.return, uu = r;+ r.return = t.return, du = r;break;}- uu = t.return;+ du = t.return;}}- function _u(e, t, n) {+ function vu(e, t, n) {var r = n.flags;switch (n.tag) {case 0:case 11:case 15:- Lu(e, n), r & 4 && Cl(5, n);+ Ru(e, n), r & 4 && wl(5, n);break;case 1:- if (Lu(e, n), r & 4) {+ if (Ru(e, n), r & 4) {if (e = n.stateNode, t === null) try {e.componentDidMount();} catch (e) {- bf(n, n.return, e);+ xf(n, n.return, e);}else {- var i = Cc(n.type, t.memoizedProps);+ var i = wc(n.type, t.memoizedProps);t = t.memoizedState;try {e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);} catch (e) {- bf(n, n.return, e);+ xf(n, n.return, e);}}}- r & 64 && Tl(n), r & 512 && Dl(n, n.return);+ r & 64 && El(n), r & 512 && Ol(n, n.return);break;case 3:- if (Lu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {+ if (Ru(e, n), r & 64 && (e = n.updateQueue, e !== null)) {if (t = null, n.child !== null) switch (n.child.tag) {case 27:case 5:@@ -5468,43 +5468,43 @@ var k = /* @__PURE__ */ o(((e) => {case 1: t = n.child.stateNode;}try {- Co(e, t);+ wo(e, t);} catch (e) {- bf(n, n.return, e);+ xf(n, n.return, e);}}break;- case 27: t === null && r & 4 && Bl(n);+ case 27: t === null && r & 4 && Vl(n);case 26:case 5:- Lu(e, n), t === null && r & 4 && Pl(n), r & 512 && Dl(n, n.return);+ Ru(e, n), t === null && r & 4 && Fl(n), r & 512 && Ol(n, n.return);break;case 12:- Lu(e, n);+ Ru(e, n);break;case 31:- Lu(e, n), r & 4 && Eu(e, n);+ Ru(e, n), r & 4 && Du(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 = wf.bind(null, n), _m(e, n))));+ Ru(e, n), r & 4 && Ou(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Tf.bind(null, n), vm(e, n))));break;case 22:- if (r = n.memoizedState !== null || au, !r) {- var a = t !== null && t.memoizedState !== null || ou;- t = au, i = ou, au = r, (ou = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), zu(e, n, r)) : Lu(e, n), au = t, ou = i;+ if (r = n.memoizedState !== null || ou, !r) {+ var a = t !== null && t.memoizedState !== null || su;+ t = ou, i = su, ou = r, (su = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Bu(e, n, r)) : Ru(e, n), ou = t, su = i;}break;case 30:- Lu(e, n), r & 512 && Dl(n, n.return);+ Ru(e, n), r & 512 && Ol(n, n.return);break;- case 7: r & 512 && Dl(n, n.return);- default: Lu(e, n);+ case 7: r & 512 && Ol(n, n.return);+ default: Ru(e, n);}}- function vu(e, t) {- for (e = e.child; e !== null;) yu(e, t), e = e.sibling;- }function yu(e, t) {+ for (e = e.child; e !== null;) bu(e, t), e = e.sibling;+ }+ function bu(e, t) {switch (e.tag) {case 5:case 26:@@ -5518,182 +5518,182 @@ var k = /* @__PURE__ */ o(((e) => {i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();}} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}- bu(e, t);+ xu(e, t);break;case 6:try {- e.stateNode.nodeValue = t ? "" : e.memoizedProps, Jt = !0;+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, Yt = !0;} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}break;case 18:try {var s = e.stateNode;- t ? Np(s, !0) : Np(e.stateNode, !1);+ t ? Pp(s, !0) : Pp(e.stateNode, !1);} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}break;case 22:case 23:- e.memoizedState === null && vu(e, t);+ e.memoizedState === null && yu(e, t);break;- default: vu(e, t);+ default: yu(e, t);}}- function bu(e, t) {+ function xu(e, t) {if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {a: {var n = e, r = t;switch (n.tag) {case 4:- yu(n, r);+ bu(n, r);break a;case 22:- n.memoizedState === null && bu(n, r);+ n.memoizedState === null && xu(n, r);break a;- default: bu(n, r);+ default: xu(n, r);}}e = e.sibling;}}- function xu(e) {+ function Su(e) {var t = e.alternate;- t !== null && (e.alternate = null, xu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Nt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;- }- var Su = null, Cu = !1;- function wu(e, t, n) {- for (n = n.child; n !== null;) Tu(e, t, n), n = n.sibling;+ t !== null && (e.alternate = null, Su(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Pt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;}+ var Cu = null, wu = !1;function Tu(e, t, n) {- if (Qe && typeof Qe.onCommitFiberUnmount == "function") try {- Qe.onCommitFiberUnmount(Ze, n);+ for (n = n.child; n !== null;) Eu(e, t, n), n = n.sibling;+ }+ function Eu(e, t, n) {+ if ($e && typeof $e.onCommitFiberUnmount == "function") try {+ $e.onCommitFiberUnmount(Qe, n);} catch {}switch (n.tag) {case 26:- ou || Ol(n, t), wu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !ou && (n = n.stateNode, n.parentNode.removeChild(n));+ su || kl(n, t), Tu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !su && (n = n.stateNode, n.parentNode.removeChild(n));break;case 27:- ou || Ol(n, t), jl(n);- var r = Su, i = Cu;- jp(n.type) && (Su = n.stateNode, Cu = !1), wu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), Su = r, Cu = i;+ su || kl(n, t), Ml(n);+ var r = Cu, i = wu;+ Mp(n.type) && (Cu = n.stateNode, wu = !1), Tu(e, t, n), Em(n.stateNode, n.type, n.memoizedProps), Cu = r, wu = i;break;- case 5: ou || Ol(n, t), jl(n);+ case 5: su || kl(n, t), Ml(n);case 6:- if (n.tag === 6 && jl(n), r = Su, i = Cu, Su = null, wu(e, t, n), Su = r, Cu = i, Su !== null) {- if (Cu) try {- (Su.nodeType === 9 ? Su.body : Su.nodeName === "HTML" ? Su.ownerDocument.body : Su).removeChild(n.stateNode), Jt = !0;+ if (n.tag === 6 && Ml(n), r = Cu, i = wu, Cu = null, Tu(e, t, n), Cu = r, wu = i, Cu !== null) {+ if (wu) try {+ (Cu.nodeType === 9 ? Cu.body : Cu.nodeName === "HTML" ? Cu.ownerDocument.body : Cu).removeChild(n.stateNode), Yt = !0;} catch (e) {- bf(n, t, e);+ xf(n, t, e);}else try {- Su.removeChild(n.stateNode), Jt = !0;+ Cu.removeChild(n.stateNode), Yt = !0;} catch (e) {- bf(n, t, e);+ xf(n, t, e);}}break;case 18:- Su !== null && (Cu ? (e = Su, Mp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Zh(e)) : Mp(Su, n.stateNode));+ Cu !== null && (wu ? (e = Cu, Np(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Qh(e)) : Np(Cu, n.stateNode));break;case 4:- r = Su, i = Cu, Su = n.stateNode.containerInfo, Cu = !0, wu(e, t, n), Su = r, Cu = i;+ r = Cu, i = wu, Cu = n.stateNode.containerInfo, wu = !0, Tu(e, t, n), Cu = r, wu = i;break;case 0:case 11:case 14:case 15:- wl(2, n, t), ou || wl(4, n, t), wu(e, t, n);+ Tl(2, n, t), su || Tl(4, n, t), Tu(e, t, n);break;case 1:- ou || (Ol(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && El(n, t, r)), wu(e, t, n);+ su || (kl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Dl(n, t, r)), Tu(e, t, n);break;case 21:- wu(e, t, n);+ Tu(e, t, n);break;case 22:- ou = (r = ou) || n.memoizedState !== null, wu(e, t, n), ou = r;+ su = (r = su) || n.memoizedState !== null, Tu(e, t, n), su = r;break;case 30:- Ol(n, t), wu(e, t, n);+ kl(n, t), Tu(e, t, n);break;case 7:- ou || Ol(n, t), wu(e, t, n);+ su || kl(n, t), Tu(e, t, n);break;- default: wu(e, t, n);+ default: Tu(e, t, n);}}- function Eu(e, t) {+ function Du(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {e = e.dehydrated;try {- Zh(e);+ Qh(e);} catch (e) {- bf(t, t.return, e);+ xf(t, t.return, e);}}}- function Du(e, t) {+ function Ou(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {- Zh(e);+ Qh(e);} catch (e) {- bf(t, t.return, e);+ xf(t, t.return, e);}}- function Ou(e) {+ function ku(e) {switch (e.tag) {case 31:case 13:case 19:var t = e.stateNode;- return t === null && (t = e.stateNode = new lu()), t;- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new lu()), t;+ return t === null && (t = e.stateNode = new uu()), t;+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new uu()), t;default: throw Error(i(435, e.tag));}}- function ku(e, t) {- var n = Ou(e);+ function Au(e, t) {+ var n = ku(e);t.forEach(function(t) {if (!n.has(t)) {n.add(t);- var r = Tf.bind(null, e, t);+ var r = Ef.bind(null, e, t);t.then(r, r);}});}- function Au(e, t, n) {+ function ju(e, t, n) {var r = t.deletions;if (r !== null) for (var a = 0; a < r.length; a++) {var o = r[a], s = e, c = t, l = c;a: for (; l !== null;) {switch (l.tag) {case 27:- if (jp(l.type)) {- Su = l.stateNode, Cu = !1;+ if (Mp(l.type)) {+ Cu = l.stateNode, wu = !1;break a;}break;case 5:- Su = l.stateNode, Cu = !1;+ Cu = l.stateNode, wu = !1;break a;case 3:case 4:- Su = l.stateNode.containerInfo, Cu = !0;+ Cu = l.stateNode.containerInfo, wu = !0;break a;}l = l.return;}- if (Su === null) throw Error(i(160));- Tu(s, c, o), Su = null, Cu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;+ if (Cu === null) throw Error(i(160));+ Eu(s, c, o), Cu = null, wu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;}- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Mu(t, e, n), t = t.sibling;+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Nu(t, e, n), t = t.sibling;}- var ju = null;- function Mu(e, t, n) {+ var Mu = null;+ function Nu(e, t, n) {var r = e.alternate, a = e.flags;switch (e.tag) {case 0:@@ -5704,120 +5704,120 @@ var k = /* @__PURE__ */ o(((e) => {var s = r[o];s.ref.impl = s.nextImpl;}- Au(t, e, n), Nu(e), a & 4 && (wl(3, e, e.return), Cl(3, e), wl(5, e, e.return));+ ju(t, e, n), Pu(e), a & 4 && (Tl(3, e, e.return), wl(3, e), Tl(5, e, e.return));break;case 1:- Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Ol(r, r.return)), a & 64 && au && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));+ ju(t, e, n), Pu(e), a & 512 && (su || r === null || kl(r, r.return)), a & 64 && ou && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));break;case 26:- if (o = ju, Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Ol(r, r.return)), a & 4) {+ if (o = Mu, ju(t, e, n), Pu(e), a & 512 && (su || r === null || kl(r, r.return)), a & 4) {if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {if (n === null) {if (e.stateNode === null) {- if (au) e.stateNode = xp(e.type, e.memoizedProps, t.containerInfo, e);+ if (ou) e.stateNode = Sp(e.type, e.memoizedProps, t.containerInfo, e);else {a: {t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;b: switch (t) {case "title":- r = a.getElementsByTagName("title")[0], (!r || r[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"))), dp(r, t, n), r[wt] = e, Rt(r), t = r;+ r = a.getElementsByTagName("title")[0], (!r || r[Mt] || r[Tt] || 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[Tt] = e, zt(r), t = r;break a;case "link":- if (o = eh("link", "href", a).get(t + (n.href || ""))) {+ if (o = th("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;}}- r = a.createElement(t), dp(r, t, n), a.head.appendChild(r);+ r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);break;case "meta":- if (o = eh("meta", "content", a).get(t + (n.content || ""))) {+ if (o = th("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;}}- r = a.createElement(t), dp(r, t, n), a.head.appendChild(r);+ r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);break;default: throw Error(i(468, t));}- r[wt] = e, Rt(r), t = r;+ r[Tt] = e, zt(r), t = r;}e.stateNode = t;}- } 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));+ } else ou || nh(o, e.type, e.stateNode);+ } else e.stateNode = Xm(o, n, e.memoizedProps);+ } else a === n ? n === null && e.stateNode !== null && Il(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || su || t.parentNode.removeChild(t)) : a.count--, n === null ? ou || nh(o, e.type, e.stateNode) : Xm(o, n, e.memoizedProps));}break;case 27:- Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Ol(r, r.return)), r !== null && a & 4 && Fl(e, e.memoizedProps, r.memoizedProps);+ ju(t, e, n), Pu(e), a & 512 && (su || r === null || kl(r, r.return)), r !== null && a & 4 && Il(e, e.memoizedProps, r.memoizedProps);break;case 5:- if (o = su, su = !1, Au(t, e, n), su = o, Nu(e), a & 512 && (ou || r === null || Ol(r, r.return)), e.flags & 32) {+ if (o = cu, cu = !1, ju(t, e, n), cu = o, Pu(e), a & 512 && (su || r === null || kl(r, r.return)), e.flags & 32) {t = e.stateNode;try {- dn(t, ""), Jt = !0;+ fn(t, ""), Yt = !0;} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}}- a & 4 && e.stateNode != null && (t = e.memoizedProps, Fl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (cu = !0);+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Il(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (lu = !0);break;case 6:- if (Au(t, e, n), Nu(e), a & 4) {+ if (ju(t, e, n), Pu(e), a & 4) {if (e.stateNode === null) throw Error(i(162));t = e.memoizedProps, n = e.stateNode;try {- n.nodeValue = t, Jt = !0;+ n.nodeValue = t, Yt = !0;} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}}break;case 3:- 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 {- Zh(t.containerInfo);+ if (Yt = !1, eh = null, o = Mu, Mu = Am(t.containerInfo), ju(t, e, n), Mu = o, Pu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {+ Qh(t.containerInfo);} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}- cu && (cu = !1, Pu(e)), Jt = !1;+ lu && (lu = !1, Fu(e)), Yt = !1;break;case 4:- 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;+ a = cu, cu = ou, r = Xt(), o = Mu, Mu = Am(e.stateNode.containerInfo), ju(t, e, n), Pu(e), Mu = o, Yt && pu && (mu = !0), Yt = r, cu = a;break;case 12:- Au(t, e, n), Nu(e);+ ju(t, e, n), Pu(e);break;case 31:- Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ ju(t, e, n), Pu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));break;case 13:- Au(t, e, n), Nu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (xd = He()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ ju(t, e, n), Pu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (Sd = Ue()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));break;case 22:o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;- var c = au, l = ou, u = su;- au = c || o, su = u || o, ou = l || s, Au(t, e, n), ou = l, su = u, au = c, Nu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || au || ou || (t = s || ou, n = au, r = ou, au = o || au, ou = t, Ru(e, 2), au = n, ou = r), !o && su || vu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, ku(e, n))));+ var c = ou, l = su, u = cu;+ ou = c || o, cu = u || o, su = l || s, ju(t, e, n), su = l, cu = u, ou = c, Pu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || ou || su || (t = s || su, n = ou, r = su, ou = o || ou, su = t, zu(e, 2), ou = n, su = r), !o && cu || yu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Au(e, n))));break;case 19:- Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ ju(t, e, n), Pu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));break;case 30:- a & 512 && (ou || r === null || Ol(r, r.return)), a = Yt(), o = fu, s = (n & 335544064) === n, c = e.memoizedProps, fu = s && gi(c.default, c.update) !== "none", Au(t, e, n), Nu(e), s && r !== null && Jt && (e.flags |= 4), fu = o, Jt = a;+ a & 512 && (su || r === null || kl(r, r.return)), a = Xt(), o = pu, s = (n & 335544064) === n, c = e.memoizedProps, pu = s && _i(c.default, c.update) !== "none", ju(t, e, n), Pu(e), s && r !== null && Yt && (e.flags |= 4), pu = o, Yt = a;break;case 21: break;- case 7: a & 512 && (ou || r === null || Ol(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);- default: Au(t, e, n), Nu(e);+ case 7: a & 512 && (su || r === null || kl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);+ default: ju(t, e, n), Pu(e);}}- function Nu(e) {+ function Pu(e) {var t = e.flags;if (t & 2) {try {for (var n, r = e.return; r !== null;) {- if (Il(r)) {+ if (Ll(r)) {n = r;break;}@@ -5825,11 +5825,11 @@ var k = /* @__PURE__ */ o(((e) => {}r = null;for (var a = e.return; a !== null;) {- if (Nl(a)) {+ if (Pl(a)) {var o = a.stateNode;r === null ? r = [o] : r.push(o);}- if (Ml(a)) break;+ if (Nl(a)) break;a = a.return;}var s = r;@@ -5837,46 +5837,46 @@ var k = /* @__PURE__ */ o(((e) => {switch (n.tag) {case 27:var c = n.stateNode;- zl(e, Ll(e), c, s);+ Bl(e, Rl(e), c, s);break;case 5:var l = n.stateNode;- n.flags & 32 && (dn(l, ""), n.flags &= -33), zl(e, Ll(e), l, s);+ n.flags & 32 && (fn(l, ""), n.flags &= -33), Bl(e, Rl(e), l, s);break;case 3:case 4:var u = n.stateNode.containerInfo;- Rl(e, Ll(e), u, s);+ zl(e, Rl(e), u, s);break;default: throw Error(i(161));}} catch (t) {- bf(e, e.return, t);+ xf(e, e.return, t);}e.flags &= -3;}t & 4096 && (e.flags &= -4097);}- function Pu(e) {+ function Fu(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, Th = !0, t.reset(), Th = !1), e = e.sibling;+ Fu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Eh = !0, t.reset(), Eh = !1), e = e.sibling;}}- function Fu(e, t) {- if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Iu(t, e), t = t.sibling;- else iu(t, !1);- }function Iu(e, t) {+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Lu(t, e), t = t.sibling;+ else au(t, !1);+ }+ function Lu(e, t) {var n = e.alternate;- if (n === null) Xl(e, !1);+ if (n === null) Zl(e, !1);else switch (e.tag) {case 3:- if (mu = du = !1, Wl(), Fu(t, e), !du && !pu) {- if (e = Ul, e !== null) for (var r = 0; r < e.length; r += 3) {+ if (hu = fu = !1, Gl(), Iu(t, e), !fu && !mu) {+ if (e = Wl, e !== null) for (var r = 0; r < e.length; r += 3) {n = e[r];var i = e[r + 1];- Fp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({+ Ip(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({opacity: [0, 0],pointerEvents: ["none", "none"]}, {@@ -5899,33 +5899,33 @@ var k = /* @__PURE__ */ o(((e) => {duration: 0,fill: "forwards",pseudoElement: "::view-transition"- })), mu = !0;+ })), hu = !0;}- Ul = null;+ Wl = null;break;case 5:- Fu(t, e);+ Iu(t, e);break;case 4:- r = du, du = !1, Fu(t, e), du && (pu = !0), du = r;+ r = fu, fu = !1, Iu(t, e), fu && (mu = !0), fu = r;break;case 22:- e.memoizedState === null && (n.memoizedState === null ? Fu(t, e) : Xl(e, !1));+ e.memoizedState === null && (n.memoizedState === null ? Iu(t, e) : Zl(e, !1));break;case 30:- r = du, i = Wl(), du = !1, Fu(t, e), du && (e.flags |= 4);+ r = fu, i = Gl(), fu = !1, Iu(t, e), fu && (e.flags |= 4);var a = e.memoizedProps, o = e.stateNode;- t = mi(a, o), o = mi(n.memoizedProps, o);- var s = gi(a.default, a.update);- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Gl = 0, t = ru(e, n, t, o, s, a, !0), Gl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (zd(e, e.memoizedProps.onUpdate), Ul = i) : i !== null && (i.push.apply(i, Ul), Ul = i), du = e.flags & 32 ? !0 : r;+ t = hi(a, o), o = hi(n.memoizedProps, o);+ var s = _i(a.default, a.update);+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Kl = 0, t = iu(e, n, t, o, s, a, !0), Kl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Bd(e, e.memoizedProps.onUpdate), Wl = i) : i !== null && (i.push.apply(i, Wl), Wl = i), fu = e.flags & 32 ? !0 : r;break;- default: Fu(t, e);+ default: Iu(t, e);}}- function Lu(e, t) {- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) _u(e, t.alternate, t), t = t.sibling;- }function Ru(e, t) {+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) vu(e, t.alternate, t), t = t.sibling;+ }+ function zu(e, t) {for (e = e.child; e !== null;) {var n = e, r = t;switch (n.tag) {@@ -5933,218 +5933,218 @@ var k = /* @__PURE__ */ o(((e) => {case 11:case 14:case 15:- wl(4, n, n.return), Ru(n, r);+ Tl(4, n, n.return), zu(n, r);break;case 1:- Ol(n, n.return);+ kl(n, n.return);var i = n.stateNode;- typeof i.componentWillUnmount == "function" && El(n, n.return, i), Ru(n, r);+ typeof i.componentWillUnmount == "function" && Dl(n, n.return, i), zu(n, r);break;- case 27: r & 2 && Tm(n.stateNode, n.type, n.memoizedProps);+ case 27: r & 2 && Em(n.stateNode, n.type, n.memoizedProps);case 5:- Ol(n, n.return), n.tag !== 5 && n.tag !== 27 || jl(n), Ru(n, r);+ kl(n, n.return), n.tag !== 5 && n.tag !== 27 || Ml(n), zu(n, r);break;case 6:- jl(n);+ Ml(n);break;case 26:- Ol(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || ou || i.parentNode.removeChild(i), Ru(n, r);+ kl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || su || i.parentNode.removeChild(i), zu(n, r);break;case 22:- n.memoizedState === null && Ru(n, r);+ n.memoizedState === null && zu(n, r);break;case 30:- Ol(n, n.return), Ru(n, r);+ kl(n, n.return), zu(n, r);break;- case 7: Ol(n, n.return);- default: Ru(n, r);+ case 7: kl(n, n.return);+ default: zu(n, r);}e = e.sibling;}}- function zu(e, t, n) {+ function Bu(e, t, n) {for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);switch (a.tag) {case 0:case 11:case 15:- zu(i, a, n), Cl(4, a);+ Bu(i, a, n), wl(4, a);break;case 1:- if (zu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {+ if (Bu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {i.componentDidMount();} catch (e) {- bf(r, r.return, e);+ xf(r, r.return, e);}if (r = a, i = r.updateQueue, i !== null) {var c = r.stateNode;try {var l = i.shared.hiddenCallbacks;- if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) So(l[i], c);+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) Co(l[i], c);} catch (e) {- bf(r, r.return, e);+ xf(r, r.return, e);}}- s && o & 64 && Tl(a), Dl(a, a.return);+ s && o & 64 && El(a), Ol(a, a.return);break;- case 27: n & 2 && Bl(a);+ case 27: n & 2 && Vl(a);case 5:- a.tag !== 5 && a.tag !== 27 || Al(a), zu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);+ a.tag !== 5 && a.tag !== 27 || jl(a), Bu(i, a, n), s && r === null && o & 4 && Fl(a), Ol(a, a.return);break;case 6:- Al(a);+ jl(a);break;case 26:- 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);+ c = a.stateNode, a.memoizedState !== null || c === null || ou || nh(Am(c.ownerDocument), a.type, c), Bu(i, a, n), s && r === null && o & 4 && Fl(a), Ol(a, a.return);break;case 12:- zu(i, a, n);+ Bu(i, a, n);break;case 31:- zu(i, a, n), s && o & 4 && Eu(i, a);+ Bu(i, a, n), s && o & 4 && Du(i, a);break;case 13:- zu(i, a, n), s && o & 4 && Du(i, a);+ Bu(i, a, n), s && o & 4 && Ou(i, a);break;case 22:- a.memoizedState === null && zu(i, a, n), Dl(a, a.return);+ a.memoizedState === null && Bu(i, a, n), Ol(a, a.return);break;case 30:- zu(i, a, n), Dl(a, a.return);+ Bu(i, a, n), Ol(a, a.return);break;- case 7: Dl(a, a.return);- default: zu(i, a, n);+ case 7: Ol(a, a.return);+ default: Bu(i, a, n);}t = t.sibling;}}- function Bu(e, t) {+ function Vu(e, t) {var n = null;- e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && ja(n));+ e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Ma(n));}- function Vu(e, t) {- e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && ja(e));+ function Hu(e, t) {+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Ma(e));}- function Hu(e, t, n, r) {+ function Uu(e, t, n, r) {var i = (n & 335544064) === n;- if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Uu(e, t, n, r), t = t.sibling;- else i && nu(t);+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Wu(e, t, n, r), t = t.sibling;+ else i && ru(t);}- function Uu(e, t, n, r) {+ function Wu(e, t, n, r) {var i = (n & 335544064) === n;- i && t.alternate === null && t.return !== null && t.return.alternate !== null && tu(t);+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && nu(t);var a = t.flags;switch (t.tag) {case 0:case 11:case 15:- Hu(e, t, n, r), a & 2048 && Cl(9, t);+ Uu(e, t, n, r), a & 2048 && wl(9, t);break;case 1:- Hu(e, t, n, r);+ Uu(e, t, n, r);break;case 3:- Hu(e, t, n, r), i && mu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && ja(a)));+ Uu(e, t, n, r), i && hu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Ma(a)));break;case 12:if (a & 2048) {- Hu(e, t, n, r), a = t.stateNode;+ Uu(e, t, n, r), a = t.stateNode;try {var o = t.memoizedProps, s = o.id, c = o.onPostCommit;typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);} catch (e) {- bf(t, t.return, e);+ xf(t, t.return, e);}- } else Hu(e, t, n, r);+ } else Uu(e, t, n, r);break;case 31:- Hu(e, t, n, r);+ Uu(e, t, n, r);break;case 13:- Hu(e, t, n, r);+ Uu(e, t, n, r);break;case 23: break;case 22:- o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && tu(t), o._visibility & 2 ? Hu(e, t, n, r) : (o._visibility |= 2, Wu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && tu(s), o._visibility & 2 ? Hu(e, t, n, r) : Gu(e, t)), a & 2048 && Bu(s, t);+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && nu(t), o._visibility & 2 ? Uu(e, t, n, r) : (o._visibility |= 2, Gu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && nu(s), o._visibility & 2 ? Uu(e, t, n, r) : Ku(e, t)), a & 2048 && Vu(s, t);break;case 24:- Hu(e, t, n, r), a & 2048 && Vu(t.alternate, t);+ Uu(e, t, n, r), a & 2048 && Hu(t.alternate, t);break;case 30:- i && (a = t.alternate, a !== null && (Jl(a.child, !0), Jl(t.child, !0))), Hu(e, t, n, r);+ i && (a = t.alternate, a !== null && (Yl(a.child, !0), Yl(t.child, !0))), Uu(e, t, n, r);break;- default: Hu(e, t, n, r);+ default: Uu(e, t, n, r);}}- function Wu(e, t, n, r, i) {+ function Gu(e, t, n, r, i) {for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {var a = e, o = t, s = n, c = r, l = o.flags;switch (o.tag) {case 0:case 11:case 15:- Wu(a, o, s, c, i), Cl(8, o);+ Gu(a, o, s, c, i), wl(8, o);break;case 23: break;case 22:var u = o.stateNode;- o.memoizedState === null ? (u._visibility |= 2, Wu(a, o, s, c, i)) : u._visibility & 2 ? Wu(a, o, s, c, i) : Gu(a, o), i && l & 2048 && Bu(o.alternate, o);+ o.memoizedState === null ? (u._visibility |= 2, Gu(a, o, s, c, i)) : u._visibility & 2 ? Gu(a, o, s, c, i) : Ku(a, o), i && l & 2048 && Vu(o.alternate, o);break;case 24:- Wu(a, o, s, c, i), i && l & 2048 && Vu(o.alternate, o);+ Gu(a, o, s, c, i), i && l & 2048 && Hu(o.alternate, o);break;- default: Wu(a, o, s, c, i);+ default: Gu(a, o, s, c, i);}t = t.sibling;}}- function Gu(e, t) {+ function Ku(e, t) {if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {var n = e, r = t, i = r.flags;switch (r.tag) {case 22:- Gu(n, r), i & 2048 && Bu(r.alternate, r);+ Ku(n, r), i & 2048 && Vu(r.alternate, r);break;case 24:- Gu(n, r), i & 2048 && Vu(r.alternate, r);+ Ku(n, r), i & 2048 && Hu(r.alternate, r);break;- default: Gu(n, r);+ default: Ku(n, r);}t = t.sibling;}}- var Ku = 8192;- function qu(e, t, n) {- if (e.subtreeFlags & Ku) for (e = e.child; e !== null;) Ju(e, t, n), e = e.sibling;- }+ var qu = 8192;function Ju(e, t, n) {+ if (e.subtreeFlags & qu) for (e = e.child; e !== null;) Yu(e, t, n), e = e.sibling;+ }+ function Yu(e, t, n) {switch (e.tag) {case 26:- 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));+ Ju(e, t, n), e.flags & qu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && sh(n, e)) : ch(n, Mu, e.memoizedState, e.memoizedProps));break;case 5:- qu(e, t, n), e.flags & Ku && (e = e.stateNode, (t & 335544128) === t && oh(n, e));+ Ju(e, t, n), e.flags & qu && (e = e.stateNode, (t & 335544128) === t && sh(n, e));break;case 3:case 4:- var r = ju;- ju = km(e.stateNode.containerInfo), qu(e, t, n), ju = r;+ var r = Mu;+ Mu = Am(e.stateNode.containerInfo), Ju(e, t, n), Mu = 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));+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = qu, qu = 16777216, Ju(e, t, n), qu = r) : Ju(e, t, n));break;case 30:- if ((e.flags & Ku) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {+ if ((e.flags & qu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {var i = e.stateNode;- i.paired = null, Hl === null && (Hl = /* @__PURE__ */ new Map()), Hl.set(r, i);+ i.paired = null, Ul === null && (Ul = /* @__PURE__ */ new Map()), Ul.set(r, i);}- qu(e, t, n);+ Ju(e, t, n);break;- default: qu(e, t, n);+ default: Ju(e, t, n);}}- function Yu(e) {+ function Xu(e) {var t = e.alternate;if (t !== null && (e = t.child, e !== null)) {t.child = null;@@ -6153,69 +6153,69 @@ var k = /* @__PURE__ */ o(((e) => {while (e !== null);}}- function Xu(e) {+ function Zu(e) {var t = e.deletions;if (e.flags & 16) {if (t !== null) for (var n = 0; n < t.length; n++) {var r = t[n];- uu = r, $u(r, e);+ du = r, ed(r, e);}- Yu(e);+ Xu(e);}- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Zu(e), e = e.sibling;+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Qu(e), e = e.sibling;}- function Zu(e) {+ function Qu(e) {switch (e.tag) {case 0:case 11:case 15:- Xu(e), e.flags & 2048 && wl(9, e, e.return);+ Zu(e), e.flags & 2048 && Tl(9, e, e.return);break;case 3:- Xu(e);+ Zu(e);break;case 12:- Xu(e);+ Zu(e);break;case 22:var t = e.stateNode;- e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Qu(e)) : Xu(e);+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, $u(e)) : Zu(e);break;- default: Xu(e);+ default: Zu(e);}}- function Qu(e) {+ function $u(e) {var t = e.deletions;if (e.flags & 16) {if (t !== null) for (var n = 0; n < t.length; n++) {var r = t[n];- uu = r, $u(r, e);+ du = r, ed(r, e);}- Yu(e);+ Xu(e);}for (e = e.child; e !== null;) {switch (t = e, t.tag) {case 0:case 11:case 15:- wl(8, t, t.return), Qu(t);+ Tl(8, t, t.return), $u(t);break;case 22:- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Qu(t));+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, $u(t));break;- default: Qu(t);+ default: $u(t);}e = e.sibling;}}- function $u(e, t) {- for (; uu !== null;) {- var n = uu;+ function ed(e, t) {+ for (; du !== null;) {+ var n = du;switch (n.tag) {case 0:case 11:case 15:- wl(8, n, t);+ Tl(8, n, t);break;case 23:case 22:@@ -6224,63 +6224,63 @@ var k = /* @__PURE__ */ o(((e) => {r != null && r.refCount++;}break;- case 24: ja(n.memoizedState.cache);+ case 24: Ma(n.memoizedState.cache);}- if (r = n.child, r !== null) r.return = n, uu = r;- else a: for (n = e; uu !== null;) {- r = uu;+ if (r = n.child, r !== null) r.return = n, du = r;+ else a: for (n = e; du !== null;) {+ r = du;var i = r.sibling, a = r.return;- if (xu(r), r === n) {- uu = null;+ if (Su(r), r === n) {+ du = null;break a;}if (i !== null) {- i.return = a, uu = i;+ i.return = a, du = i;break a;}- uu = a;+ du = a;}}}- var ed = {+ var td = {getCacheForType: function(e) {- var t = Ca(ka), n = t.data.get(e);+ var t = wa(Aa), n = t.data.get(e);return n === void 0 && (n = e(), t.data.set(e, n)), n;},cacheSignal: function() {- return Ca(ka).controller.signal;+ return wa(Aa).controller.signal;}- }, td = typeof WeakMap == "function" ? WeakMap : Map, nd = 0, rd = null, id = null, ad = 0, od = 0, sd = null, cd = !1, ld = !1, ud = !1, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = null, yd = null, bd = !1, xd = 0, Sd = 0, Cd = Infinity, wd = null, Td = null, Ed = 0, Dd = null, Od = null, kd = 0, Ad = 0, jd = null, Md = null, W = null, Nd = null, Pd = null, Fd = 0, Id = null;- function Ld() {- return nd & 2 && ad !== 0 ? ad & -ad : he.T === null ? xt() : Vf();- }+ }, nd = typeof WeakMap == "function" ? WeakMap : Map, rd = 0, id = null, ad = null, od = 0, sd = 0, cd = null, ld = !1, ud = !1, dd = !1, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = 0, yd = null, bd = null, xd = !1, Sd = 0, Cd = 0, wd = Infinity, Td = null, Ed = null, Dd = 0, Od = null, kd = null, Ad = 0, jd = 0, Md = null, Nd = null, U = null, Pd = null, Fd = null, Id = 0, Ld = null;function Rd() {- if (gd === 0) {- if (!(ad & 536870912) || na) {- var e = at;- at <<= 1, !(at & 3932160) && (at = 262144), gd = e;- } else gd = 536870912;+ return rd & 2 && od !== 0 ? od & -od : he.T === null ? St() : Hf();+ }+ function zd() {+ if (_d === 0) {+ if (!(od & 536870912) || ra) {+ var e = ot;+ ot <<= 1, !(ot & 3932160) && (ot = 262144), _d = e;+ } else _d = 536870912;}- return e = ko.current, e !== null && (e.flags |= 32), gd;+ return e = Ao.current, e !== null && (e.flags |= 32), _d;}- function zd(e, t) {+ function Bd(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Up(mi(e.memoizedProps, n))), Nd === null && (Nd = []), Nd.push(t.bind(null, r));+ r === null && (r = n.ref = Wp(hi(e.memoizedProps, n))), Pd === null && (Pd = []), Pd.push(t.bind(null, r));}}- function Bd(e, t, n) {- (e === rd && (od === 2 || od === 9) || e.cancelPendingCommit !== null) && (qd(e, 0), Wd(e, ad, gd, !1)), mt(e, n), nd & 2 && e === rd || (e === rd && (!(nd & 2) && (md |= n), fd === 4 && Wd(e, ad, gd, !1)), Nf(e));- }function Vd(e, t, n) {- if (nd & 6) throw Error(i(327));- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || lt(e, t), a = r ? tf(e, t) : $d(e, t, !0), o = r;+ (e === id && (sd === 2 || sd === 9) || e.cancelPendingCommit !== null) && (Jd(e, 0), Gd(e, od, _d, !1)), ht(e, n), rd & 2 && e === id || (e === id && (!(rd & 2) && (hd |= n), pd === 4 && Gd(e, od, _d, !1)), Pf(e));+ }+ function Hd(e, t, n) {+ if (rd & 6) throw Error(i(327));+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ut(e, t), a = r ? nf(e, t) : ef(e, t, !0), o = r;do {if (a === 0) {- ld && !r && Wd(e, t, 0, !1);+ ud && !r && Gd(e, t, 0, !1);break;}- if (n = e.current.alternate, o && !Ud(n)) a = $d(e, t, !1), o = !1;+ if (n = e.current.alternate, o && !Wd(n)) a = ef(e, t, !1), o = !1;else {if (a === 2) {if (o = t, e.errorRecoveryDisabledLanes & o) var s = 0;@@ -6289,14 +6289,14 @@ var k = /* @__PURE__ */ o(((e) => {t = s;a: {var c = e;- a = vd;+ a = yd;var l = c.current.memoizedState.isDehydrated;- if (l && (qd(c, s).flags |= 256), s = $d(c, s, !1), s !== 2 && s !== 6) {- if (ud && !l) {- c.errorRecoveryDisabledLanes |= o, md |= o, a = 4;+ if (l && (Jd(c, s).flags |= 256), s = ef(c, s, !1), s !== 2 && s !== 6) {+ if (dd && !l) {+ c.errorRecoveryDisabledLanes |= o, hd |= o, a = 4;break a;}- o = yd, yd = a, o !== null && (yd === null ? yd = o : yd.push.apply(yd, o));+ o = bd, bd = a, o !== null && (bd === null ? bd = o : bd.push.apply(bd, o));}a = s;}@@ -6304,7 +6304,7 @@ var k = /* @__PURE__ */ o(((e) => {}}if (a === 1) {- qd(e, 0), Wd(e, t, 0, !0);+ Jd(e, 0), Gd(e, t, 0, !0);break;}a: {@@ -6313,28 +6313,28 @@ var k = /* @__PURE__ */ o(((e) => {case 1: throw Error(i(345));case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;case 6:- Wd(r, t, gd, !cd);+ Gd(r, t, _d, !ld);break a;case 2:- yd = null;+ bd = null;break;case 3:case 5: break;default: throw Error(i(329));}- if ((t & 62914560) === t && (a = xd + 300 - He(), 10 < a)) {- if (Wd(r, t, gd, !cd), ct(r, 0, !0) !== 0) break a;- kd = t, r.timeoutHandle = Tp(Hd.bind(null, r, n, yd, wd, bd, t, gd, md, _d, cd, o, "Throttled", -0, 0), a);+ if ((t & 62914560) === t && (a = Sd + 300 - Ue(), 10 < a)) {+ if (Gd(r, t, _d, !ld), lt(r, 0, !0) !== 0) break a;+ Ad = t, r.timeoutHandle = Ep(Ud.bind(null, r, n, bd, Td, xd, t, _d, hd, vd, ld, o, "Throttled", -0, 0), a);break a;}- Hd(r, n, yd, wd, bd, t, gd, md, _d, cd, o, null, -0, 0);+ Ud(r, n, bd, Td, xd, t, _d, hd, vd, ld, o, null, -0, 0);}break;}} while (1);- Nf(e);+ Pf(e);}- function Hd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {+ function Ud(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {e.timeoutHandle = -1;var m = t.subtreeFlags, h = (a & 335544064) === a;d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {@@ -6345,17 +6345,17 @@ var k = /* @__PURE__ */ o(((e) => {suspenseyImages: [],waitingForImages: !0,waitingForViewTransition: !1,- unsuspend: vn- }, 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(lf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Wd(e, a, o, !l)) : lf(e, t, a, n, r, i, o, s, c, l, u, d);+ unsuspend: yn+ }, Ul = null, Yu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = fh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? Sd - Ue() : (a & 4194048) === a ? Cd - Ue() : 0, m = uh(d, m), m !== null) ? (Ad = 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 Ud(e) {+ function Wd(e) {for (var t = e;;) {var n = t.tag;if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {var i = n[r], a = i.getSnapshot;i = i.value;try {- if (!Rr(a(), i)) return !1;+ if (!zr(a(), i)) return !1;} catch {return !1;}@@ -6372,281 +6372,281 @@ var k = /* @__PURE__ */ o(((e) => {}return !0;}- function Wd(e, t, n, r) {- t = ut(e, t), t &= ~hd, t &= ~md, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;+ function Gd(e, t, n, r) {+ t = dt(e, t), t &= ~gd, t &= ~hd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;for (var i = t; 0 < i;) {- var a = 31 - et(i), o = 1 << a;+ var a = 31 - tt(i), o = 1 << a;r[a] = -1, i &= ~o;}- n !== 0 && gt(e, n, t);- }- function Gd() {- return nd & 6 ? !0 : (Pf(0, !1), !1);+ n !== 0 && _t(e, n, t);}function Kd() {- if (id !== null) {- if (od === 0) var e = id.return;- else e = id, ha = ma = null, as(e), ro = null, io = 0, e = id;- for (; e !== null;) Sl(e.alternate, e), e = e.return;- id = null;- }+ return rd & 6 ? !0 : (Ff(0, !1), !1);}- function qd(e, t) {- var n = e.timeoutHandle;- return n !== -1 && (e.timeoutHandle = -1, Ep(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), kd = 0, Kd(), rd = e, id = n = ji(e.current, null), ad = t, od = 0, sd = null, cd = !1, ld = lt(e, t), ud = !1, _d = gd = hd = md = pd = fd = 0, yd = vd = null, bd = !1, dd = ut(e, t), xi(), n;+ function qd() {+ if (ad !== null) {+ if (sd === 0) var e = ad.return;+ else e = ad, ga = ha = null, os(e), io = null, ao = 0, e = ad;+ for (; e !== null;) Cl(e.alternate, e), e = e.return;+ ad = null;+ }}function Jd(e, t) {- Vo = null, he.H = hc, t === qa || t === Ya ? (t = to(), od = 3) : t === Ja ? (t = to(), od = 4) : od = t === Nc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, sd = t, id === null && (fd = 1, Dc(e, zi(t, e.current)));+ var n = e.timeoutHandle;+ return n !== -1 && (e.timeoutHandle = -1, Dp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Ad = 0, qd(), id = e, ad = n = Mi(e.current, null), od = t, sd = 0, cd = null, ld = !1, ud = ut(e, t), dd = !1, vd = _d = gd = hd = md = pd = 0, bd = yd = null, xd = !1, fd = dt(e, t), Si(), n;}- function Yd() {- var e = ko.current;- return e === null ? !0 : (ad & 4194048) === ad ? Ao === null : (ad & 62914560) === ad || ad & 536870912 ? e === Ao : !1;+ function Yd(e, t) {+ Ho = null, he.H = gc, t === Ja || t === Xa ? (t = no(), sd = 3) : t === Ya ? (t = no(), sd = 4) : sd = t === Pc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, cd = t, ad === null && (pd = 1, Oc(e, Bi(t, e.current)));}function Xd() {- var e = he.H;- return he.H = hc, e === null ? hc : e;+ var e = Ao.current;+ return e === null ? !0 : (od & 4194048) === od ? jo === null : (od & 62914560) === od || od & 536870912 ? e === jo : !1;}function Zd() {- var e = he.A;- return he.A = ed, e;+ var e = he.H;+ return he.H = gc, e === null ? gc : e;}function Qd() {- fd = 4, cd || (ad & 4194048) !== ad && ko.current !== null || (ld = !0), !(pd & 134217727) && !(md & 134217727) || rd === null || Wd(rd, ad, gd, !1);- }- function $d(e, t, n) {- var r = nd;- nd |= 2;- var i = Xd(), a = Zd();- (rd !== e || ad !== t) && (wd = null, qd(e, t)), t = !1;- var o = fd;+ var e = he.A;+ return he.A = td, e;+ }+ function $d() {+ pd = 4, ld || (od & 4194048) !== od && Ao.current !== null || (ud = !0), !(md & 134217727) && !(hd & 134217727) || id === null || Gd(id, od, _d, !1);+ }+ function ef(e, t, n) {+ var r = rd;+ rd |= 2;+ var i = Zd(), a = Qd();+ (id !== e || od !== t) && (Td = null, Jd(e, t)), t = !1;+ var o = pd;a: dotry {- if (od !== 0 && id !== null) {- var s = id, c = sd;- switch (od) {+ if (sd !== 0 && ad !== null) {+ var s = ad, c = cd;+ switch (sd) {case 8:- Kd(), o = 6;+ qd(), o = 6;break a;case 3:case 2:case 9:case 6:- ko.current === null && (t = !0);- var l = od;- if (od = 0, sd = null, of(e, s, c, l), n && ld) {+ Ao.current === null && (t = !0);+ var l = sd;+ if (sd = 0, cd = null, sf(e, s, c, l), n && ud) {o = 0;break a;}break;- default: l = od, od = 0, sd = null, of(e, s, c, l);+ default: l = sd, sd = 0, cd = null, sf(e, s, c, l);}}- ef(), o = fd;+ tf(), o = pd;break;} catch (t) {- Jd(e, t);+ Yd(e, t);}while (1);- return t && e.shellSuspendCounter++, ha = ma = null, nd = r, he.H = i, he.A = a, id === null && (rd = null, ad = 0, xi()), o;+ return t && e.shellSuspendCounter++, ga = ha = null, rd = r, he.H = i, he.A = a, ad === null && (id = null, od = 0, Si()), o;}- function ef() {- for (; id !== null;) rf(id);+ function tf() {+ for (; ad !== null;) af(ad);}- function tf(e, t) {- var n = nd;- nd |= 2;- var r = Xd(), a = Zd();- rd !== e || ad !== t ? (wd = null, Cd = He() + 500, qd(e, t)) : ld = lt(e, t);+ function nf(e, t) {+ var n = rd;+ rd |= 2;+ var r = Zd(), a = Qd();+ id !== e || od !== t ? (Td = null, wd = Ue() + 500, Jd(e, t)) : ud = ut(e, t);a: dotry {- if (od !== 0 && id !== null) {- t = id;- var o = sd;- b: switch (od) {+ if (sd !== 0 && ad !== null) {+ t = ad;+ var o = cd;+ b: switch (sd) {case 1:- od = 0, sd = null, of(e, t, o, 1);+ sd = 0, cd = null, sf(e, t, o, 1);break;case 2:case 9:- if (Za(o)) {- od = 0, sd = null, af(t);+ if (Qa(o)) {+ sd = 0, cd = null, of(t);break;}t = function() {- od !== 2 && od !== 9 || rd !== e || (od = 7), Nf(e);+ sd !== 2 && sd !== 9 || id !== e || (sd = 7), Pf(e);}, o.then(t, t);break a;case 3:- od = 7;+ sd = 7;break a;case 4:- od = 5;+ sd = 5;break a;case 7:- Za(o) ? (od = 0, sd = null, af(t)) : (od = 0, sd = null, of(e, t, o, 7));+ Qa(o) ? (sd = 0, cd = null, of(t)) : (sd = 0, cd = null, sf(e, t, o, 7));break;case 5:var s = null;- switch (id.tag) {- case 26: s = id.memoizedState;+ switch (ad.tag) {+ case 26: s = ad.memoizedState;case 5:case 27:- var c = id;- if (s ? ih(s) : c.stateNode.complete) {- od = 0, sd = null;+ var c = ad;+ if (s ? ah(s) : c.stateNode.complete) {+ sd = 0, cd = null;var l = c.sibling;- if (l !== null) id = l;+ if (l !== null) ad = l;else {var u = c.return;- u === null ? id = null : (id = u, sf(u));+ u === null ? ad = null : (ad = u, cf(u));}break b;}}- od = 0, sd = null, of(e, t, o, 5);+ sd = 0, cd = null, sf(e, t, o, 5);break;case 6:- od = 0, sd = null, of(e, t, o, 6);+ sd = 0, cd = null, sf(e, t, o, 6);break;case 8:- Kd(), fd = 6;+ qd(), pd = 6;break a;default: throw Error(i(462));}}- nf();+ rf();break;} catch (t) {- Jd(e, t);+ Yd(e, t);}while (1);- return ha = ma = null, he.H = r, he.A = a, nd = n, id === null ? (rd = null, ad = 0, xi(), fd) : 0;+ return ga = ha = null, he.H = r, he.A = a, rd = n, ad === null ? (id = null, od = 0, Si(), pd) : 0;}- function nf() {- for (; id !== null && !Be();) rf(id);- }- function rf(e) {- var t = pl(e.alternate, e, dd);- e.memoizedProps = e.pendingProps, t === null ? sf(e) : id = t;+ function rf() {+ for (; ad !== null && !Ve();) af(ad);}function af(e) {+ var t = ml(e.alternate, e, fd);+ e.memoizedProps = e.pendingProps, t === null ? cf(e) : ad = t;+ }+ function of(e) {var t = e, n = t.alternate;switch (t.tag) {case 15:case 0:- t = qc(n, t, t.pendingProps, t.type, void 0, ad);+ t = Jc(n, t, t.pendingProps, t.type, void 0, od);break;case 11:- t = qc(n, t, t.pendingProps, t.type.render, t.ref, ad);+ t = Jc(n, t, t.pendingProps, t.type.render, t.ref, od);break;case 5:- as(t);+ os(t);var r = t;- r === ea && (na ? (ca(r), r.tag === 5 && r.stateNode != null && (ta = r.stateNode)) : (ca(r), na = !0));- default: Sl(n, t), t = id = Mi(t, dd), t = pl(n, t, dd);+ r === ta && (ra ? (la(r), r.tag === 5 && r.stateNode != null && (na = r.stateNode)) : (la(r), ra = !0));+ default: Cl(n, t), t = ad = Ni(t, fd), t = ml(n, t, fd);}- e.memoizedProps = e.pendingProps, t === null ? sf(e) : id = t;+ e.memoizedProps = e.pendingProps, t === null ? cf(e) : ad = t;}- function of(e, t, n, r) {- ha = ma = null, as(t), ro = null, io = 0;+ function sf(e, t, n, r) {+ ga = ha = null, os(t), io = null, ao = 0;var i = t.return;try {- if (Mc(e, i, t, n, ad)) {- fd = 1, Dc(e, zi(n, e.current)), id = null;+ if (Nc(e, i, t, n, od)) {+ pd = 1, Oc(e, Bi(n, e.current)), ad = null;return;}} catch (t) {- if (i !== null) throw id = i, t;- fd = 1, Dc(e, zi(n, e.current)), id = null;+ if (i !== null) throw ad = i, t;+ pd = 1, Oc(e, Bi(n, e.current)), ad = null;return;}- t.flags & 32768 ? (na || r === 1 ? e = !0 : ld || ad & 536870912 ? e = !1 : (cd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = ko.current, r !== null && r.tag === 13 && (r.flags |= 16384))), cf(t, e)) : sf(t);+ t.flags & 32768 ? (ra || r === 1 ? e = !0 : ud || od & 536870912 ? e = !1 : (ld = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Ao.current, r !== null && r.tag === 13 && (r.flags |= 16384))), lf(t, e)) : cf(t);}- function sf(e) {+ function cf(e) {var t = e;do {if (t.flags & 32768) {- cf(t, cd);+ lf(t, ld);return;}e = t.return;- var n = bl(t.alternate, t, dd);+ var n = xl(t.alternate, t, fd);if (n !== null) {- id = n;+ ad = n;return;}if (t = t.sibling, t !== null) {- id = t;+ ad = t;return;}- id = t = e;+ ad = t = e;} while (t !== null);- fd === 0 && (fd = 5);+ pd === 0 && (pd = 5);}- function cf(e, t) {+ function lf(e, t) {do {- var n = xl(e.alternate, e);+ var n = Sl(e.alternate, e);if (n !== null) {- n.flags &= 32767, id = n;+ n.flags &= 32767, ad = n;return;}if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {- id = e;+ ad = e;return;}- id = e = n;+ ad = e = n;} while (e !== null);- fd = 6, id = null;+ pd = 6, ad = null;}- function lf(e, t, n, r, a, o, s, c, l, u, d, f) {+ function uf(e, t, n, r, a, o, s, c, l, u, d, f) {e.cancelPendingCommit = null;do- _f();- while (Ed !== 0);- if (nd & 6) throw Error(i(327));+ vf();+ while (Dd !== 0);+ if (rd & 6) throw Error(i(327));if (t !== null) {if (t === e.current) throw Error(i(177));- e === rd && (id = rd = null, ad = 0), Od = t, Dd = e, kd = n, jd = a, Md = r, uf(e, t, n, s, c, l, f);+ e === id && (ad = id = null, od = 0), kd = t, Od = e, Ad = n, Md = a, Nd = r, df(e, t, n, s, c, l, f);}}- function uf(e, t, n, r, i, a, o) {+ function df(e, t, n, r, i, a, o) {var s = t.lanes | t.childLanes;- if (Ad = s, s |= bi, ht(e, n, s, r, i, a), Nd = null, (n & 335544064) === n ? (Pd = Pa(e), r = 10262) : (Pd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Ef(Ke, function() {- return vf(), null;- })) : (e.callbackNode = null, e.callbackPriority = 0), Vl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {- r = he.T, he.T = null, i = I.p, I.p = 2, a = nd, nd |= 4;+ if (jd = s, s |= xi, gt(e, n, s, r, i, a), Pd = null, (n & 335544064) === n ? (Fd = Fa(e), r = 10262) : (Fd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Df(qe, function() {+ return yf(), null;+ })) : (e.callbackNode = null, e.callbackPriority = 0), Hl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {+ r = he.T, he.T = null, i = ge.p, ge.p = 2, a = rd, rd |= 4;try {- hu(e, t, n);+ gu(e, t, n);} finally {- nd = a, I.p = i, he.T = r;+ rd = a, ge.p = i, he.T = r;}}- Ed = 1, Vl ? W = Vp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());+ Dd = 1, Hl ? U = Hp(o, e.containerInfo, Fd, mf, hf, pf, gf, yf, ff, null, null) : (mf(), hf(), gf());}- function df(e) {- if (Ed !== 0) {- var t = Dd.onRecoverableError;+ function ff(e) {+ if (Dd !== 0) {+ var t = Od.onRecoverableError;t(e, { componentStack: null });}}- function ff() {- Ed === 3 && (Ed = 0, Iu(Od, Dd), Ed = 4);- }function pf() {- if (Ed === 1) {- Ed = 0;- var e = Dd, t = Od, n = kd, r = !!(t.flags & 13878);+ Dd === 3 && (Dd = 0, Lu(kd, Od), Dd = 4);+ }+ function mf() {+ if (Dd === 1) {+ Dd = 0;+ var e = Od, t = kd, n = Ad, r = !!(t.flags & 13878);if (t.subtreeFlags & 13878 || r) {r = he.T, he.T = null;- var i = I.p;- I.p = 2;- var a = nd;- nd |= 4;+ var i = ge.p;+ ge.p = 2;+ var a = rd;+ rd |= 4;try {- fu = pu = !1, Mu(t, e, n), n = _p;- var o = Wr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;- if (o !== s && s && s.ownerDocument && Ur(s.ownerDocument.documentElement, s)) {- if (c !== null && Gr(s)) {+ pu = mu = !1, Nu(t, e, n), n = vp;+ var o = Gr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;+ if (o !== s && s && s.ownerDocument && Wr(s.ownerDocument.documentElement, s)) {+ if (c !== null && Kr(s)) {var l = c.start, u = c.end;if (u === void 0 && (u = l), "selectionStart" in s) s.selectionStart = l, s.selectionEnd = Math.min(u, s.value.length);else {@@ -6654,7 +6654,7 @@ var k = /* @__PURE__ */ o(((e) => {if (f.getSelection) {var p = f.getSelection(), m = s.textContent.length, h = Math.min(c.start, m), g = c.end === void 0 ? h : Math.min(c.end, m);!p.extend && h > g && (o = g, g = h, h = o);- var _ = Hr(s, h), v = Hr(s, g);+ var _ = Ur(s, h), v = Ur(s, g);if (_ && v && (p.rangeCount !== 1 || p.anchorNode !== _.node || p.anchorOffset !== _.offset || p.focusNode !== v.node || p.focusOffset !== v.offset)) {var y = d.createRange();y.setStart(_.node, _.offset), p.removeAllRanges(), h > g ? (p.addRange(y), p.extend(v.node, v.offset)) : (y.setEnd(v.node, v.offset), p.addRange(y));@@ -6672,122 +6672,122 @@ var k = /* @__PURE__ */ o(((e) => {b.element.scrollLeft = b.left, b.element.scrollTop = b.top;}}- Th = !!gp, _p = gp = null;+ Eh = !!_p, vp = _p = null;} finally {- nd = a, I.p = i, he.T = r;+ rd = a, ge.p = i, he.T = r;}}- e.current = t, Ed = 2;+ e.current = t, Dd = 2;}}- function mf() {- if (Ed === 2) {- Ed = 0;- var e = Dd, t = Od, n = !!(t.flags & 8772);+ function hf() {+ if (Dd === 2) {+ Dd = 0;+ var e = Od, t = kd, n = !!(t.flags & 8772);if (t.subtreeFlags & 8772 || n) {n = he.T, he.T = null;- var r = I.p;- I.p = 2;- var i = nd;- nd |= 4;+ var r = ge.p;+ ge.p = 2;+ var i = rd;+ rd |= 4;try {- _u(e, t.alternate, t);+ vu(e, t.alternate, t);} finally {- nd = i, I.p = r, he.T = n;+ rd = i, ge.p = r, he.T = n;}}- Ed = 3;+ Dd = 3;}}- function hf() {- if (Ed === 4 || Ed === 3) {- Ed = 0;- var e = W;- W = null, Ve();- var t = Dd, n = Od, r = kd, i = Md, a = (r & 335544064) === r ? 10262 : 10256;- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Ed = 5 : (Ed = 0, Od = Dd = null, gf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Td = null), bt(r), n = n.stateNode, Qe && typeof Qe.onCommitFiberRoot == "function") try {- Qe.onCommitFiberRoot(Ze, n, void 0, (n.current.flags & 128) == 128);+ function gf() {+ if (Dd === 4 || Dd === 3) {+ Dd = 0;+ var e = U;+ U = null, He();+ var t = Od, n = kd, r = Ad, i = Nd, a = (r & 335544064) === r ? 10262 : 10256;+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Dd = 5 : (Dd = 0, kd = Od = null, _f(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Ed = null), xt(r), n = n.stateNode, $e && typeof $e.onCommitFiberRoot == "function") try {+ $e.onCommitFiberRoot(Qe, n, void 0, (n.current.flags & 128) == 128);} catch {}if (i !== null) {- n = he.T, a = I.p, I.p = 2, he.T = null;+ n = he.T, a = ge.p, ge.p = 2, he.T = null;try {for (var o = t.onRecoverableError, s = 0; s < i.length; s++) {var c = i[s];o(c.value, { componentStack: c.stack });}} finally {- he.T = n, I.p = a;+ he.T = n, ge.p = a;}}- if (i = Nd, o = Pd, Pd = null, i !== null && (Nd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);- kd & 3 && _f(), Nf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Id ? Fd++ : (Fd = 0, Id = t) : (Fd = 0, Id = null), Pf(0, !1);+ if (i = Pd, o = Fd, Fd = null, i !== null && (Pd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);+ Ad & 3 && vf(), Pf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Ld ? Id++ : (Id = 0, Ld = t) : (Id = 0, Ld = null), Ff(0, !1);}}- function gf(e, t) {- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ja(t)));- }- function _f() {- return W !== null && (W.skipTransition(), W = null), pf(), mf(), hf(), vf();+ function _f(e, t) {+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Ma(t)));}function vf() {- if (Ed !== 5) return !1;- var e = Dd, t = Ad;- Ad = 0;- var n = bt(kd), r = he.T, a = I.p;+ return U !== null && (U.skipTransition(), U = null), mf(), hf(), gf(), yf();+ }+ function yf() {+ if (Dd !== 5) return !1;+ var e = Od, t = jd;+ jd = 0;+ var n = xt(Ad), r = he.T, a = ge.p;try {- I.p = 32 > n ? 32 : n, he.T = null, n = jd, jd = null;- var o = Dd, s = kd;- if (Ed = 0, Od = Dd = null, kd = 0, nd & 6) throw Error(i(331));- var c = nd;- if (nd |= 4, Zu(o.current), Uu(o, o.current, s, n), nd = c, Pf(0, !1), Qe && typeof Qe.onPostCommitFiberRoot == "function") try {- Qe.onPostCommitFiberRoot(Ze, o);+ ge.p = 32 > n ? 32 : n, he.T = null, n = Md, Md = null;+ var o = Od, s = Ad;+ if (Dd = 0, kd = Od = null, Ad = 0, rd & 6) throw Error(i(331));+ var c = rd;+ if (rd |= 4, Qu(o.current), Wu(o, o.current, s, n), rd = c, Ff(0, !1), $e && typeof $e.onPostCommitFiberRoot == "function") try {+ $e.onPostCommitFiberRoot(Qe, o);} catch {}return !0;} finally {- I.p = a, he.T = r, gf(e, t);+ ge.p = a, he.T = r, _f(e, t);}}- function yf(e, t, n) {- t = zi(n, t), t = kc(e.stateNode, t, 2), e = go(e, t, 2), e !== null && (mt(e, 2), Nf(e));- }function bf(e, t, n) {- if (e.tag === 3) yf(e, e, n);+ t = Bi(n, t), t = Ac(e.stateNode, t, 2), e = _o(e, t, 2), e !== null && (ht(e, 2), Pf(e));+ }+ function xf(e, t, n) {+ if (e.tag === 3) bf(e, e, n);else for (; t !== null;) {if (t.tag === 3) {- yf(t, e, n);+ bf(t, e, n);break;}if (t.tag === 1) {var r = t.stateNode;- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Td === null || !Td.has(r))) {- e = zi(n, e), n = Ac(2), r = go(t, n, 2), r !== null && (jc(n, r, t, e), mt(r, 2), Nf(r));+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Ed === null || !Ed.has(r))) {+ e = Bi(n, e), n = jc(2), r = _o(t, n, 2), r !== null && (Mc(n, r, t, e), ht(r, 2), Pf(r));break;}}t = t.return;}}- function xf(e, t, n) {+ function Sf(e, t, n) {var r = e.pingCache;if (r === null) {- r = e.pingCache = new td();+ r = e.pingCache = new nd();var i = /* @__PURE__ */ new Set();r.set(t, i);} else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));- i.has(n) || (ud = !0, i.add(n), e = Sf.bind(null, e, t, n), t.then(e, e));+ i.has(n) || (dd = !0, i.add(n), e = Cf.bind(null, e, t, n), t.then(e, e));}- function Sf(e, t, n) {+ function Cf(e, t, n) {var r = e.pingCache;- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, rd === e && (ad & n) === n && (fd === 4 || fd === 3 && (ad & 62914560) === ad && 300 > He() - xd ? nd & 2 ? hd |= n : qd(e, 0) : hd |= n, _d === ad && (_d = 0)), Nf(e);+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, id === e && (od & n) === n && (pd === 4 || pd === 3 && (od & 62914560) === od && 300 > Ue() - Sd ? rd & 2 ? gd |= n : Jd(e, 0) : gd |= n, vd === od && (vd = 0)), Pf(e);}- function Cf(e, t) {- t === 0 && (t = ft()), e = wi(e, t), e !== null && (mt(e, t), Nf(e));+ function wf(e, t) {+ t === 0 && (t = pt()), e = Ti(e, t), e !== null && (ht(e, t), Pf(e));}- function wf(e) {+ function Tf(e) {var t = e.memoizedState, n = 0;- t !== null && (n = t.retryLane), Cf(e, n);+ t !== null && (n = t.retryLane), wf(e, n);}- function Tf(e, t) {+ function Ef(e, t) {var n = 0;switch (e.tag) {case 31:@@ -6803,122 +6803,122 @@ var k = /* @__PURE__ */ o(((e) => {break;default: throw Error(i(314));}- r !== null && r.delete(t), Cf(e, n);+ r !== null && r.delete(t), wf(e, n);}- function Ef(e, t) {- return Re(e, t);+ function Df(e, t) {+ return ze(e, t);}- var Df = null, Of = null, kf = !1, Af = !1, jf = !1, Mf = 0;- function Nf(e) {- e !== Of && e.next === null && (Of === null ? Df = Of = e : Of = Of.next = e), Af = !0, kf || (kf = !0, Bf());+ var Of = null, kf = null, Af = !1, jf = !1, Mf = !1, Nf = 0;+ function Pf(e) {+ e !== kf && e.next === null && (kf === null ? Of = kf = e : kf = kf.next = e), jf = !0, Af || (Af = !0, Vf());}- function Pf(e, t) {- if (!jf && Af) {- jf = !0;+ function Ff(e, t) {+ if (!Mf && jf) {+ Mf = !0;do- for (var n = !1, r = Df; r !== null;) {+ for (var n = !1, r = Of; r !== null;) {if (!t) {if (e !== 0) {var i = r.pendingLanes;if (i === 0) var a = 0;else {var o = r.suspendedLanes, s = r.pingedLanes;- a = (1 << 31 - et(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;+ a = (1 << 31 - tt(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;}- a !== 0 && (n = !0, zf(r, a));- } else a = ad, a = ct(r, r === rd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || lt(r, a) || (n = !0, zf(r, a));+ a !== 0 && (n = !0, Bf(r, a));+ } else a = od, a = lt(r, r === id ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ut(r, a) || (n = !0, Bf(r, a));}r = r.next;}while (n);- jf = !1;+ Mf = !1;}}- function Ff() {- If();- }function If() {- Af = kf = !1;+ Lf();+ }+ function Lf() {+ jf = Af = !1;var e = 0;- Mf !== 0 && wp() && (e = Mf);- for (var t = He(), n = null, r = Df; r !== null;) {- var i = r.next, a = Lf(r, t);- a === 0 ? (r.next = null, n === null ? Df = i : n.next = i, i === null && (Of = n)) : (n = r, (e !== 0 || a & 3) && (Af = !0)), r = i;+ Nf !== 0 && Tp() && (e = Nf);+ for (var t = Ue(), n = null, r = Of; r !== null;) {+ var i = r.next, a = Rf(r, t);+ a === 0 ? (r.next = null, n === null ? Of = i : n.next = i, i === null && (kf = n)) : (n = r, (e !== 0 || a & 3) && (jf = !0)), r = i;}- Ed !== 0 && Ed !== 5 || Pf(e, !1), Mf !== 0 && (Mf = 0);+ Dd !== 0 && Dd !== 5 || Ff(e, !1), Nf !== 0 && (Nf = 0);}- function Lf(e, t) {+ function Rf(e, t) {for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {- var o = 31 - et(a), s = 1 << o, c = i[o];- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = dt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;+ var o = 31 - tt(a), s = 1 << o, c = i[o];+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ft(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;}- if (t = rd, n = ad, n = ct(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (od === 2 || od === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && ze(r), e.callbackNode = null, e.callbackPriority = 0;- if (!(n & 3) || lt(e, n)) {+ if (t = id, n = od, n = lt(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (sd === 2 || sd === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Be(r), e.callbackNode = null, e.callbackPriority = 0;+ if (!(n & 3) || ut(e, n)) {if (t = n & -n, t === e.callbackPriority) return t;- switch (r !== null && ze(r), bt(n)) {+ switch (r !== null && Be(r), xt(n)) {case 2:case 8:- n = Ge;+ n = Ke;break;case 32:- n = Ke;+ n = qe;break;case 268435456:- n = Je;+ n = Ye;break;- default: n = Ke;+ default: n = qe;}- return r = Rf.bind(null, e), n = Re(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ return r = zf.bind(null, e), n = ze(n, r), e.callbackPriority = t, e.callbackNode = n, t;}- return r !== null && r !== null && ze(r), e.callbackPriority = 2, e.callbackNode = null, 2;+ return r !== null && r !== null && Be(r), e.callbackPriority = 2, e.callbackNode = null, 2;}- function Rf(e, t) {- if (Ed !== 0 && Ed !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;+ function zf(e, t) {+ if (Dd !== 0 && Dd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;var n = e.callbackNode;- if (_f() && e.callbackNode !== n) return null;- var r = ad;- return r = ct(e, e === rd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Vd(e, r, t), Lf(e, He()), e.callbackNode != null && e.callbackNode === n ? Rf.bind(null, e) : null);+ if (vf() && e.callbackNode !== n) return null;+ var r = od;+ return r = lt(e, e === id ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Hd(e, r, t), Rf(e, Ue()), e.callbackNode != null && e.callbackNode === n ? zf.bind(null, e) : null);}- function zf(e, t) {- if (_f()) return null;- Vd(e, t, !0);+ function Bf(e, t) {+ if (vf()) return null;+ Hd(e, t, !0);}- function Bf() {- kp(function() {- nd & 6 ? Re(We, Ff) : If();+ function Vf() {+ Ap(function() {+ rd & 6 ? ze(Ge, If) : Lf();});}- function Vf() {- if (Mf === 0) {- var e = La;- e === 0 && (e = it, it <<= 1, !(it & 261888) && (it = 256)), Mf = e;+ function Hf() {+ if (Nf === 0) {+ var e = Ra;+ e === 0 && (e = at, at <<= 1, !(at & 261888) && (at = 256)), Nf = e;}- return Mf;+ return Nf;}- function Hf(e) {- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : _n(e);+ function Uf(e) {+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : vn(e);}- function Uf(e, t, n, r, i) {+ function Wf(e, t, n, r, i) {if (t === "submit" && n && n.stateNode === i) {- var a = Hf((i[Tt] || null).action), o = r.submitter;- o && (t = (t = o[Tt] || null) ? Hf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));- var s = new zn("action", "action", null, r, i);+ var a = Uf((i[Et] || null).action), o = r.submitter;+ o && (t = (t = o[Et] || null) ? Uf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));+ var s = new Bn("action", "action", null, r, i);e.push({event: s,listeners: [{instance: null,listener: function() {if (r.defaultPrevented) {- if (Mf !== 0) {+ if (Nf !== 0) {var e = new FormData(i, o);- tc(n, {+ nc(n, {pending: !0,data: e,method: i.method,action: a}, null, e);}- } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), tc(n, {+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), nc(n, {pending: !0,data: e,method: i.method,@@ -6930,18 +6930,18 @@ var k = /* @__PURE__ */ o(((e) => {});}}- for (var Wf = 0; Wf < di.length; Wf++) {- var Gf = di[Wf];- fi(Gf.toLowerCase(), "on" + (Gf[0].toUpperCase() + Gf.slice(1)));+ for (var Gf = 0; Gf < fi.length; Gf++) {+ var Kf = fi[Gf];+ pi(Kf.toLowerCase(), "on" + (Kf[0].toUpperCase() + Kf.slice(1)));}- fi(ri, "onAnimationEnd"), fi(ii, "onAnimationIteration"), fi(ai, "onAnimationStart"), fi("dblclick", "onDoubleClick"), fi("focusin", "onFocus"), fi("focusout", "onBlur"), fi(oi, "onTransitionRun"), fi(si, "onTransitionStart"), fi(ci, "onTransitionCancel"), fi(li, "onTransitionEnd"), Ut("onMouseEnter", ["mouseout", "mouseover"]), Ut("onMouseLeave", ["mouseout", "mouseover"]), Ut("onPointerEnter", ["pointerout", "pointerover"]), Ut("onPointerLeave", ["pointerout", "pointerover"]), Ht("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Ht("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Ht("onBeforeInput", [+ pi(ii, "onAnimationEnd"), pi(ai, "onAnimationIteration"), pi(oi, "onAnimationStart"), pi("dblclick", "onDoubleClick"), pi("focusin", "onFocus"), pi("focusout", "onBlur"), pi(si, "onTransitionRun"), pi(ci, "onTransitionStart"), pi(li, "onTransitionCancel"), pi(ui, "onTransitionEnd"), Wt("onMouseEnter", ["mouseout", "mouseover"]), Wt("onMouseLeave", ["mouseout", "mouseover"]), Wt("onPointerEnter", ["pointerout", "pointerover"]), Wt("onPointerLeave", ["pointerout", "pointerover"]), Ut("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Ut("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Ut("onBeforeInput", ["compositionend","keypress","textInput","paste"- ]), Ht("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Ht("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Ht("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));- var Kf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), qf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Kf));- function Jf(e, t) {+ ]), Ut("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Ut("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Ut("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));+ var qf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Jf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(qf));+ function Yf(e, t) {t = !!(t & 4);for (var n = 0; n < e.length; n++) {var r = e[n], i = r.event;@@ -6955,7 +6955,7 @@ var k = /* @__PURE__ */ o(((e) => {try {a(i);} catch (e) {- _i(e);+ vi(e);}i.currentTarget = null, a = c;}@@ -6965,49 +6965,49 @@ var k = /* @__PURE__ */ o(((e) => {try {a(i);} catch (e) {- _i(e);+ vi(e);}i.currentTarget = null, a = c;}}}}- function Yf(e, t) {- var n = t[Dt];- n === void 0 && (n = t[Dt] = /* @__PURE__ */ new Set());+ function Xf(e, t) {+ var n = t[Ot];+ n === void 0 && (n = t[Ot] = /* @__PURE__ */ new Set());var r = e + "__bubble";- n.has(r) || ($f(t, e, 2, !1), n.add(r));+ n.has(r) || (ep(t, e, 2, !1), n.add(r));}- function Xf(e, t, n) {+ function Zf(e, t, n) {var r = 0;- t && (r |= 4), $f(n, e, r, t);+ t && (r |= 4), ep(n, e, r, t);}- var Zf = "_reactListening" + Math.random().toString(36).slice(2);- function Qf(e) {- if (!e[Zf]) {- e[Zf] = !0, Bt.forEach(function(t) {- t !== "selectionchange" && (qf.has(t) || Xf(t, !1, e), Xf(t, !0, e));+ var Qf = "_reactListening" + Math.random().toString(36).slice(2);+ function $f(e) {+ if (!e[Qf]) {+ e[Qf] = !0, Vt.forEach(function(t) {+ t !== "selectionchange" && (Jf.has(t) || Zf(t, !1, e), Zf(t, !0, e));});var t = e.nodeType === 9 ? e : e.ownerDocument;- t === null || t[Zf] || (t[Zf] = !0, Xf("selectionchange", !1, t));+ t === null || t[Qf] || (t[Qf] = !0, Zf("selectionchange", !1, t));}}- function $f(e, t, n, r) {- switch (Mh(t)) {+ function ep(e, t, n, r) {+ switch (Nh(t)) {case 2:- var i = Eh;+ var i = Dh;break;case 8:- i = Dh;+ i = Oh;break;- default: i = Oh;+ default: i = kh;}- n = i.bind(null, t, n, e), i = void 0, !On || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {+ 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,passive: i}) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });}- function ep(e, t, n, r, i) {+ function tp(e, t, n, r, i) {var a = r;if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {if (r === null) return;@@ -7021,7 +7021,7 @@ var k = /* @__PURE__ */ o(((e) => {s = s.return;}for (; c !== null;) {- if (s = Pt(c), s === null) return;+ if (s = Ft(c), s === null) return;if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {r = a = s;continue a;@@ -7031,27 +7031,27 @@ var k = /* @__PURE__ */ o(((e) => {}r = r.return;}- Tn(function() {- var r = a, i = bn(n), s = [];+ En(function() {+ var r = a, i = xn(n), s = [];a: {- var c = ui.get(e);+ var c = di.get(e);if (c !== void 0) {- var l = zn, u = e;+ var l = Bn, u = e;switch (e) {- case "keypress": if (Pn(n) === 0) break a;+ case "keypress": if (Fn(n) === 0) break a;case "keydown":case "keyup":- l = er;+ l = tr;break;case "focusin":- u = "focus", l = Kn;+ u = "focus", l = qn;break;case "focusout":- u = "blur", l = Kn;+ u = "blur", l = qn;break;case "beforeblur":case "afterblur":- l = Kn;+ l = qn;break;case "click": if (n.button === 2) break a;case "auxclick":@@ -7062,7 +7062,7 @@ var k = /* @__PURE__ */ o(((e) => {case "mouseout":case "mouseover":case "contextmenu":- l = V;+ l = B;break;case "drag":case "dragend":@@ -7072,33 +7072,33 @@ var k = /* @__PURE__ */ o(((e) => {case "dragover":case "dragstart":case "drop":- l = Gn;+ l = Kn;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":- l = rr;+ l = ir;break;- case ri:case ii:case ai:- l = qn;+ case oi:+ l = Jn;break;- case li:- l = ir;+ case ui:+ l = ar;break;case "scroll":case "scrollend":- l = Vn;+ l = Hn;break;case "wheel":- l = ar;+ l = or;break;case "copy":case "cut":case "paste":- l = Jn;+ l = Yn;break;case "gotpointercapture":case "lostpointercapture":@@ -7108,19 +7108,19 @@ var k = /* @__PURE__ */ o(((e) => {case "pointerout":case "pointerover":case "pointerup":- l = tr;+ l = nr;break;case "submit":- l = nr;+ l = rr;break;case "toggle":- case "beforetoggle": l = or;+ case "beforetoggle": l = sr;}var d = !!(t & 4), f = !d && (e === "scroll" || e === "scrollend"), p = d ? c === null ? null : c + "Capture" : c;d = [];for (var m = r, h; m !== null;) {var g = m;- if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = En(m, p), g != null && d.push(tp(m, g, h))), f) break;+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Dn(m, p), g != null && d.push(np(m, g, h))), f) break;m = m.return;}0 < d.length && (c = new l(c, u, null, n, i), s.push({@@ -7131,45 +7131,45 @@ var k = /* @__PURE__ */ o(((e) => {}if (!(t & 7)) {a: {- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== yn && (u = n.relatedTarget || n.fromElement) && (Pt(u) || u[Et])) break a;- (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Pt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = V, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = tr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : It(c), h = l == null ? u : It(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Pt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? C(c, l, rp) : null, c !== null && ip(s, u, c, d, !1), l !== null && f !== null && ip(s, f, l, d, !0)));+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== bn && (u = n.relatedTarget || n.fromElement) && (Ft(u) || u[Dt])) break a;+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Ft(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = B, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = nr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Lt(c), h = l == null ? u : Lt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Ft(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? C(c, l, ip) : null, c !== null && ap(s, u, c, d, !1), l !== null && f !== null && ap(s, f, l, d, !0)));}a: {- if (c = r ? It(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Er;- else if (br(c)) {- if (Dr) _ = Ir;+ if (c = r ? Lt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Dr;+ else if (xr(c)) {+ if (Or) _ = Lr;else {- _ = Pr;- var v = Nr;+ _ = Fr;+ var v = Pr;}- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && hn(r.elementType) && (_ = Er) : _ = Fr;+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && gn(r.elementType) && (_ = Dr) : _ = Ir;if (_ &&= _(e, r)) {- xr(s, _, n, i);+ Sr(s, _, n, i);break a;}v && v(e, c, r);}- switch (v = r ? It(r) : window, e) {+ switch (v = r ? Lt(r) : window, e) {case "focusin":- (br(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);+ (xr(v) || v.contentEditable === "true") && (Jr = v, Yr = r, Xr = null);break;case "focusout":- Yr = Jr = qr = null;+ Xr = Yr = Jr = null;break;case "mousedown":- Xr = !0;+ Zr = !0;break;case "contextmenu":case "mouseup":case "dragend":- Xr = !1, Zr(s, n, i);+ Zr = !1, Qr(s, n, i);break;- case "selectionchange": if (Kr) break;+ case "selectionchange": if (qr) break;case "keydown":- case "keyup": Zr(s, n, i);+ case "keyup": Qr(s, n, i);}var y;- if (cr) b: {+ if (lr) b: {switch (e) {case "compositionstart":var b = "onCompositionStart";@@ -7183,83 +7183,83 @@ var k = /* @__PURE__ */ o(((e) => {}b = void 0;}- else gr ? mr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");- b && (dr && n.locale !== "ko" && (gr || b !== "onCompositionStart" ? b === "onCompositionEnd" && gr && (y = Nn()) : (An = i, jn = "value" in An ? An.value : An.textContent, gr = !0)), v = np(r, b), 0 < v.length && (b = new Yn(b, e, null, n, i), s.push({+ else _r ? hr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");+ b && (fr && n.locale !== "ko" && (_r || b !== "onCompositionStart" ? b === "onCompositionEnd" && _r && (y = Pn()) : (jn = i, Mn = "value" in jn ? jn.value : jn.textContent, _r = !0)), v = rp(r, b), 0 < v.length && (b = new Xn(b, e, null, n, i), s.push({event: b,listeners: v- }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = np(r, "onBeforeInput"), 0 < b.length && (v = new Yn("onBeforeInput", "beforeinput", null, n, i), s.push({+ }), y ? b.data = y : (y = gr(n), y !== null && (b.data = y)))), (y = dr ? vr(e, n) : yr(e, n)) && (b = rp(r, "onBeforeInput"), 0 < b.length && (v = new Xn("onBeforeInput", "beforeinput", null, n, i), s.push({event: v,listeners: b- }), v.data = y)), Uf(s, e, r, n, i);+ }), v.data = y)), Wf(s, e, r, n, i);}- Jf(s, t);+ Yf(s, t);});}- function tp(e, t, n) {+ function np(e, t, n) {return {instance: e,listener: t,currentTarget: n};}- function np(e, t) {+ function rp(e, t) {for (var n = t + "Capture", r = []; e !== null;) {var i = e, a = i.stateNode;- if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = En(e, n), i != null && r.unshift(tp(e, i, a)), i = En(e, t), i != null && r.push(tp(e, i, a))), e.tag === 3) return r;+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Dn(e, n), i != null && r.unshift(np(e, i, a)), i = Dn(e, t), i != null && r.push(np(e, i, a))), e.tag === 3) return r;e = e.return;}return [];}- function rp(e) {+ function ip(e) {if (e === null) return null;doe = e.return;while (e && e.tag !== 5 && e.tag !== 27);return e || null;}- function ip(e, t, n, r, i) {+ function ap(e, t, n, r, i) {for (var a = t._reactName, o = []; n !== null && n !== r;) {var s = n, c = s.alternate, l = s.stateNode;if (s = s.tag, c !== null && c === r) break;- s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = En(n, a), l != null && o.unshift(tp(n, l, c))) : i || (l = En(n, a), l != null && o.push(tp(n, l, c)))), n = n.return;+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Dn(n, a), l != null && o.unshift(np(n, l, c))) : i || (l = Dn(n, a), l != null && o.push(np(n, l, c)))), n = n.return;}o.length !== 0 && e.push({event: t,listeners: o});}- var ap = /\r\n?/g, op = /\u0000|\uFFFD/g;- function sp(e) {- return (typeof e == "string" ? e : "" + e).replace(ap, "\n").replace(op, "");+ var op = /\r\n?/g, sp = /\u0000|\uFFFD/g;+ function cp(e) {+ return (typeof e == "string" ? e : "" + e).replace(op, "\n").replace(sp, "");}- function cp(e, t) {- return t = sp(t), sp(e) === t;+ function lp(e, t) {+ return t = cp(t), cp(e) === t;}- function lp(e, t, n, r, a, o) {+ function up(e, t, n, r, a, o) {switch (n) {case "children":- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || dn(e, r);- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && dn(e, "" + r);+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || fn(e, r);+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && fn(e, "" + r);else return;break;case "className":- Zt(e, "class", r);+ Qt(e, "class", r);break;case "tabIndex":- Zt(e, "tabindex", r);+ Qt(e, "tabindex", r);break;case "dir":case "role":case "viewBox":case "width":case "height":- Zt(e, n, r);+ Qt(e, n, r);break;case "style":- mn(e, r, o);+ hn(e, r, o);return;case "data": if (t !== "object") {- Zt(e, "data", r);+ Qt(e, "data", r);break;}case "src":@@ -7268,7 +7268,7 @@ var k = /* @__PURE__ */ o(((e) => {e.removeAttribute(n);break;}- r = _n(r), e.setAttribute(n, r);+ r = vn(r), e.setAttribute(n, r);break;case "action":case "formAction":@@ -7276,20 +7276,20 @@ var k = /* @__PURE__ */ o(((e) => {e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break;}- if (typeof o == "function" && (n === "formAction" ? (t !== "input" && lp(e, t, "name", a.name, a, null), lp(e, t, "formEncType", a.formEncType, a, null), lp(e, t, "formMethod", a.formMethod, a, null), lp(e, t, "formTarget", a.formTarget, a, null)) : (lp(e, t, "encType", a.encType, a, null), lp(e, t, "method", a.method, a, null), lp(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && up(e, t, "name", a.name, a, null), up(e, t, "formEncType", a.formEncType, a, null), up(e, t, "formMethod", a.formMethod, a, null), up(e, t, "formTarget", a.formTarget, a, null)) : (up(e, t, "encType", a.encType, a, null), up(e, t, "method", a.method, a, null), up(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {e.removeAttribute(n);break;}- r = _n(r), e.setAttribute(n, r);+ r = vn(r), e.setAttribute(n, r);break;case "onClick":- r != null && (e.onclick = vn);+ r != null && (e.onclick = yn);return;case "onScroll":- r != null && Yf("scroll", e);+ r != null && Xf("scroll", e);return;case "onScrollEnd":- r != null && Yf("scrollend", e);+ r != null && Xf("scrollend", e);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -7318,7 +7318,7 @@ var k = /* @__PURE__ */ o(((e) => {e.removeAttribute("xlink:href");break;}- n = _n(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);+ n = vn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);break;case "contentEditable":case "spellCheck":@@ -7371,49 +7371,49 @@ var k = /* @__PURE__ */ o(((e) => {r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);break;case "popover":- Yf("beforetoggle", e), Yf("toggle", e), Xt(e, "popover", r);+ Xf("beforetoggle", e), Xf("toggle", e), Zt(e, "popover", r);break;case "xlinkActuate":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);+ $t(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);break;case "xlinkArcrole":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);+ $t(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);break;case "xlinkRole":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);+ $t(e, "http://www.w3.org/1999/xlink", "xlink:role", r);break;case "xlinkShow":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);+ $t(e, "http://www.w3.org/1999/xlink", "xlink:show", r);break;case "xlinkTitle":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);+ $t(e, "http://www.w3.org/1999/xlink", "xlink:title", r);break;case "xlinkType":- Qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);+ $t(e, "http://www.w3.org/1999/xlink", "xlink:type", r);break;case "xmlBase":- Qt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);+ $t(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);break;case "xmlLang":- Qt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);+ $t(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);break;case "xmlSpace":- Qt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);+ $t(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);break;case "is":- Xt(e, "is", r);+ Zt(e, "is", r);break;case "innerText":case "textContent": return;- default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = z.get(n) || n, Xt(e, n, r);+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = R.get(n) || n, Zt(e, n, r);else return;}- Jt = !0;+ Yt = !0;}- function up(e, t, n, r, a, o) {+ function dp(e, t, n, r, a, o) {switch (n) {case "style":- mn(e, r, o);+ hn(e, r, o);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -7425,18 +7425,18 @@ var k = /* @__PURE__ */ o(((e) => {}break;case "children":- if (typeof r == "string") dn(e, r);- else if (typeof r == "number" || typeof r == "bigint") dn(e, "" + r);+ if (typeof r == "string") fn(e, r);+ else if (typeof r == "number" || typeof r == "bigint") fn(e, "" + r);else return;break;case "onScroll":- r != null && Yf("scroll", e);+ r != null && Xf("scroll", e);return;case "onScrollEnd":- r != null && Yf("scrollend", e);+ r != null && Xf("scrollend", e);return;case "onClick":- r != null && (e.onclick = vn);+ r != null && (e.onclick = yn);return;case "suppressContentEditableWarning":case "suppressHydrationWarning":@@ -7445,18 +7445,18 @@ var k = /* @__PURE__ */ o(((e) => {case "innerText":case "textContent": return;default:- if (!Vt.hasOwnProperty(n)) a: {- if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Tt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {+ if (!Ht.hasOwnProperty(n)) a: {+ if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Et] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {typeof t != "function" && t !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(o, r, a);break a;}- Jt = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Xt(e, n, r);+ Yt = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Zt(e, n, r);}return;}- Jt = !0;+ Yt = !0;}- function dp(e, t, n) {+ function fp(e, t, n) {switch (t) {case "div":case "span":@@ -7467,7 +7467,7 @@ var k = /* @__PURE__ */ o(((e) => {case "p":case "li": break;case "img":- Yf("error", e), Yf("load", e);+ Xf("error", e), Xf("load", e);var r = !1, a = !1, o;for (o in n) if (n.hasOwnProperty(o)) {var s = n[o];@@ -7480,13 +7480,13 @@ var k = /* @__PURE__ */ o(((e) => {break;case "children":case "dangerouslySetInnerHTML": throw Error(i(137, t));- default: lp(e, t, o, s, n, null);+ default: up(e, t, o, s, n, null);}}- a && lp(e, t, "srcSet", n.srcSet, n, null), r && lp(e, t, "src", n.src, n, null);+ a && up(e, t, "srcSet", n.srcSet, n, null), r && up(e, t, "src", n.src, n, null);return;case "input":- Yf("invalid", e);+ Xf("invalid", e);var c = o = s = a = null, l = null, u = null;for (r in n) if (n.hasOwnProperty(r)) {var d = n[r];@@ -7513,13 +7513,13 @@ var k = /* @__PURE__ */ o(((e) => {case "dangerouslySetInnerHTML":if (d != null) throw Error(i(137, t));break;- default: lp(e, t, r, d, n, null);+ default: up(e, t, r, d, n, null);}}- on(e, o, c, l, u, s, a, !1);+ sn(e, o, c, l, u, s, a, !1);return;case "select":- for (a in Yf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {+ for (a in Xf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {case "value":o = c;break;@@ -7527,12 +7527,12 @@ var k = /* @__PURE__ */ o(((e) => {s = c;break;case "multiple": r = c;- default: lp(e, t, a, c, n, null);+ default: up(e, t, a, c, n, null);}- t = o, n = s, e.multiple = !!r, t == null ? n != null && cn(e, !!r, n, !0) : cn(e, !!r, t, !1);+ t = o, n = s, e.multiple = !!r, t == null ? n != null && ln(e, !!r, n, !0) : ln(e, !!r, t, !1);return;case "textarea":- for (s in Yf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {+ for (s in Xf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {case "value":r = c;break;@@ -7545,38 +7545,38 @@ var k = /* @__PURE__ */ o(((e) => {case "dangerouslySetInnerHTML":if (c != null) throw Error(i(91));break;- default: lp(e, t, s, c, n, null);+ default: up(e, t, s, c, n, null);}- un(e, r, a, o);+ dn(e, r, a, o);return;case "option":for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {case "selected":e.selected = r && typeof r != "function" && typeof r != "symbol";break;- default: lp(e, t, l, r, n, null);+ default: up(e, t, l, r, n, null);}return;case "dialog":- Yf("beforetoggle", e), Yf("toggle", e), Yf("cancel", e), Yf("close", e);+ Xf("beforetoggle", e), Xf("toggle", e), Xf("cancel", e), Xf("close", e);break;case "iframe":case "object":- Yf("load", e);+ Xf("load", e);break;case "video":case "audio":- for (r = 0; r < Kf.length; r++) Yf(Kf[r], e);+ for (r = 0; r < qf.length; r++) Xf(qf[r], e);break;case "image":- Yf("error", e), Yf("load", e);+ Xf("error", e), Xf("load", e);break;case "details":- Yf("toggle", e);+ Xf("toggle", e);break;case "embed":case "source":- case "link": Yf("error", e), Yf("load", e);+ case "link": Xf("error", e), Xf("load", e);case "area":case "base":case "br":@@ -7591,18 +7591,18 @@ var k = /* @__PURE__ */ o(((e) => {for (u in n) if (n.hasOwnProperty(u) && (r = n[u], r != null)) switch (u) {case "children":case "dangerouslySetInnerHTML": throw Error(i(137, t));- default: lp(e, t, u, r, n, null);+ default: up(e, t, u, r, n, null);}return;- default: if (hn(t)) {- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && up(e, t, d, r, n, void 0));+ default: if (gn(t)) {+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && dp(e, t, d, r, n, void 0));return;}}- for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && lp(e, t, c, r, n, null));+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && up(e, t, c, r, n, null));}- var fp = {};- function pp(e, t, n, r) {+ var pp = {};+ function mp(e, t, n, r) {switch (t) {case "div":case "span":@@ -7620,90 +7620,90 @@ var k = /* @__PURE__ */ o(((e) => {case "checked": break;case "value": break;case "defaultValue": l = f;- default: r.hasOwnProperty(m) || lp(e, t, m, null, r, f);+ default: r.hasOwnProperty(m) || up(e, t, m, null, r, f);}}for (var p in r) {var m = r[p];if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {case "type":- m !== f && (Jt = !0), o = m;+ m !== f && (Yt = !0), o = m;break;case "name":- m !== f && (Jt = !0), a = m;+ m !== f && (Yt = !0), a = m;break;case "checked":- m !== f && (Jt = !0), u = m;+ m !== f && (Yt = !0), u = m;break;case "defaultChecked":- m !== f && (Jt = !0), d = m;+ m !== f && (Yt = !0), d = m;break;case "value":- m !== f && (Jt = !0), s = m;+ m !== f && (Yt = !0), s = m;break;case "defaultValue":- m !== f && (Jt = !0), c = m;+ m !== f && (Yt = !0), c = m;break;case "children":case "dangerouslySetInnerHTML":if (m != null) throw Error(i(137, t));break;- default: m !== f && lp(e, t, p, m, r, f);+ default: m !== f && up(e, t, p, m, r, f);}}- R(e, s, c, l, u, d, o, a);+ L(e, s, c, l, u, d, o, a);return;case "select":for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {case "value": break;case "multiple": m = l;- default: r.hasOwnProperty(o) || lp(e, t, o, null, r, l);+ default: r.hasOwnProperty(o) || up(e, t, o, null, r, l);}for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {case "value":- o !== l && (Jt = !0), p = o;+ o !== l && (Yt = !0), p = o;break;case "defaultValue":- o !== l && (Jt = !0), c = o;+ o !== l && (Yt = !0), c = o;break;- case "multiple": o !== l && (Jt = !0), s = o;- default: o !== l && lp(e, t, a, o, r, l);+ case "multiple": o !== l && (Yt = !0), s = o;+ default: o !== l && up(e, t, a, o, r, l);}- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? cn(e, !!n, n ? [] : "", !1) : cn(e, !!n, t, !0)) : cn(e, !!n, p, !1);+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? ln(e, !!n, n ? [] : "", !1) : ln(e, !!n, t, !0)) : ln(e, !!n, p, !1);return;case "textarea":for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {case "value": break;case "children": break;- default: lp(e, t, c, null, r, a);+ default: up(e, t, c, null, r, a);}for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {case "value":- a !== o && (Jt = !0), p = a;+ a !== o && (Yt = !0), p = a;break;case "defaultValue":- a !== o && (Jt = !0), m = a;+ a !== o && (Yt = !0), m = a;break;case "children": break;case "dangerouslySetInnerHTML":if (a != null) throw Error(i(91));break;- default: a !== o && lp(e, t, s, a, r, o);+ default: a !== o && up(e, t, s, a, r, o);}- ln(e, p, m);+ un(e, p, m);return;case "option":for (var h in n) if (p = n[h], n.hasOwnProperty(h) && p != null && !r.hasOwnProperty(h)) switch (h) {case "selected":e.selected = !1;break;- default: lp(e, t, h, null, r, p);+ default: up(e, t, h, null, r, p);}for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {case "selected":- p !== m && (Jt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";+ p !== m && (Yt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";break;- default: lp(e, t, l, p, r, m);+ default: up(e, t, l, p, r, m);}return;case "img":@@ -7721,25 +7721,25 @@ var k = /* @__PURE__ */ o(((e) => {case "track":case "wbr":case "menuitem":- for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && lp(e, t, g, null, r, p);+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && up(e, t, g, null, r, p);for (u in r) if (p = r[u], m = n[u], r.hasOwnProperty(u) && p !== m && (p != null || m != null)) switch (u) {case "children":case "dangerouslySetInnerHTML":if (p != null) throw Error(i(137, t));break;- default: lp(e, t, u, p, r, m);+ default: up(e, t, u, p, r, m);}return;- default: if (hn(t)) {- for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && up(e, t, _, void 0, r, p);- for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || up(e, t, d, p, r, m);+ default: if (gn(t)) {+ for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && dp(e, t, _, void 0, r, p);+ for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || dp(e, t, d, p, r, m);return;}}- for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && lp(e, t, v, null, r, p);- for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || lp(e, t, f, p, r, m);+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && up(e, t, v, null, r, p);+ for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || up(e, t, f, p, r, m);}- function mp(e) {+ function hp(e) {switch (e) {case "css":case "script":@@ -7751,16 +7751,16 @@ var k = /* @__PURE__ */ o(((e) => {default: return !1;}}- function hp() {+ function gp() {if (typeof performance.getEntriesByType == "function") {for (var e = 0, t = 0, n = performance.getEntriesByType("resource"), r = 0; r < n.length; r++) {var i = n[r], a = i.transferSize, o = i.initiatorType, s = i.duration;- if (a && s && mp(o)) {+ if (a && s && hp(o)) {for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {var c = n[r], l = c.startTime;if (l > s) break;var u = c.transferSize, d = c.initiatorType;- u && mp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));+ u && hp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));}if (--r, t += 8 * (a + o) / (i.duration / 1e3), e++, 10 < e) break;}@@ -7769,18 +7769,18 @@ var k = /* @__PURE__ */ o(((e) => {}return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;}- var gp = null, _p = null;- function vp(e) {+ var _p = null, vp = null;+ function yp(e) {return e.nodeType === 9 ? e : e.ownerDocument;}- function yp(e) {+ function bp(e) {switch (e) {case "http://www.w3.org/2000/svg": return 1;case "http://www.w3.org/1998/Math/MathML": return 2;default: return 0;}}- function bp(e, t) {+ function xp(e, t) {if (e === 0) switch (t) {case "svg": return 1;case "math": return 2;@@ -7788,54 +7788,54 @@ var k = /* @__PURE__ */ o(((e) => {}return e === 1 && t === "foreignObject" ? 0 : e;}- function xp(e, t, n, r) {- return n = vp(n).createElement(e), n[wt] = r, n[Tt] = t, dp(n, e, t), Rt(n), n;+ function Sp(e, t, n, r) {+ return n = yp(n).createElement(e), n[Tt] = r, n[Et] = t, fp(n, e, t), zt(n), n;}- function Sp(e, t) {+ function Cp(e, t) {return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;}- var Cp = null;- function wp() {+ var wp = null;+ function Tp() {var e = window.event;- return e && e.type === "popstate" ? e !== Cp && (Cp = e, !0) : (Cp = null, !1);+ return e && e.type === "popstate" ? e !== wp && (wp = e, !0) : (wp = null, !1);}- var Tp = typeof setTimeout == "function" ? setTimeout : void 0, Ep = typeof clearTimeout == "function" ? clearTimeout : void 0, Dp = typeof Promise == "function" ? Promise : void 0, Op = typeof requestAnimationFrame == "function" ? requestAnimationFrame : Tp, kp = typeof queueMicrotask == "function" ? queueMicrotask : Dp === void 0 ? Tp : function(e) {- return Dp.resolve(null).then(e).catch(Ap);+ var Ep = typeof setTimeout == "function" ? setTimeout : void 0, Dp = typeof clearTimeout == "function" ? clearTimeout : void 0, Op = typeof Promise == "function" ? Promise : void 0, kp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : Ep, Ap = typeof queueMicrotask == "function" ? queueMicrotask : Op === void 0 ? Ep : function(e) {+ return Op.resolve(null).then(e).catch(jp);};- function Ap(e) {+ function jp(e) {setTimeout(function() {throw e;});}- function jp(e) {+ function Mp(e) {return e === "head";}- function Mp(e, t) {+ function Np(e, t) {var n = t, r = 0;do {var i = n.nextSibling;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), Qh(t);return;}r--;} else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;- else if (n === "html") Em(e.ownerDocument.documentElement);+ else if (n === "html") Dm(e.ownerDocument.documentElement);else if (n === "head") {- n = e.ownerDocument.head, Em(n);+ n = e.ownerDocument.head, Dm(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;+ a[Mt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;}- } else n === "body" && Em(e.ownerDocument.body);+ } else n === "body" && Dm(e.ownerDocument.body);}n = i;} while (n);- Zh(t);+ Qh(t);}- function Np(e, t) {+ function Pp(e, t) {var n = e;e = 0;do {@@ -7849,7 +7849,7 @@ var k = /* @__PURE__ */ o(((e) => {n = r;} while (n);}- function Pp(e, t, n) {+ function Fp(e, t, n) {if (t = CSS.escape(t) === t ? t : "r-" + btoa(t).replace(/=/g, ""), e.style.viewTransitionName = t, n != null && (e.style.viewTransitionClass = n), n = getComputedStyle(e), n.display === "inline") {if (t = e.getClientRects(), t.length === 1) var r = 1;else for (var i = r = 0; i < t.length; i++) {@@ -7859,12 +7859,12 @@ var k = /* @__PURE__ */ o(((e) => {r === 1 && (e = e.style, e.display = t.length === 1 ? "inline-block" : "block", e.marginTop = "-" + n.paddingTop, e.marginBottom = "-" + n.paddingBottom);}}- function Fp(e, t) {+ function Ip(e, t) {e = e.style, t = t.style;var n = t == null ? null : t.hasOwnProperty("viewTransitionName") ? t.viewTransitionName : t.hasOwnProperty("view-transition-name") ? t["view-transition-name"] : null;e.viewTransitionName = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), n = t == null ? null : t.hasOwnProperty("viewTransitionClass") ? t.viewTransitionClass : t.hasOwnProperty("view-transition-class") ? t["view-transition-class"] : null, e.viewTransitionClass = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), e.display === "inline-block" && (t == null ? e.display = e.margin = "" : (n = t.display, e.display = n == null || typeof n == "boolean" ? "" : n, n = t.margin, n == null ? (n = t.hasOwnProperty("marginTop") ? t.marginTop : t["margin-top"], e.marginTop = n == null || typeof n == "boolean" ? "" : n, t = t.hasOwnProperty("marginBottom") ? t.marginBottom : t["margin-bottom"], e.marginBottom = t == null || typeof t == "boolean" ? "" : t) : e.margin = n));}- function Ip(e, t, n) {+ function Lp(e, t, n) {return n = n.ownerDocument.defaultView, {rect: e,abs: t.position === "absolute" || t.position === "fixed",@@ -7872,22 +7872,22 @@ var k = /* @__PURE__ */ o(((e) => {view: 0 <= e.bottom && 0 <= e.right && e.top <= n.innerHeight && e.left <= n.innerWidth};}- function Lp(e) {- return Ip(e.getBoundingClientRect(), getComputedStyle(e), e);- }function Rp(e) {+ return Lp(e.getBoundingClientRect(), getComputedStyle(e), e);+ }+ function zp(e) {var t = e.getBoundingClientRect();t = new DOMRect(t.x + 2e4, t.y + 2e4, t.width, t.height);var n = getComputedStyle(e);- return Ip(t, n, e);+ return Lp(t, n, e);}- function zp(e) {+ function Bp(e) {return e.documentElement.clientHeight;}- function Bp(e) {+ function Vp(e) {this.addEventListener("load", e), this.addEventListener("error", e);}- function Vp(e, t, n, r, i, a, o, s, c) {+ function Hp(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" && (zp(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" && (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++) {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 += ah(f), u > ch) {+ if (u += oh(f), u > lh) {s.length = o;break;}- f = new Promise(Bp.bind(f)), s.push(f);+ f = new Promise(Vp.bind(f)), s.push(f);}}}@@ -7959,86 +7959,86 @@ var k = /* @__PURE__ */ o(((e) => {return r(), i(), o(), null;}}- function Hp(e, t) {+ function Up(e, t) {this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";}- Hp.prototype.animate = function(e, t) {+ Up.prototype.animate = function(e, t) {return t = typeof t == "number" ? { duration: t } : w({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);- }, Hp.prototype.getAnimations = function() {+ }, Up.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;- }, Hp.prototype.getComputedStyle = function() {+ }, Up.prototype.getComputedStyle = function() {return getComputedStyle(this._scope, this._selector);};- function Up(e) {+ function Wp(e) {return {name: e,- group: new Hp("group", e),- imagePair: new Hp("image-pair", e),- old: new Hp("old", e),- new: new Hp("new", e)+ group: new Up("group", e),+ imagePair: new Up("image-pair", e),+ old: new Up("old", e),+ new: new Up("new", e)};}- function Wp(e) {+ function Gp(e) {this._fragmentFiber = e, this._observers = this._eventListeners = null;}- Wp.prototype.addEventListener = function(e, t, n) {+ Gp.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 (Yp(a, e, t, n) === -1) {+ if (Xp(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 = qp(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 = Jp(n), a.push({type: e,listener: t,optionsOrUseCapture: n,attachedListener: s,cleanup: i- }), f(this._fragmentFiber.child, !1, Gp, e, s, r);+ }), f(this._fragmentFiber.child, !1, Kp, e, s, r);}this._eventListeners = a;}};- function Gp(e, t, n, r) {+ function Kp(e, t, n, r) {return _(e).addEventListener(t, n, r), !1;}- Wp.prototype.removeEventListener = function(e, t, n) {+ Gp.prototype.removeEventListener = function(e, t, n) {var r = this._eventListeners;- if (r !== null && (t = Yp(r, e, t, n), t !== -1)) {+ if (r !== null && (t = Xp(r, e, t, n), t !== -1)) {var i = r[t];n = i.attachedListener;var a = i.cleanup;- i = qp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Kp, e, n, i), r.splice(t, 1), a !== null && a();+ i = Jp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, qp, e, n, i), r.splice(t, 1), a !== null && a();}};- function Kp(e, t, n, r) {+ function qp(e, t, n, r) {return _(e).removeEventListener(t, n, r), !1;}- function qp(e) {+ function Jp(e) {return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {capture: e.capture,passive: e.passive} : e;}- function Jp(e) {+ function Yp(e) {return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");}- function Yp(e, t, n, r) {+ function Xp(e, t, n, r) {if (e.length === 0) return -1;- r = Jp(r);+ r = Yp(r);for (var i = 0; i < e.length; i++) {var a = e[i];- if (a.type === t && a.listener === n && Jp(a.optionsOrUseCapture) === r) return i;+ if (a.type === t && a.listener === n && Yp(a.optionsOrUseCapture) === r) return i;}return -1;}- Wp.prototype.dispatchEvent = function(e) {+ Gp.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, qp(a.optionsOrUseCapture));+ r.addEventListener(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));+ 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));return t.removeChild(r), e;}return t.dispatchEvent(e);- }, Wp.prototype.focus = function(e) {- f(this._fragmentFiber.child, !0, Xp, e, void 0, void 0);+ }, Gp.prototype.focus = function(e) {+ f(this._fragmentFiber.child, !0, Zp, e, void 0, void 0);};- function Xp(e, t) {- return e.tag !== 6 && (e = _(e), Sm(e, t));+ function Zp(e, t) {+ return e.tag !== 6 && (e = _(e), Cm(e, t));}- Wp.prototype.focusLast = function(e) {+ Gp.prototype.focusLast = function(e) {var t = [];- f(this._fragmentFiber.child, !0, Zp, t, void 0, void 0);- for (var n = t.length - 1; 0 <= n && !Xp(t[n], e); n--);+ f(this._fragmentFiber.child, !0, Qp, t, void 0, void 0);+ for (var n = t.length - 1; 0 <= n && !Zp(t[n], e); n--);};- function Zp(e, t) {+ function Qp(e, t) {return t.push(e), !1;}- Wp.prototype.blur = function() {+ Gp.prototype.blur = function() {var e = p(this._fragmentFiber);- e !== null && (e = _(e), e = vp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Qp, e, void 0, void 0));+ e !== null && (e = _(e), e = yp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, $p, e, void 0, void 0));};- function Qp(e, t) {+ function $p(e, t) {return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);}- 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);+ 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);};- function $p(e, t) {+ function em(e, t) {return e.tag === 6 || (e = _(e), t.observe(e)), !1;}- Wp.prototype.unobserveUsing = function(e) {+ Gp.prototype.unobserveUsing = function(e) {var t = this._observers;if (t !== null && t.has(e)) {- 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;+ 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;}- tm.length = t;+ nm.length = t;}};- function em(e, t) {+ function tm(e, t) {return e.tag === 6 || (e = _(e), t.unobserve(e)), !1;}- var tm = [], nm = !1;- function rm(e, t, n) {- tm.push({+ var nm = [], rm = !1;+ function im(e, t, n) {+ nm.push({fragmentInstance: e,observer: t,instance: n- }), nm || (nm = !0, Cm(function() {- nm = !1;- var e = tm;- tm = [];+ }), rm || (rm = !0, wm(function() {+ rm = !1;+ var e = nm;+ nm = [];for (var t = 0; t < e.length; t++) {var n = e[t];n.observer.unobserve(n.instance);}}));}- Wp.prototype.getClientRects = function() {+ Gp.prototype.getClientRects = function() {var e = [];- return f(this._fragmentFiber.child, !1, im, e, void 0, void 0), e;+ return f(this._fragmentFiber.child, !1, am, e, void 0, void 0), e;};- function im(e, t) {+ function am(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;}- Wp.prototype.getRootNode = function(e) {+ Gp.prototype.getRootNode = function(e) {var t = p(this._fragmentFiber);return t === null ? this : _(t).getRootNode(e);- }, Wp.prototype.compareDocumentPosition = function(e) {+ }, Gp.prototype.compareDocumentPosition = function(e) {var t = p(this._fragmentFiber);if (t === null) return Node.DOCUMENT_POSITION_DISCONNECTED;var n = [];- f(this._fragmentFiber.child, !1, Zp, n, void 0, void 0);+ f(this._fragmentFiber.child, !1, Qp, n, void 0, void 0);var r = _(t);if (n.length === 0) {if (n = r, m(this._fragmentFiber)) {@@ -8155,10 +8155,10 @@ 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 || am(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 || om(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;};- function am(e, t, n, r, i) {- var a = Pt(i);+ function om(e, t, n, r, i) {+ var a = Ft(i);if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {if (n = !!a) a: {for (; a !== null;) {@@ -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 om(e, t) {+ function sm(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);}- Wp.prototype.scrollIntoView = function(e) {+ Gp.prototype.scrollIntoView = function(e) {if (typeof e == "object") throw Error(i(566));var t = [];- f(this._fragmentFiber.child, !1, Zp, t, void 0, void 0);+ f(this._fragmentFiber.child, !1, Qp, 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), om(e, n);+ e = _(r), sm(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), om(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;+ a.tag === 6 ? (a = _(a), sm(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;}};- function sm(e, t) {- return e = _(e), cm(e, t), !1;- }function cm(e, t) {- e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);+ return e = _(e), lm(e, t), !1;}function lm(e, t) {+ e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(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.addEventListener(i.type, i.attachedListener, qp(i.optionsOrUseCapture));+ e.addEventListener(i.type, i.attachedListener, Jp(i.optionsOrUseCapture));}e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- 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);+ 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);}- tm.length = r, n.observe(e);- }), cm(e, t));+ nm.length = r, n.observe(e);+ }), lm(e, t));}- function um(e, t) {+ function dm(e, t) {var n = t._eventListeners;if (n !== null) for (var r = 0; r < n.length; r++) {var i = n[r];- e.removeEventListener(i.type, i.attachedListener, qp(i.optionsOrUseCapture));+ e.removeEventListener(i.type, i.attachedListener, Jp(i.optionsOrUseCapture));}e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- typeof n.rootMargin == "string" ? rm(t, n, e) : n.unobserve(e);+ typeof n.rootMargin == "string" ? im(t, n, e) : n.unobserve(e);}), e.reactFragments != null && e.reactFragments.delete(t));}- function dm(e) {+ function fm(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":- dm(n), Nt(n);+ fm(n), Pt(n);continue;case "SCRIPT":case "STYLE": continue;@@ -8264,7 +8264,7 @@ var k = /* @__PURE__ */ o(((e) => {e.removeChild(n);}}- function fm(e, t, n, r) {+ function pm(e, t, n, r) {for (; e.nodeType === 1;) {var i = n;if (e.nodeName.toLowerCase() !== t.toLowerCase()) {@@ -8274,7 +8274,7 @@ var k = /* @__PURE__ */ o(((e) => {var a = i.name == null ? null : "" + i.name;if (i.type === "hidden" && e.getAttribute("name") === a) return e;} else return e;- } else if (!e[jt]) switch (t) {+ } else if (!e[Mt]) switch (t) {case "meta":if (!e.hasAttribute("itemprop")) break;return e;@@ -8289,26 +8289,26 @@ var k = /* @__PURE__ */ o(((e) => {return e;default: return e;}- if (e = vm(e.nextSibling), e === null) break;+ if (e = ym(e.nextSibling), e === null) break;}return null;}- function pm(e, t, n) {+ function mm(e, t, n) {if (t === "") return null;- for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = vm(e.nextSibling), e === null)) return null;+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = ym(e.nextSibling), e === null)) return null;return e;}- function 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;+ function hm(e, t) {+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = ym(e.nextSibling), e === null)) return null;return e;}- function hm(e) {+ function gm(e) {return e.data === "$?" || e.data === "$~";}- function gm(e) {+ function _m(e) {return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";}- function _m(e, t) {+ function vm(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 vm(e) {+ function ym(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 ym = null;- function bm(e) {+ var bm = null;+ function xm(e) {e = e.nextSibling;for (var t = 0; e;) {if (e.nodeType === 8) {var n = e.data;if (n === "/$" || n === "/&") {- if (t === 0) return vm(e.nextSibling);+ if (t === 0) return ym(e.nextSibling);t--;} else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;}@@ -8345,7 +8345,7 @@ var k = /* @__PURE__ */ o(((e) => {}return null;}- function xm(e) {+ function Sm(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 Sm(e, t) {+ function Cm(e, t) {function n() {r = !0;}@@ -8372,15 +8372,15 @@ var k = /* @__PURE__ */ o(((e) => {}return r;}- function Cm(e) {- Op(function() {- Op(function(t) {+ function wm(e) {+ kp(function() {+ kp(function(t) {return e(t);});});}- function wm(e, t, n) {- switch (t = vp(n), e) {+ function Tm(e, t, n) {+ switch (t = yp(n), e) {case "html":if (e = t.documentElement, !e) throw Error(i(452));return e;@@ -8393,122 +8393,122 @@ var k = /* @__PURE__ */ o(((e) => {default: throw Error(i(451));}}- function Tm(e, t, n) {+ function Em(e, t, n) {for (var r in n) {var i = n[r];- n.hasOwnProperty(r) && i != null && lp(e, t, r, null, fp, i);+ n.hasOwnProperty(r) && i != null && up(e, t, r, null, pp, i);}- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === vn && (e.onclick = null), Nt(e);+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === yn && (e.onclick = null), Pt(e);}- function Em(e) {+ function Dm(e) {for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);- Nt(e);+ Pt(e);}- var Dm = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();- function km(e) {+ var Om = /* @__PURE__ */ new Map(), km = /* @__PURE__ */ new Set();+ function Am(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 Am = I.d;- I.d = {- 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 = Gd();+ var jm = ge.d;+ ge.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();return e || t;}- function Mm(e) {- var t = Ft(e);- t !== null && t.tag === 5 && t.type === "form" ? rc(t) : Am.r(e);+ function Nm(e) {+ var t = It(e);+ t !== null && t.tag === 5 && t.type === "form" ? ic(t) : jm.r(e);}- var Nm = typeof document > "u" ? null : document;- function Pm(e, t, n) {- var r = Nm;+ var Pm = typeof document > "u" ? null : document;+ function Fm(e, t, n) {+ var r = Pm;if (r && typeof t == "string" && t) {- var i = L(t);- i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Om.has(i) || (Om.add(i), e = {+ var i = I(t);+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), km.has(i) || (km.add(i), e = {rel: e,crossOrigin: n,href: t- }, r.querySelector(i) === null && (t = r.createElement("link"), dp(t, "link", e), Rt(t), r.head.appendChild(t)));+ }, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), zt(t), r.head.appendChild(t)));}}- function Fm(e) {- Am.D(e), Pm("dns-prefetch", e, null);+ function Im(e) {+ jm.D(e), Fm("dns-prefetch", e, null);}- function Im(e, t) {- Am.C(e, t), Pm("preconnect", e, t);+ function Lm(e, t) {+ jm.C(e, t), Fm("preconnect", e, t);}- function Lm(e, t, n) {- Am.L(e, t, n);- var r = Nm;+ function Rm(e, t, n) {+ jm.L(e, t, n);+ var r = Pm;if (r && e && t) {- var i = "link[rel=\"preload\"][as=\"" + L(t) + "\"]";- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + L(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + L(n.imageSizes) + "\"]")) : i += "[href=\"" + L(e) + "\"]";+ var i = "link[rel=\"preload\"][as=\"" + I(t) + "\"]";+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + I(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + I(n.imageSizes) + "\"]")) : i += "[href=\"" + I(e) + "\"]";var a = i;switch (t) {case "style":- a = Um(e);+ a = Wm(e);break;- case "script": a = qm(e);+ case "script": a = Jm(e);}- if (!(Dm.has(a) || (e = w({+ if (!(Om.has(a) || (e = w({rel: "preload",href: t === "image" && n && n.imageSrcSet ? void 0 : e,as: t- }, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Jm(a))))) {+ }, n), Om.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Gm(a)) || t === "script" && r.querySelector(Ym(a))))) {var o = r.createElement("link");- dp(o, "link", e), t === "style" && (o[Mt] = !0, o.onload = o.onerror = function() {- zt(o);- }), Rt(o), r.head.appendChild(o);+ fp(o, "link", e), t === "style" && (o[Nt] = !0, o.onload = o.onerror = function() {+ Bt(o);+ }), zt(o), r.head.appendChild(o);}}}- function Rm(e, t) {- Am.m(e, t);- var n = Nm;+ function zm(e, t) {+ jm.m(e, t);+ var n = Pm;if (n && e) {- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + L(r) + "\"][href=\"" + L(e) + "\"]", a = i;+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + I(r) + "\"][href=\"" + I(e) + "\"]", a = i;switch (r) {case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":- case "script": a = qm(e);+ case "script": a = Jm(e);}- if (!Dm.has(a) && (e = w({+ if (!Om.has(a) && (e = w({rel: "modulepreload",href: e- }, t), Dm.set(a, e), n.querySelector(i) === null)) {+ }, t), Om.set(a, e), n.querySelector(i) === null)) {switch (r) {case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":- case "script": if (n.querySelector(Jm(a))) return;+ case "script": if (n.querySelector(Ym(a))) return;}- r = n.createElement("link"), dp(r, "link", e), Rt(r), n.head.appendChild(r);+ r = n.createElement("link"), fp(r, "link", e), zt(r), n.head.appendChild(r);}}}- function zm(e, t, n) {- Am.S(e, t, n);- var r = Nm;+ function Bm(e, t, n) {+ jm.S(e, t, n);+ var r = Pm;if (r && e) {- var i = Lt(r).hoistableStyles, a = Um(e);+ var i = Rt(r).hoistableStyles, a = Wm(e);t ||= "default";var o = i.get(a);if (!o) {@@ -8516,21 +8516,21 @@ var k = /* @__PURE__ */ o(((e) => {loading: 0,preload: null};- if (o = r.querySelector(Wm(a))) s.loading = 5;+ if (o = r.querySelector(Gm(a))) s.loading = 5;else {e = w({rel: "stylesheet",href: e,"data-precedence": t- }, n), (n = Dm.get(a)) && Zm(e, n);+ }, n), (n = Om.get(a)) && Qm(e, n);var c = o = r.createElement("link");- Rt(c), dp(c, "link", e), c._p = new Promise(function(e, t) {+ zt(c), fp(c, "link", e), c._p = new Promise(function(e, t) {c.onload = e, c.onerror = t;}), c.addEventListener("load", function() {s.loading |= 1;}), c.addEventListener("error", function() {s.loading |= 2;- }), s.loading |= 4, Xm(o, t, r);+ }), s.loading |= 4, Zm(o, t, r);}o = {type: "stylesheet",@@ -8541,15 +8541,15 @@ var k = /* @__PURE__ */ o(((e) => {}}}- function Bm(e, t) {- Am.X(e, t);- var n = Nm;+ function Vm(e, t) {+ jm.X(e, t);+ var n = Pm;if (n && e) {- var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);- a || (a = n.querySelector(Jm(i)), a || (e = w({+ var r = Rt(n).hoistableScripts, i = Jm(e), a = r.get(i);+ a || (a = n.querySelector(Ym(i)), a || (e = w({src: e,async: !0- }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), dp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Om.get(i)) && $m(e, t), a = n.createElement("script"), zt(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 Vm(e, t) {- Am.M(e, t);- var n = Nm;+ function Hm(e, t) {+ jm.M(e, t);+ var n = Pm;if (n && e) {- var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);- a || (a = n.querySelector(Jm(i)), a || (e = w({+ var r = Rt(n).hoistableScripts, i = Jm(e), a = r.get(i);+ a || (a = n.querySelector(Ym(i)), a || (e = w({src: e,async: !0,type: "module"- }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), dp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Om.get(i)) && $m(e, t), a = n.createElement("script"), zt(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 Hm(e, t, n, r) {- var a = (a = we.current) ? km(a) : null;+ function Um(e, t, n, r) {+ var a = (a = Te.current) ? Am(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 = Um(n.href), t = Lt(a).hoistableStyles, r = t.get(n), r || (r = {+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Wm(n.href), t = Rt(a).hoistableStyles, r = t.get(n), r || (r = {type: "style",instance: null,count: 0,@@ -8593,8 +8593,8 @@ var k = /* @__PURE__ */ o(((e) => {};case "link":if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {- e = Um(n.href);- var o = Lt(a).hoistableStyles, s = o.get(e);+ e = Wm(n.href);+ var o = Rt(a).hoistableStyles, s = o.get(e);if (s || (a = a.ownerDocument || a, s = {type: "stylesheet",instance: null,@@ -8603,7 +8603,7 @@ var k = /* @__PURE__ */ o(((e) => {loading: 0,preload: null}- }, o.set(e, s), (o = a.querySelector(Wm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Dm.get(e), o || (o = {+ }, o.set(e, s), (o = a.querySelector(Gm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Om.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- }, Dm.set(e, o)), Km(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));+ }, Om.set(e, o)), qm(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 = qm(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 = Jm(n), t = Rt(a).hoistableScripts, r = t.get(n), r || (r = {type: "script",instance: null,count: 0,@@ -8631,66 +8631,66 @@ var k = /* @__PURE__ */ o(((e) => {default: throw Error(i(444, e));}}- function Um(e) {- return "href=\"" + L(e) + "\"";- }function Wm(e) {- return "link[rel=\"stylesheet\"][" + e + "]";+ return "href=\"" + I(e) + "\"";}function Gm(e) {+ return "link[rel=\"stylesheet\"][" + e + "]";+ }+ function Km(e) {return w({}, e, {"data-precedence": e.precedence,precedence: null});}- function Km(e, t, n, r) {+ function qm(e, t, n, r) {if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {- if (!0 !== t[Mt]) {+ if (!0 !== t[Nt]) {r.loading = 1;return;}- } else t = e.createElement("link"), t[Mt] = !0, t.onload = t.onerror = zt.bind(null, t), dp(t, "link", n), Rt(t), e.head.appendChild(t);+ } else t = e.createElement("link"), t[Nt] = !0, t.onload = t.onerror = Bt.bind(null, t), fp(t, "link", n), zt(t), e.head.appendChild(t);r.preload = t, t.addEventListener("load", function() {return r.loading |= 1;}), t.addEventListener("error", function() {return r.loading |= 2;});}- function qm(e) {- return "[src=\"" + L(e) + "\"]";- }function Jm(e) {+ return "[src=\"" + I(e) + "\"]";+ }+ function Ym(e) {return "script[async]" + e;}- function Ym(e, t, n) {+ function Xm(e, t, n) {if (t.count++, t.instance === null) switch (t.type) {case "style":- var r = e.querySelector("style[data-href~=\"" + L(n.href) + "\"]");- if (r) return t.instance = r, Rt(r), r;+ var r = e.querySelector("style[data-href~=\"" + I(n.href) + "\"]");+ if (r) return t.instance = r, zt(r), r;var a = w({}, n, {"data-href": n.href,"data-precedence": n.precedence,href: null,precedence: null});- return r = (e.ownerDocument || e).createElement("style"), Rt(r), dp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;+ return r = (e.ownerDocument || e).createElement("style"), zt(r), fp(r, "style", a), Zm(r, n.precedence, e), t.instance = r;case "stylesheet":- a = Um(n.href);- var o = e.querySelector(Wm(a));- if (o) return t.state.loading |= 4, t.instance = o, Rt(o), o;- r = Gm(n), (a = Dm.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Rt(o);+ a = Wm(n.href);+ var o = e.querySelector(Gm(a));+ if (o) return t.state.loading |= 4, t.instance = o, zt(o), o;+ r = Km(n), (a = Om.get(a)) && Qm(r, a), o = (e.ownerDocument || e).createElement("link"), zt(o);var s = o;return s._p = new Promise(function(e, t) {s.onload = e, s.onerror = t;- }), dp(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), dp(a, "link", r), e.head.appendChild(a), t.instance = a);+ }), 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, zt(a), a) : (r = n, (a = Om.get(o)) && (r = w({}, n), $m(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), zt(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, Xm(r, n.precedence, e));+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Zm(r, n.precedence, e));return t.instance;}- function Xm(e, t, n) {+ function Zm(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,22 +8698,22 @@ 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 Zm(e, t) {+ function Qm(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;}- function Qm(e, t) {+ function $m(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;}- var $m = null;- function eh(e, t, n) {- if ($m === null) {- var r = /* @__PURE__ */ new Map(), i = $m = /* @__PURE__ */ new Map();+ var eh = null;+ function th(e, t, n) {+ if (eh === null) {+ var r = /* @__PURE__ */ new Map(), i = eh = /* @__PURE__ */ new Map();i.set(n, r);- } else i = $m, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));+ } else i = eh, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));if (r.has(e)) return r;for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {var a = n[i];- if (!(a[jt] || a[wt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {+ if (!(a[Mt] || a[Tt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {var o = a.getAttribute(t) || "";o = e + o;var s = r.get(o);@@ -8722,10 +8722,10 @@ var k = /* @__PURE__ */ o(((e) => {}return r;}- function th(e, t, n) {+ function nh(e, t, n) {e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);}- function nh(e, t, n) {+ function rh(e, t, n) {if (n === 1 || t.itemProp != null) return !1;switch (e) {case "meta":@@ -8743,196 +8743,196 @@ var k = /* @__PURE__ */ o(((e) => {}return !1;}- function rh(e, t) {+ function ih(e, t) {return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";}- function ih(e) {+ function ah(e) {return !(e.type === "stylesheet" && !(e.state.loading & 3));}- function ah(e) {+ function oh(e) {return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;}- 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 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 sh(e, t, n, r) {+ function ch(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 = Um(r.href), a = t.querySelector(Wm(i));+ var i = Wm(r.href), a = t.querySelector(Gm(i));if (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);+ 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, zt(a);return;}- a = t.ownerDocument || t, r = Gm(r), (i = Dm.get(i)) && Zm(r, i), a = a.createElement("link"), Rt(a);+ a = t.ownerDocument || t, r = Km(r), (i = Om.get(i)) && Qm(r, i), a = a.createElement("link"), zt(a);var o = a;o._p = new Promise(function(e, t) {o.onload = e, o.onerror = t;- }), dp(a, "link", r), n.instance = a;+ }), 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 = dh.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 = fh.bind(e), t.addEventListener("load", n), t.addEventListener("error", 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 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 r = setTimeout(function() {- if (e.stylesheets && mh(e, e.stylesheets), e.unsuspend) {+ if (e.stylesheets && hh(e, e.stylesheets), e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}, 6e4 + t);- 0 < e.imgBytes && ch === 0 && (ch = 62500 * hp());+ 0 < e.imgBytes && lh === 0 && (lh = 62500 * gp());var i = setTimeout(function() {- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && mh(e, e.stylesheets), e.unsuspend)) {+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && hh(e, e.stylesheets), e.unsuspend)) {var t = e.unsuspend;e.unsuspend = null, t();}- }, (e.imgBytes > ch ? 50 : 800) + t);+ }, (e.imgBytes > lh ? 50 : 800) + t);return e.unsuspend = n, function() {e.unsuspend = null, clearTimeout(r), clearTimeout(i);};} : null;}- function uh(e) {+ function dh(e) {if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {- if (e.stylesheets) mh(e, e.stylesheets);+ if (e.stylesheets) hh(e, e.stylesheets);else if (e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}}- function dh() {- this.count--, uh(this);- }function fh() {- this.imgCount--, uh(this);+ this.count--, 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));+ function ph() {+ this.imgCount--, dh(this);}+ 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 = ph.get(e);+ var n = mh.get(e);if (n) var r = n.get(null);else {- n = /* @__PURE__ */ new Map(), ph.set(e, n);+ n = /* @__PURE__ */ new Map(), mh.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 = 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;+ 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;}}- var gh = {+ var _h = {$$typeof: ne,Provider: null,Consumer: null,- _currentValue: ge,- _currentValue2: ge,+ _currentValue: _e,+ _currentValue2: _e,_threadCount: 0};- 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 vh(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 = mt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = mt(0), this.hiddenUpdates = mt(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 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 = {+ 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 = Ai(3, null, null, t), e.current = a, a.stateNode = e, t = ja(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {element: r,isDehydrated: n,cache: t- }, po(a), e;+ }, mo(a), e;}- function yh(e) {- return e ? (e = Di, e) : Di;+ function bh(e) {+ return e ? (e = Oi, e) : Oi;}- 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 && (Bd(n, e, t), _o(n, e, t));+ function xh(e, t, n, r, i, a) {+ i = bh(i), r.context === null ? r.context = i : r.pendingContext = i, r = go(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = _o(e, r, t), n !== null && (Vd(n, e, t), vo(n, e, t));}- function xh(e, t) {+ function Sh(e, t) {if (e = e.memoizedState, e !== null && e.dehydrated !== null) {var n = e.retryLane;e.retryLane = n !== 0 && n < t ? n : t;}}- function Sh(e, t) {- xh(e, t), (e = e.alternate) && xh(e, t);+ function Ch(e, t) {+ Sh(e, t), (e = e.alternate) && Sh(e, t);}- function Ch(e) {+ function wh(e) {if (e.tag === 13 || e.tag === 31) {- var t = wi(e, 67108864);- t !== null && Bd(t, e, 67108864), Sh(e, 67108864);+ var t = Ti(e, 67108864);+ t !== null && Vd(t, e, 67108864), Ch(e, 67108864);}}- function wh(e) {+ function Th(e) {if (e.tag === 13 || e.tag === 31) {- var t = Ld();- t = yt(t);- var n = wi(e, t);- n !== null && Bd(n, e, t), Sh(e, t);+ var t = Rd();+ t = bt(t);+ var n = Ti(e, t);+ n !== null && Vd(n, e, t), Ch(e, t);}}- var Th = !0;- function Eh(e, t, n, r) {+ var Eh = !0;+ function Dh(e, t, n, r) {var i = he.T;he.T = null;- var a = I.p;+ var a = ge.p;try {- I.p = 2, Oh(e, t, n, r);+ ge.p = 2, kh(e, t, n, r);} finally {- I.p = a, he.T = i;+ ge.p = a, he.T = i;}}- function Dh(e, t, n, r) {+ function Oh(e, t, n, r) {var i = he.T;he.T = null;- var a = I.p;+ var a = ge.p;try {- I.p = 8, Oh(e, t, n, r);+ ge.p = 8, kh(e, t, n, r);} finally {- I.p = a, he.T = i;+ ge.p = a, he.T = i;}}- function Oh(e, t, n, r) {- if (Th) {- var i = kh(r);- if (i === null) ep(e, t, r, Ah, 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 kh(e, t, n, r) {+ if (Eh) {+ var i = Ah(r);+ if (i === null) tp(e, t, r, jh, n), Hh(e, r);+ else if (Wh(i, e, t, n, r)) r.stopPropagation();+ else if (Hh(e, r), t & 4 && -1 < Vh.indexOf(e)) {for (; i !== null;) {- var a = Ft(i);+ var a = It(i);if (a !== null) switch (a.tag) {case 3:if (a = a.stateNode, a.current.memoizedState.isDehydrated) {- var o = st(a.pendingLanes);+ var o = ct(a.pendingLanes);if (o !== 0) {var s = a;for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {- var c = 1 << 31 - et(o);+ var c = 1 << 31 - tt(o);s.entanglements[1] |= c, o &= ~c;}- Nf(a), !(nd & 6) && (Cd = He() + 500, Pf(0, !1));+ Pf(a), !(rd & 6) && (wd = Ue() + 500, Ff(0, !1));}}break;case 31:- case 13: s = wi(a, 2), s !== null && Bd(s, a, 2), Gd(), Sh(a, 2);+ case 13: s = Ti(a, 2), s !== null && Vd(s, a, 2), Kd(), Ch(a, 2);}- if (a = kh(r), a === null && ep(e, t, r, Ah, n), a === i) break;+ if (a = Ah(r), a === null && tp(e, t, r, jh, n), a === i) break;i = a;}i !== null && r.stopPropagation();- } else ep(e, t, r, null, n);+ } else tp(e, t, r, null, n);}}- function kh(e) {- return e = bn(e), jh(e);+ function Ah(e) {+ return e = xn(e), Mh(e);}- var Ah = null;- function jh(e) {- if (Ah = null, e = Pt(e), e !== null) {+ var jh = null;+ function Mh(e) {+ if (jh = null, e = Ft(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 Ah = e, null;+ return jh = e, null;}- function Mh(e) {+ function Nh(e) {switch (e) {case "beforetoggle":case "cancel":@@ -9025,77 +9025,77 @@ var k = /* @__PURE__ */ o(((e) => {case "mouseleave":case "pointerenter":case "pointerleave": return 8;- case "message": switch (Ue()) {- case We: return 2;- case Ge: return 8;- case Ke:- case qe: return 32;- case Je: return 268435456;+ case "message": switch (We()) {+ case Ge: return 2;+ case Ke: return 8;+ case qe:+ case Je: return 32;+ case Ye: return 268435456;default: return 32;}default: return 32;}}- var Nh = !1, Ph = null, Fh = null, Ih = null, Lh = /* @__PURE__ */ new Map(), Rh = /* @__PURE__ */ new Map(), zh = [], 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 Ph = !1, Fh = null, Ih = null, Lh = null, Rh = /* @__PURE__ */ new Map(), zh = /* @__PURE__ */ new Map(), Bh = [], Vh = "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 Hh(e, t) {switch (e) {case "focusin":case "focusout":- Ph = null;+ Fh = null;break;case "dragenter":case "dragleave":- Fh = null;+ Ih = null;break;case "mouseover":case "mouseout":- Ih = null;+ Lh = null;break;case "pointerover":case "pointerout":- Lh.delete(t.pointerId);+ Rh.delete(t.pointerId);break;case "gotpointercapture":- case "lostpointercapture": Rh.delete(t.pointerId);+ case "lostpointercapture": zh.delete(t.pointerId);}}- function Hh(e, t, n, r, i, a) {+ function Uh(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 && Ch(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }, t !== null && (t = It(t), t !== null && wh(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 Wh(e, t, n, r, i) {switch (t) {- case "focusin": return Ph = Hh(Ph, e, t, n, r, i), !0;- case "dragenter": return Fh = Hh(Fh, e, t, n, r, i), !0;- case "mouseover": return Ih = Hh(Ih, e, t, n, r, i), !0;+ case "focusin": return Fh = Uh(Fh, e, t, n, r, i), !0;+ case "dragenter": return Ih = Uh(Ih, e, t, n, r, i), !0;+ case "mouseover": return Lh = Uh(Lh, e, t, n, r, i), !0;case "pointerover":var a = i.pointerId;- return Lh.set(a, Hh(Lh.get(a) || null, e, t, n, r, i)), !0;- case "gotpointercapture": return a = i.pointerId, Rh.set(a, Hh(Rh.get(a) || null, e, t, n, r, i)), !0;+ return Rh.set(a, Uh(Rh.get(a) || null, e, t, n, r, i)), !0;+ case "gotpointercapture": return a = i.pointerId, zh.set(a, Uh(zh.get(a) || null, e, t, n, r, i)), !0;}return !1;}- function Wh(e) {- var t = Pt(e.target);+ function Gh(e) {+ var t = Ft(e.target);if (t !== null) {var n = o(t);if (n !== null) {if (t = n.tag, t === 13) {if (t = s(n), t !== null) {- e.blockedOn = t, St(e.priority, function() {- wh(n);+ e.blockedOn = t, Ct(e.priority, function() {+ Th(n);});return;}} else if (t === 31) {if (t = c(n), t !== null) {- e.blockedOn = t, St(e.priority, function() {- wh(n);+ e.blockedOn = t, Ct(e.priority, function() {+ Th(n);});return;}@@ -9107,40 +9107,40 @@ var k = /* @__PURE__ */ o(((e) => {}e.blockedOn = null;}- function Gh(e) {+ function Kh(e) {if (e.blockedOn !== null) return !1;for (var t = e.targetContainers; 0 < t.length;) {- var n = kh(e.nativeEvent);+ var n = Ah(e.nativeEvent);if (n === null) {n = e.nativeEvent;var r = new n.constructor(n.type, n);- yn = r, n.target.dispatchEvent(r), yn = null;- } else return t = Ft(n), t !== null && Ch(t), e.blockedOn = n, !1;+ bn = r, n.target.dispatchEvent(r), bn = null;+ } else return t = It(n), t !== null && wh(t), e.blockedOn = n, !1;t.shift();}return !0;}- function Kh(e, t, n) {- Gh(e) && n.delete(t);+ function qh(e, t, n) {+ Kh(e) && n.delete(t);}- function qh() {- Nh = !1, Ph !== null && Gh(Ph) && (Ph = null), Fh !== null && Gh(Fh) && (Fh = null), Ih !== null && Gh(Ih) && (Ih = null), Lh.forEach(Kh), Rh.forEach(Kh);+ function Jh() {+ Ph = !1, Fh !== null && Kh(Fh) && (Fh = null), Ih !== null && Kh(Ih) && (Ih = null), Lh !== null && Kh(Lh) && (Lh = null), Rh.forEach(qh), zh.forEach(qh);}- function Jh(e, n) {- e.blockedOn === n && (e.blockedOn = null, Nh || (Nh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, qh)));+ function Yh(e, n) {+ e.blockedOn === n && (e.blockedOn = null, Ph || (Ph = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Jh)));}- var Yh = null;- function Xh(e) {- Yh !== e && (Yh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {- Yh === e && (Yh = null);+ var Xh = null;+ function Zh(e) {+ Xh !== e && (Xh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {+ Xh === e && (Xh = 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 (jh(r || n) === null) continue;+ if (Mh(r || n) === null) continue;break;}- var a = Ft(n);- a !== null && (e.splice(t, 3), t -= 3, tc(a, {+ var a = It(n);+ a !== null && (e.splice(t, 3), t -= 3, nc(a, {pending: !0,data: i,method: n.method,@@ -9149,30 +9149,30 @@ var k = /* @__PURE__ */ o(((e) => {}}));}- function Zh(e) {+ function Qh(e) {function t(t) {- return Jh(t, e);+ return Yh(t, e);}- Ph !== null && Jh(Ph, e), Fh !== null && Jh(Fh, e), Ih !== null && Jh(Ih, e), Lh.forEach(t), Rh.forEach(t);- for (var n = 0; n < zh.length; n++) {- var r = zh[n];+ Fh !== null && Yh(Fh, e), Ih !== null && Yh(Ih, e), Lh !== null && Yh(Lh, e), Rh.forEach(t), zh.forEach(t);+ for (var n = 0; n < Bh.length; n++) {+ var r = Bh[n];r.blockedOn === e && (r.blockedOn = null);}- for (; 0 < zh.length && (n = zh[0], n.blockedOn === null);) Wh(n), n.blockedOn === null && zh.shift();+ for (; 0 < Bh.length && (n = Bh[0], n.blockedOn === null);) Gh(n), n.blockedOn === null && Bh.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);+ var i = n[r], a = n[r + 1], o = i[Et] || null;+ if (typeof a == "function") o || Zh(n);else if (o) {var s = null;if (a && a.hasAttribute("formAction")) {- if (i = a, o = a[Tt] || null) s = o.formAction;- else if (jh(i) !== null) continue;+ if (i = a, o = a[Et] || null) s = o.formAction;+ else if (Mh(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), Zh(n);}}}- function Qh() {+ function $h() {function e(e) {e.canIntercept && e.info === "react-transition" && e.intercept({handler: function() {@@ -9204,45 +9204,45 @@ var k = /* @__PURE__ */ o(((e) => {};}}- function $h(e) {+ function eg(e) {this._internalRoot = e;}- eg.prototype.render = $h.prototype.render = function(e) {+ tg.prototype.render = eg.prototype.render = function(e) {var t = this._internalRoot;if (t === null) throw Error(i(409));var n = t.current;- bh(n, Ld(), e, t, null, null);- }, eg.prototype.unmount = $h.prototype.unmount = function() {+ xh(n, Rd(), e, t, null, null);+ }, tg.prototype.unmount = eg.prototype.unmount = function() {var e = this._internalRoot;if (e !== null) {this._internalRoot = null;var t = e.containerInfo;- bh(e.current, 2, null, e, null, null), Gd(), t[Et] = null;+ xh(e.current, 2, null, e, null, null), Kd(), t[Dt] = null;}};- function eg(e) {+ function tg(e) {this._internalRoot = e;}- eg.prototype.unstable_scheduleHydration = function(e) {+ tg.prototype.unstable_scheduleHydration = function(e) {if (e) {- var t = xt();+ var t = St();e = {blockedOn: null,target: e,priority: t};- for (var n = 0; n < zh.length && t !== 0 && t < zh[n].priority; n++);- zh.splice(n, 0, e), n === 0 && Wh(e);+ for (var n = 0; n < Bh.length && t !== 0 && t < Bh[n].priority; n++);+ Bh.splice(n, 0, e), n === 0 && Gh(e);}};- var tg = n.version;- if (tg !== "19.3.1") throw Error(i(527, tg, "19.3.1"));- I.findDOMNode = function(e) {+ var ng = n.version;+ if (ng !== "19.3.1") throw Error(i(527, ng, "19.3.1"));+ ge.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 rg = {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 ig = __REACT_DEVTOOLS_GLOBAL_HOOK__;+ if (!ig.isDisabled && ig.supportsFiber) try {+ Qe = ig.inject(rg), $e = ig;} 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 = vh(e, 1, !1, null, null, n, r, null, o, s, c, Qh), e[Et] = t.current, Qf(e), new $h(t);+ var n = !1, r = "", o = Tc, s = Ec, c = Dc;+ 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, $h), e[Dt] = t.current, $f(e), new eg(t);};})), N = /* @__PURE__ */ o(((e, t) => {function n() {@@ -9334,15 +9334,15 @@ function me(e) {function he(e, t) {return Math.max(e + (t || 0) - Date.now(), 0);}-function I(e, t) {+function ge(e, t) {return typeof e == "function" ? e(t) : e;}-function ge(e, t) {+function _e(e, t) {let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;if (o) {if (r) {- if (t.queryHash !== ve(o, t.options)) return !1;- } else if (!be(t.queryKey, o)) return !1;+ if (t.queryHash !== ye(o, t.options)) return !1;+ } else if (!xe(t.queryKey, o)) return !1;}if (n !== "all") {let e = t.isActive();@@ -9350,105 +9350,105 @@ function ge(e, t) {}return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));}-function _e(e, t) {+function ve(e, t) {let { exact: n, status: r, predicate: i, mutationKey: a } = e;if (a) {if (!t.options.mutationKey) return !1;if (n) {- if (ye(t.options.mutationKey) !== ye(a)) return !1;- } else if (!be(t.options.mutationKey, a)) return !1;+ if (be(t.options.mutationKey) !== be(a)) return !1;+ } else if (!xe(t.options.mutationKey, a)) return !1;}return !(r && t.state.status !== r || i && !i(t));}-function ve(e, t) {- return (t?.queryKeyHashFn || ye)(e);+function ye(e, t) {+ return (t?.queryKeyHashFn || be)(e);}-function ye(e) {- return JSON.stringify(e, (e, t) => Te(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);+function be(e) {+ return JSON.stringify(e, (e, t) => Ee(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);}-function be(e, t) {+function xe(e, t) {if (e === t) return !0;if (typeof e != typeof t) return !1;if (e && t && typeof e == "object" && typeof t == "object") {if (Array.isArray(e) && Array.isArray(t)) {if (t.length > e.length) return !1;- for (let n = 0; n < t.length; n++) if (!be(e[n], t[n])) return !1;+ for (let n = 0; n < t.length; n++) if (!xe(e[n], t[n])) return !1;return !0;}let n = Object.keys(t);- for (let r of n) if (!be(e[r], t[r])) return !1;+ for (let r of n) if (!xe(e[r], t[r])) return !1;return !0;}return !1;}-var xe = Object.prototype.hasOwnProperty;-function Se(e, t, n = 0) {+var Se = Object.prototype.hasOwnProperty;+function Ce(e, t, n = 0) {if (e === t) return e;if (n > 500) return t;- let r = we(e) && we(t);- if (!r && !(Te(e) && Te(t))) return t;+ let r = Te(e) && Te(t);+ if (!r && !(Ee(e) && Ee(t))) return t;let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;for (let l = 0; l < o; l++) {let o = r ? l : a[l], u = e[o], d = t[o];if (u === d) {- s[o] = u, (r ? l < i : xe.call(e, o)) && c++;+ s[o] = u, (r ? l < i : Se.call(e, o)) && c++;continue;}if (u === null || d === null || typeof u != "object" || typeof d != "object") {s[o] = d;continue;}- let f = Se(u, d, n + 1);+ let f = Ce(u, d, n + 1);s[o] = f, f === u && c++;}return i === o && c === i ? e : s;}-function Ce(e, t) {+function we(e, t) {if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;for (let n in e) if (e[n] !== t[n]) return !1;return !0;}-function we(e) {+function Te(e) {return Array.isArray(e) && e.length === Object.keys(e).length;}-function Te(e) {- if (!Ee(e)) return !1;+function Ee(e) {+ if (!De(e)) return !1;let t = Object.getPrototypeOf(e), n = t?.constructor;if (n === void 0) return !0;if (typeof n != "function") return !1;let r = n.prototype;- return !(!Ee(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);+ return !(!De(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);}-function Ee(e) {+function De(e) {return Object.prototype.toString.call(e) === "[object Object]";}-function De(e) {+function Oe(e) {return new Promise((t) => {le.setTimeout(t, e);});}-function Oe(e, t, n) {- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : Se(e, t);+function ke(e, t, n) {+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : Ce(e, t);}-function ke(e) {+function Ae(e) {return e;}-function Ae(e, t, n = 0) {+function je(e, t, n = 0) {let r = [...e, t];return n && r.length > n ? r.slice(1) : r;}-function je(e, t, n = 0) {+function Me(e, t, n = 0) {let r = [t, ...e];return n && r.length > n ? r.slice(0, -1) : r;}-var Me = Symbol();-function Ne(e, t) {- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === Me ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;-}+var Ne = Symbol();function Pe(e, t) {+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === Ne ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;+}+function Fe(e, t) {return typeof e == "function" ? e(...t) : !!e;}-function Fe(e, t, n) {+function Ie(e, t, n) {let r = !1, i;return Object.defineProperty(e, "signal", {enumerable: !0,@@ -9456,7 +9456,7 @@ function Fe(e, t, n) {}), e;}// node_modules/@tanstack/query-core/build/modern/environmentManager.js-var Ie = () => de, Le = () => Ie(), Re = class {+var Le = () => de, Re = () => Le(), ze = class {constructor() {this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);}@@ -9470,7 +9470,7 @@ var Ie = () => de, Le = () => Ie(), Re = class {}onSubscribe() {}onUnsubscribe() {}-}, ze = new class extends Re {+}, Be = new class extends ze {#e;#t;#n;@@ -9507,13 +9507,13 @@ var Ie = () => de, Le = () => Ie(), Re = class {isFocused() {return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";}-}(), Be = ue;-function Ve() {+}(), Ve = ue;+function He() {let e = [], t = 0, n = (e) => {e();}, r = (e) => {e();- }, i = Be, a = (r) => {+ }, i = Ve, a = (r) => {t ? e.push(r) : i(() => {n(r);});@@ -9555,7 +9555,7 @@ function Ve() {}};}-var He = Ve(), Ue = new class extends Re {+var Ue = He(), We = new class extends ze {#e = !0;#t;#n;@@ -9588,35 +9588,35 @@ var He = Ve(), Ue = new class extends Re {}}();// node_modules/@tanstack/query-core/build/modern/retryer.js-function We(e) {+function Ge(e) {return Math.min(1e3 * 2 ** e, 3e4);}-function Ge(e) {- return (e ?? "online") !== "online" || Ue.isOnline();+function Ke(e) {+ return (e ?? "online") !== "online" || We.isOnline();}-var Ke = class extends Error {+var qe = class extends Error {constructor(e) {super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;}};-function qe(e) {- return e instanceof Ke;-}function Je(e) {+ return e instanceof qe;+}+function Ye(e) {let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {a = e, o = t;});s.catch(fe);let c = () => i !== "pending", l = (t) => {if (!c()) {- let n = new Ke(t);+ let n = new qe(t);h(n), e.onCancel?.(n);}}, u = () => {t = !0;}, d = () => {t = !1;- }, f = () => ze.isFocused() && (e.networkMode === "always" || Ue.isOnline()) && e.canRun(), p = () => Ge(e.networkMode) && e.canRun(), m = (e) => {+ }, f = () => Be.isFocused() && (e.networkMode === "always" || We.isOnline()) && e.canRun(), p = () => Ke(e.networkMode) && e.canRun(), m = (e) => {c() || (r?.(), i = "resolved", a(e));}, h = (e) => {c() || (r?.(), i = "rejected", o(e));@@ -9636,8 +9636,8 @@ function Je(e) {}Promise.resolve(r).then(m).catch((r) => {if (c()) return;- let i = e.retry ?? (Le() ? 0 : 3), a = e.retryDelay ?? We, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);- t || !s ? h(r) : (n++, e.onFail?.(n, r), De(o).then(() => f() ? void 0 : g(f)).then(() => {+ let i = e.retry ?? (Re() ? 0 : 3), a = e.retryDelay ?? Ge, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);+ t || !s ? h(r) : (n++, e.onFail?.(n, r), Oe(o).then(() => f() ? void 0 : g(f)).then(() => {t ? h(r) : _();}));});@@ -9654,7 +9654,7 @@ function Je(e) {};}// node_modules/@tanstack/query-core/build/modern/removable.js-var Ye = class {+var Xe = class {#e;destroy() {this.clearGcTimeout();@@ -9665,22 +9665,22 @@ var Ye = class {}, this.gcTime));}updateGcTime(e) {- this.gcTime = Math.max(this.gcTime || 0, e ?? (Le() ? Infinity : 3e5));+ this.gcTime = Math.max(this.gcTime || 0, e ?? (Re() ? Infinity : 3e5));}clearGcTimeout() {this.#e !== void 0 && (le.clearTimeout(this.#e), this.#e = void 0);}};// node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js-function Xe(e) {+function Ze(e) {return { onFetch: (t, n) => {let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {pages: [],pageParams: []}, c = 0, l = async () => {let n = !1, l = (e) => {- Fe(e, () => t.signal, () => n = !0);- }, u = Ne(t.options, t.fetchOptions), d = async (e, r, i) => {+ Ie(e, () => t.signal, () => n = !0);+ }, u = Pe(t.options, t.fetchOptions), d = async (e, r, i) => {if (n) return Promise.reject(t.signal.reason);if (r == null && e.pages.length) return Promise.resolve(e);let a = (() => {@@ -9692,14 +9692,14 @@ function Xe(e) {meta: t.options.meta};return l(e), e;- })(), o = await u(a), { maxPages: s } = t.options, c = i ? je : Ae;+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? Me : je;return {pages: c(e.pages, o, s),pageParams: c(e.pageParams, r, s)};};if (i && a.length) {- let e = i === "backward", t = e ? Qe : Ze, n = {+ let e = i === "backward", t = e ? $e : Qe, n = {pages: a,pageParams: o};@@ -9707,7 +9707,7 @@ function Xe(e) {} else {let t = e ?? a.length;do {- let e = c === 0 ? o[0] === void 0 ? r.initialPageParam : o[0] : Ze(r, s);+ let e = c === 0 ? o[0] === void 0 ? r.initialPageParam : o[0] : Qe(r, s);if (c > 0 && e == null) break;s = await d(s, e), c++;} while (c < t);@@ -9722,21 +9722,21 @@ function Xe(e) {}, n) : l;} };}-function Ze(e, { pages: t, pageParams: n }) {+function Qe(e, { pages: t, pageParams: n }) {let r = t.length - 1;return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;}-function Qe(e, { pages: t, pageParams: n }) {+function $e(e, { pages: t, pageParams: n }) {return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;}-function $e(e, t) {- return t ? Ze(e, t) != null : !1;-}function et(e, t) {- return !t || !e.getPreviousPageParam ? !1 : Qe(e, t) != null;+ return t ? Qe(e, t) != null : !1;+}+function tt(e, t) {+ return !t || !e.getPreviousPageParam ? !1 : $e(e, t) != null;}// node_modules/@tanstack/query-core/build/modern/query.js-var tt = class extends Ye {+var nt = class extends Xe {#e;#t;#n;@@ -9746,7 +9746,7 @@ var tt = class extends Ye {#o;#s;constructor(e) {- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = it(this.options), this.state = e.state ?? this.#t, this.scheduleGc();+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = at(this.options), this.state = e.state ?? this.#t, this.scheduleGc();}get meta() {return this.options.meta;@@ -9762,15 +9762,15 @@ var tt = class extends Ye {...this.#o,...e}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {- let e = it(this.options);- e.data !== void 0 && (this.setState(rt(e.data, e.dataUpdatedAt)), this.#t = e);+ let e = at(this.options);+ e.data !== void 0 && (this.setState(it(e.data, e.dataUpdatedAt)), this.#t = e);}}optionalRemove() {!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);}setData(e, t) {- let n = Oe(this.state.data, e, this.options);+ let n = ke(this.state.data, e, this.options);return this.#c({data: n,type: "success",@@ -9798,16 +9798,16 @@ var tt = class extends Ye {this.destroy(), this.setState(this.resetState);}isActive() {- return this.observers.some((e) => I(e.options.enabled, this) !== !1);+ return this.observers.some((e) => ge(e.options.enabled, this) !== !1);}isDisabled() {- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Me || !this.isFetched();+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Ne || !this.isFetched();}isFetched() {return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;}isStatic() {- return this.getObserversCount() > 0 && this.observers.some((e) => I(e.options.staleTime, this) === "static");+ return this.getObserversCount() > 0 && this.observers.some((e) => ge(e.options.staleTime, this) === "static");}isStale() {return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;@@ -9857,7 +9857,7 @@ var tt = class extends Ye {get: () => (this.#s = !0, n.signal)});}, i = () => {- let e = Ne(this.options, t), n = (() => {+ let e = Pe(this.options, t), n = (() => {let e = {client: this.#i,queryKey: this.queryKey,@@ -9877,15 +9877,15 @@ var tt = class extends Ye {};return r(e), e;})();- (this.#e === "infinite" ? Xe(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({+ (this.#e === "infinite" ? Ze(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({type: "fetch",meta: a.fetchOptions?.meta});- let o = this.#a = Je({+ let o = this.#a = Ye({initialPromise: t?.initialPromise,fn: a.fetchFn,onCancel: (e) => {- e instanceof Ke && e.revert && this.setState({+ e instanceof qe && e.revert && this.setState({...this.#n,fetchStatus: "idle"}), n.abort();@@ -9913,7 +9913,7 @@ var tt = class extends Ye {if (e === void 0) throw Error(`${this.queryHash} data is undefined`);return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;} catch (e) {- if (e instanceof Ke) {+ if (e instanceof qe) {if (e.silent) return this.#a.promise;if (e.revert) {if (this.state.data === void 0) throw e;@@ -9946,13 +9946,13 @@ var tt = class extends Ye {};case "fetch": return {...t,- ...nt(t.data, this.options),+ ...rt(t.data, this.options),fetchMeta: e.meta ?? null};case "success":let n = {...t,- ...rt(e.data, e.dataUpdatedAt),+ ...it(e.data, e.dataUpdatedAt),dataUpdateCount: t.dataUpdateCount + 1,...!e.manual && {fetchStatus: "idle",@@ -9984,7 +9984,7 @@ var tt = class extends Ye {};}};- this.state = t(this.state), He.batch(() => {+ this.state = t(this.state), Ue.batch(() => {this.observers.slice().forEach((e) => {e.onQueryUpdate();}), this.#r.notify({@@ -9995,18 +9995,18 @@ var tt = class extends Ye {});}};-function nt(e, t) {+function rt(e, t) {return {fetchFailureCount: 0,fetchFailureReason: null,- fetchStatus: Ge(t.networkMode) ? "fetching" : "paused",+ fetchStatus: Ke(t.networkMode) ? "fetching" : "paused",...e === void 0 && {error: null,status: "pending"}};}-function rt(e, t) {+function it(e, t) {return {data: e,dataUpdatedAt: t ?? Date.now(),@@ -10015,7 +10015,7 @@ function rt(e, t) {status: "success"};}-function it(e) {+function at(e) {let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;return {data: t,@@ -10033,7 +10033,7 @@ function it(e) {};}// node_modules/@tanstack/query-core/build/modern/queryObserver.js-var at = class extends Re {+var ot = class extends ze {#e;#t = void 0;#n = void 0;@@ -10055,36 +10055,36 @@ var at = class extends Re {this.refetch = this.refetch.bind(this);}onSubscribe() {- this.listeners.size === 1 && (this.#t.addObserver(this), st(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());+ this.listeners.size === 1 && (this.#t.addObserver(this), ct(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());}onUnsubscribe() {this.hasListeners() || this.destroy();}shouldFetchOnReconnect() {- return ct(this.#t, this.options, this.options.refetchOnReconnect);+ return lt(this.#t, this.options, this.options.refetchOnReconnect);}shouldFetchOnWindowFocus() {- return ct(this.#t, this.options, this.options.refetchOnWindowFocus);+ return lt(this.#t, this.options, this.options.refetchOnWindowFocus);}destroy() {this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);}setOptions(e) {let t = this.options, n = this.#t;- if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof I(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");- this.#S(), this.#t.setOptions(this.options), t._defaulted && !Ce(this.options, t) && this.#e.getQueryCache().notify({+ if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof ge(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !we(this.options, t) && this.#e.getQueryCache().notify({type: "observerOptionsUpdated",query: this.#t,observer: this});let r = this.hasListeners();- r && lt(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || I(this.options.enabled, this.#t) !== I(t.enabled, this.#t) || I(this.options.staleTime, this.#t) !== I(t.staleTime, this.#t)) && this.#g();+ r && ut(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || ge(this.options.enabled, this.#t) !== ge(t.enabled, this.#t) || ge(this.options.staleTime, this.#t) !== ge(t.staleTime, this.#t)) && this.#g();let i = this.#_();- r && (this.#t !== n || I(this.options.enabled, this.#t) !== I(t.enabled, this.#t) || i !== this.#f) && this.#v(i);+ r && (this.#t !== n || ge(this.options.enabled, this.#t) !== ge(t.enabled, this.#t) || i !== this.#f) && this.#v(i);}getOptimisticResult(e) {let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);- return Ce(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;+ return we(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;}getCurrentResult() {return this.#r;@@ -10126,11 +10126,11 @@ var at = class extends Re {return e?.throwOnError || (t = t.catch(fe)), t;}#h(e) {- return !Le() && I(this.options.enabled, this.#t) !== !1 && me(e);+ return !Re() && ge(this.options.enabled, this.#t) !== !1 && me(e);}#g() {this.#b();- let e = I(this.options.staleTime, this.#t);+ let e = ge(this.options.staleTime, this.#t);if (this.#r.isStale || !this.#h(e)) return;let t = he(this.#r.dataUpdatedAt, e) + 1;this.#u = le.setTimeout(() => {@@ -10138,11 +10138,11 @@ var at = class extends Re {}, t);}#_() {- return I(this.options.refetchInterval, this.#t) ?? !1;+ return ge(this.options.refetchInterval, this.#t) ?? !1;}#v(e) {this.#x(), this.#f = e, this.#f !== 0 && this.#h(this.#f) && (this.#d = le.setInterval(() => {- (this.options.refetchIntervalInBackground || ze.isFocused()) && this.#m();+ (this.options.refetchIntervalInBackground || Be.isFocused()) && this.#m();}, this.#f));}#y() {@@ -10157,10 +10157,10 @@ var at = class extends Re {createResult(e, t) {let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;if (t._optimisticResults) {- let i = this.hasListeners(), a = !i && st(e, t), o = i && lt(e, n, t, r);+ let i = this.hasListeners(), a = !i && ct(e, t), o = i && ut(e, n, t, r);(a || o) && (l = {...l,- ...nt(c.data, e.options)+ ...rt(c.data, e.options)}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");}let { error: f, errorUpdatedAt: p, status: m } = l;@@ -10168,12 +10168,12 @@ var at = class extends Re {let h = !1;if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {let e;- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = Oe(i?.data, e, t), u = !0);+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = ke(i?.data, e, t), u = !0);}if (t.select && d !== void 0 && !h) {if (i && d === a?.data && t.select === this.#s) d = this.#c;else try {- this.#s = t.select, d = t.select(d), d = Oe(i?.data, d, t), this.#c = d, this.#o = null;+ this.#s = t.select, d = t.select(d), d = ke(i?.data, d, t), this.#c = d, this.#o = null;} catch (e) {this.#o = e;}@@ -10203,14 +10203,14 @@ var at = class extends Re {isPaused: l.fetchStatus === "paused",isPlaceholderData: u,isRefetchError: v && b,- isStale: ut(e, t),+ isStale: dt(e, t),refetch: this.refetch,- isEnabled: I(t.enabled, e) !== !1+ isEnabled: ge(t.enabled, e) !== !1};}updateResult() {let e = this.#r, t = this.createResult(this.#t, this.options);- if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), Ce(t, e)) return;+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), we(t, e)) return;this.#r = t;let n = (() => {if (!e) return !0;@@ -10222,7 +10222,7 @@ var at = class extends Re {return this.#r[n] !== e[n] && r.has(n);});})();- He.batch(() => {+ Ue.batch(() => {n && this.listeners.forEach((e) => {e(this.#r);}), this.#e.getQueryCache().notify({@@ -10241,27 +10241,27 @@ var at = class extends Re {this.updateResult(), this.hasListeners() && this.#y();}};-function ot(e, t) {- return I(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || I(t.retryOnMount, e) !== !1);-}function st(e, t) {- return ot(e, t) || e.state.data !== void 0 && ct(e, t, t.refetchOnMount);+ return ge(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || ge(t.retryOnMount, e) !== !1);+}+function ct(e, t) {+ return st(e, t) || e.state.data !== void 0 && lt(e, t, t.refetchOnMount);}-function ct(e, t, n) {- if (I(t.enabled, e) !== !1 && I(t.staleTime, e) !== "static") {- let r = I(n, e);- return r === "always" || r !== !1 && ut(e, t);+function lt(e, t, n) {+ if (ge(t.enabled, e) !== !1 && ge(t.staleTime, e) !== "static") {+ let r = ge(n, e);+ return r === "always" || r !== !1 && dt(e, t);}return !1;}-function lt(e, t, n, r) {- return (e !== t || I(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && ut(e, n);+function ut(e, t, n, r) {+ return (e !== t || ge(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && dt(e, n);}-function ut(e, t) {- return I(t.enabled, e) !== !1 && e.isStaleByTime(I(t.staleTime, e));+function dt(e, t) {+ return ge(t.enabled, e) !== !1 && e.isStaleByTime(ge(t.staleTime, e));}// node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js-var dt = class extends at {+var ft = class extends ot {constructor(e, t) {super(e, t);}@@ -10292,8 +10292,8 @@ var dt = class extends at {...r,fetchNextPage: this.fetchNextPage,fetchPreviousPage: this.fetchPreviousPage,- hasNextPage: $e(t, n.data),- hasPreviousPage: et(t, n.data),+ hasNextPage: et(t, n.data),+ hasPreviousPage: tt(t, n.data),isFetchNextPageError: l,isFetchingNextPage: u,isFetchPreviousPageError: d,@@ -10302,13 +10302,13 @@ var dt = class extends at {isRefetching: a && !u && !f};}-}, ft = class extends Ye {+}, pt = class extends Xe {#e;#t;#n;#r;constructor(e) {- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || pt(), this.setOptions(e.options), this.scheduleGc();+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || mt(), this.setOptions(e.options), this.scheduleGc();}setOptions(e) {this.options = e, this.updateGcTime(this.options.gcTime);@@ -10343,7 +10343,7 @@ var dt = class extends at {client: this.#e,meta: this.options.meta,mutationKey: this.options.mutationKey- }, r = this.#r = Je({+ }, r = this.#r = Ye({fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),onFail: (e, t) => {this.#i({@@ -10459,7 +10459,7 @@ var dt = class extends at {};}};- this.state = t(this.state), He.batch(() => {+ this.state = t(this.state), Ue.batch(() => {this.#t.forEach((t) => {t.onMutationUpdate(e);}), this.#n.notify({@@ -10470,7 +10470,7 @@ var dt = class extends at {});}};-function pt() {+function mt() {return {context: void 0,data: void 0,@@ -10484,7 +10484,7 @@ function pt() {};}// node_modules/@tanstack/query-core/build/modern/mutationCache.js-var mt = class extends Re {+var ht = class extends ze {#e;#t;#n;@@ -10492,7 +10492,7 @@ var mt = class extends Re {super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;}build(e, t, n) {- let r = new ft({+ let r = new pt({client: e,mutationCache: this,mutationId: ++this.#n,@@ -10503,7 +10503,7 @@ var mt = class extends Re {}add(e) {this.#e.add(e);- let t = ht(e);+ let t = gt(e);if (typeof t == "string") {let n = this.#t.get(t);n ? n.push(e) : this.#t.set(t, [e]);@@ -10515,7 +10515,7 @@ var mt = class extends Re {}remove(e) {if (this.#e.delete(e)) {- let t = ht(e);+ let t = gt(e);if (typeof t == "string") {let n = this.#t.get(t);if (n) {@@ -10532,7 +10532,7 @@ var mt = class extends Re {});}canRun(e) {- let t = ht(e);+ let t = gt(e);if (typeof t == "string") {let n = this.#t.get(t)?.find((e) => e.state.status === "pending");return !n || n === e;@@ -10540,11 +10540,11 @@ var mt = class extends Re {return !0;}runNext(e) {- let t = ht(e);+ let t = gt(e);return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();}clear() {- He.batch(() => {+ Ue.batch(() => {let e = this.getAll();this.#e.clear(), this.#t.clear(), e.forEach((e) => {this.notify({@@ -10562,13 +10562,13 @@ var mt = class extends Re {exact: !0,...e};- return this.getAll().find((e) => _e(t, e));+ return this.getAll().find((e) => ve(t, e));}findAll(e = {}) {- return this.getAll().filter((t) => _e(e, t));+ return this.getAll().filter((t) => ve(e, t));}notify(e) {- He.batch(() => {+ Ue.batch(() => {this.listeners.forEach((t) => {t(e);});@@ -10576,14 +10576,14 @@ var mt = class extends Re {}resumePausedMutations() {let e = this.getAll().filter((e) => e.state.isPaused);- return He.batch(() => Promise.all(e.map((e) => e.continue().catch(fe))));+ return Ue.batch(() => Promise.all(e.map((e) => e.continue().catch(fe))));}};-function ht(e) {+function gt(e) {return e.options.scope?.id;}// node_modules/@tanstack/query-core/build/modern/mutationObserver.js-var gt = class extends Re {+var _t = class extends ze {#e;#t = void 0;#n;@@ -10596,11 +10596,11 @@ var gt = class extends Re {}setOptions(e) {let t = this.options;- this.options = this.#e.defaultMutationOptions(e), Ce(this.options, t) || this.#e.getMutationCache().notify({+ this.options = this.#e.defaultMutationOptions(e), we(this.options, t) || this.#e.getMutationCache().notify({type: "observerOptionsUpdated",mutation: this.#n,observer: this- }), t?.mutationKey && this.options.mutationKey && ye(t.mutationKey) !== ye(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);+ }), t?.mutationKey && this.options.mutationKey && be(t.mutationKey) !== be(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);}onSubscribe() {this.listeners.size === 1 && this.#n && (this.#n.addObserver(this), this.#i());@@ -10621,7 +10621,7 @@ var gt = class extends Re {return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);}#i() {- let e = this.#n?.state ?? pt();+ let e = this.#n?.state ?? mt();this.#t = {...e,isPending: e.status === "pending",@@ -10633,7 +10633,7 @@ var gt = class extends Re {};}#a(e) {- He.batch(() => {+ Ue.batch(() => {let t = this.#r;if (t && this.hasListeners()) {let n = this.#t.variables, r = this.#t.context, i = {@@ -10672,11 +10672,11 @@ var gt = class extends Re {}};// node_modules/@tanstack/query-core/build/modern/queriesObserver.js-function _t(e, t) {+function vt(e, t) {let n = new Set(t);return e.filter((e) => !n.has(e));}-var vt = class extends Re {+var yt = class extends ze {#e;#t;#n;@@ -10706,16 +10706,16 @@ var vt = class extends Re {});}setQueries(e, t) {- this.#n = e, this.#r = t, He.batch(() => {+ this.#n = e, this.#r = t, Ue.batch(() => {let e = this.#i, t = this.#p(this.#n);t.forEach((e) => e.observer.setOptions(e.defaultedQueryOptions));let n = t.map((e) => e.observer), r = n.map((e) => e.getCurrentResult()), i = e.length !== n.length, a = n.some((t, n) => t !== e[n]), o = i || a, s = o ? !0 : r.some((e, t) => {let n = this.#t[t];- return !n || !Ce(e, n);+ return !n || !we(e, n);});- (o || s) && (o && (this.#l = t, this.#i = n), this.#t = r, this.hasListeners() && (o && (_t(e, n).forEach((e) => {+ (o || s) && (o && (this.#l = t, this.#i = n), this.#t = r, this.hasListeners() && (o && (vt(e, n).forEach((e) => {e.destroy();- }), _t(n, e).forEach((e) => {+ }), vt(n, e).forEach((e) => {e.subscribe((t) => {this.#m(e, t);});@@ -10753,7 +10753,7 @@ var vt = class extends Re {#d(e, t, n) {if (t) {let r = this.#c, i = n !== void 0 && r !== void 0 && (r.length !== n.length || n.some((e, t) => e !== r[t]));- return (this.#t !== this.#s || i || t !== this.#o) && (this.#o = t, this.#s = this.#t, n !== void 0 && (this.#c = n), this.#a = Se(this.#a, t(e))), this.#a;+ return (this.#t !== this.#s || i || t !== this.#o) && (this.#o = t, this.#s = this.#t, n !== void 0 && (this.#c = n), this.#a = Ce(this.#a, t(e))), this.#a;}return e;}@@ -10770,7 +10770,7 @@ var vt = class extends Re {});let n = [];return e.forEach((e) => {- let r = this.#e.defaultQueryOptions(e), i = t.get(r.queryHash)?.shift() ?? new at(this.#e, r);+ let r = this.#e.defaultQueryOptions(e), i = t.get(r.queryHash)?.shift() ?? new ot(this.#e, r);n.push({defaultedQueryOptions: r,observer: i@@ -10784,21 +10784,21 @@ var vt = class extends Re {#h() {if (this.hasListeners()) {let e = this.#f(), t = this.#a, n = e ? t : this.#d(this.#u(this.#t, this.#l), this.#r?.combine);- (e || t !== n) && He.batch(() => {+ (e || t !== n) && Ue.batch(() => {this.listeners.forEach((e) => {e(this.#t);});});}}-}, yt = class extends Re {+}, bt = class extends ze {#e;constructor(e = {}) {super(), this.config = e, this.#e = /* @__PURE__ */ new Map();}build(e, t, n) {- let r = t.queryKey, i = t.queryHash ?? ve(r, t), a = this.get(i);- return a || (a = new tt({+ let r = t.queryKey, i = t.queryHash ?? ye(r, t), a = this.get(i);+ return a || (a = new nt({client: e,queryKey: r,queryHash: i,@@ -10820,7 +10820,7 @@ var vt = class extends Re {}));}clear() {- He.batch(() => {+ Ue.batch(() => {this.getAll().forEach((e) => {this.remove(e);});@@ -10837,34 +10837,34 @@ var vt = class extends Re {exact: !0,...e};- return this.getAll().find((e) => ge(t, e));+ return this.getAll().find((e) => _e(t, e));}findAll(e = {}) {let t = this.getAll();- return Object.keys(e).length > 0 ? t.filter((t) => ge(e, t)) : t;+ return Object.keys(e).length > 0 ? t.filter((t) => _e(e, t)) : t;}notify(e) {- He.batch(() => {+ Ue.batch(() => {this.listeners.forEach((t) => {t(e);});});}onFocus() {- He.batch(() => {+ Ue.batch(() => {this.getAll().forEach((e) => {e.onFocus();});});}onOnline() {- He.batch(() => {+ Ue.batch(() => {this.getAll().forEach((e) => {e.onOnline();});});}-}, bt = class {+}, xt = class {#e;#t;#n;@@ -10874,12 +10874,12 @@ var vt = class extends Re {#o;#s;constructor(e = {}) {- this.#e = e.queryCache || new yt(), this.#t = e.mutationCache || new mt(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;+ this.#e = e.queryCache || new bt(), this.#t = e.mutationCache || new ht(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;}mount() {- this.#a++, this.#a === 1 && (this.#o = ze.subscribe(async (e) => {+ this.#a++, this.#a === 1 && (this.#o = Be.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onFocus());- }), this.#s = Ue.subscribe(async (e) => {+ }), this.#s = We.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onOnline());}));}@@ -10904,7 +10904,7 @@ var vt = class extends Re {}ensureQueryData(e) {let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(I(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(ge(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));}getQueriesData(e) {return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);@@ -10917,7 +10917,7 @@ var vt = class extends Re {});}setQueriesData(e, t, n) {- return He.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));+ return Ue.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));}getQueryState(e) {let t = this.defaultQueryOptions({ queryKey: e });@@ -10925,7 +10925,7 @@ var vt = class extends Re {}removeQueries(e) {let t = this.#e;- He.batch(() => {+ Ue.batch(() => {t.findAll(e).forEach((e) => {t.remove(e);});@@ -10933,7 +10933,7 @@ var vt = class extends Re {}resetQueries(e, t) {let n = this.#e;- return He.batch(() => {+ return Ue.batch(() => {let r = n.findAll(e), i = new Set(r);return r.forEach((e) => {e.reset();@@ -10947,11 +10947,11 @@ var vt = class extends Re {let n = {revert: !0,...t- }, r = He.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));+ }, r = Ue.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));return Promise.all(r).then(fe).catch(fe);}invalidateQueries(e, t = {}) {- return He.batch(() => (this.#e.findAll(e).forEach((e) => {+ return Ue.batch(() => (this.#e.findAll(e).forEach((e) => {e.invalidate();}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({...e,@@ -10962,7 +10962,7 @@ var vt = class extends Re {let n = {...t,cancelRefetch: t.cancelRefetch ?? !0- }, r = He.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {+ }, r = Ue.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {let t = e.fetch(void 0, n);return n.throwOnError || (t = t.catch(fe)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;}));@@ -10971,14 +10971,14 @@ var vt = class extends Re {async query(e) {let t = this.defaultQueryOptions(e);t.retry === void 0 && (t.retry = !1);- let n = this.#e.build(this, t), r = n.isStaleByTime(I(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;+ let n = this.#e.build(this, t), r = n.isStaleByTime(ge(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;return i ? i(r) : r;}fetchQuery(e) {let t = this.defaultQueryOptions(e);t.retry === void 0 && (t.retry = !1);let n = this.#e.build(this, t);- return n.isStaleByTime(I(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);+ return n.isStaleByTime(ge(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);}prefetchQuery(e) {return this.fetchQuery(e).then(fe).catch(fe);@@ -10996,7 +10996,7 @@ var vt = class extends Re {return e._type = "infinite", this.ensureQueryData(e);}resumePausedMutations() {- return Ue.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();+ return We.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();}getQueryCache() {return this.#e;@@ -11011,7 +11011,7 @@ var vt = class extends Re {this.#n = e;}setQueryDefaults(e, t) {- this.#r.set(ye(e), {+ this.#r.set(be(e), {queryKey: e,defaultOptions: t});@@ -11019,11 +11019,11 @@ var vt = class extends Re {getQueryDefaults(e) {let t = [...this.#r.values()], n = {};return t.forEach((t) => {- be(e, t.queryKey) && Object.assign(n, t.defaultOptions);+ xe(e, t.queryKey) && Object.assign(n, t.defaultOptions);}), n;}setMutationDefaults(e, t) {- this.#i.set(ye(e), {+ this.#i.set(be(e), {mutationKey: e,defaultOptions: t});@@ -11031,7 +11031,7 @@ var vt = class extends Re {getMutationDefaults(e) {let t = [...this.#i.values()], n = {};return t.forEach((t) => {- be(e, t.mutationKey) && Object.assign(n, t.defaultOptions);+ xe(e, t.mutationKey) && Object.assign(n, t.defaultOptions);}), n;}defaultQueryOptions(e) {@@ -11042,7 +11042,7 @@ var vt = class extends Re {...e,_defaulted: !0};- return t.queryHash ||= ve(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Me && (t.enabled = !1), t;+ return t.queryHash ||= ye(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Ne && (t.enabled = !1), t;}defaultMutationOptions(e) {return e?._defaulted ? e : {@@ -11055,10 +11055,10 @@ var vt = class extends Re {clear() {this.#e.clear(), this.#t.clear();}-}, xt = P.createContext(!1), St = () => P.useContext(xt);-xt.Provider;+}, St = P.createContext(!1), Ct = () => P.useContext(St);+St.Provider;// node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js-function Ct() {+function wt() {let e = !1;return {clearReset: () => {@@ -11070,24 +11070,24 @@ function Ct() {isReset: () => e};}-var wt = P.createContext(Ct()), Tt = () => P.useContext(wt), Et = (e, t, n) => {- let r = n?.state.status === "error" && typeof e.throwOnError == "function" ? Pe(e.throwOnError, [n.state.error, n]) : e.throwOnError;+var Tt = P.createContext(wt()), Et = () => P.useContext(Tt), Dt = (e, t, n) => {+ let r = n?.state.status === "error" && typeof e.throwOnError == "function" ? Fe(e.throwOnError, [n.state.error, n]) : e.throwOnError;(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));-}, Dt = (e) => {+}, Ot = (e) => {P.useEffect(() => {e.clearReset();}, [e]);-}, Ot = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Pe(n, [e.error, r])), kt = (e) => {+}, kt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Fe(n, [e.error, r])), At = (e) => {if (e.suspense) {let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));}-}, At = (e, t) => e?.suspense && t.isPending, jt = (e, t, n) => t.fetchOptimistic(e).catch(() => {+}, jt = (e, t) => e?.suspense && t.isPending, Mt = (e, t, n) => t.fetchOptimistic(e).catch(() => {n.clearReset();});// node_modules/@tanstack/react-query/build/modern/useQueries.js-function Mt({ queries: e, ...t }, n) {- let r = oe(n), i = St(), a = Tt(), o = t.subscribed !== !1, s = P.useMemo(() => e.map((e) => {+function Nt({ queries: e, ...t }, n) {+ let r = oe(n), i = Ct(), a = Et(), o = t.subscribed !== !1, s = P.useMemo(() => e.map((e) => {let t = r.defaultQueryOptions(e);return t._optimisticResults = i ? "isRestoring" : o ? "optimistic" : void 0, t;}), [@@ -11097,26 +11097,26 @@ function Mt({ queries: e, ...t }, n) {o]);s.forEach((e) => {- kt(e);+ At(e);let t = r.getQueryCache().get(e.queryHash);- Et(e, a, t);- }), Dt(a);- let [c] = P.useState(() => new vt(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;- P.useSyncExternalStore(P.useCallback((e) => f ? c.subscribe(He.batchCalls(e)) : fe, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), P.useEffect(() => {+ Dt(e, a, t);+ }), Ot(a);+ let [c] = P.useState(() => new yt(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;+ P.useSyncExternalStore(P.useCallback((e) => f ? c.subscribe(Ue.batchCalls(e)) : fe, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), P.useEffect(() => {c.setQueries(s, t);}, [s,t,c]);- let p = l.some((e, t) => At(s[t], e)) ? l.flatMap((e, t) => {+ let p = l.some((e, t) => jt(s[t], e)) ? l.flatMap((e, t) => {let n = s[t];- return n && At(n, e) ? jt(n, new at(r, n), a) : [];+ return n && jt(n, e) ? Mt(n, new ot(r, n), a) : [];}) : [];if (p.length > 0) throw Promise.all(p);let m = l.find((e, t) => {let n = s[t];- return n && Ot({+ return n && kt({result: e,errorResetBoundary: a,throwOnError: n.throwOnError,@@ -11128,17 +11128,17 @@ function Mt({ queries: e, ...t }, n) {return u(d());}// node_modules/@tanstack/react-query/build/modern/useBaseQuery.js-function Nt(e, t, n) {- let r = St(), i = Tt(), a = oe(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, kt(o), Et(o, i, s), Dt(i);+function Pt(e, t, n) {+ let r = Ct(), i = Et(), a = oe(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, At(o), Dt(o, i, s), Ot(i);let [l] = P.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;if (P.useSyncExternalStore(P.useCallback((e) => {- let t = d ? l.subscribe(He.batchCalls(e)) : fe;+ let t = d ? l.subscribe(Ue.batchCalls(e)) : fe;return l.updateResult(), t;}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), P.useEffect(() => {l.setOptions(o);- }, [o, l]), At(o, u)) throw jt(o, l, i);- if (Ot({+ }, [o, l]), jt(o, u)) throw Mt(o, l, i);+ if (kt({result: u,errorResetBoundary: i,throwOnError: o.throwOnError,@@ -11148,19 +11148,19 @@ function Nt(e, t, n) {return o.notifyOnChangeProps ? u : l.trackResult(u);}// node_modules/@tanstack/react-query/build/modern/useQuery.js-function Pt(e, t) {- return Nt(e, at, t);+function Ft(e, t) {+ return Pt(e, ot, t);}// node_modules/@tanstack/react-query/build/modern/useMutation.js-function Ft(e, t) {- let n = oe(t), [r] = P.useState(() => new gt(n, e));+function It(e, t) {+ let n = oe(t), [r] = P.useState(() => new _t(n, e));P.useEffect(() => {r.setOptions(e);}, [r, e]);- let i = P.useSyncExternalStore(P.useCallback((e) => r.subscribe(He.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = P.useCallback((...e) => {+ let i = P.useSyncExternalStore(P.useCallback((e) => r.subscribe(Ue.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = P.useCallback((...e) => {r.mutate(e[0], e[1]).catch(fe);}, [r]);- if (i.error && Pe(r.options.throwOnError, [i.error])) throw i.error;+ if (i.error && Fe(r.options.throwOnError, [i.error])) throw i.error;return {...i,mutate: a,@@ -11168,11 +11168,11 @@ function Ft(e, t) {};}// node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js-function It(e, t) {- return Nt(e, dt, t);+function Lt(e, t) {+ return Pt(e, ft, t);}// src/core/entity-links.ts-var Lt = /* @__PURE__ */ l(te(), 1), Rt = N(), zt = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new Map(), Ht = {+var Rt = /* @__PURE__ */ l(te(), 1), zt = N(), Bt = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new Map(), Ht = /* @__PURE__ */ new Map(), Ut = {performers: "performer",studios: "studio",creators: "creator",@@ -11180,22 +11180,22 @@ var Lt = /* @__PURE__ */ l(te(), 1), Rt = N(), zt = /* @__PURE__ */ new Map(), Btags: "tag",series: "series"};-function Ut(e, t, n) {- typeof n == "number" && Number.isSafeInteger(n) && n > 0 && t && (zt.set(`${e}/${t}`, n), Vt.set(`${e}/${n}`, t));+function Wt(e, t, n) {+ typeof n == "number" && Number.isSafeInteger(n) && n > 0 && t && (Bt.set(`${e}/${t}`, n), Ht.set(`${e}/${n}`, t));}-var Wt = (e, t) => Vt.get(`${e}/${t}`);-function Gt(e, t) {- let n = `${e}/${t}`, r = zt.get(n);+var Gt = (e, t) => Ht.get(`${e}/${t}`);+function Kt(e, t) {+ let n = `${e}/${t}`, r = Bt.get(n);if (r) return r;- let i = Bt.get(n);+ let i = Vt.get(n);return i?.size === 1 ? [...i][0] : void 0;}-function Kt(e, t, n) {+function qt(e, t, n) {if (typeof n != "number" || !Number.isSafeInteger(n) || n <= 0 || !t) return;- let r = `${e}/${t}`, i = Bt.get(r) || /* @__PURE__ */ new Set();- i.add(n), Bt.set(r, i);+ let r = `${e}/${t}`, i = Vt.get(r) || /* @__PURE__ */ new Set();+ i.add(n), Vt.set(r, i);}-function qt(e, t) {+function Jt(e, t) {if (!t || typeof t != "object") return;let n = t, r = new URL(e, "https://peach.invalid");if (![@@ -11206,21 +11206,21 @@ function qt(e, t) {"/api/facets","/api/suggest"].includes(r.pathname)) return;- let i = r.searchParams.get("kind") || r.pathname.slice(5), a = Ht[i] || i;+ let i = r.searchParams.get("kind") || r.pathname.slice(5), a = Ut[i] || i;if (n.canonical_name && n.id) {- for (let e of Array.isArray(n.aliases) ? n.aliases : []) Kt(n.kind || a, e, n.id);- Ut(n.kind || a, n.canonical_name, n.id);+ for (let e of Array.isArray(n.aliases) ? n.aliases : []) qt(n.kind || a, e, n.id);+ Wt(n.kind || a, n.canonical_name, n.id);}for (let e of Array.isArray(n.entities) ? n.entities : []) {- for (let t of (e.names || []).slice(1)) Kt(e.kind, t, e.id);- Ut(e.kind, e.names?.[0], e.id);+ for (let t of (e.names || []).slice(1)) qt(e.kind, t, e.id);+ Wt(e.kind, e.names?.[0], e.id);}- for (let e of Array.isArray(n.items) ? n.items : []) a && Ut(e.entity_kind || a, e.k || e.name, e.entity_id);- if (["/api/tops", "/api/facets"].includes(r.pathname)) for (let [e, t] of Object.entries(Ht)) for (let r of Array.isArray(n[e]) ? n[e] : []) Ut(t, r.k || r.name, r.entity_id || r.id);- if (r.pathname === "/api/suggest") for (let e of Array.isArray(n.groups) ? n.groups : []) for (let t of Array.isArray(e.items) ? e.items : []) Ut(e.kind, t.value, t.entity_id);+ for (let e of Array.isArray(n.items) ? n.items : []) a && Wt(e.entity_kind || a, e.k || e.name, e.entity_id);+ if (["/api/tops", "/api/facets"].includes(r.pathname)) for (let [e, t] of Object.entries(Ut)) for (let r of Array.isArray(n[e]) ? n[e] : []) Wt(t, r.k || r.name, r.entity_id || r.id);+ if (r.pathname === "/api/suggest") for (let e of Array.isArray(n.groups) ? n.groups : []) for (let t of Array.isArray(e.items) ? e.items : []) Wt(e.kind, t.value, t.entity_id);}// ../resources/media-sources.json-var Jt = [+var Yt = [{id: "local",name: "本地磁盘",@@ -11269,9 +11269,9 @@ var Jt = [cloud: !0,icon: "database"}-], Yt = Jt, Xt = Jt.map((e) => [e.id, e.label]), Zt = Jt.map((e) => e.id), Qt = Jt.filter((e) => e.cloud).map((e) => e.id), $t = Object.fromEntries(Jt.map((e) => [e.id, e.name])), en = (e) => Jt.find((t) => t.id === e)?.default_cost === "free" ? "free" : "metered";+], Xt = Yt, Zt = Yt.map((e) => [e.id, e.label]), Qt = Yt.map((e) => e.id), $t = Yt.filter((e) => e.cloud).map((e) => e.id), en = Object.fromEntries(Yt.map((e) => [e.id, e.name])), tn = (e) => Yt.find((t) => t.id === e)?.default_cost === "free" ? "free" : "metered";// src/core/request-error.ts-function tn(e, t = 0) {+function nn(e, t = 0) {let n = String(e?.message ?? e ?? ""), r = Number(t || e?.status || n.match(/\b(400|401|403|404|408|409|413|429|500|502|503|504)\b/)?.[1]), i = {400: "提交内容有误,请检查输入后重试。",401: "登录已失效,请刷新页面重新登录。",@@ -11289,19 +11289,19 @@ function tn(e, t = 0) {return /Failed to fetch|fetch failed|NetworkError|Load failed|network request failed|ERR_CONNECTION/i.test(n) ? "无法连接到 Peach 服务,请确认网络连接和托盘服务已启动。" : e?.name === "TimeoutError" || !r && /timed? ?out|timeout/i.test(n) ? "等待服务响应超时,请检查连接后重试。" : /[㐀-鿿]/.test(n) && !/^请求失败[((]/.test(n) ? n : i[r] ? i[r] : "操作未完成,请重试;持续失败时查看托盘日志。";}// src/core/icon-geometry.ts-var nn = {+var rn = {"text-aa": 1.435,"mark-javdb": 326 / 111};-function rn(e) {- let t = nn[e];+function an(e) {+ let t = rn[e];return {wide: !!t,viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24"};}// src/core/library-scope.ts-function an(e) {+function on(e) {if (!/^\/api\/(items|facets)([?#]|$)/.test(e)) return e;let t = e.indexOf("#"), n = t < 0 ? e : e.slice(0, t), r = t < 0 ? "" : e.slice(t), i = n.indexOf("?");if (new URLSearchParams(i < 0 ? "" : n.slice(i + 1)).has("library")) return e;@@ -11309,11 +11309,11 @@ function an(e) {return a ? `${n}${i < 0 ? "?" : n.endsWith("?") || n.endsWith("&") ? "" : "&"}library=${encodeURIComponent(a)}${r}` : e;}// src/core/index.ts-var L = (e) => document.querySelector(e), R = (e, t = "") => {- let { wide: n, viewBox: r } = rn(e), i = [n ? "iconwide" : "", t].filter(Boolean).join(" ");+var I = (e) => document.querySelector(e), L = (e, t = "") => {+ let { wide: n, viewBox: r } = an(e), i = [n ? "iconwide" : "", t].filter(Boolean).join(" ");return `<svg${i ? ` class="${i}"` : ""} viewBox="${r}" aria-hidden="true"><use href="#i-${e}"/></svg>`;-}, on = async (e, t) => {- t?.method && t.method.toUpperCase() !== "GET" || (e = an(e));+}, sn = async (e, t) => {+ t?.method && t.method.toUpperCase() !== "GET" || (e = on(e));let { signal: n = null, ...r } = t || {}, i = {headers: { "Content-Type": "application/json" },...r@@ -11323,7 +11323,7 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {try {a = await fetch(e, i);} catch (e) {- throw e?.name === "AbortError" ? e : Error(tn(e), { cause: e });+ throw e?.name === "AbortError" ? e : Error(nn(e), { cause: e });}let o = null;try {@@ -11331,10 +11331,10 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {} catch {}if (!a.ok) {let e = o && (o.message || o.detail || o.error);- throw Error(tn(e, a.status));+ throw Error(nn(e, a.status));}- return qt(e, o), o;-}, sn = (e) => e?.name === "AbortError", cn = async (e, t, n) => {+ return Jt(e, o), o;+}, cn = (e) => e?.name === "AbortError", ln = async (e, t, n) => {let r = [...e], i = Array(r.length), a = 0, o = async () => {for (; a < r.length;) {let e = a++;@@ -11352,41 +11352,41 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {}}, s = Math.min(Math.max(1, t), r.length);return await Promise.all(Array.from({ length: s }, o)), i;-}, ln = {+}, un = {fresh: "/unseen",later: "/watch-later",flagged: "/flagged",ads: "/junk-files"-}, un = Object.fromEntries(Object.entries(ln).map(([e, t]) => [t, e])), dn = {+}, dn = Object.fromEntries(Object.entries(un).map(([e, t]) => [t, e])), fn = {fresh: "没看过",later: "稍后看",flagged: "已标记",ads: "垃圾文件"-}, fn = (e) => e === "/" || e === "/wall" || Object.prototype.hasOwnProperty.call(un, e), pn = {+}, pn = (e) => e === "/" || e === "/wall" || Object.prototype.hasOwnProperty.call(dn, e), mn = {performer: "performers",studio: "studios",creator: "creators",series: "series",agency: "agencies",tag: "tags"-}, mn = {+}, hn = {performers: "performer",studios: "studio",creators: "creator",series: "series",agencies: "agency",tags: "tag"-}, hn = (e, t, n) => {- n && Ut(e, t, n);- let r = n || Gt(e, t);- return `/${pn[e] || e}/${r || encodeURIComponent(t)}`;-}, z = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({+}, gn = (e, t, n) => {+ n && Wt(e, t, n);+ let r = n || Kt(e, t);+ return `/${mn[e] || e}/${r || encodeURIComponent(t)}`;+}, R = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), gn = [+})[e]), _n = [["nax-pro.com", "NAX"],["t-powers.co.jp", "T-POWERS"],["dmm.co.jp", "DMM"],@@ -11424,16 +11424,16 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {["naturalhigh.co.jp", "Natural High"],["bangbros.com", "BangBros"],["dorcelclub.com", "Dorcel"]-], _n = (e) => String(e).replace(/^www\./, "").toLowerCase(), vn = (e) => {+], vn = (e) => String(e).replace(/^www\./, "").toLowerCase(), yn = (e) => {try {- return _n(new URL(e).hostname);+ return vn(new URL(e).hostname);} catch {return "";}-}, yn = (e) => {- let t = vn(e);- return t && gn.find(([e]) => t === e || t.endsWith("." + e))?.[1] || "";-}, bn = (e) => `/link-mark?id=${encodeURIComponent(e.link_id ?? "")}`, xn = (e) => `/site-mark?${new URLSearchParams(e)}`, Sn = [+}, bn = (e) => {+ let t = yn(e);+ return t && _n.find(([e]) => t === e || t.endsWith("." + e))?.[1] || "";+}, xn = (e) => `/link-mark?id=${encodeURIComponent(e.link_id ?? "")}`, Sn = (e) => `/site-mark?${new URLSearchParams(e)}`, Cn = [[["x.com", "twitter.com"], "brand-x"],[["instagram.com"], "brand-instagram"],[["threads.com", "threads.net"], "brand-threads"],@@ -11441,65 +11441,65 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {[["youtube.com", "youtu.be"], "brand-youtube"],[["facebook.com", "fb.com"], "brand-facebook"],[["linktr.ee", "linktree.com"], "brand-linktree"]-], Cn = (e) => {- let t = vn(e);- return t && Sn.find(([e]) => e.some((e) => t === e || t.endsWith("." + e)))?.[1] || "";-}, wn = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase(), Tn = ["web.archive.org"], En = (e) => Tn.includes(vn(e)), Dn = (e, t, n = []) => {- let r = yn(e.url) || e.label || "";- if (t !== "studio" && t !== "agency" || En(e.url)) return r;- let i = [r, e.label].map(wn).filter(Boolean);- return !i.length || i.includes("官方网站") || i.some((t) => _n(t) === vn(e.url) || n.some((e) => {- let n = wn(e);+], wn = (e) => {+ let t = yn(e);+ return t && Cn.find(([e]) => e.some((e) => t === e || t.endsWith("." + e)))?.[1] || "";+}, Tn = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase(), En = ["web.archive.org"], Dn = (e) => En.includes(yn(e)), On = (e, t, n = []) => {+ let r = bn(e.url) || e.label || "";+ if (t !== "studio" && t !== "agency" || Dn(e.url)) return r;+ let i = [r, e.label].map(Tn).filter(Boolean);+ return !i.length || i.includes("官方网站") || i.some((t) => vn(t) === yn(e.url) || n.some((e) => {+ let n = Tn(e);return !!n && (n.includes(t) || t.includes(n));})) ? "官方网站" : r;-}, On = (e) => {+}, kn = (e) => {let t = Number(e);return Number.isFinite(t) && t > 0 ? t : 0;-}, kn = (e) => {- if (e = On(e), !e) return "—";+}, An = (e) => {+ if (e = kn(e), !e) return "—";if (e = Math.round(e), e >= 172800) {let t = Math.floor(e / 86400), n = Math.floor(e % 86400 / 3600);return n ? `${t} 天 ${n} 小时` : `${t} 天`;}let t = Math.floor(e / 3600), n = Math.floor(e % 3600 / 60), r = e % 60;return t ? `${t}:${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}` : `${n}:${String(r).padStart(2, "0")}`;-}, An = (e) => {+}, jn = (e) => {e = Math.max(0, Math.floor(Number(e) || 0));let t = e / 3600 | 0, n = e % 3600 / 60 | 0, r = e % 60;return t ? `${t}:${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}` : `${n}:${String(r).padStart(2, "0")}`;-}, jn = (e) => {+}, Mn = (e) => {if (e == null || e === "") return "大小未知";let t = Number(e);return !Number.isFinite(t) || t < 0 ? "大小未知" : t === 0 ? "0 B" : t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : t >= 0x4000000000000 ? (t / 0x4000000000000).toFixed(2) + " PB" : t >= 1099511627776 ? (t / 1099511627776).toFixed(2) + " TB" : t >= 1073741824 ? (t / 1073741824).toFixed(1) + " GB" : Math.floor(t / 1048576) + " MB";-}, Mn = typeof Intl < "u" && typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, Nn = (e) => Mn ? Array.from(Mn.segment(e), (e) => e.segment) : Array.from(e), Pn = (e, t) => {+}, Nn = typeof Intl < "u" && typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, Pn = (e) => Nn ? Array.from(Nn.segment(e), (e) => e.segment) : Array.from(e), Fn = (e, t) => {let n = String(e ?? "").trim(), r = [];if (!n || t <= 0) return "";- if (!Mn) return Array.from(n).slice(0, t).join("");- for (let e of Mn.segment(n)) if (r.push(e.segment), r.length >= t) break;+ if (!Nn) return Array.from(n).slice(0, t).join("");+ for (let e of Nn.segment(n)) if (r.push(e.segment), r.length >= t) break;return r.join("");-}, Fn = (e, t = "?") => Pn(e, 1) || t, In = (e, t) => {- let n = Nn(String(e ?? ""));+}, In = (e, t = "?") => Fn(e, 1) || t, Ln = (e, t) => {+ let n = Pn(String(e ?? ""));return n.length > t ? `${n.slice(0, Math.max(0, t - 1)).join("")}…` : n.join("");-}, Ln = {- ...$t,+}, Rn = {+ ...en,local: "本地",online: "在线"-}, Rn = (e, t) => {+}, zn = (e, t) => {let n = 2166136261;for (let r of `${e}\u0000${t}`) n ^= r.codePointAt(0), n = Math.imul(n, 16777619) >>> 0;return n;-}, zn = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991), Bn = /* @__PURE__ */ new Set([+}, Bn = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991), Vn = /* @__PURE__ */ new Set(["短片-2分内","中片-10分内","长片-30分内","超长片-30分上"-]), Vn = (e) => String(e || "").split(",").filter((e) => e && !Bn.has(e)).join(","), Hn = class extends Error {+]), Hn = (e) => String(e || "").split(",").filter((e) => e && !Vn.has(e)).join(","), Un = class extends Error {status;body;constructor(e, t, n = null) {- super(tn(e, t)), this.name = "ApiError", this.status = t, this.body = n;+ super(nn(e, t)), this.name = "ApiError", this.status = t, this.body = n;}-}, Un = (e) => {+}, Wn = (e) => {if (!e || typeof e != "object") return "";let t = e;for (let e of [@@ -11511,9 +11511,9 @@ var L = (e) => document.querySelector(e), R = (e, t = "") => {if (typeof n == "string" && n) return n;}return "";-}, Wn = (e) => tn(e);-async function B(e, t) {- e = an(e);+}, Gn = (e) => nn(e);+async function z(e, t) {+ e = on(e);let n = await fetch(e, {headers: { Accept: "application/json" },credentials: "same-origin",@@ -11524,10 +11524,10 @@ async function B(e, t) {} catch {t?.throwIfAborted();}- if (!n.ok) throw new Hn(Un(r) || `请求失败(${n.status})`, n.status);- return qt(e, r), r;+ if (!n.ok) throw new Un(Wn(r) || `请求失败(${n.status})`, n.status);+ return Jt(e, r), r;}-async function V(e, t, n = "POST", r) {+async function B(e, t, n = "POST", r) {let i = await fetch(e, {method: n,...r ? { signal: r } : {},@@ -11543,11 +11543,11 @@ async function V(e, t, n = "POST", r) {} catch {r?.throwIfAborted();}- if (!i.ok) throw new Hn(Un(a) || `请求失败(${i.status})`, i.status, a);+ if (!i.ok) throw new Un(Wn(a) || `请求失败(${i.status})`, i.status, a);return a;}// src/follow-sort.ts-var Gn = [+var Kn = [["checked", "检查时间"],["added", "添加时间"],["name", "创作者名称"],@@ -11555,7 +11555,7 @@ var Gn = [["source", "来源名称"],["provider", "站点"],["status", "状态"]-], Kn = "checked", qn = {+], qn = "checked", Jn = {checked: "desc",added: "desc",name: "asc",@@ -11563,15 +11563,15 @@ var Gn = [source: "asc",provider: "asc",status: "asc"-}, Jn = (e) => Gn.some(([t]) => t === e);-function Yn(e, t) {- let n = Jn(e) ? e : Kn;+}, Yn = (e) => Kn.some(([t]) => t === e);+function Xn(e, t) {+ let n = Yn(e) ? e : qn;return {sort: n,- dir: t === "asc" || t === "desc" ? t : qn[n]+ dir: t === "asc" || t === "desc" ? t : Jn[n]};}-function Xn(e, t, n = 1) {+function Zn(e, t, n = 1) {let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);if (n * 2 + 5 >= t) return r(1, t);let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;@@ -11591,36 +11591,36 @@ function Xn(e, t, n = 1) {t];}-function Zn(e, t) {+function Qn(e, t) {return Math.max(1, Math.ceil(e / t));}-function Qn(e, t) {+function $n(e, t) {return Math.min(Math.max(1, Math.floor(e) || 1), t);}// src/query/client.ts-var H = new bt({ defaultOptions: { queries: {+var V = new xt({ defaultOptions: { queries: {networkMode: "always",retry: 0,refetchOnWindowFocus: !1,refetchOnMount: !1,retryOnMount: !1-} } }), $n = "/api/sources", er = ["media-sources"], tr = (e) => B($n, e), nr = (e) => e?.name === "AbortError" || qe(e);-async function rr(e) {+} } }), er = "/api/sources", tr = ["media-sources"], nr = (e) => z(er, e), rr = (e) => e?.name === "AbortError" || Je(e);+async function ir(e) {e?.throwIfAborted();- let t = () => H.fetchQuery({- queryKey: er,- queryFn: () => tr(e)+ let t = () => V.fetchQuery({+ queryKey: tr,+ queryFn: () => nr(e)});try {let n = await t();return e?.throwIfAborted(), n;} catch (n) {- if (e?.throwIfAborted(), !nr(n)) throw n;+ if (e?.throwIfAborted(), !rr(n)) throw n;return await t();}}// src/react/time.ts-function ir(e) {+function ar(e) {if (!e) return "";let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);@@ -11628,22 +11628,22 @@ function ir(e) {return `${n.getFullYear()}-${r(n.getMonth() + 1)}-${r(n.getDate())} ${r(n.getHours())}:${r(n.getMinutes())}`;}// src/react/follow-manage/follow-manage.ts-var ar = "/api/follow", or = "/api/follow/credentials", sr = "/api/follow/check", cr = "/api/follow/source", lr = "/api/follow/resolve", ur = "/api/follow/suggest", dr = "/api/follow/author-alias", fr = "/api/follow/credential", pr = "/api/follow/status", mr = "/api/feeds", hr = "/api/feeds/source", gr = "/api/feeds/check", _r = "/api/feeds/lookup", vr = ["follow-manage"], yr = ["follow-manage", "credentials"], br = ["follow-manage", "check"], xr = ["follow-manage", "resolve"], Sr = ["follow-manage", "feeds"], Cr = (e) => [+var or = "/api/follow", sr = "/api/follow/credentials", cr = "/api/follow/check", lr = "/api/follow/source", ur = "/api/follow/resolve", dr = "/api/follow/suggest", fr = "/api/follow/author-alias", pr = "/api/follow/credential", mr = "/api/follow/status", hr = "/api/feeds", gr = "/api/feeds/source", _r = "/api/feeds/check", vr = "/api/feeds/lookup", yr = ["follow-manage"], br = ["follow-manage", "credentials"], xr = ["follow-manage", "check"], Sr = ["follow-manage", "resolve"], Cr = ["follow-manage", "feeds"], wr = (e) => ["follow-manage","suggest",e-], wr = [["default", "默认视图"], ["table", "表格视图"]], Tr = [+], Tr = [["default", "默认视图"], ["table", "表格视图"]], Er = [10,20,50,100-], Er = Object.fromEntries(Gn), Dr = {+], Dr = Object.fromEntries(Kn), Or = {author: "name",source: "source",provider: "provider",status: "status",checked: "checked"-}, Or = (e) => wr.some(([t]) => t === e), kr = (e) => Tr.includes(Number(e)) ? Number(e) : 20, Ar = {+}, kr = (e) => Tr.some(([t]) => t === e), Ar = (e) => Er.includes(Number(e)) ? Number(e) : 20, jr = {checked: ["从近到远", "从远到近"],added: ["从近到远", "从远到近"],name: ["倒序", "正序"],@@ -11651,34 +11651,34 @@ var ar = "/api/follow", or = "/api/follow/credentials", sr = "/api/follow/check"source: ["倒序", "正序"],provider: ["倒序", "正序"],status: ["倒序", "正序"]-}, jr = (e, t) => `按${Er[e]}${Ar[e][t === "asc" ? 0 : 1]}排序`;-function Mr(e) {+}, Mr = (e, t) => `按${Dr[e]}${jr[e][t === "asc" ? 0 : 1]}排序`;+function Nr(e) {let t = e.last_status;return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;}-function Nr(e) {+function Pr(e) {return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";}-var Pr = (e) => e.last_status === "error" || e.last_status === "unauthorized";-function Fr(e) {+var Fr = (e) => e.last_status === "error" || e.last_status === "unauthorized";+function Ir(e) {let t = Number(e) || 0;return t >= 2880 ? `每 ${Math.round(t / 1440).toLocaleString()} 天` : t >= 60 ? `每 ${Math.round(t / 60)} 小时` : `每 ${t} 分钟`;}-function Ir(e) {+function Lr(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] : "";}-var Lr = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), Rr = {- source: Lr,- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || Lr(e, t),- status: (e, t) => Mr(e) - Mr(t) || Lr(e, t)-}, zr = (e) => Date.parse(e || "") || 0, Br = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();-function Vr(e, t = []) {+var Rr = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), zr = {+ source: Rr,+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || Rr(e, t),+ status: (e, t) => Nr(e) - Nr(t) || Rr(e, t)+}, Br = (e) => Date.parse(e || "") || 0, Vr = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();+function Hr(e, t = []) {if (!e.length) return "";- let n = (e) => String(e.author_name || "").trim() || Br(e.label), r = e.find((e) => e.entity_name);+ let n = (e) => String(e.author_name || "").trim() || Vr(e.label), r = e.find((e) => e.entity_name);if (r) return r.entity_name;let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);- if (i) return Br(i.canonical_name);+ if (i) return Vr(i.canonical_name);let a = e.find((e) => e.official_avatar_url);if (a && n(a)) return n(a);let o = e.map(n).filter(Boolean);@@ -11686,18 +11686,18 @@ function Vr(e, t = []) {let s = (e) => (e.match(/[A-Z]/g) || []).length;return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);}-function Hr(e) {+function Ur(e) {let t = e.trim().match(/[A-Za-z0-9]/);return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();}-function Ur(e) {+function Wr(e) {let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";return {src: r,fallback: t && n && n.avatar_url !== r && n.avatar_url || ""};}-function Wr(e) {+function Gr(e) {let t = [], n = /* @__PURE__ */ new Map();for (let r of e) {let e = r.author_key || `source:${r.id}`;@@ -11705,32 +11705,32 @@ function Wr(e) {}return t.map((e) => n.get(e));}-function Gr(e, t, n, r = []) {- let i = Wr(e), a = n === qn[t] ? 1 : -1, o = (e) => Vr(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = Rr[t];+function Kr(e, t, n, r = []) {+ let i = Gr(e), a = n === Jn[t] ? 1 : -1, o = (e) => Hr(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = zr[t];if (c) {for (let e of i) e.sort((e, t) => a * c(e, t));return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));}- let l = (e) => Math.max(...e.map((e) => zr(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => zr(e.created_at)));+ let l = (e) => Math.max(...e.map((e) => Br(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Br(e.created_at)));return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));}-function Kr(e, t, n, r = []) {+function qr(e, t, n, r = []) {let i = e.flatMap((e) => {- let t = Vr(e, r);+ let t = Hr(e, r);return e.map((n) => ({source: n,group: e,author: t}));- }), a = Rr[t];+ }), a = zr[t];if (a) {- let e = n === qn[t] ? 1 : -1;+ let e = n === Jn[t] ? 1 : -1;i.sort((t, n) => e * a(t.source, n.source));}return i;}-function qr(e, t, n) {- let r = Zn(e, t), i = Qn(n, r), a = (i - 1) * t;+function Jr(e, t, n) {+ let r = Qn(e, t), i = $n(n, r), a = (i - 1) * t;return {page: i,pages: r,@@ -11739,95 +11739,95 @@ function qr(e, t, n) {end: Math.min(a + t, e)};}-function Jr(e, t) {+function Yr(e, t) {let n = new Set(t.map((e) => e.id));return new Set([...e].filter((e) => n.has(e)));}-function Yr(e, t) {+function Xr(e, t) {let n = t.filter((t) => e.has(t)).length;return {all: t.length > 0 && n === t.length,some: n > 0 && n < t.length};}-function Xr(e, t, n) {+function Zr(e, t, n) {let r = new Set(e);for (let e of t) n ? r.add(e) : r.delete(e);return r;}-var Zr = (e) => B(`${ar}?summary=1`, e), Qr = (e) => B(or, e), $r = (e) => B(sr, e), ei = (e) => B(lr, e), ti = (e, t) => B(`${ur}?q=${encodeURIComponent(e)}`, t), ni = (e) => V(sr, {+var Qr = (e) => z(`${or}?summary=1`, e), $r = (e) => z(sr, e), ei = (e) => z(cr, e), ti = (e) => z(ur, e), ni = (e, t) => z(`${dr}?q=${encodeURIComponent(e)}`, t), ri = (e) => B(cr, {...e?.length ? { sources: e } : {},background: !0-}), ri = (e) => V(lr, {+}), ii = (e) => B(ur, {lines: e,background: !0-}), ii = (e, t) => V(cr, {+}), ai = (e, t) => B(lr, {action: "enabled",id: e,enabled: t-}), ai = (e) => V(cr, {+}), oi = (e) => B(lr, {action: "remove",id: e-}), oi = (e) => V(cr, {+}), si = (e) => B(lr, {action: "add",url: e.url,label: e.label,author: e.author || "",aliases: e.aliases || [],defer_check: !0-}), si = (e, t) => V(dr, {+}), ci = (e, t) => B(fr, {action: "add",canonical: e,alias: t-}), ci = (e) => V(dr, {+}), li = (e) => B(fr, {action: "remove",alias: e-}), li = (e, t, n) => V(dr, {+}), ui = (e, t, n) => B(fr, {action: "rename",canonical_key: e,canonical: t-}, "POST", n), ui = (e, t) => V(fr, {+}, "POST", n), di = (e, t) => B(pr, {provider: e,values: t-}), di = (e, t) => V(pr, {+}), fi = (e, t) => B(mr, {item: e,to: t-}), fi = () => B(`${ar}?status=new&limit=1000`);-async function pi(e) {- let t = await B(mr, e);+}), pi = () => z(`${or}?status=new&limit=1000`);+async function mi(e) {+ let t = await z(hr, e);if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");return t;}-var mi = (e, t, n) => V(hr, {+var hi = (e, t, n) => B(gr, {action: "enabled",id: e,enabled: t-}, "POST", n), hi = (e, t) => V(hr, {+}, "POST", n), gi = (e, t) => B(gr, {action: "remove",id: e-}, "POST", t), gi = (e, t) => V(gr, t?.length ? { sources: t } : { all: !0 }, "POST", e), _i = (e, t) => B(`${_r}?q=${encodeURIComponent(e)}`, t), vi = (e, t, n) => V(hr, {+}, "POST", t), _i = (e, t) => B(_r, t?.length ? { sources: t } : { all: !0 }, "POST", e), vi = (e, t) => z(`${vr}?q=${encodeURIComponent(e)}`, t), yi = (e, t, n) => B(gr, {action: "follow-name",name: e,ids: t}, "POST", n);-async function yi(e) {+async function bi(e) {await Promise.all([- H.fetchQuery({- queryKey: vr,- queryFn: () => Zr(e)- }),- H.fetchQuery({+ V.fetchQuery({queryKey: yr,queryFn: () => Qr(e)}),- H.fetchQuery({- queryKey: Sr,- queryFn: () => pi(e)+ V.fetchQuery({+ queryKey: br,+ queryFn: () => $r(e)+ }),+ V.fetchQuery({+ queryKey: Cr,+ queryFn: () => mi(e)})]);}-function bi(e, t) {- H.setQueryData(vr, (n) => n && {+function xi(e, t) {+ V.setQueryData(yr, (n) => n && {...n,sources: n.sources.map((n) => n.id === e ? {...n,@@ -11835,28 +11835,28 @@ function bi(e, t) {} : n)});}-function xi(e) {+function Si(e) {let t = new Set(e);- H.setQueryData(vr, (e) => e && {+ V.setQueryData(yr, (e) => e && {...e,sources: e.sources.filter((e) => !t.has(e.id))});}-var Si = () => H.invalidateQueries({- queryKey: vr,+var Ci = () => V.invalidateQueries({+ queryKey: yr,exact: !0});-function Ci(e) {+function wi(e) {let t = e.results || [], n = t.reduce((e, t) => e + (t.added || 0), 0), r = t.reduce((e, t) => e + (t.updated || 0), 0), i = t.filter((e) => !e.ok).length, a = [];return n && a.push(`新增 ${n} 条`), r && a.push(`更新 ${r} 条`), !a.length && i < t.length && a.push("没有更新"), i && a.push(`${i} 个失败`), a.length || a.push("没有更新"), `已检查 ${t.length} 个来源:${a.join(" · ")}`;}-function wi(e) {+function Ti(e) {let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");let f = t.filter((e) => e.exhausted).length;return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;}-var Ti = (e) => (e?.results || []).filter((e) => !e.ok), Ei = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Di = (e) => e.last_checked_at ? ir(e.last_checked_at) : "未检查", Oi = /* @__PURE__ */ new Set([+var Ei = (e) => (e?.results || []).filter((e) => !e.ok), Di = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Oi = (e) => e.last_checked_at ? ar(e.last_checked_at) : "未检查", ki = /* @__PURE__ */ new Set(["fanbox","patreon","subscribestar",@@ -11870,53 +11870,53 @@ var Ti = (e) => (e?.results || []).filter((e) => !e.ok), Ei = (e) => (e?.results"gofile","f95zone","simpcity"-]), ki = (e) => Oi.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Ai = {+]), Ai = (e) => ki.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", ji = {required: "需要",optional: "可选",none: "不需要",blocked: "暂时无法连接"-}, ji = (e) => !!e.present && !e.missing.length, Mi = [+}, Mi = (e) => !!e.present && !e.missing.length, Ni = [["", "全部"],["new", "未看"],["saved", "已保存"],["ignored", "已忽略"]-], Ni = [+], Pi = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]-], Pi = {+], Fi = {new: ["从新到旧", "从旧到新"],hot: ["从高到低", "从低到高"],dur: ["从长到短", "从短到长"]-}, Fi = "rand";-function Ii(e, t) {+}, Ii = "rand";+function Li(e, t) {let n = (e) => encodeURIComponent(e.join(","));return `/api/follow?limit=100&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.durMin ? `&dur_min=${e.durMin}` : "") + (e.durMax ? `&dur_max=${e.durMax}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);}-var Li = 18e5;-function Ri(e, t) {+var Ri = 18e5;+function zi(e, t) {return {queryKey: ["follow-feed",- Ii(e, 0),+ Li(e, 0),t],- queryFn: ({ pageParam: t, signal: n }) => B(Ii(e, t), n),+ queryFn: ({ pageParam: t, signal: n }) => z(Li(e, t), n),initialPageParam: 0,getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 100 : void 0,- placeholderData: ke,- gcTime: Li+ placeholderData: Ae,+ gcTime: Ri};}-var zi = ["follow-feed", "credentials"], Bi = (e) => B(or, e).catch(() => ({ providers: [] }));-async function Vi(e, t) {- let n = Ri(e.view, e.revision);- H.removeQueries({- queryKey: zi,+var Bi = ["follow-feed", "credentials"], Vi = (e) => z(sr, e).catch(() => ({ providers: [] }));+async function Hi(e, t) {+ let n = zi(e.view, e.revision);+ V.removeQueries({+ queryKey: Bi,exact: !0});- let r = H.getQueryData(n.queryKey) !== void 0;- await Promise.all([r ? null : H.fetchInfiniteQuery({+ let r = V.getQueryData(n.queryKey) !== void 0;+ await Promise.all([r ? null : V.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({pageParam: e,@@ -11924,13 +11924,13 @@ async function Vi(e, t) {}),initialPageParam: 0,getNextPageParam: n.getNextPageParam,- gcTime: Li- }), H.fetchQuery({- queryKey: zi,- queryFn: () => Bi(t)+ gcTime: Ri+ }), V.fetchQuery({+ queryKey: Bi,+ queryFn: () => Vi(t)})]);}-function Hi(e) {+function Ui(e) {if (!e?.pages.length) return null;let t = e.pages, n = t[t.length - 1];return {@@ -11939,10 +11939,10 @@ function Hi(e) {groups: t.flatMap((e) => e.groups || [])};}-function Ui(e, t, n) {- return [...e].sort((e, r) => Rn(n, t(e)) - Rn(n, t(r)) || String(t(e)).localeCompare(String(t(r))));+function Wi(e, t, n) {+ return [...e].sort((e, r) => zn(n, t(e)) - zn(n, t(r)) || String(t(e)).localeCompare(String(t(r))));}-function Wi(e) {+function Gi(e) {let t = /* @__PURE__ */ new Set();return [e.primary,@@ -11950,14 +11950,14 @@ function Wi(e) {...e.duplicates].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));}-function Gi(e) {- let t = H.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);+function Ki(e) {+ let t = V.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);for (let n of t) {let t = n.state.data;if (!Array.isArray(t?.pages) || !t.pages.length) continue;let r = t.pages[t.pages.length - 1];for (let n of t.pages) for (let t of n.groups || []) {- let n = Wi(t).find((t) => t.id === e);+ let n = Gi(t).find((t) => t.id === e);if (n) return {item: n,group: t,@@ -11968,8 +11968,8 @@ function Gi(e) {}return null;}-function Ki(e) {- H.setQueriesData({+function qi(e) {+ V.setQueriesData({queryKey: ["follow-feed"],predicate: (e) => Array.isArray(e.state.data?.pages)}, (t) => t && {@@ -11978,7 +11978,7 @@ function Ki(e) {...t,groups: (t.groups || []).map((t) => {let n = (t) => t.id === e.id ? e : t;- return Wi(t).some((t) => t.id === e.id) ? {+ return Gi(t).some((t) => t.id === e.id) ? {...t,primary: n(t.primary),variants: t.variants.map(n),@@ -11988,30 +11988,30 @@ function Ki(e) {}))});}-function qi(e, t) {- H.setQueriesData({+function Ji(e, t) {+ V.setQueriesData({queryKey: ["follow-feed"],predicate: (e) => Array.isArray(e.state.data?.pages)- }, (n) => n && aa(n, null, e, t));-}-function Ji(e) {- return Wi(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));+ }, (n) => n && oa(n, null, e, t));}function Yi(e) {+ return Gi(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));+}+function Xi(e) {let t = /* @__PURE__ */ new Set(), n = e.media_items || [];return n.length ? n.forEach((e) => {(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;}-function Xi(e) {+function Zi(e) {let t = /* @__PURE__ */ new Set();- return Wi(e).forEach((e) => Yi(e).forEach((e) => t.add(e))), t;+ return Gi(e).forEach((e) => Xi(e).forEach((e) => t.add(e))), t;}-function Zi(e, t) {+function Qi(e, t) {let n = t === "images" ? "image" : "video";- return Ji(e).find((e) => Yi(e).has(n)) || e.primary;+ return Yi(e).find((e) => Xi(e).has(n)) || e.primary;}-function Qi(e) {+function $i(e) {return {status: "",media: "videos",@@ -12026,16 +12026,16 @@ function Qi(e) {seed: 0};}-function $i(e) {- return Ji(e).filter((e) => e.playable && e.media_kind === "video");+function ea(e) {+ return Yi(e).filter((e) => e.playable && e.media_kind === "video");}-var ea = {+var ta = {video: "个视频",image: "张图片",mixed: "个媒体"};-function ta({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${ea[s] || ea.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];+function na({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${ta[s] || ta.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];for (let t of n?.faces || []) r && t.media_kind !== "image" || t.thumb_url && t.thumb_url !== e && !u.has(t.face) && (u.add(t.face), d.push(t.thumb_url));return {isMix: !!c,@@ -12044,14 +12044,14 @@ function ta({ cover: e = "", coverFace: t = null, stack: n = null, imageView: rfaces: d.length > 1 ? d.slice(0, i) : []};}-function na(e) {+function ra(e) {let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);if (!t.length) return "";let n = Math.max(...t), r = Math.min(...t);return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;}-function ra(e, t, n) {- return e === t ? Pi[e] ? {+function ia(e, t, n) {+ return e === t ? Fi[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {@@ -12059,13 +12059,13 @@ function ra(e, t, n) {dir: "desc"};}-function ia(e, t, n, r) {- let i = ra(e, n, r);+function aa(e, t, n, r) {+ let i = ia(e, n, r);if (!i) return "";- let a = Pi[i.sort];+ let a = Fi[i.sort];return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;}-function aa(e, t, n, r) {+function oa(e, t, n, r) {let i = "", a = e.pages.map((e) => ({...e,groups: (e.groups || []).flatMap((e) => {@@ -12095,7 +12095,7 @@ function aa(e, t, n, r) {})};}-function oa(e, t) {+function sa(e, t) {let n = [];return e.author && n.push({kind: "创作者",@@ -12115,7 +12115,7 @@ function oa(e, t) {label: e})), n;}-function sa(e, t) {+function ca(e, t) {return t.kind === "创作者" ? {...e,author: ""@@ -12130,7 +12130,7 @@ function sa(e, t) {tags: e.tags.filter((e) => e !== t.key)};}-function ca(e, t) {+function la(e, t) {for (let n of e) {let e = n.primary?.tag_types?.[t];if (e) return e;@@ -12138,13 +12138,13 @@ function ca(e, t) {return "general";}// src/react/follow-feed/follow-view.ts-function la(e, t, n) {+function ua(e, t, n) {let r = new URLSearchParams(e), i = (e) => [...new Set((r.get(e) || "").split(",").filter(Boolean))], a = (e) => {let t = Number(r.get(e));return t > 0 ? t : 0;}, o = r.get("status"), s = r.get("sort");return {- status: Mi.find(([e]) => e && e === o)?.[0] || "",+ status: Ni.find(([e]) => e && e === o)?.[0] || "",media: r.get("media") === "images" ? "images" : "videos",author: i("author")[0] || "",provider: i("provider")[0] || "",@@ -12152,16 +12152,16 @@ function la(e, t, n) {tags: i("tag"),durMin: a("dur_min"),durMax: a("dur_max"),- sort: s === "rand" ? s : Ni.find(([e]) => e === s)?.[0] || "new",+ sort: s === "rand" ? s : Pi.find(([e]) => e === s)?.[0] || "new",seed: Number(r.get("seed")) >>> 0 || t || n(),dir: r.get("dir") === "asc" ? "asc" : "desc"};}-function ua(e) {+function da(e) {let t = new URLSearchParams();return e.author && t.set("author", e.author), e.provider && t.set("provider", e.provider), e.tags.length && t.set("tag", e.tags.join(",")), e.work && t.set("work", e.work), e.durMin && t.set("dur_min", String(e.durMin)), e.durMax && t.set("dur_max", String(e.durMax)), e.status && t.set("status", e.status), e.media === "images" && t.set("media", e.media), e.sort !== "new" && t.set("sort", e.sort), e.sort === "rand" && t.set("seed", String(e.seed)), e.dir !== "desc" && t.set("dir", e.dir), "/follow" + (t.size ? `?${t}` : "");}-function da(e, t) {+function fa(e, t) {return {...e,author: t,@@ -12174,7 +12174,7 @@ function da(e, t) {status: ""};}-function fa(e, t) {+function pa(e, t) {return {...e,author: "",@@ -12187,24 +12187,24 @@ function fa(e, t) {};}// src/react/follow-feed/follow-controller.ts-function pa(e, t, n) {+function ma(e, t, n) {let r = () => {- let t = la(e.location().search, e.view().seed, e.rollSeed);+ let t = ua(e.location().search, e.view().seed, e.rollSeed);return e.adoptView(t), t;}, i = (t) => {e.live() && e.push(t);}, a = (t, n = {}) => {- let r = Ii(e.view(), 0);- e.adoptView(t), e.route(ua(t)), i({+ let r = Li(e.view(), 0);+ e.adoptView(t), e.route(da(t)), i({...n,view: e.view()- }), e.syncPhotoWalls(), Ii(e.view(), 0) !== r && e.scrollTop();+ }), e.syncPhotoWalls(), Li(e.view(), 0) !== r && e.scrollTop();}, o = () => {let t = e.rollSeed();e.writeSession({ discoverySeed: t }), a({...e.view(),seed: t,- sort: Fi+ sort: Ii}, { seed: e.session().discoverySeed });}, s = {...n,@@ -12241,25 +12241,25 @@ function pa(e, t, n) {discoverySeed: e.enterSeed(),scrollY: 0,...e.live() ? {} : { revision: e.session().revision + 1 }- }), e.openPage("/follow")) : e.openPage(ua(e.view()));+ }), e.openPage("/follow")) : e.openPage(da(e.view()));}};}// src/card-art/face-frame.ts-var ma = .32, ha = .6;-function ga(e) {+var ha = .32, ga = .6;+function _a(e) {return e ? Number.isFinite(e.cx) && Number.isFinite(e.cy) && Number(e.faceW) > 0 && Number(e.imgW) > 0 && Number(e.imgH) > 0 : !1;}-function _a(e, t, n = 1, r = ma, i = ha) {- if (!ga(e) || !(t && t.w > 0 && t.h > 0)) return 1;+function va(e, t, n = 1, r = ha, i = ga) {+ if (!_a(e) || !(t && t.w > 0 && t.h > 0)) return 1;let a = n > 0 ? n : 1, o = Math.max(t.w / e.imgW, t.h / e.imgH), s = e.faceW * o;if (!(s > 0)) return 1;let c = Math.min(t.w, t.h), l = Math.max(r, 13 / c) * c / s, u = Math.max(t.w / (2 * Math.min(e.cx, 1 - e.cx) * e.imgW * o), t.h / (2 * Math.min(e.cy, 1 - e.cy) * e.imgH * o)), d = e.faceW / (s * a);return Math.max(1, Math.min(Math.max(l, Math.min(u, i * c / s)), d));}-function va(e, t, n = 1, r = ma, i = ha) {- let a = _a(e, t, n, r, i);- if (a <= 1 || !ga(e) || !t) return null;+function ya(e, t, n = 1, r = ha, i = ga) {+ let a = va(e, t, n, r, i);+ if (a <= 1 || !_a(e) || !t) return null;let o = Math.max(t.w / e.imgW, t.h / e.imgH) * a, s = e.imgW * o, c = e.imgH * o, l = Math.min(0, Math.max(t.w - s, t.w / 2 - e.cx * s)), u = Math.min(0, Math.max(t.h - c, t.h / 2 - e.cy * c)), d = (e, t) => Math.round(e / t * 1e4) / 100;return {zoom: Math.round(a * 1e3) / 1e3,@@ -12270,48 +12270,48 @@ function va(e, t, n = 1, r = ma, i = ha) {};}// src/card-art/image-fallback.ts-var ya = "|", ba = "closest:";-function xa(e) {- return String(e ?? "").split(ya).map((e) => e.trim()).filter(Boolean);+var ba = "|", xa = "closest:";+function Sa(e) {+ return String(e ?? "").split(ba).map((e) => e.trim()).filter(Boolean);}-function Sa({ drop: e = "self", fallbacks: t = [], initial: n = "", dropClass: r = "", dropStyle: i = !1 } = {}) {+function Ca({ drop: e = "self", fallbacks: t = [], initial: n = "", dropClass: r = "", dropStyle: i = !1 } = {}) {let a = (Array.isArray(t) ? t : [t]).filter(Boolean);return [- `data-drop="${z(e)}"`,- a.length ? `data-fallbacks="${z(a.join(ya))}"` : "",- n ? `data-initial="${z(n)}"` : "",- r ? `data-drop-class="${z(r)}"` : "",+ `data-drop="${R(e)}"`,+ a.length ? `data-fallbacks="${R(a.join(ba))}"` : "",+ n ? `data-initial="${R(n)}"` : "",+ r ? `data-drop-class="${R(r)}"` : "",i ? "data-drop-style" : ""].filter(Boolean).join(" ");}-function Ca(e) {+function wa(e) {if (!e || !e.dataset || !e.dataset.drop) return "";- let t = xa(e.dataset.fallbacks);+ let t = Sa(e.dataset.fallbacks);if (t.length) {let [n = "", ...r] = t;- return "dropStyle" in e.dataset && e.removeAttribute("style"), delete e.dataset.facebox, r.length ? e.dataset.fallbacks = r.join(ya) : delete e.dataset.fallbacks, n === e.dataset.fallbackNoteSrc && e.dataset.fallbackNote && (e.title = e.dataset.fallbackNote, e.setAttribute("aria-label", e.dataset.fallbackNote)), e.src = n, "retry";+ return "dropStyle" in e.dataset && e.removeAttribute("style"), delete e.dataset.facebox, r.length ? e.dataset.fallbacks = r.join(ba) : delete e.dataset.fallbacks, n === e.dataset.fallbackNoteSrc && e.dataset.fallbackNote && (e.title = e.dataset.fallbackNote, e.setAttribute("aria-label", e.dataset.fallbackNote)), e.src = n, "retry";}let n = e.dataset.drop;- if (n.startsWith(ba)) return (e.closest(n.slice(8)) || e).remove(), "drop";+ if (n.startsWith(xa)) return (e.closest(n.slice(8)) || e).remove(), "drop";if (n === "initial") {let t = document.createElement("span");return t.className = e.dataset.dropClass || "", t.textContent = e.dataset.initial || "", e.replaceWith(t), "drop";}return e.remove(), "drop";}-var wa = /* @__PURE__ */ new WeakSet();-function Ta(e) {- wa.has(e) || (wa.add(e), e.addEventListener("error", (e) => {- e.target instanceof HTMLImageElement && Ca(e.target);+var Ta = /* @__PURE__ */ new WeakSet();+function Ea(e) {+ Ta.has(e) || (Ta.add(e), e.addEventListener("error", (e) => {+ e.target instanceof HTMLImageElement && wa(e.target);}, !0));}// src/card-art/native-image.ts-function Ea(e, t, n, r) {+function Da(e, t, n, r) {if (!(e > 0 && t > 0 && n > 0 && r > 0)) return 0;let i = e / n, a = t / r;return i > 1.001 || a > 1.001 || Math.abs(i - a) > Math.max(i, a) * .01 ? 0 : i;}-function Da(e, t, n, r, i = 1) {+function Oa(e, t, n, r, i = 1) {let a = Number.isFinite(i) && i > 0 ? i : 1;e /= a, t /= a;let o = [@@ -12326,15 +12326,15 @@ function Da(e, t, n, r, i = 1) {height: t * c};}-var Oa = .1;-function ka(e, t, n, r) {+var ka = .1;+function Aa(e, t, n, r) {if (![e,t,n,r].every((e) => Number.isFinite(e) && e > 0)) return null;- let i = Math.min(n / e, r / t), a = e * i, o = t * i, s = Math.min(n, r) * Oa;+ let i = Math.min(n / e, r / t), a = e * i, o = t * i, s = Math.min(n, r) * ka;return Math.min(a, o) >= s ? null : o < a ? {width: a,height: s@@ -12344,37 +12344,37 @@ function ka(e, t, n, r) {};}// src/card-art/representatives.ts-var Aa = /* @__PURE__ */ new Map();-function ja(e) {+var ja = /* @__PURE__ */ new Map();+function Ma(e) {(e || []).forEach((e) => {- e.rep && e.has_avatar && Aa.set(e.k, e.rep);+ e.rep && e.has_avatar && ja.set(e.k, e.rep);});}-function Ma(e) {- return Aa.get(e);+function Na(e) {+ return ja.get(e);}// src/jav-artwork.ts-function Na(e) {+function Pa(e) {return ["small","sleeve","preview"].includes(String(e)) ? "small" : "big";}-function Pa(e) {+function Fa(e) {return {- javLayout: Na(e.javLayout),- javImage: Fa(e.javLayout === "preview" ? "thumbnail" : e.javImage)+ javLayout: Pa(e.javLayout),+ javImage: Ia(e.javLayout === "preview" ? "thumbnail" : e.javImage)};}-function Fa(e) {+function Ia(e) {return e === "thumbnail" ? "thumbnail" : "cover";}-function Ia(e, t) {- return e.is_jav && e.code && e.has_cover && (Fa(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";+function La(e, t) {+ return e.is_jav && e.code && e.has_cover && (Ia(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";}-var La = .704, Ra = .85;-function za(e, t, n = !1) {+var Ra = .704, za = .85;+function Ba(e, t, n = !1) {let r = Number(e?.px?.[0]), i = Number(e?.px?.[1]), a = Number(e?.x0);if (!(r > 0 && i > 0 && t > 0) || !Number.isFinite(a)) return null;let o = (e, t, n) => Math.min(n, Math.max(0, Number.isFinite(Number(e)) ? Number(e) : t)), s = o(a, 0, r), c = Math.max(s, o(e?.x1, r, r)), l = o(e?.y0, 0, i), u = Math.max(l, o(e?.y1, i, i)), d = c - s, f = u - l;@@ -12394,38 +12394,38 @@ function za(e, t, n = !1) {height: g(i / f * m)};}-function Ba(e, t) {+function Va(e, t) {e.querySelectorAll("img[data-jav-image]").forEach((e) => {- let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !(!n || Fa(t) !== "cover" && r), a = i ? n : r;+ let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !(!n || Ia(t) !== "cover" && r), a = i ? n : r;e.classList.toggle("cover", i), e.classList.toggle("whole", i && e.dataset.javImageLayout !== "big"), e.classList.toggle("front", i && e.dataset.javImageLayout === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), a && e.getAttribute("src") !== a && (e.src = a);});}-function Va(e, t) {+function Ha(e, t) {let n = [];return e.querySelectorAll("img[data-jav-image]").forEach((e) => {e.dataset.javImageLayout !== t && (e.dataset.javImageLayout = t, e.classList.contains("cover") && (e.classList.toggle("whole", t !== "big"), e.classList.toggle("front", t === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), e.complete && e.naturalWidth && n.push(e)));}), n;}// src/card-art/markup.ts-var Ha = "代表作画面,非本人", Ua = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, Wa = (e, t = !1) => {+var Ua = "代表作画面,非本人", Wa = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, Ga = (e, t = !1) => {let n = t === !0 ? 1 : t || 0;- return Ua(`/cover?code=${encodeURIComponent(e.cover_key || e.code || "")}${n ? `&thumb=${n}` : ""}`, e.cover_version);-}, Ga = (e) => Wa(e, (window.devicePixelRatio || 1) <= 1.5 ? 2 : 1), Ka = (e) => `/cover-image?code=${encodeURIComponent(e.code || "")}`, qa = (e, t, n) => Ua(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), Ja = (e) => e && typeof e == "object" ? e : null;-function Ya(e) {+ return Wa(`/cover?code=${encodeURIComponent(e.cover_key || e.code || "")}${n ? `&thumb=${n}` : ""}`, e.cover_version);+}, Ka = (e) => Ga(e, (window.devicePixelRatio || 1) <= 1.5 ? 2 : 1), qa = (e) => `/cover-image?code=${encodeURIComponent(e.code || "")}`, Ja = (e, t, n) => Wa(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), Ya = (e) => e && typeof e == "object" ? e : null;+function Xa(e) {return e && e.is_jav ? "女优" : "艺人";}-function Xa({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r = "", rep: i = null, mark: a = null, logo: o = "", logoVersion: s = "", logoVariant: c = "logo", alt: l = "", lazy: u = !0, style: d = "", dropStyle: f = !1, focus: p = null, thumb: m = !0, standIn: h = !1 } = {}) {- let g = !!(t && n), _ = g ? Ua(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", v = i ? `/avatar?id=${i}` : "", y = !!o, b = y ? qa(o, c, s) : _ || v || (a ? `/link-mark?id=${a}` : "");+function Za({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r = "", rep: i = null, mark: a = null, logo: o = "", logoVersion: s = "", logoVariant: c = "logo", alt: l = "", lazy: u = !0, style: d = "", dropStyle: f = !1, focus: p = null, thumb: m = !0, standIn: h = !1 } = {}) {+ let g = !!(t && n), _ = g ? Wa(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", v = i ? `/avatar?id=${i}` : "", y = !!o, b = y ? Ja(o, c, s) : _ || v || (a ? `/link-mark?id=${a}` : "");if (!b) return "";- let x = y ? [_, v].filter(Boolean) : g && v ? [v] : [], S = g && !y, C = S ? to(p) : "", w = d || eo(p);- return `<img src="${b}" width="128" height="128" alt="${l}"${h && b === v ? ` title="${Ha}" aria-label="${Ha}"` : ""}${h && x.includes(v) ? ` data-fallback-note-src="${z(v)}" data-fallback-note="${Ha}"` : ""}${u ? " loading=\"lazy\"" : ""} decoding="async"${S ? w : ""} ${C}${Sa({+ let x = y ? [_, v].filter(Boolean) : g && v ? [v] : [], S = g && !y, C = S ? no(p) : "", w = d || to(p);+ return `<img src="${b}" width="128" height="128" alt="${l}"${h && b === v ? ` title="${Ua}" aria-label="${Ua}"` : ""}${h && x.includes(v) ? ` data-fallback-note-src="${R(v)}" data-fallback-note="${Ua}"` : ""}${u ? " loading=\"lazy\"" : ""} decoding="async"${S ? w : ""} ${C}${Ca({dropStyle: (f || !!C || !!w) && S,fallbacks: x})}>`;}-function Za(e, t, n, r = "performer", i = null, a = "", o = "icon", s = void 0, c = !0) {- let l = s === void 0 ? t && t.avatar_focus || null : s, u = !t?.has_image && !a && t?.source_avatar_url ? `<img src="${z(t.source_avatar_url)}" width="128" height="128" alt="" loading="lazy" decoding="async" ${Sa({ fallbacks: t.source_avatar_fallbacks || [] })}>` : "";- return `<span class="ini">${z(Fn(e))}</span>` + (u || Xa({+function Qa(e, t, n, r = "performer", i = null, a = "", o = "icon", s = void 0, c = !0) {+ let l = s === void 0 ? t && t.avatar_focus || null : s, u = !t?.has_image && !a && t?.source_avatar_url ? `<img src="${R(t.source_avatar_url)}" width="128" height="128" alt="" loading="lazy" decoding="async" ${Ca({ fallbacks: t.source_avatar_fallbacks || [] })}>` : "";+ return `<span class="ini">${R(In(e))}</span>` + (u || Za({kind: r,id: t && t.id,hasImage: !!(t && t.has_image),@@ -12440,19 +12440,19 @@ function Za(e, t, n, r = "performer", i = null, a = "", o = "icon", s = void 0,standIn: !!(t && t.avatar_stand_in)}));}-function Qa(e, t, n) {- return Za(e, t, n ? Ma(e) : null, n || "performer");+function $a(e, t, n) {+ return Qa(e, t, n ? Na(e) : null, n || "performer");}-function $a(e) {- let t = Ja(e);+function eo(e) {+ let t = Ya(e);return t && t.axis === "x" ? `${t.pct}% 50%` : t && t.axis === "y" ? `50% ${t.pct}%` : "";}-function eo(e) {- let t = $a(e);+function to(e) {+ let t = eo(e);return t ? ` style="object-position:${t}"` : "";}-function to(e) {- let t = Ja(e)?.box;+function no(e) {+ let t = Ya(e)?.box;return t ? ` data-facebox="${[t.cx,t.cy,@@ -12461,8 +12461,8 @@ function to(e) {t.imgH].map(Number).join(" ")}"` : "";}-function no(e, t, n = !1) {- let r = Ga(e), i = /ブルーレイ|blu[\s-]?ray/i.test(String(e.title || e.display_title || e.name || "")), a = e.cover_frame || {}, o = e.poster_box?.method !== "manual" && (a.layout === "still" || /^(IENEE|IENFE|SDHS)-/i.test(String(e.code || "")) || /(?:【|\[|\(|()\s*(?:[48]K\s*)?VR\s*(?:】|\]|\)|))/i.test(String(e.title || e.display_title || e.name || ""))), s = a.cy == null ? null : o ? Math.min(1, Math.max(0, a.cy)) : Math.min(.6, Math.max(.05, a.cy)), c = [a.cx == null ? "" : ` data-cx="${a.cx}"`, s == null ? "" : ` data-cy="${s}"`].join(""), l = e.poster_box, u = l ? ` data-posterbox="${[+function ro(e, t, n = !1) {+ let r = Ka(e), i = /ブルーレイ|blu[\s-]?ray/i.test(String(e.title || e.display_title || e.name || "")), a = e.cover_frame || {}, o = e.poster_box?.method !== "manual" && (a.layout === "still" || /^(IENEE|IENFE|SDHS)-/i.test(String(e.code || "")) || /(?:【|\[|\(|()\s*(?:[48]K\s*)?VR\s*(?:】|\]|\)|))/i.test(String(e.title || e.display_title || e.name || ""))), s = a.cy == null ? null : o ? Math.min(1, Math.max(0, a.cy)) : Math.min(.6, Math.max(.05, a.cy)), c = [a.cx == null ? "" : ` data-cx="${a.cx}"`, s == null ? "" : ` data-cy="${s}"`].join(""), l = e.poster_box, u = l ? ` data-posterbox="${[l.x0,(l.px || [])[0],(l.px || [])[1],@@ -12471,47 +12471,47 @@ function no(e, t, n = !1) {l.y1].map(Number).join(" ")}"` : "";return `<img class="poster cover ${t === "small" ? "whole" : "front"}" src="${r}"- width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" data-cover-code="${z(e.code || "")}"${i ? " data-wide-sleeve=\"1\"" : ""}${o ? " data-cover-layout=\"still\"" : ""}${c}${u} data-drop="self">`;+ width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" data-cover-code="${R(e.code || "")}"${i ? " data-wide-sleeve=\"1\"" : ""}${o ? " data-cover-layout=\"still\"" : ""}${c}${u} data-drop="self">`;}-var ro = {+var io = {kind: "",html: ""};-function io(e, t, n, r) {- let i = Ia(e, r);- if (!i) return ro;- let a = e.has_cover && e.code ? Ga(e) : "", o = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", s = no(e, t, n), c = (s.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), l = i === "cover" ? s : `<img class="poster" src="${o}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async"${c}>`;+function ao(e, t, n, r) {+ let i = La(e, r);+ if (!i) return io;+ let a = e.has_cover && e.code ? Ka(e) : "", o = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", s = ro(e, t, n), c = (s.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), l = i === "cover" ? s : `<img class="poster" src="${o}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async"${c}>`;return {kind: i === "cover" ? "cover" : "thumb",- html: l.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${z(a)}" data-jav-thumb="${z(o)}" data-jav-image-layout="${t}" `)+ html: l.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${R(a)}" data-jav-thumb="${R(o)}" data-jav-image-layout="${t}" `)};}-function ao(e, t, n, r) {- return e.is_jav ? io(e, t, n, r) : e.follow_thumb_url ? {+function oo(e, t, n, r) {+ return e.is_jav ? ao(e, t, n, r) : e.follow_thumb_url ? {kind: "thumb",- html: `<img class="poster" src="${z(e.follow_thumb_url)}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" referrerpolicy="no-referrer">`- } : oo(e, t, n, r);+ html: `<img class="poster" src="${R(e.follow_thumb_url)}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" referrerpolicy="no-referrer">`+ } : so(e, t, n, r);}-function oo(e, t, n, r) {- return e.is_jav ? io(e, t, n, r) : e.has_cover && e.cover_key ? {+function so(e, t, n, r) {+ return e.is_jav ? ao(e, t, n, r) : e.has_cover && e.cover_key ? {kind: "cover",- html: no(e, t, n)- } : so(e, n);+ html: ro(e, t, n)+ } : co(e, n);}-function so(e, t) {- return !e.has_thumb && !e.has_local_poster ? ro : {+function co(e, t) {+ return !e.has_thumb && !e.has_local_poster ? io : {kind: "thumb",html: `<img class="poster" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="${t ? "eager" : "lazy"}" decoding="async">`};}-function co(e, t) {- return oo(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";-}function lo(e, t) {+ return so(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";+}+function uo(e, t) {let n = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "";- return e.is_jav ? Ia(e, t) === "cover" ? Wa(e) : n : e.has_cover && e.cover_key ? Wa(e) : n;+ return e.is_jav ? La(e, t) === "cover" ? Ga(e) : n : e.has_cover && e.cover_key ? Ga(e) : n;}-function uo(e) {+function fo(e) {let t = e.performers || [], n = e.performer_entities ?? e.entity_refs?.performer ?? [], r = t[0] || "", i = e.is_jav && r ? "" : e.creator || "";return {kind: i ? "creator" : r ? "performer" : "",@@ -12522,30 +12522,30 @@ function uo(e) {total: e.performer_total || t.length};}-function fo(e) {- let { kind: t, name: n, coStarred: r, performers: i, refs: a } = uo(e);- return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${Za(e, a[t], Ma(e))}</span>`).join("")}</div>` : `<span class="mav">${Za(n, t === "performer" ? a[0] : e.creator_entity ?? e.entity_refs?.creator?.[0], t ? Ma(n) : null, t || "performer")}</span>`;+function po(e) {+ let { kind: t, name: n, coStarred: r, performers: i, refs: a } = fo(e);+ return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${Qa(e, a[t], Na(e))}</span>`).join("")}</div>` : `<span class="mav">${Qa(n, t === "performer" ? a[0] : e.creator_entity ?? e.entity_refs?.creator?.[0], t ? Na(n) : null, t || "performer")}</span>`;}-function po(e, t) {+function mo(e, t) {let n = (e.performers || [])[0];return (e.is_jav && n ? n : e.creator) || n || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";}// src/ui-kit/overlay-scrollbar.ts-var mo = /* @__PURE__ */ new Map();-function ho(e) {- mo.get(e)?.destroy();+var ho = /* @__PURE__ */ new Map();+function go(e) {+ ho.get(e)?.destroy();}-function go() {- for (let [e, t] of mo) e.isConnected ? t.repair() : t.destroy();+function _o() {+ for (let [e, t] of ho) e.isConnected ? t.repair() : t.destroy();}-function _o(e) {- for (let [t, n] of mo) (t === e || e.contains(t)) && n.destroy();+function vo(e) {+ for (let [t, n] of ho) (t === e || e.contains(t)) && n.destroy();}-function vo(e, { variant: t = "", axes: n } = {}) {+function yo(e, { variant: t = "", axes: n } = {}) {if (!e) return null;if (e.dataset.overlayScrollbar) {if (!n || e.dataset.overlayAxes === n.join("")) return null;- ho(e);+ go(e);}let r = e === document.documentElement, i = r ? ["y"] : n ?? ["y", "x"], a = getComputedStyle(e), o = !r && (a.position === "absolute" || a.position === "fixed" || e.matches("dialog,[popover]")), s = r ? document.body : o ? e : e.parentElement;if (!s) return null;@@ -12681,54 +12681,54 @@ function vo(e, { variant: t = "", axes: n } = {}) {e && T();},destroy() {- mo.get(e) === O && (h = !0, mo.delete(e), l.abort(), E.disconnect(), D?.disconnect(), x !== null && cancelAnimationFrame(x), w !== null && cancelAnimationFrame(w), f.forEach(({ track: e }) => e.remove()), d?.remove(), delete e.dataset.overlayScrollbar, delete e.dataset.overlayAxes, delete e.dataset.scrollEdges, e.style.removeProperty("--scroll-edge-top"), e.style.removeProperty("--scroll-edge-bottom"), u && s.style.position === "relative" && ![...mo.keys()].some((e) => e.parentElement === s) && (s.style.position = c));+ ho.get(e) === O && (h = !0, ho.delete(e), l.abort(), E.disconnect(), D?.disconnect(), x !== null && cancelAnimationFrame(x), w !== null && cancelAnimationFrame(w), f.forEach(({ track: e }) => e.remove()), d?.remove(), delete e.dataset.overlayScrollbar, delete e.dataset.overlayAxes, delete e.dataset.scrollEdges, e.style.removeProperty("--scroll-edge-top"), e.style.removeProperty("--scroll-edge-bottom"), u && s.style.position === "relative" && ![...ho.keys()].some((e) => e.parentElement === s) && (s.style.position = c));}});- return mo.set(e, O), O;+ return ho.set(e, O), O;}// src/ui-kit/collapse.ts-var yo = /* @__PURE__ */ new WeakMap();-function bo(e, t, n) {- So(t, n, () => e.open, (t) => {+var bo = /* @__PURE__ */ new WeakMap();+function xo(e, t, n) {+ Co(t, n, () => e.open, (t) => {e.open = t;});}-function xo(e, t) {- So(e, t, () => !e.hidden, (t) => {+function So(e, t) {+ Co(e, t, () => !e.hidden, (t) => {e.hidden = !t;});}-function So(e, t, n, r) {+function Co(e, t, n, r) {e.classList.add("ui-fcollapse");- let i = (yo.get(e) || 0) + 1;- yo.set(e, i);- let a = () => yo.get(e) === i;+ let i = (bo.get(e) || 0) + 1;+ bo.set(e, i);+ let a = () => bo.get(e) === i;if (t) {e.inert = !1;let t = n() ? e.getBoundingClientRect().height : 0;- r(!0), wo(e, t, a);- } else e.inert = !0, e.classList.remove("ui-fcollapse-settled"), e.style.height = e.getBoundingClientRect().height + "px", e.getBoundingClientRect(), e.style.height = "0px", Co(e, () => {+ r(!0), To(e, t, a);+ } else e.inert = !0, e.classList.remove("ui-fcollapse-settled"), e.style.height = e.getBoundingClientRect().height + "px", e.getBoundingClientRect(), e.style.height = "0px", wo(e, () => {a() && (r(!1), e.style.height = "");});}-function Co(e, t) {+function wo(e, t) {let n = !1, r, i = (a) => {a && a.propertyName !== "height" || n || (n = !0, e.removeEventListener("transitionend", i), clearTimeout(r), t());};e.addEventListener("transitionend", i), r = setTimeout(i, 260);}-function wo(e, t, n = () => !0) {- e.classList.remove("ui-fcollapse-settled"), e.style.height = t + "px", e.getBoundingClientRect(), e.style.height = e.scrollHeight + "px", Co(e, () => {+function To(e, t, n = () => !0) {+ e.classList.remove("ui-fcollapse-settled"), e.style.height = t + "px", e.getBoundingClientRect(), e.style.height = e.scrollHeight + "px", wo(e, () => {n() && (e.style.height = "auto", e.classList.add("ui-fcollapse-settled"));});}// src/ui-kit/sounds.ts-var To = null, Eo = !1;-function Do() {+var Eo = null, Do = !1;+function Oo() {let e = globalThis.AudioContext || globalThis.webkitAudioContext;- return e ? (To ||= new e(), To.state === "suspended" && To.resume()?.catch?.(() => {}), To) : null;+ return e ? (Eo ||= new e(), Eo.state === "suspended" && Eo.resume()?.catch?.(() => {}), Eo) : null;}-function Oo(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o, attack: s = 0, start: c = 0, filter: l = null }) {+function ko(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o, attack: s = 0, start: c = 0, filter: l = null }) {let u = t + c, d = e.createOscillator(), f = e.createGain();d.type = n, d.frequency.setValueAtTime(r, u), i !== r && d.frequency.exponentialRampToValueAtTime(i, u + a), s ? (f.gain.setValueAtTime(.001, u), f.gain.exponentialRampToValueAtTime(o, u + s)) : f.gain.setValueAtTime(o, u), f.gain.exponentialRampToValueAtTime(.001, u + a);let p = d;@@ -12738,7 +12738,7 @@ function Oo(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o}p.connect(f), f.connect(e.destination), d.start(u), d.stop(u + a + .01);}-function ko(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attack: o = 0 }) {+function Ao(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attack: o = 0 }) {let s = Math.max(1, Math.round(e.sampleRate * n)), c = e.createBuffer(1, s, e.sampleRate), l = c.getChannelData(0);for (let e = 0; e < s; e++) l[e] = Math.random() * 2 - 1;let u = e.createBufferSource();@@ -12750,8 +12750,8 @@ function ko(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attacku.disconnect(), d.disconnect(), f.disconnect();}, u.start(t);}-var Ao = {- click: (e, t) => ko(e, t, {+var jo = {+ click: (e, t) => Ao(e, t, {duration: .06,volume: .12,filter: {@@ -12759,24 +12759,24 @@ var Ao = {Q: 1}}),- "toggle-on": (e, t) => Oo(e, t, {+ "toggle-on": (e, t) => ko(e, t, {from: 550,to: 650,duration: .08,volume: .15}),- "toggle-off": (e, t) => Oo(e, t, {+ "toggle-off": (e, t) => ko(e, t, {from: 650,to: 550,duration: .08,volume: .15}),success: (e, t) => {- Oo(e, t, {+ ko(e, t, {from: 523,duration: .12,volume: .18- }), Oo(e, t, {+ }), ko(e, t, {from: 653.75,duration: .12,volume: .18,@@ -12784,12 +12784,12 @@ var Ao = {});},warning: (e, t) => {- Oo(e, t, {+ ko(e, t, {type: "triangle",from: 600,duration: .08,volume: .15- }), Oo(e, t, {+ }), ko(e, t, {type: "triangle",from: 600,duration: .08,@@ -12797,7 +12797,7 @@ var Ao = {start: .16});},- error: (e, t) => Oo(e, t, {+ error: (e, t) => ko(e, t, {type: "sawtooth",from: 400,to: 200,@@ -12809,7 +12809,7 @@ var Ao = {Q: 1}}),- whoosh: (e, t) => ko(e, t, {+ whoosh: (e, t) => Ao(e, t, {duration: .12,volume: .08,attack: .036,@@ -12819,66 +12819,66 @@ var Ao = {},sweepTo: 6e3}),- pop: (e, t) => Oo(e, t, {+ pop: (e, t) => ko(e, t, {from: 1500,to: 500,duration: .04,volume: .15})};-Object.freeze(Object.keys(Ao));-function jo(e) {- Eo = e === !0;-}+Object.freeze(Object.keys(jo));function Mo(e) {- let t = Ao[e];+ Do = e === !0;+}+function No(e) {+ let t = jo[e];if (!t) throw Error(`没有「${e}」这种界面音效`);- if (!Eo) return !1;- let n = Do();+ if (!Do) return !1;+ let n = Oo();return n ? (t(n, n.currentTime), !0) : !1;}-var No = "button,[role=\"button\"],[role=\"tab\"],[role=\"menuitem\"],[role=\"menuitemradio\"],[role=\"menuitemcheckbox\"],[role=\"option\"],summary,a[href]", Po = "input[type=\"checkbox\"][role=\"switch\"]";-function Fo(e) {+var Po = "button,[role=\"button\"],[role=\"tab\"],[role=\"menuitem\"],[role=\"menuitemradio\"],[role=\"menuitemcheckbox\"],[role=\"option\"],summary,a[href]", Fo = "input[type=\"checkbox\"][role=\"switch\"]";+function Io(e) {return e.disabled === !0 || e.getAttribute("aria-disabled") === "true";}-var Io = /* @__PURE__ */ new WeakSet();-function Lo(e = document) {- Io.has(e) || (Io.add(e), e.addEventListener("click", (e) => {- let t = e.target?.closest?.(No);- t && !Fo(t) && Mo("click");+var Lo = /* @__PURE__ */ new WeakSet();+function Ro(e = document) {+ Lo.has(e) || (Lo.add(e), e.addEventListener("click", (e) => {+ let t = e.target?.closest?.(Po);+ t && !Io(t) && No("click");}, { capture: !0 }), e.addEventListener("change", (e) => {let t = e.target;- t?.matches?.(Po) && !Fo(t) && Mo(t.checked ? "toggle-on" : "toggle-off");+ t?.matches?.(Fo) && !Io(t) && No(t.checked ? "toggle-on" : "toggle-off");}, { capture: !0 }));}// src/ui-kit/anchored-menu.ts-var Ro = null, zo = globalThis;-zo.__peachMenuCloser || (zo.__peachMenuCloser = !0, document.addEventListener("click", (e) => {- if (!Ro) return;+var zo = null, Bo = globalThis;+Bo.__peachMenuCloser || (Bo.__peachMenuCloser = !0, document.addEventListener("click", (e) => {+ if (!zo) return;let t = e.target;- Ro.menu.contains(t) || Ro.toggle.contains(t) || (!Ro.mount.contains(t) || t instanceof Element && t.closest("a[href],button,input,select,textarea,summary,[role=button],[role=menuitem],[tabindex]")) && Ro.setOpen(!1);+ zo.menu.contains(t) || zo.toggle.contains(t) || (!zo.mount.contains(t) || t instanceof Element && t.closest("a[href],button,input,select,textarea,summary,[role=button],[role=menuitem],[tabindex]")) && zo.setOpen(!1);}, !0));-function Bo() {- Ro && Ro.setOpen(!1);+function Vo() {+ zo && zo.setOpen(!1);}-var Vo = /* @__PURE__ */ new WeakMap();-function Ho(e) {- Vo.delete(e), e.classList.remove("leaving"), e.hidden && Mo("whoosh"), e.hidden = !1;+var Ho = /* @__PURE__ */ new WeakMap();+function Uo(e) {+ Ho.delete(e), e.classList.remove("leaving"), e.hidden && No("whoosh"), e.hidden = !1;}-function Uo(e, t) {- if (e.hidden || Vo.has(e)) return;+function Wo(e, t) {+ if (e.hidden || Ho.has(e)) return;let n = () => {- Vo.get(e) === n && (Vo.delete(e), e.classList.remove("leaving"), e.hidden = !0, t && t());+ Ho.get(e) === n && (Ho.delete(e), e.classList.remove("leaving"), e.hidden = !0, t && t());};- Vo.set(e, n), e.classList.add("leaving"), getComputedStyle(e).animationName === "none" ? n() : (e.addEventListener("animationend", (t) => {+ Ho.set(e, n), e.classList.add("leaving"), getComputedStyle(e).animationName === "none" ? n() : (e.addEventListener("animationend", (t) => {t.target === e && n();}, { once: !0 }), setTimeout(n, 240));}-var Wo = () => 8 + (parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 0);-function Go(e, t) {+var Go = () => 8 + (parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 0);+function Ko(e, t) {return e.target instanceof Node && e.target.contains(t);}-function Ko(e, t, n, { side: r = !1, align: i = "end" } = {}) {+function qo(e, t, n, { side: r = !1, align: i = "end" } = {}) {let a = null, o = () => {let e = t.getBoundingClientRect(), o = n.offsetWidth;if (a = {@@ -12888,26 +12888,26 @@ function Ko(e, t, n, { side: r = !1, align: i = "end" } = {}) {n.dataset.placement = "right", n.style.maxHeight = Math.max(0, innerHeight - 32) + "px", n.style.left = Math.max(16, Math.min(e.right + 8, innerWidth - o - 16)) + "px", n.style.top = Math.max(16, Math.min(e.top, innerHeight - n.offsetHeight - 16)) + "px";return;}- let s = Wo(), c = innerHeight - 8 - e.bottom - 8, l = e.top - 8 - s, u = n.scrollHeight + n.offsetHeight - n.clientHeight, d = c >= u || c >= l, f = Math.min(u, Math.max(d ? c : l, 0));+ let s = Go(), c = innerHeight - 8 - e.bottom - 8, l = e.top - 8 - s, u = n.scrollHeight + n.offsetHeight - n.clientHeight, d = c >= u || c >= l, f = Math.min(u, Math.max(d ? c : l, 0));n.dataset.placement = d ? "bottom" : "top", n.style.maxHeight = f + "px";let p = i === "start" || n.classList.contains("context-card") ? e.left : e.right - o;n.style.left = Math.max(8, Math.min(p, innerWidth - o - 8)) + "px", n.style.top = (d ? e.bottom + 8 : e.top - 8 - f) + "px";}, s = (e) => {- if (!Go(e, t) || !a) return;+ if (!Ko(e, t) || !a) return;let n = t.getBoundingClientRect();(e.target === document || e.target === window || Math.abs(n.left - a.left) > .5 || Math.abs(n.top - a.top) > .5) && d(!1);}, c = n.hasAttribute("popover"), l = !1, u = !1, d = (r) => {- u || (r ? (Ro && Ro.mount !== e && Ro.setOpen(!1), l = !0, Ho(n), c && !n.matches(":popover-open") && n.showPopover(), o(), window.addEventListener("resize", o), window.addEventListener("scroll", s, {+ u || (r ? (zo && zo.mount !== e && zo.setOpen(!1), l = !0, Uo(n), c && !n.matches(":popover-open") && n.showPopover(), o(), window.addEventListener("resize", o), window.addEventListener("scroll", s, {capture: !0,passive: !0- })) : (l = !1, window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), Uo(n, () => {+ })) : (l = !1, window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), Wo(n, () => {n.style.left = "", n.style.top = "", n.style.maxHeight = "", c && n.matches(":popover-open") && n.hidePopover();- })), t.setAttribute("aria-expanded", String(r)), Ro = r ? {+ })), t.setAttribute("aria-expanded", String(r)), zo = r ? {mount: e,menu: n,toggle: t,setOpen: d- } : Ro && Ro.mount === e ? null : Ro);+ } : zo && zo.mount === e ? null : zo);}, f = (e) => {e.stopPropagation(), d(!l);}, p = (e) => {@@ -12917,33 +12917,33 @@ function Ko(e, t, n, { side: r = !1, align: i = "end" } = {}) {setOpen: d,isOpen: () => l,dispose: () => {- u || (u = !0, l = !1, t.removeEventListener("click", f), e.removeEventListener("keydown", p), window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), Ro?.menu === n && (Ro = null), Vo.delete(n), n.classList.remove("leaving"), n.hidden = !0, c && n.matches(":popover-open") && n.hidePopover(), n.style.left = "", n.style.top = "", n.style.maxHeight = "", t.setAttribute("aria-expanded", "false"));+ u || (u = !0, l = !1, t.removeEventListener("click", f), e.removeEventListener("keydown", p), window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), zo?.menu === n && (zo = null), Ho.delete(n), n.classList.remove("leaving"), n.hidden = !0, c && n.matches(":popover-open") && n.hidePopover(), n.style.left = "", n.style.top = "", n.style.maxHeight = "", t.setAttribute("aria-expanded", "false"));}};}// src/ui-kit/select-field.ts-function qo(e) {- return e ? e.startsWith("data:image/png;base64,") ? `<img class="gselectmark" src="${z(e)}" alt="" width="16" height="16">` : R(e, "gselectmark") : "";+function Jo(e) {+ return e ? e.startsWith("data:image/png;base64,") ? `<img class="gselectmark" src="${R(e)}" alt="" width="16" height="16">` : L(e, "gselectmark") : "";}-function Jo(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {- let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${qo(t)}${z(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${z(e)}"+function Yo(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {+ let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${Jo(t)}${R(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${R(e)}"aria-selected="${String(e) === String(a[0])}" tabindex="-1"><span data-select-content>${o([e,t,n])}</span></button>`).join("");- return `<div class="ui-gselect${i ? ` ${z(i)}` : ""}" ${r}>+ return `<div class="ui-gselect${i ? ` ${R(i)}` : ""}" ${r}><button type="button" class="gselectfield" data-select-trigger aria-haspopup="listbox"- aria-expanded="false" aria-label="${z(n)}"><span data-select-label>${o(a)}</span>${R("chevron-down")}</button>- <div class="popmenu gselectmenu" role="listbox" aria-label="${z(n)}" popover="manual" data-select-menu hidden>${s}</div></div>`;+ aria-expanded="false" aria-label="${R(n)}"><span data-select-label>${o(a)}</span>${L("chevron-down")}</button>+ <div class="popmenu gselectmenu" role="listbox" aria-label="${R(n)}" popover="manual" data-select-menu hidden>${s}</div></div>`;}-function Yo(e) {+function Xo(e) {let t = e.querySelector("[data-select-trigger]"), n = e.querySelector("[data-select-menu]"), r = e.querySelector("[data-select-label]"), i = () => [...n.querySelectorAll("[data-select-option]")], a = () => n.querySelector("[aria-selected=\"true\"]");t.addEventListener("click", () => {let r = `${t.getBoundingClientRect().width}px`;n.style.minWidth = r, e.hasAttribute("data-fixed-width") && (n.style.width = r);});- let o = Ko(e, t, n);+ let o = qo(e, t, n);t.addEventListener("click", () => {o.isOpen() && a()?.focus();});@@ -12978,44 +12978,44 @@ function Yo(e) {}), e;}// src/ui-kit/media-source-icons.ts-var Xo = {+var Zo = {local: "hard-drive",guangya: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEWUlEQVR42sWXT2hcVRTGf/fNYCZdNNPGTaHaSUXFVQZSLLowoe3GdpEERHFhYqTQRBATcWlpSly56YQu4ipNZivYxCK46Z9EsBGkHdwItdhXrLixzaASo2bucXHve/feNzOagqQXHnPf/XPOd77z3XPfKLwmkxTZit4lkiEiykQK8wA5+5v0c5i5nNj3ZJ03nwPyKpmvEekFpGNZvV6PE58qdT7BEIoLRKqYOo0g6PtOogQEDkDWeS4DVgQ0MVpNqbGNpRSATDCEcLHJYcAAzWz4QHIqZCcdswwloWr7iBpWJzeWlIxTAq4CJSK7MNmQOhXrSGXeWzj205AGAiiLQAAt0JA6HZ09eRRDCKV0UmGoUsq8SzJoKRS7DgFJxpQxmjhRXsRg5pU4AAKIKvL7xmQeGPVWerJIHBACSX9TQw5EAlB75lLnnm1t18NgHqHsAPjGvCj8KHN27rEuONgPnV3w96/wVx3urZrotefMj0n5DABalfME59CjUXwGPGDlEegbgZ5+mtpmHW5fgusz8NtdF30AwKZCa9AKJeNIYERZ4anM0esuwWvzJurttK8+hLUZY1B5gaUpMIHlW+8Wh0YL7O2BU5dhb4lttxc/sEBmnE3lmba6yrf0re1RE7vj7RbOf1iBWhXqdw1D+3rh8DtQLIUgNuvwzXmaUm3T25yCJA3Kgjg+DS+fcXMPYvjkLYhXw1Ql/YHT0H861MXcs7C5bo+2BCzkpg8x3ZpDZTa8cQE6i274XB/8/K0TVt8oPDcI67FxFq9AYQ/sP2zm8wXIdcDWn7D7AOwuGdZsRWzNQFJMegfh1EU3tjoLy+85oR4agVfnzdydFZg/ZuY6izD1PRSKzXbjFageS2tF1FZEIvD0QDj29aKt41bJHV0Z7YiZ31iH7z5rbfdmFRruTsj/q5K7D4TvP9Ys9fZofXkeuntgz5Nw6X1jNDn363FzjbgyAzeqnhCzKXhmAKauuk2LY7C2YAWJExyJ6CyQ5LL5aMvtvVE1YlWZtBIexTAF9zOonyg7tCn1Ht2JohsCPS+Fe3+quas3eRpi6G9o82hpAWCj7t5fGIVdxRCE9mt5ereb0+C3ezWnCS1eXweAmkW4tuj6nUU4fiZTQPCMmijY1wvPj4a14vaKi1pjhScOsG6VAoArlZCFo5NwIgvCA/JUP5z8NLTxxVnn2Hx8uPUND1TbOnB0El45R1N6Ls8aagEeL5kUZY/qgximD3riU5n7Jbz62xeikQXj4GHa/RhmjxgQqkV5F3sSRKfA2hei6pvw+dntO791DSpH4Jc7nuCyAhT3NWTT0Z6BtBiV4MR0ezZuXTPCvb7Q8jpJo/aveNyF9N8AkrarCPvL7lr+o270kK0dD9mUTHAz/C7cwSbUIoRlHlWLWIwoUEGoPwL3McJSpCrUiRjbcfeKKfUxcQSg5lhCMQzEO5D3OophNcdS8O8YQMYpoRkix+j/LkxFDWGZAhVVcSn/Bw2n+w/oK+fWAAAAAElFTkSuQmCC",115: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHB0lEQVR4nO2bbUwURxjH/zN38qIcb4JWoIoHFYumWhDbRquNiSlYC4ZGjVYrotHWD1VTLdY00X7zbA22Na21KWqsUMHYSiygJjaRQDW+VK2YioBarVZBQA9QDm6nedajCuxxHrfH7dX+kiXcvszM8+zO7DPP/JfBzcQmfx4O1jpJEmKUgBTHwUYIIAyAwbYRZtoYUCdBVDLwi5yxCgjfo1Uly2vd2T7mjkJj3vgsUVitcwWkqQxstAv1CAFxnoEfZjpdbvXPq05p1gFxqSZDexuWCIhMCMTDHTBcYGA5+n7YdrEwy6xOkS4yJi07uMliWSGEeB9ACPqGBsbYFwE+PpvP7l/Z6BEHCCFYzDRTBgATBMLhCRhofMiqLsrawRgTvSuiFxinbxjK2pErgAnQAAwoE3rMrTmw5s9eXOscxpSNE5iQ9glgEDQEA24LxtNrij8sc+Y67szJscmmTAjpiNaMJ+Q2CemI3Ea1n4CZM/N1p5pqPoXASngDDNmJAcbVBQWzrI5PfRLjzTX7AKTCuyhMNBjTHTmBOypFvvPeZzyRamt775+A2GRTpgTxHbwYDraoqiQrx2kHGFM2TqBBBYAPvBsLGJ9i7+3AenjPn9DiaN/rV6QeSUpxgl4pwotNMeWqbXw/PceYuAiEBvk7dZ2/Xz8MCQvE2JERGB4ZgteXOt8jyRY5cBPi1a4Ro77rybbwVtUIzzDAF7mmOYiPGexSOZt2Hu31tRS12mzbbvctMCYtO1iO7VVmUXqSy8bX323Bjp9OutoUk81GZQc0WSwr1J7YBAb4IiNtnMvlbCs4jpYHba4VIhAu26jkgLhUk8E2pVWVRenj5S7QWyxtVhQcOoecH0+o0h6ykWztNga0t2GJ2vP5oAA/ZKQldtv/1Q+/Yv8vFWg0P3BYhrm5Fa2WdjWbFWKzdVMnB8iZHJVZ/NZ4BPTvfPfzis64NJipgc1W2QG8I4endhor2OCHd1ITOu27/6AN2btK4XEE4mWbYXMAJTD74u5/f+A07jS2QAt02MzlH5Cmqn/3u/d9vV6HyeOM8nFP02Ezo7y9hPu31MwQr86YjHdnv9zjOTXX7+D4uWsoKv0D5WeuwgMIDv/Belq0gFDP+JBAf8zv0veVMEYNlLc508bir1t3sffw78g/eA5/16mS7X4SGNnOacVG7b4/wN+5CWTk4CAsnzcRh79djPlvOnaeWkhCjOK0XKVmoXWNzdhTchalpy7Ld9YZ+vv5YP2yqfK8YfDAALgbASmOxSRvoGmv67GqHcJCBuDFkRHybC5pdBQSno8EY457XPW1O5i9ajca7t13V9Oo359kxuQNlwFEo494JsyAGVNGYeGMcbJzeuLcxZt4e02e63MA+1yh1+C/cXFfQIPc1vxjmJSxFZt3lcJqleye+0LcEKyYP9GdzTH0uQM6oPj+y9xyzM3Kw83ae3bPmzc9ARGDAt3qAI9ysuI6Zn2wG7X1TYrHfX30WDb7FbfVz23iBI9yo/YeFq/bK88VlJicZHRX1WZNOIA4X3ULuw6cVjwWER6I6Ai3rLybOclSoBFy9p2wO/ePHTpQ9foYUMdJkwONUNvQjIuXlSVBOp36w5UEUclJkAQNcdPOXIDTs6oyjMRYshpLQ1gl5big5nq96nVxxio4SdEeps21QVx0uGJesPKK6mo5QbZz0uGRFA0agMLk4ZGh3faX/XaF9HKqQjZXlSyvlUcW0uFBA9BUWKmvUxZZbTps5vIPnS4XHoZecwsU0mgHyypRUU0JK3XpsJnTH1mByXABHoKySFvWzpAXQrtOiT/aXKx+hQwXOlSn/NE+ZldE4E6GDQlGwaZ5eG4YyYcfcbu+CRkf5+Nuk+PFE2d53Fbe8Q/JT0mBiT6CJjlLZ76Eoq8zMTyq88B36WodFqzdgxu37c8SXaDBZqtMpxEnJsW0XgixDm6CNAKUGaLU+OzkMQgN6t/peLtVwjf5x7Alr1xeE3QHjLFPqouz1ivqAwJ8fDabLa3LXF0hHjEsDBMSoqHjHH4+egwM7g9jVCgS46O69XOC0l6Hyiuxs/CU3VBYFRhqycbOu7pgTNmwEAI5aiyMvjbeiEkJRhifDUXkoCB5qbyt3YrmFguu3mxE5dVaHCq7hPIzV2CV+iAWY8isKV6zvUcHiIcSmVKt6IDV1BNXFWd1k8jwbicyJkh4TMIi/EewiaTmKinKudIFpKYi4bEsMfN+LLKI2o6SnNu7inR1HOw9eDlkQ08Kct7TxbLCkiEb3gpDdk8qUcJhmoVU1yQ8hvdRaGs7XHJAQcEsK6muvepJILn8EyjFCafyTDbx9Nca1g9bqM87euwfhzlbw1P9yQxBFZDwmAILaATbR1NJzhpP/P/ZHFzkqf1wsitP7aezSjyVH0/DDlr/fP4fOwTeE5lpP+gAAAAASUVORK5CYII=",pikpak: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACY0lEQVR4nNWXy2tTQRSHv7m5RUWttqlNW1OairhKNbrU+lhE/AOkdCOIIO7arty0QhSxCIIQ7VJwIfgfCIJdFB+rgC32AVIflD5CbFUsoohJRiZzb5Ne05p4kxv94HCTc+bO+c0MM3eOoICD/TJswAAQBdoBH5UhA8wDo1mIv7ojpuyAsH9EBuQgkmuASXVJI4lN3BXDawIifXIQwQ28RDA0ERfDwpr2cQ9G7iSdhcOGteZeJ1eYKreB5DS1I2oiCJba2hDQVA9tjdDaCHMfICuhMwDJz5D8BMtftK9E2s2NttrJMOxvzSdT1rIb6goW69KIXsjr5/K+nxlIWWKWrOebJIxNFhXgK7r20QjcPL+59PllGH8LarDvU3oWFHU+CDZpK+TKA3j88vd+zGKd93av/y8lrKxao7Ls6bROrrj6EE6E9WzZppZKrJ0y0Hu8RAGhZuhohqk5nShp2Y/0+nZqxPaoFQsr2my2mNDSkBe01w/7AvAu9QcB/nrYs0vboU4qSsNOwCHAoMYY/5WAsckNt1NJ8WKY5TS+fF8/E7f/Lu5aQDrjLu5agOlzF3ct4NYFd3HXAk51uYv/k9vQLPeFr9/h4gh0dcCBNu17vaiP7nt9sGNblQVs3wo9x+DZNCRm9aUyFICebh0rF9PpWP22+QvqC3f2qLZyKda34XTMLsGLGSrO8xndtxMR6ZfqQ+tz7uczRyDor0zyxY/6LlDkoMqYVsUSKvSqho8SVB/JglqCUWqF4ImharVcueQ96j4bN3KFoiDmeXpJTOXO7QJVoyEZ8mgm0rm6sLA4talFef4LaurBZfZxNPMAAAAASUVORK5CYII=",onedrive: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAL30lEQVR42u2aa4xd11XHf2ufez2v6/GMY2dix4nHbRw7tI5TmyZgFToKtCKokitoigT9kAopFEFFGqkSAUrDowiJD614SEj5EEG/VUXllQgQLbQVCNqIokoVQmmVKKiNgELcUGfuPXuvtfiw9z73zPUjduxAC3dJW/uc0Zk7Z/3Xf/3XWvsOzG1uc5vb3OY2t7nNbW5z+/9o8r/xR898Kp1txb7fAriABcTFRAKhafwfhkv6x39/YvSv/2cAuO9J3z92e1cc2E+qcDQFRwNYY1gAGkcChMYhgDQOyLPi/tTyYPArnz2x8MVvSwDuf9L3fyPZB2LgvSpOCpCCowLWOCaONo402WkJEIJDAxKcEEDEIfEUxgc+f3r0Z982ANz3CX+oEf/lFnZHcRIQmwyCBScVELxxJDgyyE5Lk0GQUAABwPKLTvyJke7+iU+dka9+ywJw/5O+P415DOfsRCCKE4EY8m6hx4QGpLEc7WaaCtJAECeII5JZIBgAnnheUvPg586s/Om3HAD3P+n7mwl/m+C21iAaRIGJOFGK00BqsgZ4yfnQGDQZhBp5AgxwRAzBwcm7OO42aV5s3vt3b1l97FrfeXAtv7z5I184mybtXTHGtYWF8Eb5z8mpZrSwlAzcQB1UwUSw4JjJFATL6AfAEYJkB90F3AkGLpLLhIBgeOYA4izYUvqtu//iha9/7q3rn/gfZcDr3/P0Vrvd/kxs49tTG9E2kdrI6fvuYOPIPsYKrcHYYKIwcUgCLZDEu+hbcJpmmvcEp6l6UGkvjpDpL57dF3EcA3FwWraHP/rUD+z+g1edAXc99PxmGp9/PLZxS9XwskyV4/dscui12Xl1SJojnAzUIDrZaYGEYOY0jeA4UiIuQTCdpkEXHvfMBBwozgP5R7bLPf4u8IoBCFfy0KmHn3tA4/YzqrplxWlVRdVYWVvk+OmDRKVbybPjavk6ASlBVMETeBIsgUTBk+MRPDqSBItAufeJl+ctP9M6HgWiY9GxCI7uO/Hx/3jiVQPg1MPPfTi1+rgmRZNiKWFJu3X6rcew0GTBU4gJ2lSA0KwBqmAKnkCTgIJEsOhQQCDle0ngE6AtDreOTwogKe/WgrfgEayFZpf+4Os+9uKbrnsKnHr4Xx5NMT2kMdGtpGjK+8Hb97N6w4hxglaL4zZlQSwMUPLPTMg3ASxkGps6TdEECY4nx7w0QFKoXkpiTQME3Ot9ThPS5HeAk9dNBE89/NwDqdXHNSZScT61CY2R1CaaAdz7rruxpmGSyEszEBOF1qdlMBUg3PILh07ocimQxgjBaapDQQl4LgBiU/HbJcRRwIZCGoVcEsWRVmlaVxo5+/T37nnimgG466HnNy1ufyHFtKYxRzw7n0gxK//xrds5dPsG0XLkdzhveSUvouiQ3EvAHHHPJTA4BMtgBCO4IyEr/hQgx3Y3pBuHxJUGD56X5J6A4ITGGTS5irjxtVab33j2+PJHXrEGxPH5R+MkrqU2kmIktTFHvji/sm+FA0c3mCiMe863Wmjfy301SOqIgpgjmlHxZFhrOd/HuW7aWLGxYxPDJoZHJx1aIt6yTFoa4A5mZTkognnuFays0HBwZSl9+NhXXvzy4S+fv++qGfD69zy9Fdv0V1pErsv7mgYx8YYfOs3u/atoiXasANT8L12gaol86eRwz2Wt7GK9Oi+KeE4HdyesNsjRZXShQcVzIyV5UVkQcq/QlOg3hQ1NGaoEJufHwwefObb0+1csgu1LkwdUFU2l3M0AcPCuwyztXWWSprU+zjifDDSBVmcB8RI29253c0yNxi3X+CJ0zXpgeHyFtgkZM8lR93p+UD4GL52kg5nkaJaOEoQQfGG01P7ekX/e9meOLX30ygCI8WwucZYZkCoASjMUDty5Sau9Gm895S+1XxXMHbMaecsCWJx3s5IOmc+mhRFiNHsDiydHpOK8Ghi5glhxFMkfa5BHZ8tOm+QHpbTM7oIHWNqVHtv8p/G/PXvH4p9fFoDNd3x+K43jmqlianRpkBIalcNvvhMLTaZ26fVrxCsYSXPkO+etPFgTWJ1gjpti5ohqBsCMZhcsn9iND0J21ovzLtNr8XyIUhAwkTw8dYhkyriDhPxnRVgYDNJvAscuK4Jtm7ZSG0mT3ir3owPr7DlyICt8EbtYrqvjnfNaXqgIXq7Tlmt8SSdvDW8TNlG8VaxVll63Qlgdds5Xn1JpsWt36SYkLcJXRdEENcE07911WUG4/dCXxj99WQakNm5qUlwN1ZoCiptx8Lu/IzczpbGpL5WqIpd7M3bkuVh+c1PLlI+V9oZnlcTVWLh5yOJrl0hd1NnJAhNUsg6YFRaY9JTcqwDkHsKliORUG4Zi7wd++5IMGO4dnUiTSJxE0qQltRE3Y+P0bTRroxzxWaX3aTpY763FnGB1IMjC4Mnw0k57zJHXmAiNsX5mT3aUndGv9xXoVKNvsiPyeYF6ibpNo1+vHW7d+OLkxCUBWLp5Yzu1mfamuQNbXF/mhpO35T6/p/qxl/dqWfTEneBO8BxlT1URM1peBgSfGD5J3Qct3znClwc7I06vaFBZJ5l5VgGYgtAtFdTzdQUg9XYxfuySACwc2L96wxuOTu/Xljl473eSpEHNy0Q3zXfX3OR4ysIm6rj6VCBUy6BTqJ4SFhVXxZOirSLBGN2x0jmts9TvpUMqDKiptiPy/Yj3Iz+z3LnlkhrgItujY69h9fhrsrKWipqid9N4fUEtNA21wdGS70WVxLw4bx31iRmM2gWaKnvfsh8fNt1nzgKhfiEIoevfSt57J/54KGcl3SCV9+lvyPFLAiDOE2Z2twbp+nb3DIJJPuaqL9edURj5tKbU90x9R1JWTFfFa+ub8rWWfrnZHVg6OppqyGWiX++dUglKqXMvDZI7Ich0rwDQ2ylHzJdshIRPJvVfysdPUp6u0S/1uNdDS2ly8EL/Uu5ELQtipX6sjZV1OWSq7Nu6EdNpb2/9qPvMz8t1NaueBceLw15HbIHQj/7Ohv/SAHzpfcO/ue1D2980kVH2DlQyG6yjXBYOoUMFJ+e+mGUNKEXbk2OqeOdlLn+WjMVDCyzcskKK03ZBZ5y/GBCznjhCCNM2WQoILl1V7FIBwE0+fdlWOLl90k3OulNg7P1V6VXckiL9eu/JwUtnp9MSWFPAUzlLNGPvvQfQeBHq9523HiPs4sOM1zMWkY4BlQVysTSw8JXLAjAc2iOTl+Ssi2SnKnouID4VE+eCwUaKc7W5ccszgJdGyC0/t+e79iGLA1KaOthh5jPOXyL6s9alpshF6d/tA/7yZQ9Ebv3g+T9xs7d1LdTMVukv3i/UiueWLQteYYAnRaOXBkhpRg03veNwd1DSHZjYzuvovRnjCgC46Kxf1V+69/5Meqe8+WXPBIcj+/H2BXvGYXkHfJUMdebwPM/XMLrV4/J8b2ln5N1g/U03llF5GuHZ6z4DZsXvasx3JjA4H7ziM8HDv/hfPxwn6eNS4KuFIXQlM0deyFG30giZaQEgA2Epa4InY/XkGit3rO8QvB1TZe++32m+Qv9n7dO8W7au6puhm3/h3CO2rb/WTwWRWv58WgatnNJqzf06AOWx19XYtW+B9e85uDPnZ6jfP2Pog3Ed7BsM2OTdcu6qvxq7+WfP/byO4696EZjy/WRHsGCemxGtYpjTAM2nPWbOrj1D9p65CRtMO74+3S/GgrpfF+cbtnhQ/vEVfzd468+d+772m/Fjbra3+6V61GW5AfKy14R2Myw5u9Z2sX7PBtY0OxqdPgizAFQmmF8H5wNb/NTFnb+qL0cPf+jfD0xekF/3l9I73XyRrgvMYEzPAUrumzNcHbL3jTfhPeeNndHvpmW/cL9G+yPgAd53Ie2v6dvhw4+eO9Weiw+mcXq7tWmjdoOUbtDdkUZYvnUPK0fWulbBekPNLAAXsMCu2fGP8H7561f9HyQ2H/n6PZOxnrSJv01dgyBhsDxYWdwYHQnLC0ojLyAyrpOjWk6cVHXSp31TaRhJhvvVAVAdfZZF/vDlIj63uc1tbnOb29zmNre5zW1ucwP+G1ME77lSc/kUAAAAAElFTkSuQmCC"-}, Zo = {- ...Object.fromEntries(Yt.map((e) => [e.id, Xo[e.id] || e.icon])),+}, Qo = {+ ...Object.fromEntries(Xt.map((e) => [e.id, Zo[e.id] || e.icon])),online: "rss",smb: "network"-}, Qo = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", $o = {+}, $o = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", es = {medium: "h-9 rounded-2lg p-2 text-body-medium",small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"-}, es = {- medium: $o.medium,- small: "size-8 rounded-lg p-0 text-body-medium"}, ts = {+ medium: es.medium,+ small: "size-8 rounded-lg p-0 text-body-medium"+}, ns = {medium: "size-5 shrink-0",small: "size-[18px] shrink-0"-}, ns = "size-(--icon-inline) shrink-0", rs = {+}, rs = "size-(--icon-inline) shrink-0", is = {medium: "inline-flex items-center justify-center px-1 shrink-0",small: "inline-flex items-center justify-center px-0.5 shrink-0"-}, is = {+}, as = {primary: "bg-button-primary text-text-white shadow-xs",secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",ghost: "bg-button-ghost-background text-button-ghost-foreground"-}, as = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;-function os(e = "compact") {- return `<span data-shortcuts-entry class="inline-flex flex-none"><button type="button" data-shortcuts-trigger data-filter-action data-skeleton-action disabled tabindex="-1" aria-label="我的收藏" title="我的收藏" class="inline-grid ${e === "default" ? "size-9" : "size-8"} flex-none place-items-center rounded-(--control-radius) border border-(--border-10) bg-(--surface) text-(--muted)">${as("star", "size-4")}</button></span>`;+}, os = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;+function ss(e = "compact") {+ return `<span data-shortcuts-entry class="inline-flex flex-none"><button type="button" data-shortcuts-trigger data-filter-action data-skeleton-action disabled tabindex="-1" aria-label="我的收藏" title="我的收藏" class="inline-grid ${e === "default" ? "size-9" : "size-8"} flex-none place-items-center rounded-(--control-radius) border border-(--border-10) bg-(--surface) text-(--muted)">${os("star", "size-4")}</button></span>`;}-function ss(e, t = "", n = e) {- return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac 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">${as("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="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"></div></div></div></div>`;+function cs(e, t = "", n = e) {+ return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac 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">${os("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${R(n)}" value="${R(t)}" placeholder="${R(e)}" class="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"></div></div></div></div>`;}-function cs({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {- let o = r ? $o[t] : es[t], s = n ? as(n, r ? ns : ts[t]) : "", c = r ? `<span class="${rs[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";- return `<button type="button" class="${Qo} ${o} ${is[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;+function ls({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {+ let o = r ? es[t] : ts[t], s = n ? os(n, r ? rs : ns[t]) : "", c = r ? `<span class="${is[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";+ return `<button type="button" class="${$o} ${o} ${as[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;}-var ls = {+var us = {md: {box: "gap-1.5 px-2.5 py-2 text-body-medium",value: "gap-[5px]",@@ -13027,66 +13027,66 @@ var ls = {chevron: "size-3.5"}};-function us(e, { size: t = "md", className: n = "", attrs: r = "", prefix: i = "" } = {}) {- let a = ls[t], o = `<span class="flex min-w-0 items-center truncate ${a.value}">${e}</span>`, s = i ? `<span class="flex min-w-0 items-center ${t === "sm" ? "gap-1.5" : "gap-2"}"><span aria-hidden="true" class="shrink-0 text-text-tertiary">${i}</span>${o}</span>` : o;- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${a.box}">${s}${as("chevron-down", `shrink-0 text-text-secondary ${a.chevron}`)}</button></div>`;+function ds(e, { size: t = "md", className: n = "", attrs: r = "", prefix: i = "" } = {}) {+ let a = us[t], o = `<span class="flex min-w-0 items-center truncate ${a.value}">${e}</span>`, s = i ? `<span class="flex min-w-0 items-center ${t === "sm" ? "gap-1.5" : "gap-2"}"><span aria-hidden="true" class="shrink-0 text-text-tertiary">${i}</span>${o}</span>` : o;+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${a.box}">${s}${os("chevron-down", `shrink-0 text-text-secondary ${a.chevron}`)}</button></div>`;}-var ds = "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", fs = "flex min-w-0 flex-col gap-2", ps = "text-body-regular text-text-secondary", ms = "text-display-4-medium tabular-nums text-text-primary", hs = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";-function gs(e) {- return `<div data-collection-summary="" class="${ds}"><div class="${fs}"><span class="${ps}">${e}</span><strong class="${ms}"><span data-skeleton="count" aria-hidden="true" class="${hs}"></span></strong></div></div>`;+var fs = "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", ps = "flex min-w-0 flex-col gap-2", ms = "text-body-regular text-text-secondary", hs = "text-display-4-medium tabular-nums text-text-primary", gs = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";+function _s(e) {+ return `<div data-collection-summary="" class="${fs}"><div class="${ps}"><span class="${ms}">${e}</span><strong class="${hs}"><span data-skeleton="count" aria-hidden="true" class="${gs}"></span></strong></div></div>`;}// src/ui-kit/markup.ts-var _s = /* @__PURE__ */ new Set([+var vs = /* @__PURE__ */ new Set(["secondary","warning","error","success"]);-function vs({ label: e = "", items: t = [], footnote: n = "" } = {}) {- return `<details class="geist-note-details"><summary>${z(e)}</summary>- <ul>${t.map((e) => `<li>${e.href ? `<a href="${z(e.href)}">${z(e.label || "")}</a>` : `<b>${z(e.label || "")}</b>`}<span>${z(e.note || "")}</span>${e.hint ? `<code>${z(e.hint)}</code>` : ""}</li>`).join("")}</ul>${n ? `<p>${z(n)}</p>` : ""}</details>`;+function ys({ label: e = "", items: t = [], footnote: n = "" } = {}) {+ return `<details class="geist-note-details"><summary>${R(e)}</summary>+ <ul>${t.map((e) => `<li>${e.href ? `<a href="${R(e.href)}">${R(e.label || "")}</a>` : `<b>${R(e.label || "")}</b>`}<span>${R(e.note || "")}</span>${e.hint ? `<code>${R(e.hint)}</code>` : ""}</li>`).join("")}</ul>${n ? `<p>${R(n)}</p>` : ""}</details>`;}-function ys(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {- let l = _s.has(t) ? t : "secondary", u = l === "secondary" ? "info" : l === "success" ? "check" : "alert", d = l === "error" ? " role=\"alert\"" : " role=\"note\"", f = o ? s ? `<a class="geist-button" href="${z(s)}" data-note-action>${z(o)}</a>` : `<button type="button" class="geist-button" data-note-action>${z(o)}</button>` : "";- return `<div class="geist-note geist-note-${l}${r ? ` ${z(r)}` : ""}${i === "small" ? " geist-note-small" : ""}${a ? " geist-note-filled" : ""}"${d}>- ${R(u)}<p>${n ? `<b>${z(n)}</b>` : ""}<span>${z(l === "error" ? tn(e) : e)}</span></p>${f}${c ? vs(c) : ""}</div>`;+function bs(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {+ let l = vs.has(t) ? t : "secondary", u = l === "secondary" ? "info" : l === "success" ? "check" : "alert", d = l === "error" ? " role=\"alert\"" : " role=\"note\"", f = o ? s ? `<a class="geist-button" href="${R(s)}" data-note-action>${R(o)}</a>` : `<button type="button" class="geist-button" data-note-action>${R(o)}</button>` : "";+ return `<div class="geist-note geist-note-${l}${r ? ` ${R(r)}` : ""}${i === "small" ? " geist-note-small" : ""}${a ? " geist-note-filled" : ""}"${d}>+ ${L(u)}<p>${n ? `<b>${R(n)}</b>` : ""}<span>${R(l === "error" ? nn(e) : e)}</span></p>${f}${c ? ys(c) : ""}</div>`;}-function bs(e = "加载中") {+function xs(e = "加载中") {let t = Array.from({ length: 10 }, (e, t) => `<i aria-hidden="true" style="--spinner-angle:${t * 36}deg;--spinner-delay:${t * 100 - 900}ms"></i>`).join("");- return `<span class="ui-geist-spinner" role="status" aria-label="${z(e)}">${t}</span>`;+ return `<span class="ui-geist-spinner" role="status" aria-label="${R(e)}">${t}</span>`;}-var xs = "载入中";-function Ss(e = "正在处理", { className: t = "" } = {}) {- return `<span class="ui-geist-loading${t ? ` ${z(t)}` : ""}" role="status">+var Ss = "载入中";+function Cs(e = "正在处理", { className: t = "" } = {}) {+ return `<span class="ui-geist-loading${t ? ` ${R(t)}` : ""}" role="status"><span class="ui-geist-loading-dots" aria-hidden="true"><i></i><i></i><i></i></span>- <span>${z(e)}</span></span>`;+ <span>${R(e)}</span></span>`;}-function Cs(e, { active: t = "", attr: n = "data-tab", label: r = "页面视图", className: i = "", panel: a = "" } = {}) {+function ws(e, { active: t = "", attr: n = "data-tab", label: r = "页面视图", className: i = "", panel: a = "" } = {}) {let o = e.map(({ value: e, label: r, count: i, symbol: o }) => {- let s = String(e) === String(t), c = i == null ? "" : `<span class="ui-board-tab-count">${z(Number(i).toLocaleString())}</span>`;- return `<button type="button" role="tab" ${n}="${z(e)}" aria-selected="${s}"${a ? ` aria-controls="${z(a)}"` : ""}>${o ? R(o) : ""}${z(r)}${c}</button>`;+ let s = String(e) === String(t), c = i == null ? "" : `<span class="ui-board-tab-count">${R(Number(i).toLocaleString())}</span>`;+ return `<button type="button" role="tab" ${n}="${R(e)}" aria-selected="${s}"${a ? ` aria-controls="${R(a)}"` : ""}>${o ? L(o) : ""}${R(r)}${c}</button>`;}).join("");- return `<div class="ui-board-local-nav ui-board-tabs${i ? ` ${z(i)}` : ""}" role="tablist" aria-label="${z(r)}">${o}</div>`;+ return `<div class="ui-board-local-nav ui-board-tabs${i ? ` ${R(i)}` : ""}" role="tablist" aria-label="${R(r)}">${o}</div>`;}-function ws(e, t, n, { className: r = "", actions: i = "" } = {}) {- return `<div class="ui-emptystate${r ? ` ${z(r)}` : ""}" data-geist-empty-state role="status">- <div class="ui-es-icon" aria-hidden="true">${R(e)}</div>- <div class="ui-es-copy"><h3>${z(t)}</h3><p>${z(n)}</p></div>+function Ts(e, t, n, { className: r = "", actions: i = "" } = {}) {+ return `<div class="ui-emptystate${r ? ` ${R(r)}` : ""}" data-geist-empty-state role="status">+ <div class="ui-es-icon" aria-hidden="true">${L(e)}</div>+ <div class="ui-es-copy"><h3>${R(t)}</h3><p>${R(n)}</p></div>${i ? `<div class="ui-es-actions">${i}</div>` : ""}</div>`;}-function Ts(e = "") {- return `<span class="ui-pcheck"><input type="checkbox" ${e}><span aria-hidden="true">${R("check")}</span></span>`;+function Es(e = "") {+ return `<span class="ui-pcheck"><input type="checkbox" ${e}><span aria-hidden="true">${L("check")}</span></span>`;}// src/ui-kit/motion.ts-function Es(e, t, n = "a", { className: r = "", iconClass: i = "", label: a = "" } = {}) {- return `<span class="iconswap${r ? " " + z(r) : ""}" data-icon-swap data-icon-state="${n === "b" ? "b" : "a"}"${a ? ` aria-label="${z(a)}"` : ""}><span data-icon="a">${R(e, i)}</span><span data-icon="b">${R(t, i)}</span></span>`;+function Ds(e, t, n = "a", { className: r = "", iconClass: i = "", label: a = "" } = {}) {+ return `<span class="iconswap${r ? " " + R(r) : ""}" data-icon-swap data-icon-state="${n === "b" ? "b" : "a"}"${a ? ` aria-label="${R(a)}"` : ""}><span data-icon="a">${L(e, i)}</span><span data-icon="b">${L(t, i)}</span></span>`;}-function Ds(e, t) {+function Os(e, t) {let n = e && (e.matches?.("[data-icon-swap]") ? e : e.querySelector?.("[data-icon-swap]"));return n && (n.dataset.iconState = t === "b" || t === !0 ? "b" : "a"), n;}-function Os(e, t, { html: n = !1 } = {}) {+function ks(e, t, { html: n = !1 } = {}) {if (!e) return;let r = String(t ?? ""), i = () => {n ? e.innerHTML = r : e.textContent = r;@@ -13106,17 +13106,17 @@ function Os(e, t, { html: n = !1 } = {}) {e.classList.contains("leaving") && (e.removeEventListener("transitionend", s), o());}, 400);}-function ks(e, t) {+function As(e, t) {if (!e) return;let n = String(t ?? ""), r = e.dataset.popCount;if (r === n && e.firstElementChild) return;e.dataset.popCount = n;let i = -1;- if (e.innerHTML = `<span class="digits">${[...n].map((e) => (/\d/.test(e) && (i += 1), `<span style="--digit-at:${Math.max(i, 0)}">${z(e)}</span>`)).join("")}</span>`, r === void 0 || r === n) return;+ if (e.innerHTML = `<span class="digits">${[...n].map((e) => (/\d/.test(e) && (i += 1), `<span style="--digit-at:${Math.max(i, 0)}">${R(e)}</span>`)).join("")}</span>`, r === void 0 || r === n) return;let a = e.firstElementChild;a.getBoundingClientRect(), a.classList.add("popping");}-function As(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r = e && e.scrollLeft || 0 } = {}) {+function js(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r = e && e.scrollLeft || 0 } = {}) {if (!e || !t || (t.querySelectorAll(":scope > .cleardissolve").forEach((e) => e.remove()), e.classList.remove("dissolving"), e.value = "", !n || !e.isConnected)) return () => {};let i = e.getBoundingClientRect(), a = t.getBoundingClientRect();if (!i.width) return () => {};@@ -13143,14 +13143,14 @@ function As(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r};return o.addEventListener("animationend", d), u = setTimeout(d, 1e3), d;}-var js = /* @__PURE__ */ new Map();-function Ms(e, t = "") {+var Ms = /* @__PURE__ */ new Map();+function Ns(e, t = "") {e && e.querySelectorAll("[data-count-badge]").forEach((e) => {- let n = `${t}\u0000${e.dataset.countBadge}`, r = e.textContent || "", i = js.get(n);- js.set(n, r), e.classList.add("countbadge"), i !== void 0 && i !== r && (e.classList.add("popped"), e.getBoundingClientRect(), e.classList.remove("popped"));+ let n = `${t}\u0000${e.dataset.countBadge}`, r = e.textContent || "", i = Ms.get(n);+ Ms.set(n, r), e.classList.add("countbadge"), i !== void 0 && i !== r && (e.classList.add("popped"), e.getBoundingClientRect(), e.classList.remove("popped"));});}-function Ns(e, t = "[data-reveal-line]") {+function Ps(e, t = "[data-reveal-line]") {if (!e) return;let n = [...e.querySelectorAll(t)];if (!n.length) return;@@ -13166,12 +13166,12 @@ function Ns(e, t = "[data-reveal-line]") {i.classList.contains("revealline") && (i.removeEventListener("transitionend", a), r());}, 1200);}-var Ps = [+var Fs = [50,100,200];-function Fs({ mode: e = "cloud", pageSize: t = 100 } = {}) {+function Is({ mode: e = "cloud", pageSize: t = 100 } = {}) {let n = Math.max(1, Math.min(200, Math.floor(t))), r = Array.from({ length: n }, (e, t) => `<span data-tag-skeleton-cell class="skeleton block rounded-lg" style="height:34px;width:${58 + (Math.imul(t + 1, 2654435761) >>> 0) % 153}px;max-width:100%"></span>`).join(""), i = Array.from({ length: Math.min(2, n) }, (e, t) => {let r = Math.floor(n / 2) + (t === 0 ? n % 2 : 0);return `<section class="min-w-0 bg-background-secondary-default rounded-2xl px-5 pt-4 pb-3"><span class="skeleton mb-2 block w-20" style="height:24px"></span><div class="index-tag-list gap-x-4 gap-y-0.5">${Array.from({ length: r }, () => "<span data-tag-skeleton-cell class=\"flex h-9 min-w-0 items-center gap-3 px-2.5\"><span class=\"skeleton w-32 max-w-full rounded-md\" style=\"height:16px\"></span><span class=\"skeleton ml-auto w-8 rounded-md\" style=\"height:12px\"></span></span>").join("")}</div></section>`;@@ -13179,7 +13179,7 @@ function Fs({ mode: e = "cloud", pageSize: t = 100 } = {}) {return `<div data-skeleton="tags/${e === "alphabet" ? "alphabet" : "cloud"}/${n}" role="status" aria-label="正在读取标签" aria-busy="true"><span class="sr-only">正在读取标签</span><div aria-hidden="true">${e === "alphabet" ? `<div class="flex flex-col gap-4">${i}</div>` : `<div class="flex flex-wrap gap-1.75">${r}</div>`}<div class="mt-5 flex flex-wrap items-center justify-between gap-3" data-tag-pagination-skeleton><span class="skeleton block w-32" style="height:16px"></span><div class="flex items-center gap-2"><span class="skeleton block w-28 rounded-md" style="height:32px"></span><span class="skeleton block w-40 rounded-md" style="height:32px"></span></div></div></div></div>`;}// src/ui-kit/skeleton.ts-function Is(e, t) {+function Ls(e, t) {if (!e) return;if (e.querySelector(".skeleton-awaiting") || !e.querySelector(".skeleton,[data-skeleton],.skeletoncard,.countskeleton") || !e.firstChild) {t();@@ -13197,7 +13197,7 @@ function Is(e, t) {n.isConnected && (n.removeEventListener("transitionend", i), r());}, 1e3);}-function Ls(e = "正在读取内容", { className: t = "", variant: n = "panel", count: r = 6, fill: i = !0, gridClass: a = "", gridSize: o = "", cardRatio: s = 0 } = {}) {+function Rs(e = "正在读取内容", { className: t = "", variant: n = "panel", count: r = 6, fill: i = !0, gridClass: a = "", gridSize: o = "", cardRatio: s = 0 } = {}) {let c = (/* @__PURE__ */ new Set(["panel","cards",@@ -13206,23 +13206,23 @@ function Ls(e = "正在读取内容", { className: t = "", variant: n = "panel",<span class="ui-skeletondashhero"><i></i><b></b></span><span class="ui-skeletondashpanel"><i></i><b></b><em></em></span><span class="ui-skeletondashpanel"><i></i><b></b><em></em></span>` : "<span class=\"skeleton\" style=\"width:38%\"></span>\n <span class=\"skeleton\" style=\"width:100%\"></span>\n <span class=\"skeleton\" style=\"width:100%\"></span>\n <span class=\"skeleton\" style=\"width:72%\"></span>";- return `<div class="skeletonpanel skeleton-${c}${t ? ` ${z(t)}` : ""}"- data-skeleton="${z(c)}${t ? `/${z(t)}` : ""}"${c === "cards" && i ? " data-fill=\"\"" : ""}- role="status" aria-label="${z(e)}"><span class="sr-only">${z(e)}</span>- <div${a ? ` class="${z(a)}"` : ""}${o ? ` data-size="${z(o)}"` : ""}${c === "cards" && Number(s) > 0 ? ` style="--skeleton-card-ratio:${Number(s)}"` : ""} aria-hidden="true">${l}</div></div>`;-}-function Rs({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {- if (e === "tags") return Fs({ mode: n });- let r = `<div class="igrid" data-cells="${e === "studios" || e === "agencies" || e === "series" ? "company" : "people"}" data-layout="${z(t)}">${"<span class=\"icell\"><span class=\"ring skeleton\"></span><span class=\"nm skeleton\"> </span><span class=\"n skeleton\"> </span></span>".repeat(12)}</div>`, i = "正在读取索引";- return `<div class="skeletonpanel index-skeleton" data-skeleton="index/${z(e)}/${z(t)}/${z(n)}" data-fill=""+ return `<div class="skeletonpanel skeleton-${c}${t ? ` ${R(t)}` : ""}"+ data-skeleton="${R(c)}${t ? `/${R(t)}` : ""}"${c === "cards" && i ? " data-fill=\"\"" : ""}+ role="status" aria-label="${R(e)}"><span class="sr-only">${R(e)}</span>+ <div${a ? ` class="${R(a)}"` : ""}${o ? ` data-size="${R(o)}"` : ""}${c === "cards" && Number(s) > 0 ? ` style="--skeleton-card-ratio:${Number(s)}"` : ""} aria-hidden="true">${l}</div></div>`;+}+function zs({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {+ if (e === "tags") return Is({ mode: n });+ let r = `<div class="igrid" data-cells="${e === "studios" || e === "agencies" || e === "series" ? "company" : "people"}" data-layout="${R(t)}">${"<span class=\"icell\"><span class=\"ring skeleton\"></span><span class=\"nm skeleton\"> </span><span class=\"n skeleton\"> </span></span>".repeat(12)}</div>`, i = "正在读取索引";+ return `<div class="skeletonpanel index-skeleton" data-skeleton="index/${R(e)}/${R(t)}/${R(n)}" data-fill=""role="status" aria-label="${i}"><span class="sr-only">${i}</span><section aria-hidden="true">${r}</section></div>`;}-var zs = {+var Bs = {av: () => "<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\"> </span></span>",brandpill: (e) => `<span class="brandpill brandskeleton" style="width:${e}px"><span class="mk"></span></span>`,pill: (e) => `<span class="pill tagskeleton" style="width:${e}px"></span>`,"filter-pill": (e) => `<span class="skeleton" style="width:${e}px;height:var(--control-h-compact);border-radius:8px;flex:none"></span>`-}, Bs = {+}, Vs = {av: [0],brandpill: [132,@@ -13265,41 +13265,41 @@ var zs = {76,84]-}, Vs = "[data-skeleton],[data-skeleton-tier],.countskeleton";-function Hs(e) {+}, Hs = "[data-skeleton],[data-skeleton-tier],.countskeleton";+function Us(e) {if (!e) return;- let t = [...e.matches?.(Vs) ? [e] : [], ...e.querySelectorAll(Vs)], n = t.filter((e) => !t.some((t) => t !== e && t.contains(e)));+ let t = [...e.matches?.(Hs) ? [e] : [], ...e.querySelectorAll(Hs)], n = t.filter((e) => !t.some((t) => t !== e && t.contains(e)));for (let e of n) e.dataset.skeletonReveal || (e.dataset.skeletonReveal = "pending", e.classList.add("skeleton-awaiting"), setTimeout(() => {e.isConnected && e.dataset.skeletonReveal === "pending" && (e.dataset.skeletonReveal = "shown", e.classList.remove("skeleton-awaiting"));}, 180));}-var Us = 64;-function Ws(e) {- e = e.filter((e) => e.row && zs[e.kind] && (!e.row.children.length || e.row.scrollWidth <= e.row.clientWidth)).map((e) => ({+var Ws = 64;+function Gs(e) {+ e = e.filter((e) => e.row && Bs[e.kind] && (!e.row.children.length || e.row.scrollWidth <= e.row.clientWidth)).map((e) => ({...e,start: e.row.children.length,added: 0}));let t = (e, t) => {- let n = zs[e.kind], r = Bs[e.kind], i = "";- for (let a = Math.min(Us, e.added + t); e.added < a; e.added++) i += n(r[e.added % r.length]);+ let n = Bs[e.kind], r = Vs[e.kind], i = "";+ for (let a = Math.min(Ws, e.added + t); e.added < a; e.added++) i += n(r[e.added % r.length]);e.row.insertAdjacentHTML("beforeend", i);};- for (let n of e) t(n, Bs[n.kind].length);+ for (let n of e) t(n, Vs[n.kind].length);for (let n = 0; n < 4; n++) {- let n = e.filter((e) => e.added < Us && e.row.scrollWidth <= e.row.clientWidth).map((e) => {+ let n = e.filter((e) => e.added < Ws && e.row.scrollWidth <= e.row.clientWidth).map((e) => {let t = e.row.children[e.start].getBoundingClientRect(), n = e.row.lastElementChild.getBoundingClientRect(), r = Math.max(1, (n.right - t.left) / e.added);return [e, Math.ceil((e.row.getBoundingClientRect().right - n.right) / r) + 1];});if (!n.length) break;for (let [e, r] of n) t(e, Math.max(1, r));}- for (let t of e) Hs(t.row);+ for (let t of e) Us(t.row);}-function Gs(e) {+function Ks(e) {if (!e) return;let t = (t) => [...e.matches?.(t) ? [e] : [], ...e.querySelectorAll(t)];- Ws(t("[data-skeleton-tier]").map((e) => ({+ Gs(t("[data-skeleton-tier]").map((e) => ({row: e,kind: e.dataset.skeletonTier})));@@ -13312,36 +13312,36 @@ function Gs(e) {for (; e.children.length > s;) e.lastElementChild.remove();for (; e.children.length < s;) e.appendChild(t.cloneNode(!0));}- Hs(e);+ Us(e);}// src/ui-kit/sweep-gate.ts-var Ks = 1e4, qs = /* @__PURE__ */ new WeakMap(), Js = null;-function Ys() {- return Js || typeof IntersectionObserver != "function" || (Js = new IntersectionObserver((e) => {+var qs = 1e4, Js = /* @__PURE__ */ new WeakMap(), Ys = null;+function Xs() {+ return Ys || typeof IntersectionObserver != "function" || (Ys = new IntersectionObserver((e) => {for (let { target: t, isIntersecting: n } of e) {if (!t.isConnected) {- Zs(t);+ Qs(t);continue;}let e = t;- e.dataset.sweep !== "stalled" && (n ? (delete e.dataset.sweep, qs.has(e) || qs.set(e, setTimeout(() => {- qs.delete(e), e.isConnected && (e.dataset.sweep = "stalled");- }, Ks))) : (e.dataset.sweep = "idle", clearTimeout(qs.get(e)), qs.delete(e)));+ e.dataset.sweep !== "stalled" && (n ? (delete e.dataset.sweep, Js.has(e) || Js.set(e, setTimeout(() => {+ Js.delete(e), e.isConnected && (e.dataset.sweep = "stalled");+ }, qs))) : (e.dataset.sweep = "idle", clearTimeout(Js.get(e)), Js.delete(e)));}- })), Js;-}-function Xs(e) {- Ys()?.observe(e);+ })), Ys;}function Zs(e) {- Js?.unobserve(e), clearTimeout(qs.get(e)), qs.delete(e), e.dataset?.sweep && delete e.dataset.sweep;+ Xs()?.observe(e);+}+function Qs(e) {+ Ys?.unobserve(e), clearTimeout(Js.get(e)), Js.delete(e), e.dataset?.sweep && delete e.dataset.sweep;}// src/ui-kit/scroll.ts-var Qs = /* @__PURE__ */ new Map(), $s, ec = 240, tc = 50, nc = 70, rc = .55, ic = .35, ac = 480;-function oc(e, t) {- return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * rc / t + 1)) * t;+var $s = /* @__PURE__ */ new Map(), ec, tc = 240, nc = 50, rc = 70, ic = .55, ac = .35, oc = 480;+function sc(e, t) {+ return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * ic / t + 1)) * t;}-function sc(e) {+function cc(e) {let t = null, n = 0, r = () => typeof e.animate != "function" || matchMedia("(prefers-reduced-motion:reduce)").matches, i = () => {t = null, n || e.classList.remove("edgepull");}, a = (n, r) => {@@ -13349,11 +13349,11 @@ function sc(e) {};return {drag(i) {- r() || (t?.cancel(), t = null, n = -oc(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));+ r() || (t?.cancel(), t = null, n = -sc(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));},release() {if (!n) return;- let t = n, r = xc();+ let t = n, r = Sc();n = 0, e.style.removeProperty("--edge-pull"), a([{"--edge-pull": `${t}px`,easing: r.easing@@ -13361,9 +13361,9 @@ function sc(e) {},kick(t) {if (r() || n) return;- let i = -oc(t * ic, Math.min(e.clientWidth, ac));+ let i = -sc(t * ac, Math.min(e.clientWidth, oc));if (!i) return;- let o = xc();+ let o = Sc();a([{"--edge-pull": "0px",@@ -13379,10 +13379,10 @@ function sc(e) {}};}-function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {+function lc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {if (!e) return;n && (e.dataset.scrollGesture = "");- let o = Qs.get(e);+ let o = $s.get(e);if (o) return o.options.drag ||= t, o.options.fade ||= n, o.update(), o;let s = {drag: t,@@ -13390,7 +13390,7 @@ function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drawheel: r,elastic: i,dragIgnore: a- }, c = new AbortController(), l = sc(e), u = null, d = 0, f = 0, p = 0, m = !1, h = 0, g = 0, _ = 0, v = 0, y = (t, n) => {+ }, c = new AbortController(), l = cc(e), u = null, d = 0, f = 0, p = 0, m = !1, h = 0, g = 0, _ = 0, v = 0, y = (t, n) => {e.dataset[t] !== n && (e.dataset[t] = n);}, b = "", x = () => (b ||= getComputedStyle(e).overflowX, ["auto",@@ -13416,7 +13416,7 @@ function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dracancelAnimationFrame(h), h = 0, v = 0;}, O = (t) => {let n = Math.min(Math.max(t - g, 0), 64);- if (g = t, _ += (p - _) * (1 - Math.exp(-n / nc)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(O);+ if (g = t, _ += (p - _) * (1 - Math.exp(-n / rc)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(O);else if (h = 0, v) {let e = v;v = 0, E(e);@@ -13428,11 +13428,11 @@ function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, draif (t.defaultPrevented || !t.cancelable || Math.abs(t.deltaY) <= Math.abs(t.deltaX) || n <= 0 || !x()) return;t.preventDefault();let r = performance.now(), i = Math.abs(t.deltaY);- r > f && (m = !1), f = r + ec;+ r > f && (m = !1), f = r + tc;let a = h ? p : e.scrollLeft, o = a + t.deltaY;p = Math.min(n, Math.max(0, o));let c = o === p ? 0 : t.deltaY;- i < tc || p === a ? (p !== a && (D(), e.scrollLeft = p), c && !h ? E(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(O)));+ i < nc || p === a ? (p !== a && (D(), e.scrollLeft = p), c && !h ? E(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(O)));}, { passive: !1 }), T(e, "mousedown", (t) => {d = 0, !s.drag || t.button !== 0 || e.scrollWidth - e.clientWidth <= 1 || s.dragIgnore && (t.shiftKey || t.ctrlKey || t.metaKey || t.altKey || t.target.closest?.(s.dragIgnore)) || (t.stopPropagation(), D(), u = {x: t.pageX,@@ -13470,18 +13470,18 @@ function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drab = "", S();},destroy() {- c.abort(), D(), cancelAnimationFrame(C), C = 0, A.disconnect(), M.disconnect(), Qs.delete(e), delete e.dataset.scrollGesture, e.style.cursor = "", Qs.size || ($s?.disconnect(), $s = null);+ c.abort(), D(), cancelAnimationFrame(C), C = 0, A.disconnect(), M.disconnect(), $s.delete(e), delete e.dataset.scrollGesture, e.style.cursor = "", $s.size || (ec?.disconnect(), ec = null);}};- return Qs.set(e, ee), $s || ($s = new MutationObserver(() => {- for (let [e, t] of Qs) e.isConnected || t.destroy();- }), $s.observe(document.body, {+ return $s.set(e, ee), ec || (ec = new MutationObserver(() => {+ for (let [e, t] of $s) e.isConnected || t.destroy();+ }), ec.observe(document.body, {childList: !0,subtree: !0})), ee;}-function lc(e) {- return cc(e, {+function uc(e) {+ return lc(e, {drag: !0,fade: !1,wheel: !1,@@ -13489,9 +13489,9 @@ function lc(e) {dragIgnore: "a,button,input,select,textarea,label,[role=\"button\"],[role=\"checkbox\"],[role=\"slider\"],.react-aria-ColumnResizer"});}-var uc = 24, dc = 2e3, fc = 3e3, pc = /* @__PURE__ */ new Map(), mc = /* @__PURE__ */ new Set(), hc = null, gc = null, _c = /* @__PURE__ */ new Map();-function vc(e) {- if (!e || pc.has(e) || matchMedia("(prefers-reduced-motion:reduce)").matches) return;+var dc = 24, fc = 2e3, pc = 3e3, mc = /* @__PURE__ */ new Map(), hc = /* @__PURE__ */ new Set(), gc = null, _c = null, vc = /* @__PURE__ */ new Map();+function yc(e) {+ if (!e || mc.has(e) || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let t = new AbortController(), n = e.scrollLeft, r = 1, i = 0, a = 0, o = !1, s = !1, c = !0, l = 0, u = -1, d = !1, f = (e, n, r) => e.addEventListener(n, r, {passive: !0,signal: t.signal@@ -13503,11 +13503,11 @@ function vc(e) {if (!m()) return;a = requestAnimationFrame(h);let o = i ? Math.min(t - i, 64) : 0;- i = t, !(t < l) && (u < 0 && (u = e.scrollWidth - e.clientWidth), d && (d = !1, n = e.scrollLeft), !(u <= 1) && (n = Math.min(u, Math.max(0, n + r * uc * o / 1e3)), e.scrollLeft = n, (n >= u || n <= 0) && (r = n >= u ? -1 : 1, l = t + dc)));+ i = t, !(t < l) && (u < 0 && (u = e.scrollWidth - e.clientWidth), d && (d = !1, n = e.scrollLeft), !(u <= 1) && (n = Math.min(u, Math.max(0, n + r * dc * o / 1e3)), e.scrollLeft = n, (n >= u || n <= 0) && (r = n >= u ? -1 : 1, l = t + fc)));}, g = () => {e.isConnected ? !a && m() && (i = 0, a = requestAnimationFrame(h)) : b();}, _ = () => {- l = performance.now() + fc;+ l = performance.now() + pc;};f(e, "pointerenter", () => {o = !0;@@ -13527,41 +13527,41 @@ function vc(e) {});y.observe(e, { childList: !0 }), f(document, "visibilitychange", g), g();function b() {- cancelAnimationFrame(a), a = 0, t.abort(), v.disconnect(), y.disconnect(), pc.delete(e), mc.delete(g), gc?.unobserve(e), _c.delete(e), pc.size || (hc?.disconnect(), hc = null, gc?.disconnect(), gc = null);+ cancelAnimationFrame(a), a = 0, t.abort(), v.disconnect(), y.disconnect(), mc.delete(e), hc.delete(g), _c?.unobserve(e), vc.delete(e), mc.size || (gc?.disconnect(), gc = null, _c?.disconnect(), _c = null);}- pc.set(e, b), mc.add(g), hc || (hc = new MutationObserver(() => mc.forEach((e) => e())), hc.observe(document.body, {+ mc.set(e, b), hc.add(g), gc || (gc = new MutationObserver(() => hc.forEach((e) => e())), gc.observe(document.body, {attributes: !0,attributeFilter: ["data-detail-open", "data-wall-open"]- })), typeof IntersectionObserver == "function" && (gc ??= new IntersectionObserver((e) => {- for (let t of e) _c.get(t.target)?.(t.isIntersecting);- }), _c.set(e, (e) => {+ })), typeof IntersectionObserver == "function" && (_c ??= new IntersectionObserver((e) => {+ for (let t of e) vc.get(t.target)?.(t.isIntersecting);+ }), vc.set(e, (e) => {c = e, g();- }), gc.observe(e));+ }), _c.observe(e));}-function yc(e) {- pc.get(e)?.();+function bc(e) {+ mc.get(e)?.();}-var bc = null;-function xc() {- if (!bc) {+var xc = null;+function Sc() {+ if (!xc) {let e = getComputedStyle(document.documentElement);- bc = {+ xc = {easing: e.getPropertyValue("--spring-pane").trim() || "ease",duration: parseFloat(e.getPropertyValue("--spring-pane-ms")) || 300};}- return bc;+ return xc;}-function Sc(e, t, n, r = "x") {- wc(e), e.style.width = `${n.w}px`, e.style.height = `${n.h}px`;+function Cc(e, t, n, r = "x") {+ Tc(e), e.style.width = `${n.w}px`, e.style.height = `${n.h}px`;let i = r === "y" ? "h" : "w", a = r === "y" ? "y" : "x", o = `${n.x}px ${n.y}px`;if (t && t[a] !== n[a] && !matchMedia("(prefers-reduced-motion:reduce)").matches) {- let s = xc(), c = [e.animate([{ translate: r === "y" ? `${n.x}px ${t.y}px` : `${t.x}px ${n.y}px` }, { translate: o }], {+ let s = Sc(), c = [e.animate([{ translate: r === "y" ? `${n.x}px ${t.y}px` : `${t.x}px ${n.y}px` }, { translate: o }], {duration: s.duration,easing: s.easing,fill: "none"})];- Cc.set(e, c);+ wc.set(e, c);let l = 1 + Math.min(Math.abs(n[a] - t[a]) / n[i], 1.5) * .12;c.push(e.animate([{@@ -13584,15 +13584,15 @@ function Sc(e, t, n, r = "x") {}e.style.translate = o;}-var Cc = /* @__PURE__ */ new WeakMap();-function wc(e) {- e && (Cc.get(e)?.forEach((e) => e.cancel()), Cc.delete(e));+var wc = /* @__PURE__ */ new WeakMap();+function Tc(e) {+ e && (wc.get(e)?.forEach((e) => e.cancel()), wc.delete(e));}-var Tc = ".reviewtabs,.ftablewrap,.ui-board-local-nav,[data-manage-menu],.follow-workspace-switch,.fmanagenav";-function Ec(e = document, t = !0) {+var Ec = ".reviewtabs,.ftablewrap,.ui-board-local-nav,[data-manage-menu],.follow-workspace-switch,.fmanagenav";+function Dc(e = document, t = !0) {let n = [...e instanceof HTMLElement ? [e] : [], ...t ? e.querySelectorAll("*") : []];- n.filter((e) => e instanceof HTMLElement && e.matches(Tc)).forEach((e) => cc(e));- let r = (e) => e.hasAttribute("data-horizontal-scroll") || Qs.has(e) && Qs.get(e).options.fade !== !1;+ n.filter((e) => e instanceof HTMLElement && e.matches(Ec)).forEach((e) => lc(e));+ let r = (e) => e.hasAttribute("data-horizontal-scroll") || $s.has(e) && $s.get(e).options.fade !== !1;n.flatMap((e) => {if (!(e instanceof HTMLElement) || e === document.body || e === document.documentElement || e.closest(".ovtrack,.ui-ov-edges,[data-skeleton],[inert]")) return [];let t = r(e), n = t ? ["y"] : ["y", "x"];@@ -13605,15 +13605,15 @@ function Ec(e = document, t = !0) {el: e,axes: []}] : [];- }).forEach(({ el: e, axes: t }) => t.length ? vo(e, { axes: t }) : ho(e));+ }).forEach(({ el: e, axes: t }) => t.length ? yo(e, { axes: t }) : go(e));}-function Dc(e = document.body) {+function Oc(e = document.body) {let t = 0, n = /* @__PURE__ */ new Map(), r = (e) => !!e.closest(".ovtrack,.ui-ov-edges"), i = () => {t = 0;let e = [...n].filter(([e]) => e.isConnected);n.clear();- for (let [t, n] of e) e.some(([e, n]) => n && e !== t && e.contains(t)) || Ec(t, n);- go();+ for (let [t, n] of e) e.some(([e, n]) => n && e !== t && e.contains(t)) || Dc(t, n);+ _o();}, a = (e, a = !0) => {r(e) || (n.set(e, (n.get(e) ?? !1) || a), t ||= requestAnimationFrame(i));}, o = new MutationObserver((e) => {@@ -13639,45 +13639,45 @@ function Dc(e = document.body) {});let s = () => a(e);return window.addEventListener("resize", s, { passive: !0 }), a(e), () => {- o.disconnect(), window.removeEventListener("resize", s), cancelAnimationFrame(t), n.clear(), _o(e), go();+ o.disconnect(), window.removeEventListener("resize", s), cancelAnimationFrame(t), n.clear(), vo(e), _o();};}// src/ui-kit/controls.ts-function Oc(e, t = !0) {+function kc(e, t = !0) {e && (t ? (e.setAttribute("aria-busy", "true"), e.setAttribute("aria-disabled", "true")) : (e.removeAttribute("aria-busy"), e.removeAttribute("aria-disabled")));}-var kc = /* @__PURE__ */ new WeakSet();-function Ac(e = document) {- kc.has(e) || (kc.add(e), e.addEventListener("click", (t) => {+var Ac = /* @__PURE__ */ new WeakSet();+function jc(e = document) {+ Ac.has(e) || (Ac.add(e), e.addEventListener("click", (t) => {let n = t.target.closest?.("button[aria-busy=\"true\"],[role=\"button\"][aria-busy=\"true\"]");n && e.contains(n) && (t.preventDefault(), t.stopImmediatePropagation());}, !0));}-function jc(e, t, n, r, { attr: i = "", className: a = "", text: o = !1 } = {}) {- let s = n.map(([t, n, a]) => `<label title="${z(n)}"><input type="radio" name="${z(e)}" value="${z(t)}" ${i}- ${t === r ? "checked" : ""}><span aria-hidden="true">${o ? (a ? R(a) : "") + z(n) : R(a)}</span><span class="sr-only">${z(n)}</span></label>`).join("");- return `<fieldset class="iconswitch${o ? " iconswitch-text" : ""}${a ? ` ${z(a)}` : ""}"><legend class="sr-only">${z(t)}</legend>${s}</fieldset>`;+function Mc(e, t, n, r, { attr: i = "", className: a = "", text: o = !1 } = {}) {+ let s = n.map(([t, n, a]) => `<label title="${R(n)}"><input type="radio" name="${R(e)}" value="${R(t)}" ${i}+ ${t === r ? "checked" : ""}><span aria-hidden="true">${o ? (a ? L(a) : "") + R(n) : L(a)}</span><span class="sr-only">${R(n)}</span></label>`).join("");+ return `<fieldset class="iconswitch${o ? " iconswitch-text" : ""}${a ? ` ${R(a)}` : ""}"><legend class="sr-only">${R(t)}</legend>${s}</fieldset>`;}-function Mc(e, t, n) {+function Nc(e, t, n) {e?.querySelectorAll(`[${t}]`).forEach((e) => {e.onchange = () => {e.checked && n(e.value);};});}-var Nc = 9;-function Pc({ value: e = 0, min: t = 0, max: n = 100, step: r = 1, label: i = "", suffix: a = "%", attr: o = "", className: s = "" } = {}) {+var Pc = 9;+function Fc({ value: e = 0, min: t = 0, max: n = 100, step: r = 1, label: i = "", suffix: a = "%", attr: o = "", className: s = "" } = {}) {let c = n > t ? (e - t) / (n - t) * 100 : 0, l = `${e}${a}`;- return `<div class="ui-dial${s ? ` ${z(s)}` : ""}" ${o}>- <div class="ui-dial-slider" data-dial-slider role="slider" tabindex="0" aria-label="${z(i)}"- aria-valuemin="${t}" aria-valuemax="${n}" aria-valuenow="${e}" aria-valuetext="${z(l)}"+ return `<div class="ui-dial${s ? ` ${R(s)}` : ""}" ${o}>+ <div class="ui-dial-slider" data-dial-slider role="slider" tabindex="0" aria-label="${R(i)}"+ aria-valuemin="${t}" aria-valuemax="${n}" aria-valuenow="${e}" aria-valuetext="${R(l)}"data-dial-step="${r}" style="--dial-at:${c}%"><span class="ui-dial-track" aria-hidden="true"><span class="ui-dial-fill"></span></span>- <span class="ui-dial-ticks" aria-hidden="true">${"<span></span>".repeat(Nc)}</span>+ <span class="ui-dial-ticks" aria-hidden="true">${"<span></span>".repeat(Pc)}</span><span class="ui-dial-handle" aria-hidden="true"></span>- </div><b class="ui-dial-value mono" data-dial-value>${z(l)}</b></div>`;+ </div><b class="ui-dial-value mono" data-dial-value>${R(l)}</b></div>`;}-function Fc(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%" } = {}) {+function Ic(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%" } = {}) {let i = e.querySelector("[data-dial-slider]"), a = e.querySelector("[data-dial-value]"), o = e.querySelector(".ui-dial-track"), s = +i.getAttribute("aria-valuemin"), c = +i.getAttribute("aria-valuemax"), l = +i.dataset.dialStep || 1, u = +i.getAttribute("aria-valuenow"), d = (e) => Math.min(c, Math.max(s, Math.round(e / l) * l)), f = () => {let e = `${u}${r}`;i.style.setProperty("--dial-at", `${c > s ? (u - s) / (c - s) * 100 : 0}%`), i.setAttribute("aria-valuenow", String(u)), i.setAttribute("aria-valuetext", e), a && (a.textContent = e);@@ -13725,9 +13725,9 @@ function Fc(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%"}};}-function Ic(e, t, n) {+function Lc(e, t, n) {n.classList.add("context-card"), n.setAttribute("popover", "manual"), n.setAttribute("role", "dialog"), n.tabIndex = -1, t.setAttribute("aria-haspopup", "dialog"), t.setAttribute("aria-controls", n.id);- let r = Ko(e, t, n), i, a = () => {+ let r = qo(e, t, n), i, a = () => {clearTimeout(i), r.setOpen(!1);}, o = () => {clearTimeout(i), i = setTimeout(() => {@@ -13747,7 +13747,7 @@ function Ic(e, t, n) {hide: a};}-function Lc(e, { selector: t, attribute: n, onMove: r } = {}) {+function Rc(e, { selector: t, attribute: n, onMove: r } = {}) {let i = () => [...e.querySelectorAll(t)], a = () => i().forEach((e) => e.classList.remove("dragging", "drop-before", "drop-after")), o = null;i().forEach((e) => {let t = e.getAttribute(n);@@ -13768,11 +13768,11 @@ function Lc(e, { selector: t, attribute: n, onMove: r } = {}) {});}// src/ui-kit/modal.ts-var Rc = 0;-function zc({ title: e, description: t = "", body: n = "", confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, confirmDisabled: o = !1 } = {}) {+var zc = 0;+function Bc({ title: e, description: t = "", body: n = "", confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, confirmDisabled: o = !1 } = {}) {let s = document.activeElement, c = document.createElement("dialog");c.className = "ui-geist-modal";- let l = `geist-form-title-${++Rc}`;+ let l = `geist-form-title-${++zc}`;c.setAttribute("aria-labelledby", l), c.innerHTML = `<form class="ui-geist-modal-form" novalidate><header class="ui-geist-modal-header"><h3 id="${l}"></h3></header><div class="ui-geist-modal-scroll"><div class="ui-geist-modal-body">${t ? "<p></p>" : ""}@@ -13796,31 +13796,31 @@ function zc({ title: e, description: t = "", body: n = "", confirmLabel: r, cancif (e.preventDefault(), !(m || d.disabled)) {if (!a) p = { confirmed: !0 }, c.close();else {- f.innerHTML = "", m = !0, Oc(d);+ f.innerHTML = "", m = !0, kc(d);try {p = {confirmed: !0,result: await a()}, c.close();} catch (e) {- f.innerHTML = ys(e.message || "操作未完成", { variant: "error" }), Oc(d, !1);+ f.innerHTML = bs(e.message || "操作未完成", { variant: "error" }), kc(d, !1);} finally {m = !1;}}}- }, c.showModal(), vo(c.querySelector(".ui-geist-modal-body")), Mo("pop"), (c.querySelector(".ui-geist-modal-fields input:not([type=\"checkbox\"])") || d).focus(), {+ }, c.showModal(), yo(c.querySelector(".ui-geist-modal-body")), No("pop"), (c.querySelector(".ui-geist-modal-fields input:not([type=\"checkbox\"])") || d).focus(), {dialog: c,confirmButton: d,done: h,close: () => c.close()};}-var Bc = 0;-function Vc({ title: e, body: t, items: n = [], confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, danger: o = !1 } = {}) {+var Vc = 0;+function Hc({ title: e, body: t, items: n = [], confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, danger: o = !1 } = {}) {let s = document.activeElement, c = document.createElement("dialog");c.className = "ui-geist-modal";- let l = `geist-modal-title-${++Bc}`;+ let l = `geist-modal-title-${++Vc}`;c.setAttribute("aria-labelledby", l), c.innerHTML = `<header class="ui-geist-modal-header"><h3 id="${l}"></h3></header><div class="ui-geist-modal-scroll"><div class="ui-geist-modal-body"><p></p><div data-modal-error></div></div></div>@@ -13855,55 +13855,55 @@ function Vc({ title: e, body: t, items: n = [], confirmLabel: r, cancelLabel: iif (!n) {if (!a) t = { confirmed: !0 }, c.close();else {- p.innerHTML = "", n = !0, Oc(f);+ p.innerHTML = "", n = !0, kc(f);try {t = {confirmed: !0,result: await a()}, c.close();} catch (e) {- p.innerHTML = ys(e.message || "操作未完成", { variant: "error" }), Oc(f, !1);+ p.innerHTML = bs(e.message || "操作未完成", { variant: "error" }), kc(f, !1);} finally {n = !1;}}}- }, c.showModal(), vo(c.querySelector(".ui-geist-modal-body")), vo(u), Mo("pop"), (o ? d : f).focus();+ }, c.showModal(), yo(c.querySelector(".ui-geist-modal-body")), yo(u), No("pop"), (o ? d : f).focus();});}// src/onboarding/post-setup-tutorial.ts-var Hc = "peach.post-setup-tutorial.v1", Uc = "peach.post-setup-tutorial-collapsed.v1", Wc = "peach.post-setup-tutorial-skipped.v1", Gc = (e) => {+var Uc = "peach.post-setup-tutorial.v1", Wc = "peach.post-setup-tutorial-collapsed.v1", Gc = "peach.post-setup-tutorial-skipped.v1", Kc = (e) => {try {return localStorage.getItem(e);} catch {return null;}-}, Kc = (e, t) => {+}, qc = (e, t) => {try {localStorage.setItem(e, t);} catch {}-}, qc = () => Gc("peach.post-setup-tutorial.v1") || "", Jc = (e) => Kc(Hc, e), Yc = () => Gc(Uc) === "1", Xc = (e) => Kc(Uc, e ? "1" : "0"), Zc = () => {+}, Jc = () => Kc("peach.post-setup-tutorial.v1") || "", Yc = (e) => qc(Uc, e), Xc = () => Kc(Wc) === "1", Zc = (e) => qc(Wc, e ? "1" : "0"), Qc = () => {try {- let e = JSON.parse(Gc("peach.post-setup-tutorial-skipped.v1") || "[]");+ let e = JSON.parse(Kc("peach.post-setup-tutorial-skipped.v1") || "[]");return new Set(Array.isArray(e) ? e.filter((e) => typeof e == "string") : []);} catch {return /* @__PURE__ */ new Set();}-}, Qc = (e) => Kc(Wc, JSON.stringify([...e])), $c = (e) => JSON.stringify(e.map((e) => [+}, $c = (e) => qc(Gc, JSON.stringify([...e])), el = (e) => JSON.stringify(e.map((e) => [e.key,e.done,e.label,e.description,e.href-])), el = 0, tl = () => ++el, nl = (e) => e === el;-function rl() {- Qc(/* @__PURE__ */ new Set()), Xc(!1), Jc("pending");+])), tl = 0, nl = () => ++tl, rl = (e) => e === tl;+function il() {+ $c(/* @__PURE__ */ new Set()), Zc(!1), Yc("pending");}-var il = (e) => `<article class="post-setup-notification post-setup-error">${e}+var al = (e) => `<article class="post-setup-notification post-setup-error">${e}<div><h2>暂时无法检查安装进度</h2><p>切换页面或重新打开后会再检查一次。</p><div class="post-setup-error-actions"><button class="geist-button" type="button" data-tutorial-dismiss>关闭</button>- <button class="geist-button" type="button" data-tutorial-retry>立即重试</button></div></div></article>`, al = () => window.devicePixelRatio || 1;-function ol(e) {+ <button class="geist-button" type="button" data-tutorial-retry>立即重试</button></div></div></article>`, ol = () => window.devicePixelRatio || 1;+function sl(e) {let t = e.parentElement;if (!t || (["position",@@ -13922,17 +13922,17 @@ function ol(e) {delete e.dataset.faceFramed;let n = new ResizeObserver(() => {let r = t.getBoundingClientRect();- r.width > 0 && r.height > 0 && (n.disconnect(), ol(e));+ r.width > 0 && r.height > 0 && (n.disconnect(), sl(e));});n.observe(t);return;}- let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = Ea(e.naturalWidth, e.naturalHeight, o, s);+ let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = Da(e.naturalWidth, e.naturalHeight, o, s);if (!c) {e.style.objectPosition = "50% 50%";return;}- let l = va({+ let l = ya({cx: r,cy: i,faceW: a * c,@@ -13941,13 +13941,13 @@ function ol(e) {}, {w: n.width,h: n.height- }, al());+ }, ol());if (!l) return;let u = e.style;u.position = "absolute", u.right = "auto", u.bottom = "auto", u.left = `${l.left}%`, u.top = `${l.top}%`, u.width = `${l.width}%`, u.height = `${l.height}%`, u.maxWidth = "none", u.maxHeight = "none";}-function sl(e, t) {- let n = e.naturalWidth / e.naturalHeight, r = n ? t ?? fl(e) : 0;+function cl(e, t) {+ let n = e.naturalWidth / e.naturalHeight, r = n ? t ?? pl(e) : 0;if (e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), !n) return;e.classList.remove("panel"), ["--panel-aspect",@@ -13959,58 +13959,58 @@ function sl(e, t) {"--cover-y"].forEach((t) => e.style.removeProperty(t));let i = e.dataset.coverCode || new URL(e.currentSrc || e.src, location.href).searchParams.get("code") || "";- e.dataset.frame = e.dataset.coverLayout === "still" || /^FC2(?:-PPV)?-/i.test(i) ? "still" : ul(e) ? "sleeve" : n >= 1.65 ? "still" : n > 1.2 ? "sleeve" : "front";+ e.dataset.frame = e.dataset.coverLayout === "still" || /^FC2(?:-PPV)?-/i.test(i) ? "still" : dl(e) ? "sleeve" : n >= 1.65 ? "still" : n > 1.2 ? "sleeve" : "front";let a = (t, n, r) => {if (n == null || !(r > 0 && r < 1)) return;let i = Math.min(1, Math.max(0, (n - r / 2) / (1 - r)));e.style.setProperty(t, `${Math.round(i * 100)}%`);};- a("--cover-x", pl(e, "cx"), r / n), a("--cover-y", pl(e, "cy"), n / r), cl(e, r), e.dataset.frame !== "still" && (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(n / r - 1) > .02 && ll(e);+ a("--cover-x", ml(e, "cx"), r / n), a("--cover-y", ml(e, "cy"), n / r), ll(e, r), e.dataset.frame !== "still" && (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(n / r - 1) > .02 && ul(e);}-function cl(e, t) {+function ll(e, t) {if (e.dataset.frame === "front" || e.dataset.coverLayout === "still") return;let [n = NaN, r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.posterbox || "").split(" ").map(Number);- if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - (ul(e) ? Ra : La) * i), a = 0, o = r, s = i), !Ea(e.naturalWidth, e.naturalHeight, r, i)) return;- let c = (o - n) / (s - a), l = r / i, u = l >= 1.75 && l < 1.85 && Math.abs(c - .85) <= .02, d = za({+ if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - (dl(e) ? za : Ra) * i), a = 0, o = r, s = i), !Da(e.naturalWidth, e.naturalHeight, r, i)) return;+ let c = (o - n) / (s - a), l = r / i, u = l >= 1.75 && l < 1.85 && Math.abs(c - .85) <= .02, d = Ba({x0: n,y0: a,x1: o,y1: s,px: [r, i]- }, t, ul(e) || u);- d && (e.style.setProperty("--panel-aspect", `${e.naturalWidth} / ${e.naturalHeight}`), e.classList.add("panel"), e.style.setProperty("--panel-clip", `${d.clip.top}% ${d.clip.right}% ${d.clip.bottom}% ${d.clip.left}%`), e.style.setProperty("--panel-left", `${d.left}%`), e.style.setProperty("--panel-top", `${d.top}%`), e.style.setProperty("--panel-height", `${d.height}%`), e.dataset.frame !== "still" && e.classList.contains("front") && Math.abs(c / t - 1) > .02 && ll(e));+ }, t, dl(e) || u);+ d && (e.style.setProperty("--panel-aspect", `${e.naturalWidth} / ${e.naturalHeight}`), e.classList.add("panel"), e.style.setProperty("--panel-clip", `${d.clip.top}% ${d.clip.right}% ${d.clip.bottom}% ${d.clip.left}%`), e.style.setProperty("--panel-left", `${d.left}%`), e.style.setProperty("--panel-top", `${d.top}%`), e.style.setProperty("--panel-height", `${d.height}%`), e.dataset.frame !== "still" && e.classList.contains("front") && Math.abs(c / t - 1) > .02 && ul(e));}-function ll(e) {+function ul(e) {let t = (e.dataset.thumbSrc || e.currentSrc || e.src).replace(/"/g, "%22");e.closest(".pic,[data-media-pic]")?.style.setProperty("--cover-blur", `url("${t}")`);}-function ul(e) {+function dl(e) {let t = e.dataset.coverCode || new URL(e.currentSrc || e.src, location.href).searchParams.get("code") || "", n = e.naturalWidth / e.naturalHeight;return !/^FC2(?:-PPV)?-/i.test(t) && (e.dataset.wideSleeve === "1" || /^(CWPBD|SMBD)-/i.test(t)) && n >= 1.75 && n < 1.85;}-function dl(e) {+function fl(e) {let t = /[?&]thumb=([12])(?=&|$)/.exec(e.src)?.[1];if (!t || !e.naturalWidth) return;let { width: n, height: r } = e.getBoundingClientRect();- (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(n / e.naturalWidth, r / e.naturalHeight) * al() > 1.01 && (e.dataset.thumbSrc ||= e.src, e.src = t === "2" ? e.src.replace(/([?&])thumb=2(?=&|$)/, "$1thumb=1") : e.src.replace(/[?&]thumb=1(?=&|$)/, ""));+ (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(n / e.naturalWidth, r / e.naturalHeight) * ol() > 1.01 && (e.dataset.thumbSrc ||= e.src, e.src = t === "2" ? e.src.replace(/([?&])thumb=2(?=&|$)/, "$1thumb=1") : e.src.replace(/[?&]thumb=1(?=&|$)/, ""));}-function fl(e) {+function pl(e) {let t = (e.closest(".pic,[data-media-pic]")?.style.getPropertyValue("--card-ratio").trim() || getComputedStyle(e).getPropertyValue("--card-ratio").trim()).split("/").map(Number), n = t.length === 2 ? Number(t[0]) / Number(t[1]) : Number(t[0]);return Number.isFinite(n) && n > 0 ? n : 16 / 9;}-function pl(e, t) {+function ml(e, t) {let n = parseFloat(e.dataset[t] ?? "");return Number.isFinite(n) ? n : null;}-var ml = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", hl = /* @__PURE__ */ new WeakMap();-function gl(e) {- let t = e.matches(ml) ? [e] : e.querySelectorAll(ml);- for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), hl.set(e.parentElement, performance.now()), Xs(e.parentElement));-}+var hl = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", gl = /* @__PURE__ */ new WeakMap();function _l(e) {+ let t = e.matches(hl) ? [e] : e.querySelectorAll(hl);+ for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), gl.set(e.parentElement, performance.now()), Zs(e.parentElement));+}+function vl(e) {let t = e.parentElement;if (!t?.classList.contains("imgwait")) return;- if (Zs(t), performance.now() - (hl.get(t) ?? NaN) < 180) {+ if (Qs(t), performance.now() - (gl.get(t) ?? NaN) < 180) {t.classList.remove("imgwait");return;}@@ -14020,90 +14020,90 @@ function _l(e) {};t.addEventListener("transitionend", r), n = setTimeout(r, 1e3);}-function vl(e) {+function yl(e) {let t = "img.cover,img[data-facebox]", n = e.matches(t) ? [e] : e.querySelectorAll(t);for (let e of n) {let t = e;- t.complete && t.naturalWidth && (t.classList.contains("cover") ? sl(t) : (yl(t), ol(t)));+ t.complete && t.naturalWidth && (t.classList.contains("cover") ? cl(t) : (bl(t), sl(t)));}}-function yl(e) {+function bl(e) {let t = e.closest("[data-fit-native]");if (!t || !e.naturalWidth) return;- let n = t.dataset.fitNative === "mark" ? ka(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight) : null;+ let n = t.dataset.fitNative === "mark" ? Aa(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight) : null;if (t.dataset.nativeClamp = String(!!n), n) {t.dataset.nativeSmall = "false", t.style.setProperty("--markw", n.width + "px"), t.style.setProperty("--markh", n.height + "px"), t.style.setProperty("--markbg", "none");return;}- let { small: r, width: i, height: a } = Da(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, al());+ let { small: r, width: i, height: a } = Oa(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, ol());t.dataset.nativeSmall = String(r), t.style.setProperty("--markw", r ? i + "px" : "100%"), t.style.setProperty("--markh", r ? a + "px" : "100%");let o = (e.currentSrc || e.src).replace(/"/g, "%22");t.style.setProperty("--markbg", r ? `url("${o}")` : "none");}-function bl(e) {+function xl(e) {(e || document).querySelectorAll("[data-fit-native] img").forEach((e) => {- yl(e), e.dataset.facebox && ol(e);+ bl(e), e.dataset.facebox && sl(e);});}-function xl(e, t) {- for (let n of Va(e, t)) sl(n), dl(n);+function Sl(e, t) {+ for (let n of Ha(e, t)) cl(n), fl(n);}-var Sl = !1;-function Cl() {- Sl || (Sl = !0, document.addEventListener("load", (e) => {+var Cl = !1;+function wl() {+ Cl || (Cl = !0, document.addEventListener("load", (e) => {let t = e.target;- t instanceof HTMLImageElement && (_l(t), yl(t), t.classList.contains("cover") ? (sl(t), dl(t)) : t.dataset.facebox && ol(t));+ t instanceof HTMLImageElement && (vl(t), bl(t), t.classList.contains("cover") ? (cl(t), fl(t)) : t.dataset.facebox && sl(t));}, !0), new MutationObserver((e) => {- for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (gl(e), vl(e));+ for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (_l(e), yl(e));}).observe(document.body, {childList: !0,subtree: !0}), document.addEventListener("error", (e) => {let t = e.target;- t instanceof HTMLImageElement && !t.dataset.fallbacks && _l(t);+ t instanceof HTMLImageElement && !t.dataset.fallbacks && vl(t);}, !0));}// src/card-art/hover.ts-var wl = ".card,[data-media-card],[data-mix-card]", Tl = {+var Tl = ".card,[data-media-card],[data-mix-card]", El = {selecting: () => !1,censored: () => !1,delaySeconds: () => 0};-function El(e) {- Tl = e;+function Dl(e) {+ El = e;}-var Dl = () => !!window.__scrolling;-function Ol(e = document, t = null) {- e && e.querySelectorAll && (e.querySelectorAll(wl).forEach((e) => {+var Ol = () => !!window.__scrolling;+function kl(e = document, t = null) {+ e && e.querySelectorAll && (e.querySelectorAll(Tl).forEach((e) => {e !== t && e._stopHover && e._stopHover();}), e.querySelectorAll("video.hv").forEach((e) => {- e.closest(wl) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ e.closest(Tl) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());}), e.querySelectorAll("img.ui-hvframes").forEach((e) => {- e.closest(wl) !== t && (e.removeAttribute("src"), e.remove());+ e.closest(Tl) !== t && (e.removeAttribute("src"), e.remove());}));}-function kl(e) {- e._stopHover?.(), Ol(e);+function Al(e) {+ e._stopHover?.(), kl(e);}-function Al(e, t, n) {+function jl(e, t, n) {n ? e.dataset[t] = "" : delete e.dataset[t];}-function jl(e, t) {+function Ml(e, t) {let n = e, r = e.querySelector("[data-media-pic]");if (!r) return;e.dataset.hoverMode = t.location === "local" ? "video" : "frames";let i, a = () => {- clearTimeout(i), Tl.delaySeconds() && (Al(e, "previewing", !0), i = setTimeout(() => {- Tl.delaySeconds() && Al(e, "longhover", !0);- }, Tl.delaySeconds() * 1e3));+ clearTimeout(i), El.delaySeconds() && (jl(e, "previewing", !0), i = setTimeout(() => {+ El.delaySeconds() && jl(e, "longhover", !0);+ }, El.delaySeconds() * 1e3));}, o = () => {- clearTimeout(i), Al(e, "previewing", !1), Al(e, "longhover", !1);+ clearTimeout(i), jl(e, "previewing", !1), jl(e, "longhover", !1);};if (t.location !== "local") {if (!t.has_thumb) return;let i, s = 4, c = null, l = !1;e.addEventListener("mouseenter", () => {- if (!(Tl.selecting() || Tl.censored())) {+ if (!(El.selecting() || El.censored())) {if (a(), !c) {c = document.createElement("img"), c.className = "ui-hvframes", c.alt = "";let e = c;@@ -14130,9 +14130,9 @@ function jl(e, t) {}let s, c = null;e.addEventListener("mouseenter", () => {- Tl.selecting() || Tl.censored() || Dl() || (s = setTimeout(() => {- if (Dl() || Tl.censored()) return;- Ol(document, e);+ El.selecting() || El.censored() || Ol() || (s = setTimeout(() => {+ if (Ol() || El.censored()) return;+ kl(document, e);let n = document.createElement("video");c = n, n.className = "hv", n.muted = !0, n.playsInline = !0, n.loop = !0, n.preload = "metadata", n.src = "/stream?id=" + t.id;let i = [@@ -14167,20 +14167,20 @@ function jl(e, t) {n._stopHover = l, e.addEventListener("mouseleave", l);}// src/core/tags.ts-var Ml = (e) => e;+var Nl = (e) => e;// src/react/follow-feed/follow-helpers.ts-function Nl([e, t, , n, r]) {- return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${eo(r)}${to(r)}>` : z(Pn(t, 2));+function Pl([e, t, , n, r]) {+ return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${to(r)}${no(r)}>` : R(Fn(t, 2));}-function Pl(e) {+function Fl(e) {return {...e,- workMark: Nl,- tagLabel: Ml+ workMark: Pl,+ tagLabel: Nl};}// src/sidebar.ts-var Fl = [+var Il = ["","follow","jav",@@ -14189,7 +14189,7 @@ var Fl = ["studios","flagged","manage"-], Il = [+], Ll = ["playlists","immerse","stats",@@ -14198,12 +14198,12 @@ var Fl = ["trash","follow-manage","quality"-], Ll = /* @__PURE__ */ new Set([...Fl, ...Il]), Rl = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;-function zl(e) {- let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(Rl))].filter((e) => Ll.has(e));- return n.length ? n : [...Fl];-}+], Rl = /* @__PURE__ */ new Set([...Il, ...Ll]), zl = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;function Bl(e) {+ let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(zl))].filter((e) => Rl.has(e));+ return n.length ? n : [...Il];+}+function Vl(e) {return ["/","/unseen",@@ -14213,13 +14213,13 @@ function Bl(e) {"/junk-files"].includes(e) || /^\/assets\//.test(e) || /^\/(performers|studios|creators|series|agencies|tags)\/.+/.test(e);}-function Vl(e) {+function Hl(e) {let t = /* @__PURE__ */ new Map();for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);}// src/react/follow-detail/follow-detail-actions.ts-function Hl(e, t) {+function Ul(e, t) {return {...t,close: () => e.close(),@@ -14232,64 +14232,64 @@ function Hl(e, t) {...n,tags: [...r]};- e.adoptView(i), e.rememberReturn(ua(i)), e.close();+ e.adoptView(i), e.rememberReturn(da(i)), e.close();},- present: (t) => e.drawer({ tags: Vl([{ tags: t.tags || [] }]) })+ present: (t) => e.drawer({ tags: Hl([{ tags: t.tags || [] }]) })};}// src/shell/index.ts-var U, Ul, Wl = null, Gl = /* @__PURE__ */ new Set(), Kl = /* @__PURE__ */ new Set(), ql = !1, Jl = null, Yl = null, Xl = "", Zl = "/", Ql = null, $l = !1, eu = !1, tu = null, nu = null, ru = null, iu = "/follow", au = "", ou = null, su = !1, cu = 0, lu = 0, uu = !1, du = Math.floor(Math.random() * 4294967295), fu = 0, pu = 0, mu = 0, hu = /* @__PURE__ */ new Set(), gu = 0;-function _u(e) {+var H, Wl, Gl = null, Kl = /* @__PURE__ */ new Set(), ql = /* @__PURE__ */ new Set(), Jl = !1, Yl = null, Xl = null, Zl = "", Ql = "/", $l = null, eu = !1, tu = !1, nu = null, ru = null, iu = null, au = "/follow", ou = "", su = null, cu = !1, lu = 0, uu = 0, du = !1, fu = Math.floor(Math.random() * 4294967295), pu = 0, mu = 0, hu = 0, gu = /* @__PURE__ */ new Set(), _u = 0;+function vu(e) {let t = (t) => Object.prototype.hasOwnProperty.call(e, t);- t("state") && (U = e.state), t("barsContext") && (Ul = e.barsContext), t("detailReturnBarsContext") && (Wl = e.detailReturnBarsContext), t("selectMode") && (ql = e.selectMode), t("lastSelectedId") && (Jl = e.lastSelectedId), t("followLastSelectedId") && (Yl = e.followLastSelectedId), t("selectSurface") && (Xl = e.selectSurface), t("detailReturnPath") && (Zl = e.detailReturnPath), t("detailOriginAnchor") && (Ql = e.detailOriginAnchor), t("detailOriginAbove") && ($l = e.detailOriginAbove), t("detailReturnNeedsRestore") && (eu = e.detailReturnNeedsRestore), t("activeQueue") && (tu = e.activeQueue), t("pendingQueueRoute") && (nu = e.pendingQueueRoute), t("presentedItem") && (ru = e.presentedItem), t("followDetailReturnPath") && (iu = e.followDetailReturnPath), t("configurationRequestedSection") && (au = e.configurationRequestedSection), t("pageOpens") && (cu = e.pageOpens), t("queueOpens") && (lu = e.queueOpens), t("entityJavLayout") && (uu = e.entityJavLayout), t("followDiscoverySeed") && (du = e.followDiscoverySeed), t("followRevision") && (fu = e.followRevision), t("followScrollY") && (pu = e.followScrollY), t("playlistsRevision") && (mu = e.playlistsRevision), t("runtimeConfigurable") && (ou = e.runtimeConfigurable), t("cameFromSetup") && (su = e.cameFromSetup), vu();+ t("state") && (H = e.state), t("barsContext") && (Wl = e.barsContext), t("detailReturnBarsContext") && (Gl = e.detailReturnBarsContext), t("selectMode") && (Jl = e.selectMode), t("lastSelectedId") && (Yl = e.lastSelectedId), t("followLastSelectedId") && (Xl = e.followLastSelectedId), t("selectSurface") && (Zl = e.selectSurface), t("detailReturnPath") && (Ql = e.detailReturnPath), t("detailOriginAnchor") && ($l = e.detailOriginAnchor), t("detailOriginAbove") && (eu = e.detailOriginAbove), t("detailReturnNeedsRestore") && (tu = e.detailReturnNeedsRestore), t("activeQueue") && (nu = e.activeQueue), t("pendingQueueRoute") && (ru = e.pendingQueueRoute), t("presentedItem") && (iu = e.presentedItem), t("followDetailReturnPath") && (au = e.followDetailReturnPath), t("configurationRequestedSection") && (ou = e.configurationRequestedSection), t("pageOpens") && (lu = e.pageOpens), t("queueOpens") && (uu = e.queueOpens), t("entityJavLayout") && (du = e.entityJavLayout), t("followDiscoverySeed") && (fu = e.followDiscoverySeed), t("followRevision") && (pu = e.followRevision), t("followScrollY") && (mu = e.followScrollY), t("playlistsRevision") && (hu = e.playlistsRevision), t("runtimeConfigurable") && (su = e.runtimeConfigurable), t("cameFromSetup") && (cu = e.cameFromSetup), yu();}-function vu() {- gu += 1;- for (let e of [...hu]) e();+function yu() {+ _u += 1;+ for (let e of [...gu]) e();}-function yu(e) {- return hu.add(e), () => {- hu.delete(e);+function bu(e) {+ return gu.add(e), () => {+ gu.delete(e);};}// node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs-var bu = /* @__PURE__ */ (0, P.createContext)({});+var xu = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/utils/use-constant.mjs-function xu(e) {+function Su(e) {let t = (0, P.useRef)(null);return t.current === null && (t.current = e()), t.current;}// node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs-var Su = typeof window < "u" ? P.useLayoutEffect : P.useEffect, Cu = /* @__PURE__ */ (0, P.createContext)(null);+var Cu = typeof window < "u" ? P.useLayoutEffect : P.useEffect, wu = /* @__PURE__ */ (0, P.createContext)(null);// node_modules/motion-utils/dist/es/array.mjs-function wu(e, t) {+function Tu(e, t) {e.indexOf(t) === -1 && e.push(t);}-function Tu(e, t) {+function Eu(e, t) {let n = e.indexOf(t);n > -1 && e.splice(n, 1);}// node_modules/motion-utils/dist/es/clamp.mjs-var Eu = (e, t, n) => n > t ? t : n < e ? e : n, Du = {}, Ou = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), ku = (e) => typeof e == "object" && !!e, Au = (e) => /^0[^.\s]+$/u.test(e);+var Du = (e, t, n) => n > t ? t : n < e ? e : n, Ou = {}, ku = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Au = (e) => typeof e == "object" && !!e, ju = (e) => /^0[^.\s]+$/u.test(e);// node_modules/motion-utils/dist/es/memo.mjs/*#__NO_SIDE_EFFECTS__*/-function ju(e) {+function Mu(e) {let t;return () => (t === void 0 && (t = e()), t);}// node_modules/motion-utils/dist/es/noop.mjs-var Mu = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Nu = (...e) => e.reduce((e, t) => (n) => t(e(n))), Pu = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {+var Nu = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Pu = (...e) => e.reduce((e, t) => (n) => t(e(n))), Fu = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {let r = t - e;return r ? (n - e) / r : 1;-}, Fu = class {+}, Iu = class {constructor() {this.subscriptions = [];}add(e) {- return wu(this.subscriptions, e), () => this.remove(e);+ return Tu(this.subscriptions, e), () => this.remove(e);}remove(e) {- Tu(this.subscriptions, e);+ Eu(this.subscriptions, e);}notify(e, t, n) {let r = this.subscriptions.length;@@ -14307,103 +14307,103 @@ var Mu = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Nu = (...e) => e.reduce((e, t) =>clear() {this.subscriptions.length = 0;}-}, Iu = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Lu = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Ru = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, zu = (e, t, n) => {+}, Lu = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Ru = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, zu = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Bu = (e, t, n) => {let r = t - e;return ((n - e) % r + r) % r + e;-}, Bu = (e, t, n) => e * (3 * (1 - e) * ((1 - e) * t + e * n) + e * e);+}, Vu = (e, t, n) => e * (3 * (1 - e) * ((1 - e) * t + e * n) + e * e);/*#__NO_SIDE_EFFECTS__*/-function Vu(e, t, n, r) {- return e === t && n === r ? Mu : (i) => {+function Hu(e, t, n, r) {+ return e === t && n === r ? Nu : (i) => {let a = 0, o = 1, s = i;for (let t = 0;; t++) {s >= a && s <= o || (s = (a + o) / 2);- let r = Bu(s, e, n) - i;+ let r = Vu(s, e, n) - i;if (r * r < 1e-28 || t === 40) break;- r > 0 ? o = s : a = s, s -= r * 1e-7 / (Bu(s + 1e-7, e, n) - i - r);+ r > 0 ? o = s : a = s, s -= r * 1e-7 / (Vu(s + 1e-7, e, n) - i - r);}- return Bu(s, t, r);+ return Vu(s, t, r);};}// node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs-var Hu = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Uu = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Wu = /*@__PURE__*/ Vu(.33, 1.53, .69, .99), Gu = /*@__PURE__*/ Uu(Wu), Ku = /*@__PURE__*/ Hu(Gu), qu = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Gu(e) : .5 * (2 - 2 ** (-10 * (e - 1))), Ju = (e) => 1 - Math.sin(Math.acos(e)), Yu = /* @__PURE__ */ Uu(Ju), Xu = /* @__PURE__ */ Hu(Ju), Zu = /*@__PURE__*/ Vu(.42, 0, 1, 1), Qu = /*@__PURE__*/ Vu(0, 0, .58, 1), $u = /*@__PURE__*/ Vu(.42, 0, .58, 1), ed = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number";+var Uu = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Wu = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Gu = /*@__PURE__*/ Hu(.33, 1.53, .69, .99), Ku = /*@__PURE__*/ Wu(Gu), qu = /*@__PURE__*/ Uu(Ku), Ju = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Ku(e) : .5 * (2 - 2 ** (-10 * (e - 1))), Yu = (e) => 1 - Math.sin(Math.acos(e)), Xu = /* @__PURE__ */ Wu(Yu), Zu = /* @__PURE__ */ Uu(Yu), Qu = /*@__PURE__*/ Hu(.42, 0, 1, 1), $u = /*@__PURE__*/ Hu(0, 0, .58, 1), ed = /*@__PURE__*/ Hu(.42, 0, .58, 1), td = /* @__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 td(e, t) {- return /* @__PURE__ */ ed(e) ? e[zu(0, e.length, t)] : e;+function nd(e, t) {+ return /* @__PURE__ */ td(e) ? e[Bu(0, e.length, t)] : e;}// node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs-var nd = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", rd = {- linear: Mu,- easeIn: Zu,- easeInOut: $u,- easeOut: Qu,- circIn: Ju,- circInOut: Xu,- circOut: Yu,- backIn: Gu,- backInOut: Ku,- backOut: Wu,- anticipate: qu-}, id = (e) => typeof e == "string", ad = (e) => {- if (/* @__PURE__ */ nd(e)) {+var rd = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", id = {+ linear: Nu,+ easeIn: Qu,+ easeInOut: ed,+ easeOut: $u,+ circIn: Yu,+ circInOut: Zu,+ circOut: Xu,+ backIn: Ku,+ backInOut: qu,+ backOut: Gu,+ anticipate: Ju+}, ad = (e) => typeof e == "string", od = (e) => {+ if (/* @__PURE__ */ rd(e)) {e.length;let [t, n, r, i] = e;- return /* @__PURE__ */ Vu(t, n, r, i);+ return /* @__PURE__ */ Hu(t, n, r, i);}- return id(e) ? (rd[e], `${e}`, rd[e]) : e;-}, od = {+ return ad(e) ? (id[e], `${e}`, id[e]) : e;+}, sd = {delta: 0,timestamp: 0,isProcessing: !1-}, sd;-function cd() {- sd = void 0;+}, cd;+function ld() {+ cd = void 0;}-var ld = {- now: () => (sd === void 0 && ld.set(od.isProcessing || Du.useManualTiming ? od.timestamp : performance.now()), sd),+var ud = {+ now: () => (cd === void 0 && ud.set(sd.isProcessing || Ou.useManualTiming ? sd.timestamp : performance.now()), cd),set: (e) => {- sd = e, queueMicrotask(cd);+ cd = e, queueMicrotask(ld);}-}, ud = (e) => Math.round(e * 1e5) / 1e5, dd = (e) => (t) => typeof t == "string" && t.startsWith(e), fd = /*@__PURE__*/ dd("--"), pd = /*@__PURE__*/ dd("var(--"), md = (e) => pd(e) ? hd.test(e.split("/*")[0].trim()) : !1, hd = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;-function gd(e) {+}, dd = (e) => Math.round(e * 1e5) / 1e5, fd = (e) => (t) => typeof t == "string" && t.startsWith(e), pd = /*@__PURE__*/ fd("--"), md = /*@__PURE__*/ fd("var(--"), hd = (e) => md(e) ? gd.test(e.split("/*")[0].trim()) : !1, gd = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;+function _d(e) {return typeof e == "string" && e.split("/*")[0].includes("var(--");}// node_modules/motion-dom/dist/es/value/types/numbers/index.mjs-var _d = {+var vd = {test: (e) => typeof e == "number",parse: parseFloat,transform: (e) => e-}, vd = {- ..._d,- transform: (e) => Eu(0, 1, e)}, yd = {- ..._d,+ ...vd,+ transform: (e) => Du(0, 1, e)+}, bd = {+ ...vd,default: 1-}, bd = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;+}, xd = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;// node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs-function xd(e) {+function Sd(e) {return e == null;}// node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs-var Sd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Cd = (e, t) => (n) => !!(typeof n == "string" && Sd.test(n) && n.startsWith(e) || t && !xd(n) && Object.prototype.hasOwnProperty.call(n, t)), wd = (e, t, n) => (r) => {+var Cd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, wd = (e, t) => (n) => !!(typeof n == "string" && Cd.test(n) && n.startsWith(e) || t && !Sd(n) && Object.prototype.hasOwnProperty.call(n, t)), Td = (e, t, n) => (r) => {if (typeof r != "string") return r;- let [i, a, o, s] = r.match(bd);+ let [i, a, o, s] = r.match(xd);return {[e]: parseFloat(i),[t]: parseFloat(a),[n]: parseFloat(o),alpha: s === void 0 ? 1 : parseFloat(s)};-}, Td = (e) => Eu(0, 255, e), Ed = {- ..._d,- transform: (e) => Math.round(Td(e))-}, Dd = {- test: /*@__PURE__*/ Cd("rgb", "red"),- parse: /*@__PURE__*/ wd("red", "green", "blue"),- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Ed.transform(e) + ", " + Ed.transform(t) + ", " + Ed.transform(n) + ", " + ud(vd.transform(r)) + ")"+}, Ed = (e) => Du(0, 255, e), Dd = {+ ...vd,+ transform: (e) => Math.round(Ed(e))+}, Od = {+ test: /*@__PURE__*/ wd("rgb", "red"),+ parse: /*@__PURE__*/ Td("red", "green", "blue"),+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Dd.transform(e) + ", " + Dd.transform(t) + ", " + Dd.transform(n) + ", " + dd(yd.transform(r)) + ")"};// node_modules/motion-dom/dist/es/value/types/color/hex.mjs-function Od(e) {+function kd(e) {let t = "", n = "", r = "", i = "";return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {red: parseInt(t, 16),@@ -14412,40 +14412,40 @@ function Od(e) {alpha: i ? parseInt(i, 16) / 255 : 1};}-var kd = {- test: /*@__PURE__*/ Cd("#"),- parse: Od,- transform: Dd.transform-}, Ad = /* @__NO_SIDE_EFFECTS__ */ (e) => ({+var Ad = {+ test: /*@__PURE__*/ wd("#"),+ parse: kd,+ transform: Od.transform+}, jd = /* @__NO_SIDE_EFFECTS__ */ (e) => ({test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,parse: parseFloat,transform: (t) => `${t}${e}`-}), jd = /*@__PURE__*/ Ad("deg"), Md = /*@__PURE__*/ Ad("%"), W = /*@__PURE__*/ Ad("px"), Nd = /*@__PURE__*/ Ad("vh"), Pd = /*@__PURE__*/ Ad("vw"), Fd = {- ...Md,- parse: (e) => Md.parse(e) / 100,- transform: (e) => Md.transform(e * 100)-}, Id = {- test: /*@__PURE__*/ Cd("hsl", "hue"),- parse: /*@__PURE__*/ wd("hue", "saturation", "lightness"),- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Md.transform(ud(t)) + ", " + Md.transform(ud(n)) + ", " + ud(vd.transform(r)) + ")"+}), Md = /*@__PURE__*/ jd("deg"), Nd = /*@__PURE__*/ jd("%"), U = /*@__PURE__*/ jd("px"), Pd = /*@__PURE__*/ jd("vh"), Fd = /*@__PURE__*/ jd("vw"), Id = {+ ...Nd,+ parse: (e) => Nd.parse(e) / 100,+ transform: (e) => Nd.transform(e * 100)}, Ld = {- test: (e) => Dd.test(e) || kd.test(e) || Id.test(e),- parse: (e) => Dd.test(e) ? Dd.parse(e) : Id.test(e) ? Id.parse(e) : kd.parse(e),- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Dd.transform(e) : Id.transform(e),+ test: /*@__PURE__*/ wd("hsl", "hue"),+ parse: /*@__PURE__*/ Td("hue", "saturation", "lightness"),+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Nd.transform(dd(t)) + ", " + Nd.transform(dd(n)) + ", " + dd(yd.transform(r)) + ")"+}, Rd = {+ test: (e) => Od.test(e) || Ad.test(e) || Ld.test(e),+ parse: (e) => Od.test(e) ? Od.parse(e) : Ld.test(e) ? Ld.parse(e) : Ad.parse(e),+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Od.transform(e) : Ld.transform(e),getAnimatableNone: (e) => {- let t = Ld.parse(e);- return t.alpha = 0, Ld.transform(t);+ let t = Rd.parse(e);+ return t.alpha = 0, Rd.transform(t);}-}, Rd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, zd = /*@__PURE__*/ new RegExp(bd.source), Bd = /*@__PURE__*/ new RegExp(Rd.source, "i");-function Vd(e) {- return isNaN(e) && typeof e == "string" && (zd.test(e) || Bd.test(e));+}, zd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Bd = /*@__PURE__*/ new RegExp(xd.source), Vd = /*@__PURE__*/ new RegExp(zd.source, "i");+function Hd(e) {+ return isNaN(e) && typeof e == "string" && (Bd.test(e) || Vd.test(e));}-var Hd = "number", Ud = "color", Wd = "var", Gd = "var(", Kd = "${}", qd = /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 Jd(e) {+var Ud = "number", Wd = "color", Gd = "var", Kd = "var(", qd = "${}", Jd = /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 Yd(e) {let t = e.toString();- return zd.test(t) || Bd.test(t);+ return Bd.test(t) || Vd.test(t);}-function Yd(e) {+function Xd(e) {let t = e.toString(), n = [], r = {color: [],number: [],@@ -14453,50 +14453,50 @@ function Yd(e) {}, i = [], a = 0;return {values: n,- split: t.replace(qd, (e) => (Ld.test(e) ? (r.color.push(a), i.push(Ud), n.push(Ld.parse(e))) : e.startsWith(Gd) ? (r.var.push(a), i.push(Wd), n.push(e)) : (r.number.push(a), i.push(Hd), n.push(parseFloat(e))), ++a, Kd)).split(Kd),+ split: t.replace(Jd, (e) => (Rd.test(e) ? (r.color.push(a), i.push(Wd), n.push(Rd.parse(e))) : e.startsWith(Kd) ? (r.var.push(a), i.push(Gd), n.push(e)) : (r.number.push(a), i.push(Ud), n.push(parseFloat(e))), ++a, qd)).split(qd),indexes: r,types: i};}-function Xd(e) {- return Yd(e).values;+function Zd(e) {+ return Xd(e).values;}-function Zd({ split: e, types: t }) {+function Qd({ 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 === Hd ? ud(r[a]) : e === Ud ? Ld.transform(r[a]) : r[a];+ i += e === Ud ? dd(r[a]) : e === Wd ? Rd.transform(r[a]) : r[a];}return i;};}-function Qd(e) {- return Zd(Yd(e));+function $d(e) {+ return Qd(Xd(e));}-var $d = (e) => typeof e == "number" ? 0 : Ld.test(e) ? Ld.getAnimatableNone(e) : e, ef = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : $d(e);-function tf(e) {- let t = Yd(e);- return Zd(t)(t.values.map((e, n) => ef(e, t.split[n])));+var ef = (e) => typeof e == "number" ? 0 : Rd.test(e) ? Rd.getAnimatableNone(e) : e, tf = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : ef(e);+function nf(e) {+ let t = Xd(e);+ return Qd(t)(t.values.map((e, n) => tf(e, t.split[n])));}-var nf = {- test: Vd,- parse: Xd,- createTransformer: Qd,- getAnimatableNone: tf+var rf = {+ test: Hd,+ parse: Zd,+ createTransformer: $d,+ getAnimatableNone: nf};// node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs-function rf(e, t, n) {+function af(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 af({ hue: e, saturation: t, lightness: n, alpha: r }) {+function of({ hue: e, saturation: t, lightness: n, alpha: r }) {e /= 360, t /= 100, n /= 100;let i = 0, a = 0, o = 0;if (!t) i = a = o = n;else {let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;- i = rf(s, r, e + 1 / 3), a = rf(s, r, e), o = rf(s, r, e - 1 / 3);+ i = af(s, r, e + 1 / 3), a = af(s, r, e), o = af(s, r, e - 1 / 3);}return {red: Math.round(i * 255),@@ -14506,59 +14506,59 @@ function af({ hue: e, saturation: t, lightness: n, alpha: r }) {};}// node_modules/motion-dom/dist/es/utils/mix/immediate.mjs-function of(e, t) {+function sf(e, t) {return (n) => n > 0 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/number.mjs-var sf = (e, t, n) => e + (t - e) * n, cf = (e, t, n) => {+var cf = (e, t, n) => e + (t - e) * n, lf = (e, t, n) => {let r = e * e, i = n * (t * t - r) + r;return i < 0 ? 0 : Math.sqrt(i);-}, lf = [- kd,- Dd,- Id-], uf = (e) => lf.find((t) => t.test(e));-function df(e) {- let t = uf(e);+}, uf = [+ Ad,+ Od,+ Ld+], df = (e) => uf.find((t) => t.test(e));+function ff(e) {+ let t = df(e);if (!t) return `${e}`, !1;let n = t.parse(e);- return t === Id && (n = af(n)), n;+ return t === Ld && (n = of(n)), n;}-var ff = (e, t) => {- let n = df(e), r = df(t);- if (!n || !r) return of(e, t);+var pf = (e, t) => {+ let n = ff(e), r = ff(t);+ if (!n || !r) return sf(e, t);let i = { ...n };- return (e) => (i.red = cf(n.red, r.red, e), i.green = cf(n.green, r.green, e), i.blue = cf(n.blue, r.blue, e), i.alpha = sf(n.alpha, r.alpha, e), Dd.transform(i));-}, pf = /* @__PURE__ */ new Set(["none", "hidden"]);-function mf(e, t) {- return pf.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;+ return (e) => (i.red = lf(n.red, r.red, e), i.green = lf(n.green, r.green, e), i.blue = lf(n.blue, r.blue, e), i.alpha = cf(n.alpha, r.alpha, e), Od.transform(i));+}, mf = /* @__PURE__ */ new Set(["none", "hidden"]);+function hf(e, t) {+ return mf.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/complex.mjs-function hf(e, t) {- return (n) => sf(e, t, n);+function gf(e, t) {+ return (n) => cf(e, t, n);}-function gf(e) {- return typeof e == "number" ? hf : typeof e == "string" ? md(e) ? of : Ld.test(e) ? ff : bf : Array.isArray(e) ? _f : typeof e == "object" ? Ld.test(e) ? ff : vf : of;+function _f(e) {+ return typeof e == "number" ? gf : typeof e == "string" ? hd(e) ? sf : Rd.test(e) ? pf : xf : Array.isArray(e) ? vf : typeof e == "object" ? Rd.test(e) ? pf : yf : sf;}-function _f(e, t) {- let n = [...e], r = n.length, i = e.map((e, n) => gf(e)(e, t[n]));+function vf(e, t) {+ let n = [...e], r = n.length, i = e.map((e, n) => _f(e)(e, t[n]));return (e) => {for (let t = 0; t < r; t++) n[t] = i[t](e);return n;};}-function vf(e, t) {+function yf(e, t) {let n = {...e,...t}, r = {};- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = gf(e[i])(e[i], t[i]));+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = _f(e[i])(e[i], t[i]));return (e) => {for (let t in r) n[t] = r[t](e);return n;};}-function yf(e, t) {+function bf(e, t) {let n = [], r = {color: 0,var: 0,@@ -14570,28 +14570,28 @@ function yf(e, t) {}return n;}-var bf = (e, t) => {- let n = nf.createTransformer(t), r = Yd(e), i = Yd(t);- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? pf.has(e) && !i.values.length || pf.has(t) && !r.values.length ? mf(e, t) : Nu(_f(yf(r, i), i.values), n) : (`${e}${t}`, of(e, t));-}, xf = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;-function Sf(e, t) {- let n = xf.exec(e);+var xf = (e, t) => {+ let n = rf.createTransformer(t), r = Xd(e), i = Xd(t);+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? mf.has(e) && !i.values.length || mf.has(t) && !r.values.length ? hf(e, t) : Pu(vf(bf(r, i), i.values), n) : (`${e}${t}`, sf(e, t));+}, Sf = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;+function Cf(e, t) {+ let n = Sf.exec(e);if (!n) return;- let r = xf.exec(t);+ let r = Sf.exec(t);if (!r || n[2] !== r[2]) return;let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);- return (e) => ud(sf(a, o, e)) + i;+ return (e) => dd(cf(a, o, e)) + i;}-function Cf(e, t, n) {- if (typeof e == "number" && typeof t == "number" && typeof n == "number") return sf(e, t, n);+function wf(e, t, n) {+ if (typeof e == "number" && typeof t == "number" && typeof n == "number") return cf(e, t, n);if (typeof e == "string" && typeof t == "string") {- let n = Sf(e, t);+ let n = Cf(e, t);if (n) return n;}- return gf(e)(e, t);+ return _f(e)(e, t);}// node_modules/motion-dom/dist/es/frameloop/order.mjs-var wf = [+var Tf = ["setup","read","resolveKeyframes",@@ -14602,7 +14602,7 @@ var wf = ["postRender"];// node_modules/motion-dom/dist/es/frameloop/render-step.mjs-function Tf(e) {+function Ef(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a, o = /* @__PURE__ */ new Set(), s = {delta: 0,timestamp: 0,@@ -14632,63 +14632,63 @@ function Tf(e) {return l;}// node_modules/motion-dom/dist/es/frameloop/batcher.mjs-var Ef = 40;-function Df(e, t, n = {+var Df = 40;+function Of(e, t, n = {delta: 0,timestamp: 0,isProcessing: !1}) {- let r = !1, i = !0, a = () => r = !0, o = wf.reduce((e, t) => (e[t] = Tf(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {- let a = Du.useManualTiming, o = a ? n.timestamp : performance.now();- r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, Ef), 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));+ let r = !1, i = !0, a = () => r = !0, o = Tf.reduce((e, t) => (e[t] = Ef(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let a = Ou.useManualTiming, o = a ? n.timestamp : performance.now();+ r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, Df), 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: wf.reduce((e, t) => {+ schedule: Tf.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 < wf.length; t++) o[wf[t]].cancel(e);+ for (let t = 0; t < Tf.length; t++) o[Tf[t]].cancel(e);},state: n,steps: o};}// node_modules/motion-dom/dist/es/frameloop/frame.mjs-var { schedule: Of, cancel: kf, steps: Af } = /* @__PURE__ */ Df(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Mu, !0, od), jf = (e) => {+var { schedule: kf, cancel: Af, steps: jf } = /* @__PURE__ */ Of(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Nu, !0, sd), Mf = (e) => {let t = ({ timestamp: t }) => e(t);return {- start: (e = !0) => Of.update(t, e),- stop: () => kf(t),- now: () => od.isProcessing ? od.timestamp : ld.now()+ start: (e = !0) => kf.update(t, e),+ stop: () => Af(t),+ now: () => sd.isProcessing ? sd.timestamp : ud.now()};-}, Mf = (e, t, n = 10) => {+}, Nf = (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)})`;-}, Nf = 2e4;-function Pf(e, t = 50, n = Nf, r) {+}, Pf = 2e4;+function Ff(e, t = 50, n = Pf, 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 Ff(e, t = 100, n) {+function If(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(Pf(o), Nf);+ }), s = Math.min(Ff(o), Pf);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,- duration: /* @__PURE__ */ Lu(s)+ duration: /* @__PURE__ */ Ru(s)};}// node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var If = {+var Lf = {stiffness: 100,damping: 10,mass: 1,@@ -14706,63 +14706,63 @@ var If = {minDuration: .01,maxDuration: 10,minDamping: .05-}, Lf = (e) => e < 0 ? 1 / Math.max(1 + e, If.minDamping) : Math.max(1 - e, If.minDamping);-function Rf(e, t) {+}, Rf = (e) => e < 0 ? 1 / Math.max(1 + e, Lf.minDamping) : Math.max(1 - e, Lf.minDamping);+function zf(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 Vf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return Hf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function zf(e, t) {+function Bf(e, t) {return e * Math.sqrt(1 - t * t);}-var Bf = 12;-function Vf(e, t, n) {+var Vf = 12;+function Hf(e, t, n) {let r = n;- for (let n = 1; n < Bf; n++) r -= e(r) / t(r);+ for (let n = 1; n < Vf; n++) r -= e(r) / t(r);return r;}-var Hf = .001;-function Uf({ duration: e = If.duration, bounce: t = If.bounce }) {+var Uf = .001;+function Wf({ duration: e = Lf.duration, bounce: t = Lf.bounce }) {let n, r;- If.maxDuration;- let i = Lf(t);- e = Eu(If.minDuration, If.maxDuration, /* @__PURE__ */ Lu(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = zf(t, i), o = Math.exp(-r);- return Hf - n / a * o;+ Lf.maxDuration;+ let i = Rf(t);+ e = Du(Lf.minDuration, Lf.maxDuration, /* @__PURE__ */ Ru(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = Bf(t, i), o = Math.exp(-r);+ return Uf - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = zf(t * t, i);- return (-n(t) + Hf > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Bf(t * t, i);+ return (-n(t) + Uf > 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 = Vf(n, r, a), s = o * Rf(i, o * e), c = s * s;+ let a = 5 / e, o = Hf(n, r, a), s = o * zf(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),- duration: /* @__PURE__ */ Iu(e)+ duration: /* @__PURE__ */ Lu(e)};}-var Wf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Gf(e, t) {- if (Wf(e, t)) return e;+var Gf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function Kf(e, t) {+ if (Gf(e, t)) return e;}-function Kf(e) {- let t = Gf(e.stiffness), n = Gf(e.damping, !0), r = Gf(e.mass), i = {+function qf(e) {+ let t = Kf(e.stiffness), n = Kf(e.damping, !0), r = Kf(e.mass), i = {...e,- stiffness: t ?? If.stiffness,- damping: n ?? If.damping,- mass: r ?? If.mass,+ stiffness: t ?? Lf.stiffness,+ damping: n ?? Lf.damping,+ mass: r ?? Lf.mass,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = Lf(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Rf(t, 2 * Math.PI / 1.2);+ let t = Rf(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * zf(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, Uf(i)), i.isResolvedFromDuration = !0;- Wf(i.stiffness) && Wf(i.damping, !0) || (i.stiffness = If.stiffness, i.damping = If.damping);+ } else Object.assign(i, Wf(i)), i.isResolvedFromDuration = !0;+ Gf(i.stiffness) && Gf(i.damping, !0) || (i.stiffness = Lf.stiffness, i.damping = Lf.damping);}return i;}-function qf(e = If.visualDuration, t = If.bounce) {+function Jf(e = Lf.visualDuration, t = Lf.bounce) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -14770,7 +14770,7 @@ function qf(e = If.visualDuration, t = If.bounce) {}, 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 } = Kf({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Lu(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Lu(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = qf({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Ru(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Ru(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -14778,12 +14778,12 @@ function qf(e = If.visualDuration, t = If.bounce) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? If.restSpeed.granular : If.restSpeed.default), g.restDelta = n.restDelta || (e ? If.restDelta.granular : If.restDelta.default);+ g.restSpeed = n.restSpeed || (e ? Lf.restSpeed.granular : Lf.restSpeed.default), g.restDelta = n.restDelta || (e ? Lf.restDelta.granular : Lf.restDelta.default);};_();let v, y, b;if (p < 1) {- let e = zf(m, p), t = {+ let e = Bf(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -14821,30 +14821,30 @@ function qf(e = If.visualDuration, t = If.bounce) {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__ */ Iu(y(e)),+ velocity: (e) => /* @__PURE__ */ Lu(y(e)),next: (e) => {let t = v(e);if (u) a.done = e >= l;else {- let n = /* @__PURE__ */ Iu(y(e));+ let n = /* @__PURE__ */ Lu(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(Pf(S), Nf), t = Mf((t) => S.next(e * t).value, e, 30);+ let e = Math.min(Ff(S), Pf), t = Nf((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-var Jf = /* @__PURE__ */ Object.assign(qf, { applyToOptions: (e) => {- let t = Ff(e, 100, qf);- return e.ease = t.ease, e.duration = /* @__PURE__ */ Iu(t.duration), e.type = "keyframes", e;+var Yf = /* @__PURE__ */ Object.assign(Jf, { applyToOptions: (e) => {+ let t = If(e, 100, Jf);+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Lu(t.duration), e.type = "keyframes", e;} });// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function Yf({ 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 Xf({ 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@@ -14854,7 +14854,7 @@ function Yf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32let t = v(e);f.done = Math.abs(t) <= l, f.value = f.done ? _ : _ + t;}, b, x, S = (e) => {- p(f.value) && (b = e, x = Jf({+ p(f.value) && (b = e, x = Yf({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -14872,111 +14872,111 @@ function Yf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32};}// node_modules/motion-dom/dist/es/utils/interpolate.mjs-function Xf(e, t, n) {- let r = [], i = n || Du.mix || Cf, a = e.length - 1;+function Zf(e, t, n) {+ let r = [], i = n || Ou.mix || wf, a = e.length - 1;for (let n = 0; n < a; n++) {let a = i(e[n], e[n + 1]);- t && (a = Nu(Array.isArray(t) ? t[n] || Mu : t, a)), r.push(a);+ t && (a = Pu(Array.isArray(t) ? t[n] || Nu : t, a)), r.push(a);}return r;}-function Zf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function Qf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {let a = e.length;if (t.length, a === 1) return () => t[0];if (a === 2 && t[0] === t[1]) return () => t[1];let o = e[0] === e[1];e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());- let s = Xf(t, r, i), c = s.length, l = (n) => {+ let s = Zf(t, r, i), c = s.length, l = (n) => {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__ */ Pu(e[r], e[r + 1], n);+ let i = /* @__PURE__ */ Fu(e[r], e[r + 1], n);return s[r](i);};- return n ? (t) => l(Eu(e[0], e[a - 1], t)) : l;+ return n ? (t) => l(Du(e[0], e[a - 1], t)) : l;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function Qf(e, t) {+function $f(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {- let i = /* @__PURE__ */ Pu(0, t, r);- e.push(sf(n, 1, i));+ let i = /* @__PURE__ */ Fu(0, t, r);+ e.push(cf(n, 1, i));}}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function $f(e) {+function ep(e) {let t = [0];- return Qf(t, e.length - 1), t;+ return $f(t, e.length - 1), t;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs-function ep(e, t) {+function tp(e, t) {return e.map((e) => e * t);}// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs-function tp(e, t) {- return e.map(() => t || $u).splice(0, e.length - 1);+function np(e, t) {+ return e.map(() => t || ed).splice(0, e.length - 1);}-function np({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {- let i = /* @__PURE__ */ ed(r) ? r.map(ad) : ad(r) || $u, a = {+function rp({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {+ let i = /* @__PURE__ */ td(r) ? r.map(od) : od(r) || ed, a = {done: !1,value: t[0]};if (t.length === 2 && !Array.isArray(i) && (!n || n.length !== 2 || n[0] === 0 && n[1] === 1)) {- let [n, r] = t, o = n === r ? void 0 : (Du.mix || Cf)(n, r);+ let [n, r] = t, o = n === r ? void 0 : (Ou.mix || wf)(n, r);return {calculatedDuration: e,- next: (t) => (a.value = o ? o(i(e > 0 ? Eu(0, 1, t / e) : 1)) : r, a.done = t >= e, a)+ next: (t) => (a.value = o ? o(i(e > 0 ? Du(0, 1, t / e) : 1)) : r, a.done = t >= e, a)};}- let o = Zf(ep(n && n.length === t.length ? n : $f(t), e), t, { ease: Array.isArray(i) ? i : tp(t, i) });+ let o = Qf(tp(n && n.length === t.length ? n : ep(t), e), t, { ease: Array.isArray(i) ? i : np(t, i) });return {calculatedDuration: e,next: (t) => (a.value = o(t), a.done = t >= e, a)};}// node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs-var rp = 5;-function ip(e, t, n) {- let r = Math.max(t - rp, 0);- return /* @__PURE__ */ Ru(n - e(r), t - r);+var ip = 5;+function ap(e, t, n) {+ let r = Math.max(t - ip, 0);+ return /* @__PURE__ */ zu(n - e(r), t - r);}-function ap(e, t, n = 0) {- return t <= 0 ? n : e.velocity ? e.velocity(t) : ip((t) => e.next(t).value, t, e.next(t).value);+function op(e, t, n = 0) {+ return t <= 0 ? n : e.velocity ? e.velocity(t) : ap((t) => e.next(t).value, t, e.next(t).value);}// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var op = (e) => e !== null;-function sp(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(op), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var sp = (e) => e !== null;+function cp(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(sp), 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.mjs-var cp = {- decay: Yf,- inertia: Yf,- tween: np,- keyframes: np,- spring: Jf+var lp = {+ decay: Xf,+ inertia: Xf,+ tween: rp,+ keyframes: rp,+ spring: Yf};-function lp(e) {- typeof e.type == "string" && (e.type = cp[e.type]);+function up(e) {+ typeof e.type == "string" && (e.type = lp[e.type]);}// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var up = 40, dp = (e, t) => t - e > up && !Du.useManualTiming ? t : e;+var dp = 40, fp = (e, t) => t - e > dp && !Ou.useManualTiming ? t : e;// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function fp(e, t) {+function pp(e, t) {return {kind: e,animation: t,- timestamp: ld.now(),- frameTimestamp: od.timestamp,- frameIsProcessing: od.isProcessing+ timestamp: ud.now(),+ frameTimestamp: sd.timestamp,+ frameIsProcessing: sd.isProcessing};}-function pp(e, t, n) {+function mp(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...fp("animation-start", e),+ ...pp("animation-start", e),options: n ? {...t,...n@@ -14984,17 +14984,17 @@ function pp(e, t, n) {});} catch {}}-function mp(e, t) {+function hp(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...fp("layout-animation-start", e),+ ...pp("layout-animation-start", e),node: t});} catch {}}// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var hp = class {+var gp = class {constructor() {this.isResolved = !1;}@@ -15012,21 +15012,21 @@ var hp = class {then(e, t) {return this.finished.then(e, t);}-}, gp = (e) => e / 100, _p = (e) => Math.round(e * 1e4) / 1e4, vp = class extends hp {+}, _p = (e) => e / 100, vp = (e) => Math.round(e * 1e4) / 1e4, yp = class extends gp {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 !== ld.now() && this.tick(ld.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), pp(this, this.options);+ e && e.updatedAt !== ud.now() && this.tick(ud.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), mp(this, this.options);}initAnimation() {let { options: e } = this;- lp(e);- let { type: t = np, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || np;- s !== np && typeof o[0] != "number" && (this.mixKeyframes = Nu(gp, Cf(o[0], o[1])), o = [0, 100]);+ up(e);+ let { type: t = rp, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || rp;+ s !== rp && typeof o[0] != "number" && (this.mixKeyframes = Pu(_p, wf(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -15035,7 +15035,7 @@ var hp = class {...e,keyframes: [...o].reverse(),velocity: -a- })), c.calculatedDuration === null && (c.calculatedDuration = Pf(c));+ })), c.calculatedDuration === null && (c.calculatedDuration = Ff(c));let { calculatedDuration: l } = c;this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;}@@ -15047,26 +15047,26 @@ var hp = 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 = dp(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 = fp(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 && i !== null && (p = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);- return m && s !== Yf && (f.value = sp(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== Xf && (f.value = cp(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? _p((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? vp((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 !== Yf ? sp(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== Xf ? cp(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 = Eu(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 = Du(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;@@ -15075,37 +15075,37 @@ var hp = class {return this.finished.then(e, t);}get duration() {- return /* @__PURE__ */ Lu(this.calculatedDuration);+ return /* @__PURE__ */ Ru(this.calculatedDuration);}get iterationDuration() {let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ Lu(e);+ return this.duration + /* @__PURE__ */ Ru(e);}get time() {- return /* @__PURE__ */ Lu(this.currentTime);+ return /* @__PURE__ */ Ru(this.currentTime);}set time(e) {- e = /* @__PURE__ */ Iu(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__ */ Lu(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 ap(this.generator, this.currentTime, this.options.velocity);+ return op(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(ld.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Lu(this.currentTime));+ t && this.driver && this.updateTime(ud.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Ru(this.currentTime));}play() {if (this.isStopped) return;- let { driver: e = jf, startTime: t } = this.options;+ let { driver: e = Mf, 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(ld.now()), this.holdTime = this.currentTime;+ this.state = "paused", this.updateTime(ud.now()), this.holdTime = this.currentTime;}complete() {this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;@@ -15128,147 +15128,147 @@ var hp = class {attachTimeline(e) {return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}-}, yp = /* @__PURE__ */ new Set([+}, bp = /* @__PURE__ */ new Set(["brightness","contrast","saturate","opacity"]);-function bp(e) {+function xp(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;- let [r] = n.match(bd) || [];+ let [r] = n.match(xd) || [];if (!r) return e;- let i = n.replace(r, ""), a = +!!yp.has(t);+ let i = n.replace(r, ""), a = +!!bp.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var xp = /\b([a-z-]*)\(.*?\)/gu, Sp = {- ...nf,+var Sp = /\b([a-z-]*)\(.*?\)/gu, Cp = {+ ...rf,getAnimatableNone: (e) => {- let t = e.match(xp);- return t ? t.map(bp).join(" ") : e;+ let t = e.match(Sp);+ return t ? t.map(xp).join(" ") : e;}-}, Cp = {- ...nf,+}, wp = {+ ...rf,getAnimatableNone: (e) => {- let t = nf.parse(e);- return nf.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {+ let t = rf.parse(e);+ return rf.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {...e,alpha: 1} : e));}-}, wp = {- ..._d,- transform: Math.round}, Tp = {- rotate: jd,- pathRotation: jd,- rotateX: jd,- rotateY: jd,- rotateZ: jd,- scale: yd,- scaleX: yd,- scaleY: yd,- scaleZ: yd,- skew: jd,- skewX: jd,- skewY: jd,- distance: W,- translateX: W,- translateY: W,- translateZ: W,- x: W,- y: W,- z: W,- perspective: W,- transformPerspective: W,- opacity: vd,- originX: Fd,- originY: Fd,- originZ: W+ ...vd,+ transform: Math.round}, Ep = {- 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,- ...Tp,- zIndex: wp,- fillOpacity: vd,- strokeOpacity: vd,- numOctaves: wp+ rotate: Md,+ pathRotation: Md,+ rotateX: Md,+ rotateY: Md,+ rotateZ: Md,+ scale: bd,+ scaleX: bd,+ scaleY: bd,+ scaleZ: bd,+ skew: Md,+ skewX: Md,+ skewY: Md,+ distance: U,+ translateX: U,+ translateY: U,+ translateZ: U,+ x: U,+ y: U,+ z: U,+ perspective: U,+ transformPerspective: U,+ opacity: yd,+ originX: Id,+ originY: Id,+ originZ: U}, Dp = {+ borderWidth: U,+ borderTopWidth: U,+ borderRightWidth: U,+ borderBottomWidth: U,+ borderLeftWidth: U,+ borderRadius: U,+ borderTopLeftRadius: U,+ borderTopRightRadius: U,+ borderBottomRightRadius: U,+ borderBottomLeftRadius: U,+ width: U,+ maxWidth: U,+ height: U,+ maxHeight: U,+ top: U,+ right: U,+ bottom: U,+ left: U,+ inset: U,+ insetBlock: U,+ insetBlockStart: U,+ insetBlockEnd: U,+ insetInline: U,+ insetInlineStart: U,+ insetInlineEnd: U,+ padding: U,+ paddingTop: U,+ paddingRight: U,+ paddingBottom: U,+ paddingLeft: U,+ paddingBlock: U,+ paddingBlockStart: U,+ paddingBlockEnd: U,+ paddingInline: U,+ paddingInlineStart: U,+ paddingInlineEnd: U,+ margin: U,+ marginTop: U,+ marginRight: U,+ marginBottom: U,+ marginLeft: U,+ marginBlock: U,+ marginBlockStart: U,+ marginBlockEnd: U,+ marginInline: U,+ marginInlineStart: U,+ marginInlineEnd: U,+ fontSize: U,+ backgroundPositionX: U,+ backgroundPositionY: U,...Ep,- color: Ld,- backgroundColor: Ld,- outlineColor: Ld,- fill: Ld,- stroke: Ld,- borderColor: Ld,- borderTopColor: Ld,- borderRightColor: Ld,- borderBottomColor: Ld,- borderLeftColor: Ld,- filter: Sp,- WebkitFilter: Sp,- mask: Cp,- WebkitMask: Cp-}, Op = (e) => Dp[e], kp = /*@__PURE__*/ new Set([Sp, Cp]);-function Ap(e, t) {- let n = Op(e);- return kp.has(n) || (n = nf), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+ zIndex: Tp,+ fillOpacity: yd,+ strokeOpacity: yd,+ numOctaves: Tp+}, Op = {+ ...Dp,+ color: Rd,+ backgroundColor: Rd,+ outlineColor: Rd,+ fill: Rd,+ stroke: Rd,+ borderColor: Rd,+ borderTopColor: Rd,+ borderRightColor: Rd,+ borderBottomColor: Rd,+ borderLeftColor: Rd,+ filter: Cp,+ WebkitFilter: Cp,+ mask: wp,+ WebkitMask: wp+}, kp = (e) => Op[e], Ap = /*@__PURE__*/ new Set([Cp, wp]);+function jp(e, t) {+ let n = kp(e);+ return Ap.has(n) || (n = rf), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function jp(e) {+function Mp(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 Mp = (e) => e * 180 / Math.PI, Np = (e) => Fp(Mp(Math.atan2(e[1], e[0]))), Pp = {+var Np = (e) => e * 180 / Math.PI, Pp = (e) => Ip(Np(Math.atan2(e[1], e[0]))), Fp = {x: 4,y: 5,translateX: 4,@@ -15277,54 +15277,54 @@ var Mp = (e) => e * 180 / Math.PI, Np = (e) => Fp(Mp(Math.atan2(e[1], e[0]))), PscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: Np,- rotateZ: Np,- skewX: (e) => Mp(Math.atan(e[1])),- skewY: (e) => Mp(Math.atan(e[2])),+ rotate: Pp,+ rotateZ: Pp,+ skewX: (e) => Np(Math.atan(e[1])),+ skewY: (e) => Np(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, Fp = (e) => (e %= 360, e < 0 && (e += 360), e), Ip = Np, Lp = (e) => Math.hypot(e[0], e[1]), Rp = (e) => Math.hypot(e[4], e[5]), zp = {+}, Ip = (e) => (e %= 360, e < 0 && (e += 360), e), Lp = Pp, Rp = (e) => Math.hypot(e[0], e[1]), zp = (e) => Math.hypot(e[4], e[5]), Bp = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: Lp,- scaleY: Rp,+ scaleX: Rp,+ scaleY: zp,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (Lp(e) + Rp(e)) / 2,- rotateX: (e) => Fp(Mp(Math.atan2(e[6], e[5]))),- rotateY: (e) => Fp(Mp(Math.atan2(-e[2], e[0]))),- rotateZ: Ip,- rotate: Ip,- skewX: (e) => Mp(Math.atan(e[4])),- skewY: (e) => Mp(Math.atan(e[1])),+ scale: (e) => (Rp(e) + zp(e)) / 2,+ rotateX: (e) => Ip(Np(Math.atan2(e[6], e[5]))),+ rotateY: (e) => Ip(Np(Math.atan2(-e[2], e[0]))),+ rotateZ: Lp,+ rotate: Lp,+ skewX: (e) => Np(Math.atan(e[4])),+ skewY: (e) => Np(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function Bp(e) {+function Vp(e) {return +!!e.includes("scale");}-function Vp(e, t) {- if (!e || e === "none") return Bp(t);+function Hp(e, t) {+ if (!e || e === "none") return Vp(t);let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;- if (n) r = zp, i = n;+ if (n) r = Bp, i = n;else {let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);- r = Pp, i = t;+ r = Fp, i = t;}- if (!i) return Bp(t);- let a = r[t], o = i[1].split(",").map(Up);+ if (!i) return Vp(t);+ let a = r[t], o = i[1].split(",").map(Wp);return typeof a == "function" ? a(o) : o[a];}-var Hp = (e, t) => {+var Up = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return Vp(n, t);+ return Hp(n, t);};-function Up(e) {+function Wp(e) {return parseFloat(e.trim());}// node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs-var Wp = [+var Gp = ["transformPerspective","x","y",@@ -15343,14 +15343,14 @@ var Wp = ["skew","skewX","skewY"-], Gp = /* @__PURE__ */ new Set([...Wp, "pathRotation"]), Kp = (e) => e === _d || e === W, qp = /* @__PURE__ */ new Set([+], Kp = /* @__PURE__ */ new Set([...Gp, "pathRotation"]), qp = (e) => e === vd || e === U, Jp = /* @__PURE__ */ new Set(["x","y","z"-]), Jp = /* @__PURE__ */ Wp.filter((e) => !qp.has(e));-function Yp(e) {+]), Yp = /* @__PURE__ */ Gp.filter((e) => !Jp.has(e));+function Xp(e) {let t = [];- return Jp.forEach((n) => {+ return Yp.forEach((n) => {let r = e.getValue(n);if (r !== void 0) {let e = r.get(), i = +!!n.startsWith("scale");@@ -15359,16 +15359,16 @@ function Yp(e) {}}), t;}-var Xp = /* @__PURE__ */ new Set(["bottom", "right"]);-function Zp(e, t, n, r, i, a) {+var Zp = /* @__PURE__ */ new Set(["bottom", "right"]);+function Qp(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 Qp = ({ transform: e }) => Vp(e, "x"), $p = ({ transform: e }) => Vp(e, "y"), em = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => Zp(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => Zp(e, i, "y", t, n, r),+var $p = ({ transform: e }) => Hp(e, "x"), em = ({ transform: e }) => Hp(e, "y"), tm = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => Qp(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => Qp(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -15379,20 +15379,20 @@ var Qp = ({ transform: e }) => Vp(e, "x"), $p = ({ transform: e }) => Vp(e, "y")let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: Qp,- y: $p,- translateX: Qp,- translateY: $p-}, tm = /* @__PURE__ */ new Set(), nm = !1, rm = !1, im = !1;-function am() {- if (rm) {+ x: $p,+ y: em,+ translateX: $p,+ translateY: em+}, nm = /* @__PURE__ */ new Set(), rm = !1, im = !1, am = !1;+function om() {+ if (im) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- tm.forEach((r) => {- r.needsMeasurement && (e.push(r), t.add(r.element), Xp.has(r.name) && n.add(r.element));+ nm.forEach((r) => {+ r.needsMeasurement && (e.push(r), t.add(r.element), Zp.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();n.forEach((e) => {- let t = Yp(e);+ let t = Xp(e);t.length && (r.set(e, t), e.render());}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {e.render();@@ -15404,29 +15404,29 @@ function am() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- rm = !1, nm = !1, tm.forEach((e) => e.complete(im)), tm.clear();+ im = !1, rm = !1, nm.forEach((e) => e.complete(am)), nm.clear();}-function om() {- tm.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (rm = !0);+function sm() {+ nm.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (im = !0);});}-function sm() {- im = !0, om(), am(), im = !1;+function cm() {+ am = !0, sm(), om(), am = !1;}-function cm(e, t, n) {+function lm(e, t, n) {if (typeof e == "string") {- if (Ou(e) || Au(e)) return parseFloat(e);- if (!nf.test(e) && nf.test(n)) return Ap(t, n);+ if (ku(e) || ju(e)) return parseFloat(e);+ if (!rf.test(e) && rf.test(n)) return jp(t, n);}return e ?? void 0;}-var lm = class {+var um = 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 ? (tm.add(this), nm || (nm = !0, Of.read(om), Of.resolveKeyframes(am))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (nm.add(this), rm || (rm = !0, kf.read(sm), kf.resolveKeyframes(om))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -15434,71 +15434,71 @@ var lm = class {let i = r?.get(), a = e[e.length - 1];if (i !== void 0) e[0] = i;else if (n && t) {- let r = cm(n.readValue(t, a), t, a);+ let r = lm(n.readValue(t, a), t, a);r !== void 0 && (e[0] = r);}e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);}- jp(e);+ Mp(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), tm.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), nm.delete(this);}cancel() {- this.state === "scheduled" && (tm.delete(this), this.state = "pending");+ this.state === "scheduled" && (nm.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, um = (e) => e.startsWith("--");+}, dm = (e) => e.startsWith("--");// node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function dm(e, t, n) {- um(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function fm(e, t, n) {+ dm(t) ? e.style.setProperty(t, n) : e.style[t] = n;}// node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var fm = {};+var pm = {};// node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function pm(e, t) {- let n = /* @__PURE__ */ ju(e);- return () => fm[t] ?? n();+function mm(e, t) {+ let n = /* @__PURE__ */ Mu(e);+ return () => pm[t] ?? n();}// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var mm = /* @__PURE__ */ pm(() => window.ScrollTimeline !== void 0, "scrollTimeline"), hm = /*@__PURE__*/ pm(() => {+var hm = /* @__PURE__ */ mm(() => window.ScrollTimeline !== void 0, "scrollTimeline"), gm = /*@__PURE__*/ mm(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), gm = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, _m = {+}, "linearEasing"), _m = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, vm = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ gm([+ circIn: /*@__PURE__*/ _m([0,.65,.55,1]),- circOut: /*@__PURE__*/ gm([+ circOut: /*@__PURE__*/ _m([.55,0,1,.45]),- backIn: /*@__PURE__*/ gm([+ backIn: /*@__PURE__*/ _m([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ gm([+ backOut: /*@__PURE__*/ _m([.33,1.53,.69,@@ -15506,14 +15506,14 @@ var mm = /* @__PURE__ */ pm(() => window.ScrollTimeline !== void 0, "scrollTimel])};// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function vm(e, t) {- if (e) return typeof e == "function" ? hm() ? Mf(e, t) : "ease-out" : /* @__PURE__ */ nd(e) ? gm(e) : Array.isArray(e) ? e.map((e) => vm(e, t) || _m.easeOut) : _m[e];+function ym(e, t) {+ if (e) return typeof e == "function" ? gm() ? Nf(e, t) : "ease-out" : /* @__PURE__ */ rd(e) ? _m(e) : Array.isArray(e) ? e.map((e) => ym(e, t) || vm.easeOut) : vm[e];}// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function ym(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function bm(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 = vm(s, i);+ let d = ym(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -15526,27 +15526,27 @@ function ym(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTypreturn l && (f.pseudoElement = l), e.animate(u, f);}// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function bm(e) {+function xm(e) {return typeof e == "function" && "applyToOptions" in e;}// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function xm({ type: e, ...t }) {- return bm(e) && hm() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Sm({ type: e, ...t }) {+ return xm(e) && gm() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var Sm = class extends hp {+var Cm = class extends gp {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;this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;- let c = xm(e);- this.animation = ym(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = Sm(e);+ this.animation = bm(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = sp(r, this.options, o, this.speed);- this.updateMotionValue && this.updateMotionValue(e), dm(t, n, e), this.animation.cancel();+ let e = cp(r, this.options, o, this.speed);+ this.updateMotionValue && this.updateMotionValue(e), fm(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, pp(this, e, c);+ }, mp(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -15571,18 +15571,18 @@ var Sm = class extends hp {}get duration() {let e = this.animation.effect?.getComputedTiming?.().duration || 0;- return /* @__PURE__ */ Lu(Number(e));+ return /* @__PURE__ */ Ru(Number(e));}get iterationDuration() {let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ Lu(e);+ return this.duration + /* @__PURE__ */ Ru(e);}get time() {- return /* @__PURE__ */ Lu(Number(this.animation.currentTime) || 0);+ return /* @__PURE__ */ Ru(Number(this.animation.currentTime) || 0);}set time(e) {let t = this.finishedTime !== null;- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Iu(e), t && this.animation.pause();+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Lu(e), t && this.animation.pause();}get speed() {return this.animation.playbackRate;@@ -15600,30 +15600,30 @@ var Sm = class extends hp {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 = null, e && mm() ? (this.animation.timeline = e, t?.(this.animation), Mu) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && hm() ? (this.animation.timeline = e, t?.(this.animation), Nu) : n(this);}-}, Cm = {- anticipate: qu,- backInOut: Ku,- circInOut: Xu+}, wm = {+ anticipate: Ju,+ backInOut: qu,+ circInOut: Zu};-function wm(e) {- return e in Cm;-}function Tm(e) {- typeof e.ease == "string" && wm(e.ease) && (e.ease = Cm[e.ease]);+ return e in wm;+}+function Em(e) {+ typeof e.ease == "string" && Tm(e.ease) && (e.ease = wm[e.ease]);}-var Em = class extends Sm {+var Dm = class extends Cm {constructor(e) {- Tm(e), lp(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ Em(e), up(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {- return this.state === "running" ? (ld.now() - this.startTime) * this.speed : this.time * 1e3;+ return this.state === "running" ? (ud.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 vp({+ this.sampler = new yp({...o,autoplay: !1}), this.sampler.stop();@@ -15641,41 +15641,41 @@ var Em = class extends Sm {t.set(e);return;}- let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? Eu(0, 10, a) : 0, s = this.sample(a);- n && r && dm(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 ? Du(0, 10, a) : 0, s = this.sample(a);+ n && r && fm(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, Dm = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (nf.test(e) || e === "0") && !e.startsWith("url("));+}, Om = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (rf.test(e) || e === "0") && !e.startsWith("url("));// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs-function Om(e) {+function km(e) {let t = e[0];if (e.length === 1) return !0;for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;}-function km(e, t, n, r) {+function Am(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 = Dm(i, t), s = Dm(a, t);- return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : Om(e) || (n === "spring" || bm(n)) && r;+ let a = e[e.length - 1], o = Om(i, t), s = Om(a, t);+ return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : km(e) || (n === "spring" || xm(n)) && r;}// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function Am(e) {+function jm(e) {e.duration = 0, e.type = "keyframes";}// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var jm = /* @__PURE__ */ new Set([+var Mm = /* @__PURE__ */ new Set(["opacity","clipPath","filter","transform","backgroundColor"-]), Mm = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;-function Nm(e) {- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Mm.test(e[t])) return !0;+]), Nm = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function Pm(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Nm.test(e[t])) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs-var Pm = /* @__PURE__ */ new Set([+var Fm = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -15686,26 +15686,26 @@ var Pm = /* @__PURE__ */ new Set(["borderRightColor","borderBottomColor","borderLeftColor"-]), Fm = () => !Du.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");-function Im(e) {+]), Im = () => !Ou.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");+function Lm(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(jm.has(n) || Pm.has(n))) return !1;+ if (!n || !(Mm.has(n) || Fm.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 Fm() && (jm.has(n) || Pm.has(n) && Nm(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";+ return Im() && (Mm.has(n) || Fm.has(n) && Pm(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";}// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var Lm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, Rm = {+var Rm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, zm = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, zm = Wp.length;-function Bm(e, t, n) {+}, Bm = Gp.length;+function Vm(e, t, n) {let r = "", i = !0;- for (let a = 0; a < zm; a++) {- let o = Wp[a], s = e[o];+ for (let a = 0; a < Bm; a++) {+ let o = Gp[a], s = e[o];if (s === void 0) continue;let c = !0;if (typeof s == "number") c = s === +!!o.startsWith("scale");@@ -15714,43 +15714,43 @@ function Bm(e, t, n) {c = o.startsWith("scale") ? e === 1 : e === 0;}if (!c || n) {- let e = Lm(s, Ep[o]);+ let e = Rm(s, Dp[o]);if (!c) {i = !1;- let t = Rm[o] || o;+ let t = zm[o] || o;r += `${t}(${e}) `;}n && (t[o] = e);}}let a = e.pathRotation;- return a && (i = !1, r += `rotate(${Lm(a, Ep.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;+ return a && (i = !1, r += `rotate(${Rm(a, Dp.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;}// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var Vm = /* @__PURE__ */ new WeakMap(), Hm = 200, Um = .001, Wm = .1, Gm = .001, Km = 100, qm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Jm = (e, t) => e - t, Ym = (e, t, n) => {+var Hm = /* @__PURE__ */ new WeakMap(), Um = 200, Wm = .001, Gm = .1, Km = .001, qm = 100, Jm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Ym = (e, t) => e - t, Xm = (e, t, n) => {let r = [];- for (let i = 0; i <= n; i++) r.push(sf(e, t, i / n));+ for (let i = 0; i <= n; i++) r.push(cf(e, t, i / n));return r;-}, Xm = (e) => e.motionValue.owner, Zm = (e) => Vm.get(e), Qm = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), $m = ({ name: e, motionValue: t }) => e && Wp.includes(e) && t?.owner?.current instanceof HTMLElement && Fm() && hm();-function eh(e) {- let t = Xm(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (Qm(t, "transform") || "none") === "none" && !Qm(t, "pathRotation") && !t.projection?.isProjecting();+}, Zm = (e) => e.motionValue.owner, Qm = (e) => Hm.get(e), $m = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), eh = ({ name: e, motionValue: t }) => e && Gp.includes(e) && t?.owner?.current instanceof HTMLElement && Im() && gm();+function th(e) {+ let t = Zm(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && ($m(t, "transform") || "none") === "none" && !$m(t, "pathRotation") && !t.projection?.isProjecting();}-var th = class extends vp {+var nh = class extends yp {constructor(e) {- let t = Xm(e).current, { driver: n = jf } = e, r, i = eh(e);+ let t = Zm(e).current, { driver: n = Mf } = e, r, i = th(e);e.driver = (e) => {let i = n(e);return {js: i,now: i.now,start: (e = !0) => {- let n = Zm(t);+ let n = Qm(t);!n || n.isJS ? i.start(e) : n.schedule(!1, !e);},stop: () => {i.stop();- let e = Zm(t);+ let e = Qm(t);e && !e.isFinishing && e.release(r);}};@@ -15761,7 +15761,7 @@ var th = class extends vp {};}get group() {- return Zm(Xm(this.options).current);+ return Qm(Zm(this.options).current);}get js() {return this.driver?.js;@@ -15778,11 +15778,11 @@ var th = class extends vp {return e?.tracks.has(this) && !e.isJS && this.canAccelerate && (t === "running" || t === "paused");}liveValue() {- return this.isAccelerated() ? this.sampleAt(ld.now()) : void 0;+ return this.isAccelerated() ? this.sampleAt(ud.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ nd(n) ? gm(n) : qm(n) && _m[n];- if (o && !i && !r && e.length === 2 && t === np && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ rd(n) ? _m(n) : Jm(n) && vm[n];+ if (o && !i && !r && e.length === 2 && t === rp && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -15792,7 +15792,7 @@ var th = class extends vp {}}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 || np) === np ? u || $f(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 || rp) === rp ? u || ep(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;@@ -15808,11 +15808,11 @@ var th = class extends vp {return parseFloat(this.sampleAt(e, !0));}sync() {- let e = ld.now();+ let e = ud.now();this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || nh(Xm(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || rh(Zm(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -15820,10 +15820,10 @@ var th = class extends vp {complete() {super.complete();let { group: e } = this;- e && !e.isJS && this.canAccelerate && this.tick(ld.now());+ e && !e.isJS && this.canAccelerate && this.tick(ud.now());}get time() {- return this.isAccelerated() ? /* @__PURE__ */ Lu(Eu(0, this.totalDuration, this.at(ld.now()) - (this.options.delay || 0))) : super.time;+ return this.isAccelerated() ? /* @__PURE__ */ Ru(Du(0, this.totalDuration, this.at(ud.now()) - (this.options.delay || 0))) : super.time;}set time(e) {super.time = e, this.isAccelerated() && this.sync();@@ -15832,22 +15832,22 @@ var th = class extends vp {return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);}};-function nh(e) {+function rh(e) {let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {for (let t of n) if (t.name === e) return !0;}, m = (t, n) => {let o = {};- for (let s of t === void 0 ? Wp : a) {- let a = r.get(s), c = t === void 0 ? Qm(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? Gp : a) {+ let a = r.get(s), c = t === void 0 ? $m(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;}, h = (e, t) => {let n = "", r = m(e, t);- for (let e in r) n += (Rm[e] || e) + "(" + Lm(r[e], Ep[e]) + ") ";+ for (let e in r) n += (zm[e] || e) + "(" + Rm(r[e], Dp[e]) + ") ";return n || "none";}, g = (e = m()) => {- t.style.transform = Bm(e, {});+ t.style.transform = Vm(e, {});}, _ = (e = !0) => {e && g(), s.forEach(({ animation: e }) => e.cancel()), s = [];}, v = (e, t, n = Infinity) => {@@ -15856,7 +15856,7 @@ function nh(e) {offset: t,end: n};- e.startTime = ld.now() + t, n < Infinity && (e.onfinish = () => {+ e.startTime = ud.now() + t, n < Infinity && (e.onfinish = () => {r.isDone = !0, s.some((e) => e.end === Infinity) && (e.cancel(), s = s.filter((e) => e !== r)), O.schedule(!1);}), e.oncancel = () => s.includes(r) && O.demote(), s.push(r);}, y = (e, t, n) => {@@ -15867,34 +15867,34 @@ function nh(e) {}return r(t, n) > i / 2 ? [t, n] : [];}, b = (e, t, n, r) => {- let i = Math.min(Hm, Math.max(2, Math.ceil((n - t) / 10)));+ let i = Math.min(Um, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = Ym(t, n, i).concat(r).sort(Jm), o = (e) => /* @__PURE__ */ Pu(t, n, e), s, c;+ let a = Xm(t, n, i).concat(r).sort(Ym), o = (e) => /* @__PURE__ */ Fu(t, n, e), s, c;for (let t of e) {- let e = a.map((e) => t.numberAt(e)), [n] = e, r = e.map((e) => e - n), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Um > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);+ let e = a.map((e) => t.numberAt(e)), [n] = e, r = e.map((e) => e - n), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Wm > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);if (!o) {- if (l.some((e) => !(Math.abs(e) <= Um))) return;+ if (l.some((e) => !(Math.abs(e) <= Wm))) return;} else if (!s) s = l, c = (e) => (t.numberAt(e) - n) / o;- else if (l.some((e, t) => !(Math.abs(e - s[t]) <= Um))) return;+ else if (l.some((e, t) => !(Math.abs(e - s[t]) <= Wm))) return;}- if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= Um)) return "linear";- let l = [], u = (e, t = c(e)) => l.push(_p(t) + " " + _p(o(e) * 100) + "%");+ if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= Wm)) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(vp(t) + " " + vp(o(e) * 100) + "%");return s.forEach((e, t) => {t && Math.abs(e - s[t - 1]) > .2 && y(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";}, x = (e, t, n, r) => {- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? Gm : Wm))), o = (t, n, r) => {+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? Km : Gm))), o = (t, n, r) => {if (n - t < 1 || a(t, n)) i.push(n);else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);else {for (let r of e) i.push(...y((e) => r.numberAt(e), t, n));i.push(n);}- }, s = Ym(t, n, Math.ceil((n - t) / 100));+ }, s = Xm(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(Jm)) e > c && o(c, e, 0), c = e;- return i.sort(Jm);+ for (let e of s.sort(Ym)) e > c && o(c, e, 0), c = e;+ return i.sort(Ym);}, S = (e) => {let t;for (let n of e) {@@ -15905,7 +15905,7 @@ function nh(e) {return t;}, C = (e, n, r, i = { fill: "both" }, a, o) => {let s = e.flatMap((e) => e.boundaries(n, r)), c = o || b(e, n, r, s), l = c ? [n, r] : x(e, n, r, s), u = l.map((e) => h(e, a)), d = { transform: u };- return c || (d.offset = l.map((e) => /* @__PURE__ */ Pu(n, r, e))), u.every((e) => e === u[0]) && (g(m(n, a)), d = null), t.animate(d, {+ return c || (d.offset = l.map((e) => /* @__PURE__ */ Fu(n, r, e))), u.every((e) => e === u[0]) && (g(m(n, a)), d = null), t.animate(d, {...i,duration: r - n,easing: c || "linear"@@ -15933,9 +15933,9 @@ function nh(e) {f.push(e), l = Math.max(l, t);}}- i = {}, a = Wp.filter((t) => {+ i = {}, a = Gp.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = Qm(e, t);+ let n = i[t] = $m(e, t);return n !== void 0 && parseFloat(n) !== +!!t.startsWith("scale");}), _(!1);let h = !u && S(f);@@ -15982,11 +15982,11 @@ function nh(e) {r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.pause(), n.currentTime = o);}return !0;- }, E = () => !n.size && (u = !0, Zm(t) === O && Vm.delete(t), O.isJS || _(), !0), D = () => {- let t = ld.now();+ }, E = () => !n.size && (u = !0, Qm(t) === O && Hm.delete(t), O.isJS || _(), !0), D = () => {+ let t = ud.now();if (O.isJS || (O.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] = Qm(e, n.name), o.has(n) || (c = !0));+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = $m(e, n.name), o.has(n) || (c = !0));}), O.isFinishing = !1), l = !1, u || (n.forEach(({ state: e }, t) => {(e === "idle" || e === "finished") && n.delete(t);}), E())) return;@@ -15995,7 +15995,7 @@ function nh(e) {let r = c, a = d;if (c = d = !1, r || !T(t)) {if (a) {- if (t - f < Km) return O.demote();+ if (t - f < qm) return O.demote();f = t;}if (!w(t)) return O.demote();@@ -16005,7 +16005,7 @@ function nh(e) {isJS: !1,isFinishing: !1,schedule(e, t) {- u || (c ||= e, d ||= !!t, l || (l = !0, od.isProcessing ? Of.render(D, !1, !0) : queueMicrotask(D)));+ u || (c ||= e, d ||= !!t, l || (l = !0, sd.isProcessing ? kf.render(D, !1, !0) : queueMicrotask(D)));},release(e) {let { state: t } = e;@@ -16013,7 +16013,7 @@ function nh(e) {},check() {if (!O.isJS) {- for (let t in i) if (Qm(e, t) !== i[t] && !p(t)) return O.schedule(!0, !0);+ for (let t in i) if ($m(e, t) !== i[t] && !p(t)) return O.schedule(!0, !0);}},demote(e) {@@ -16022,40 +16022,40 @@ function nh(e) {}), O.isJS = !0, o = /* @__PURE__ */ new Map(), _(), n.forEach((e) => e.state === "running" && e.js?.start()));}};- return Vm.set(t, O), O;+ return Hm.set(t, O), O;}// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var rh = class extends hp {+var ih = class extends gp {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();- }, this.createdAt = ld.now();+ }, this.createdAt = ud.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 || lm;+ let o = i?.KeyframeResolver || um;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 = ld.now();+ this.resolvedAt = ud.now();let u = !0;- km(e, i, a, o) || (u = !1, (Du.instantAnimations || !s) && l?.(sp(e, n, t)), e[0] = e[e.length - 1], Am(n), n.repeat = 0);+ Am(e, i, a, o) || (u = !1, (Ou.instantAnimations || !s) && l?.(cp(e, n, t)), e[0] = e[e.length - 1], jm(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};- let f = u && !c && Im(n), p = !f && $m(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= dp(this.createdAt, this.resolvedAt));+ let f = u && !c && Lm(n), p = !f && eh(n);+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= fp(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {- m = new Em(n);+ m = new Dm(n);} catch {- m = new vp(n);+ m = new yp(n);}- } else m = p ? new th(n) : new vp(n);+ } else m = p ? new nh(n) : new yp(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -16068,7 +16068,7 @@ var rh = class extends hp {return this._animation?.liveValue?.();}get animation() {- return this._animation || (this.keyframeResolver?.resume(), sm()), this._animation;+ return this._animation || (this.keyframeResolver?.resume(), cm()), this._animation;}get duration() {return this.animation.duration;@@ -16109,7 +16109,7 @@ var rh = class extends hp {cancel() {this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();}-}, ih = class {+}, ah = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -16149,10 +16149,10 @@ var rh = class extends hp {return this.getAll("startTime");}get duration() {- return ah(this.animations, "duration");+ return oh(this.animations, "duration");}get iterationDuration() {- return ah(this.animations, "iterationDuration");+ return oh(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -16170,7 +16170,7 @@ var rh = class extends hp {this.runAll("complete");}};-function ah(e, t) {+function oh(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -16179,30 +16179,30 @@ function ah(e, t) {return n;}// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var oh = class extends ih {+var sh = class extends ah {then(e, t) {return this.finished.finally(e).then(() => {});}-}, sh = /* @__PURE__ */ new WeakMap(), ch = (e, t = "") => `${e}:${t}`;-function lh(e) {- let t = sh.get(e);- return t || (t = /* @__PURE__ */ new Map(), sh.set(e, t)), t;+}, ch = /* @__PURE__ */ new WeakMap(), lh = (e, t = "") => `${e}:${t}`;+function uh(e) {+ let t = ch.get(e);+ return t || (t = /* @__PURE__ */ new Map(), ch.set(e, t)), t;}// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function uh(e, t, n, r = 0, i = 1) {+function dh(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 dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = class {+var fh = 30, ph = (e) => !isNaN(parseFloat(e)), mh = { current: void 0 }, hh = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {- let t = ld.now();+ let t = ud.now();if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.notifyChange(), 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 = ld.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = fh(this.current));+ this.current = e, this.updatedAt = ud.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = ph(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -16212,16 +16212,16 @@ var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = c}on(e, t) {var n;- return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new Fu())).add(t);+ return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new Iu())).add(t);}onChangeSubscribe(e) {let { events: t } = this;- return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new Fu(), 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 Iu(), 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() {- Of.read(() => {+ kf.read(() => {!this.changeSubscriber && !this.events.change?.getSize() && this.stop();});}@@ -16255,7 +16255,7 @@ var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = cthis.dependents && this.dependents.delete(e);}get() {- ph.current && ph.current.push(this);+ mh.current && mh.current.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -16266,10 +16266,10 @@ var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = creturn this.prev;}getVelocity() {- let e = ld.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > dh) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, dh);- return /* @__PURE__ */ Ru(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);+ let e = ud.now();+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > fh) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, fh);+ return /* @__PURE__ */ zu(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {return this.stop(), new Promise((t) => {@@ -16293,11 +16293,11 @@ var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = cthis.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();}};-function hh(e, t) {- return new mh(e, t);+function gh(e, t) {+ return new hh(e, t);}// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function gh(e, t) {+function _h(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -16308,25 +16308,25 @@ function gh(e, t) {return e;}// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function _h(e, t) {+function vh(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : gh(n, e);+ return n === e ? n : _h(n, e);}// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs-var vh = {+var yh = {type: "spring",stiffness: 500,damping: 25,restSpeed: 10-}, yh = (e) => ({+}, bh = (e) => ({type: "spring",stiffness: 550,damping: e === 0 ? 2 * Math.sqrt(550) : 30,restSpeed: 10-}), bh = {+}), xh = {type: "keyframes",duration: .8-}, xh = {+}, Sh = {type: "keyframes",ease: [.25,@@ -16335,7 +16335,7 @@ var vh = {1],duration: .3-}, Sh = (e, { keyframes: t }) => t.length > 2 ? bh : Gp.has(e) ? e.startsWith("scale") ? yh(t[1]) : vh : xh, Ch = /* @__PURE__ */ new Set([+}, Ch = (e, { keyframes: t }) => t.length > 2 ? xh : Kp.has(e) ? e.startsWith("scale") ? bh(t[1]) : yh : Sh, wh = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -16347,14 +16347,14 @@ var vh = {"from","elapsed"]);-function wh(e) {- for (let t in e) if (!Ch.has(t)) return !0;+function Th(e) {+ for (let t in e) if (!wh.has(t)) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var Th = (e, t, n, r = {}, i, a) => (o) => {- let s = _h(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;- l -= /* @__PURE__ */ Iu(c);+var Eh = (e, t, n, r = {}, i, a) => (o) => {+ let s = vh(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+ l -= /* @__PURE__ */ Lu(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],ease: "easeOut",@@ -16372,196 +16372,196 @@ var Th = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- wh(s) || Object.assign(u, Sh(e, u)), u.duration &&= /* @__PURE__ */ Iu(u.duration), u.repeatDelay &&= /* @__PURE__ */ Iu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ Th(s) || Object.assign(u, Ch(e, u)), u.duration &&= /* @__PURE__ */ Lu(u.duration), u.repeatDelay &&= /* @__PURE__ */ Lu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Am(u), u.delay === 0 && (d = !0)), (Du.instantAnimations || Du.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, Am(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = sp(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (jm(u), u.delay === 0 && (d = !0)), (Ou.instantAnimations || Ou.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, jm(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = cp(u.keyframes, s);if (e !== void 0) {- Of.update(() => {+ kf.update(() => {u.onUpdate(e), u.onComplete();});return;}}- return s.isSync ? new vp(u) : new rh(u);-}, Eh = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;-function Dh(e) {- let t = Eh.exec(e);+ return s.isSync ? new yp(u) : new ih(u);+}, Dh = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function Oh(e) {+ let t = Dh.exec(e);if (!t) return [,];let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function Oh(e, t, n = 1) {+function kh(e, t, n = 1) {`${e}`;- let [r, i] = Dh(e);+ let [r, i] = Oh(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();- return Ou(e) ? parseFloat(e) : e;+ return ku(e) ? parseFloat(e) : e;}- return md(i) ? Oh(i, t, n + 1) : i;+ return hd(i) ? kh(i, t, n + 1) : i;}// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs-function kh(e) {+function Ah(e) {let t = [{}, {}];return e?.values.forEach((e, n) => {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function Ah(e, t, n, r) {- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...kh(r)) : t;+function jh(e, t, n, r) {+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Ah(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 jh(e, t, n) {- return Ah(e.getProps(), t, n, e);+function Mh(e, t, n) {+ return jh(e.getProps(), t, n, e);}-var Mh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, Nh = /* @__PURE__ */ new Set([+var Nh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, Ph = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...Wp-]), Ph = (e) => Array.isArray(e);+ ...Gp+]), Fh = (e) => Array.isArray(e);// node_modules/motion-dom/dist/es/render/utils/setters.mjs-function Fh(e, t, n) {- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, hh(n));+function Ih(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, gh(n));}-function Ih(e) {- return Ph(e) ? e[e.length - 1] || 0 : e;+function Lh(e) {+ return Fh(e) ? e[e.length - 1] || 0 : e;}-function Lh(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = jh(e, t) || {};+function Rh(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = Mh(e, t) || {};i = {...i,...n};- for (let t in i) Fh(e, t, Ih(i[t]));+ for (let t in i) Ih(e, t, Lh(i[t]));}// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var Rh = (e) => !!(e && e.getVelocity);+var zh = (e) => !!(e && e.getVelocity);// node_modules/motion-dom/dist/es/value/will-change/is.mjs-function zh(e) {- return !!(Rh(e) && e.add);+function Bh(e) {+ return !!(zh(e) && e.add);}// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function Bh(e, t) {+function Vh(e, t) {let n = e.getValue("willChange");- if (zh(n)) return n.add(t);- if (!n && Du.WillChange) {- let n = new Du.WillChange("auto");+ if (Bh(n)) return n.add(t);+ if (!n && Ou.WillChange) {+ let n = new Ou.WillChange("auto");e.addValue("willChange", n), n.add(t);}}// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs-var Vh = "data-framer-appear-id";+var Hh = "data-framer-appear-id";// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function Hh(e) {- return e.props[Vh];+function Uh(e) {+ return e.props[Hh];}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs-var Uh = typeof window < "u";-function Wh({ protectedKeys: e, needsAnimating: t }, n) {+var Wh = typeof window < "u";+function Gh({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function Gh(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function Kh(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? gh(a, c) : c;+ a = a ? _h(a, c) : c;let l = a?.reduceMotion, u = a?.skipAnimations;r && (a = r);let d = [], f = i && e.animationState?.getState()[i], p = a?.path;p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));for (let t in s) {let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];- if (i === void 0 || f && Wh(f, t)) continue;+ if (i === void 0 || f && Gh(f, t)) continue;let o = {delay: n,- ..._h(a || {}, t)+ ...vh(a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {- Of.update(() => r.set(i));+ kf.update(() => r.set(i));continue;}let p = !1;- if (Uh && window.MotionHandoffAnimation) {- let n = Hh(e);+ if (Wh && window.MotionHandoffAnimation) {+ let n = Uh(e);if (n) {- let e = window.MotionHandoffAnimation(n, t, Of);+ let e = window.MotionHandoffAnimation(n, t, kf);e !== null && (o.startTime = e, p = !0);}}- Bh(e, t);+ Vh(e, t);let m = l ?? e.shouldReduceMotion;- r.start(Th(t, r, i, m && Nh.has(t) ? { type: !1 } : o, e, p));+ r.start(Eh(t, r, i, m && Ph.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {- let t = () => Of.update(() => {- o && Lh(e, o);+ let t = () => kf.update(() => {+ o && Rh(e, o);});d.length ? Promise.all(d).then(t) : t();}return d;}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function Kh(e, t, n = {}) {- let r = jh(e, t, Mh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Gh(e, r, n) : []), o = (r = 0) => {+function qh(e, t, n = {}) {+ let r = Mh(e, t, Nh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Kh(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(Kh(e, t, {+ e.notify("AnimationStart", t), l.push(qh(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + uh(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + dh(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs-function qh(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Kh(e, t, n))) : typeof t == "string" ? Kh(e, t, n) : Promise.all(Gh(e, jh(e, t, n.custom), n))).then(() => {+function Jh(e, t, n = {}) {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => qh(e, t, n))) : typeof t == "string" ? qh(e, t, n) : Promise.all(Kh(e, Mh(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}// node_modules/motion-dom/dist/es/value/types/auto.mjs-var Jh = {+var Yh = {test: (e) => e === "auto",parse: (e) => e-}, Yh = (e) => (t) => t.test(e), Xh = [- _d,- W,+}, Xh = (e) => (t) => t.test(e), Zh = [+ vd,+ U,+ Nd,Md,- jd,+ Fd,Pd,- Nd,- Jh-], Zh = (e) => Xh.find(Yh(e));+ Yh+], Qh = (e) => Zh.find(Xh(e));// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs-function Qh(e) {- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Au(e);+function $h(e) {+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || ju(e);}// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs-var $h = /* @__PURE__ */ new Set([+var eg = /* @__PURE__ */ new Set(["auto","none","0"]);-function eg(e, t, n) {+function tg(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !$h.has(t) && Jd(t) && (i = e[r]), r++;+ typeof t == "string" && !eg.has(t) && Yd(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = Ap(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = jp(n, i));}// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var tg = class extends lm {+var ng = class extends um {constructor(e, t, n, r, i) {super(e, t, n, r, i, !0);}@@ -16572,7 +16572,7 @@ var tg = class extends lm {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 (gd(t ? e[t] : r)) return !1;+ for (let t = 0; t < e.length; t++) if (_d(t ? e[t] : r)) return !1;return !0;}readKeyframes() {@@ -16581,32 +16581,32 @@ var tg = class extends lm {super.readKeyframes();for (let n = 0; n < e.length; n++) {let r = e[n];- if (typeof r == "string" && (r = r.trim(), md(r))) {- let i = Oh(r, t.current);+ if (typeof r == "string" && (r = r.trim(), hd(r))) {+ let i = kh(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !Nh.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !Ph.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = Zh(r), o = Zh(i);- if (gd(r) !== gd(i) && em[n]) this.needsMeasurement = !0;+ let a = Qh(r), o = Qh(i);+ if (_d(r) !== _d(i) && tm[n]) this.needsMeasurement = !0;else if (a !== o) {- if (Kp(a) && Kp(o)) for (let t = 0; t < e.length; t++) {+ if (qp(a) && qp(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else em[n] && (this.needsMeasurement = !0);+ else tm[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {let { unresolvedKeyframes: e, name: t } = this, n = [];- for (let t = 0; t < e.length; t++) (e[t] === null || Qh(e[t])) && n.push(t);- n.length && eg(e, n, t);+ for (let t = 0; t < e.length; t++) (e[t] === null || $h(e[t])) && n.push(t);+ n.length && tg(e, n, t);}measure() {let { element: e, name: t } = this;- return em[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return tm[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;@@ -16624,19 +16624,19 @@ var tg = class extends lm {e.getValue(t).set(n);}), this.resolveNoneKeyframes();}-}, ng = [+}, rg = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"-], rg = /* @__PURE__ */ new Set([+], ig = /* @__PURE__ */ new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",- ...ng,+ ...rg,"width","maxWidth","height",@@ -16680,20 +16680,20 @@ var tg = class extends lm {]);// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjsfunction eee(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && rg.has(t) && (e[n] = e[n] + "px");+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && ig.has(t) && (e[n] = e[n] + "px");}// node_modules/motion-dom/dist/es/animation/animate/effects.mjs-var ig = [];+var ag = [];function tee(e) {- typeof e.test == "function" && e.read, ag(e), ig.unshift(e);+ typeof e.test == "function" && e.read, og(e), ag.unshift(e);}-function ag(e) {- Tu(ig, e);+function og(e) {+ Eu(ag, e);}function nee(e) {- return ig.find((t) => t.test(e));+ return ag.find((t) => t.test(e));}-function og(e, t, n = {}, r) {+function sg(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) {@@ -16701,19 +16701,19 @@ function og(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 ? Of.update(() => l.set(c)) : (l.start(Th(o, l, c, s && Nh.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? kf.update(() => l.set(c)) : (l.start(Eh(o, l, c, s && Ph.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: c } = t;if (c) {- let t = () => Of.update(() => {+ let t = () => kf.update(() => {for (let t in c) e(t).set(c[t]);});i.length ? Promise.all(i).then(t) : t();}return i;}-function sg(e, t, n, r, i) {- return og((r) => {+function cg(e, t, n, r, i) {+ return sg((r) => {let a = e.get(t, r);if (!a) {let o;@@ -16721,7 +16721,7 @@ function sg(e, t, n, r, i) {let i = n[r];o = ree(i) ?? e.read(t, r, i), `${r}`;}- a = hh(o, { owner: i }), e(t, { [r]: a });+ a = gh(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);@@ -16731,32 +16731,32 @@ function ree(e) {return t === null ? void 0 : t;}// node_modules/motion-dom/dist/es/utils/is-html-element.mjs-function cg(e) {- return ku(e) && "offsetHeight" in e && !("ownerSVGElement" in e);+function lg(e) {+ return Au(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs-function lg(e) {- return ku(e) && "ownerSVGElement" in e;+function ug(e) {+ return Au(e) && "ownerSVGElement" in e;}// node_modules/motion-dom/dist/es/scope/active.mjs-var ug = {};-function dg(e) {- return ug.current?.add(e), e;+var dg = {};+function fg(e) {+ return dg.current?.add(e), e;}-var fg = (e) => ug.current ? ug.current.bind(e) : e;+var pg = (e) => dg.current ? dg.current.bind(e) : e;// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function pg(e, t, n) {+function mg(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {- let r = t ? t.current : ug.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);+ let r = t ? t.current : dg.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 iee = class {- constructor(e = Of.render) {+ constructor(e = kf.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;@@ -16799,7 +16799,7 @@ var iee = class {}};// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs-function mg(e, { step: t, ...n } = {}) {+function hg(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {let a = r.get(n) ?? new iee(t);@@ -16819,65 +16819,65 @@ function mg(e, { step: t, ...n } = {}) {});}// node_modules/motion-dom/dist/es/effects/style/transform.mjs-var hg = {};+var gg = {};function aee(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 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (hg[i] || (hg[i] = (Rm[i] || i) + "(")) + Lm(a, Tp[i]) + ")");+ a !== void 0 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (gg[i] || (gg[i] = (zm[i] || i) + "(")) + Rm(a, Ep[i]) + ")");}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + "rotate(" + Lm(i, Tp.pathRotation) + ")"), t || "none";+ return i && (t += (t && " ") + "rotate(" + Rm(i, Ep.pathRotation) + ")"), t || "none";}// node_modules/motion-dom/dist/es/effects/style/index.mjs-var gg = /* @__PURE__ */ new Set([+var _g = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), _g = (e, t) => Lm(e.get(t)?.get(), Ep[t]), vg = (e, t, n, r) => {+]), vg = (e, t) => Rm(e.get(t)?.get(), Dp[t]), yg = (e, t, n, r) => {let i, a;- if (Gp.has(n)) {+ if (Kp.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => Wp.indexOf(e) - Wp.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => Gp.indexOf(e) - Gp.indexOf(t)));}- t.get("transform") || (!cg(e) && !t.get("transformBox") && vg(e, t, "transformBox", new mh("fill-box")), t.set("transform", new mh("none"), () => {- Vm.get(e)?.check(), e.style.transform = aee(t);+ t.get("transform") || (!lg(e) && !t.get("transformBox") && yg(e, t, "transformBox", new hh("fill-box")), t.set("transform", new hh("none"), () => {+ Hm.get(e)?.check(), e.style.transform = aee(t);})), a = t.get("transform");- } else gg.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new mh(""), () => {- let n = _g(t, "originX") ?? "50%", r = _g(t, "originY") ?? "50%", i = _g(t, "originZ") ?? 0;+ } else _g.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new hh(""), () => {+ let n = vg(t, "originX") ?? "50%", r = vg(t, "originY") ?? "50%", i = vg(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = um(n) ? () => {+ }), a = t.get("transformOrigin")) : i = dm(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = Lm(r.getCurrent(), Ep[n]);+ e.style[n] = Rm(r.getCurrent(), Dp[n]);};return t.set(n, r, i, a);-}, oee = (e) => cg(e) || lg(e), yg = (e, t) => {- if (Gp.has(t)) return Hp(e, t);- let n = getComputedStyle(e), r = um(t) ? n.getPropertyValue(t) : n[t];+}, oee = (e) => lg(e) || ug(e), bg = (e, t) => {+ if (Kp.has(t)) return Up(e, t);+ let n = getComputedStyle(e), r = dm(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, see = /*@__PURE__*/ mg(vg, {+}, see = /*@__PURE__*/ hg(yg, {test: oee,- read: yg+ read: bg});// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function bg(e) {+function xg(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function xg(e, t, n) {+function Sg(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 (Gp.has(e)) o = !0;- else if (fd(e)) i[e] = n;+ if (Kp.has(e)) o = !0;+ else if (pd(e)) i[e] = n;else {- let t = Lm(n, Ep[e]);+ let t = Rm(n, Dp[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}- if (t.transform || (o || n ? r.transform = Bm(t, e.transform, n) : r.transform &&= "none"), s) {+ if (t.transform || (o || n ? r.transform = Vm(t, e.transform, n) : r.transform &&= "none"), s) {let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;r.transformOrigin = `${e} ${t} ${n}`;}@@ -16896,7 +16896,7 @@ function uee(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 Sg = [+var Cg = ["transform","opacity","clipPath",@@ -16906,46 +16906,46 @@ var Sg = ["offsetRotate","offsetAnchor"];-function Cg(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (xg(e, s, l), c) {+function wg(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (Sg(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 Sg) d[e] !== void 0 && (f[e] = d[e], delete d[e]);+ for (let e of Cg) 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 && uee(d, i, a, o, !1);}// node_modules/motion-dom/dist/es/effects/attr/index.mjs-function wg(e, t) {+function dee(e, t) {if (!(t in e)) return !1;let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}var Tg = (e, t, n, r, i = n) => {- let a = wg(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = bg(i));- let o = Ep[n] || Ep[i], s = a ? () => {- e[i] = Lm(r.get(), Ep[n]);+ let a = dee(e, i);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = xg(i));+ let o = Dp[n] || Dp[i], s = a ? () => {+ e[i] = Rm(r.get(), Dp[n]);} : () => {- let t = Lm(r.get(), o);+ let t = Rm(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 Eg(e, t, n, r) {- return Of.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {+ return kf.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 mh("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new hh("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 Dg = /*@__PURE__*/ mg((e, t, n, r) => n.startsWith("path") && !Gp.has(n) ? Eg(e, t, n, r) : n.startsWith("attr") ? Tg(e, t, n, r, Og(n)) : (Gp.has(n) || gg.has(n) || um(n) || n in e.style ? vg : Tg)(e, t, n, r), {- test: lg,- read: (e, t) => Gp.has(t) ? Ep[t]?.default || 0 : um(t) || Sg.includes(t) ? yg(e, t) || e.getAttribute(bg(t)) || 0 : (t = Og(t), e.getAttribute(bg(t)) ?? e.getAttribute(t) ?? void 0)+var Dg = /*@__PURE__*/ hg((e, t, n, r) => n.startsWith("path") && !Kp.has(n) ? Eg(e, t, n, r) : n.startsWith("attr") ? Tg(e, t, n, r, Og(n)) : (Kp.has(n) || _g.has(n) || dm(n) || n in e.style ? yg : Tg)(e, t, n, r), {+ test: ug,+ read: (e, t) => Kp.has(t) ? Dp[t]?.default || 0 : dm(t) || Cg.includes(t) ? bg(e, t) || e.getAttribute(xg(t)) || 0 : (t = Og(t), e.getAttribute(xg(t)) ?? e.getAttribute(t) ?? void 0)});function Og(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());@@ -17017,7 +17017,7 @@ function Bg(e, { x: t, y: n }) {zg(e.x, t.translate, t.scale, t.originPoint), zg(e.y, n.translate, n.scale, n.originPoint);}var Vg = .999999999999, Hg = 1.0000000000001;-function dee(e, t, n, r = !1) {+function fee(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;@@ -17033,7 +17033,7 @@ function Ug(e, t) {e.min += t, e.max += t;}function Wg(e, t, n, r, i = .5) {- zg(e, t, n, sf(e.min, e.max, i), r);+ zg(e, t, n, cf(e.min, e.max, i), r);}function Gg(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;@@ -17046,14 +17046,14 @@ function Kg(e, t, n) {function qg(e, t) {return kg(jg(e.getBoundingClientRect(), t));}-function fee(e, t, n) {+function pee(e, t, n) {let r = qg(e, n), { scroll: i } = t;return i && (Ug(r.x, i.offset.x), Ug(r.y, i.offset.y)), r;}// node_modules/motion-dom/dist/es/animation/animate/element.mjs-var pee = {}, mee = (e) => lg(e) ? Dg : see, hee = class {+var mee = {}, hee = (e) => ug(e) ? Dg : see, gee = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = tg;+ this.effect = e, this.current = t, this.KeyframeResolver = ng;}getValue(e) {return this.effect.get(this.current, e);@@ -17068,28 +17068,28 @@ var pee = {}, mee = (e) => lg(e) ? Dg : see, hee = class {return qg(this.current);}getProps() {- return pee;+ return mee;}};-function gee(e, t, n, r) {- if (ug.current?.track(e), r) return og((e) => r.getValue(e, null), t, n, r);- let i = mee(e);- return sg(i, e, t, n, new hee(i, e));+function _ee(e, t, n, r) {+ if (dg.current?.track(e), r) return sg((e) => r.getValue(e, null), t, n, r);+ let i = hee(e);+ return cg(i, e, t, n, new gee(i, e));}// node_modules/motion-dom/dist/es/effects/prop/index.mjs-var _ee = /*@__PURE__*/ mg((e, t, n, r) => t.set(n, r, () => {+var vee = /*@__PURE__*/ hg((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {- test: (e) => ku(e),+ test: (e) => Au(e),read: (e, t) => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: Jg, cancel: vee } = /* @__PURE__ */ Df(queueMicrotask, !1);+}), { schedule: Jg, cancel: yee } = /* @__PURE__ */ Of(queueMicrotask, !1);// node_modules/motion-dom/dist/es/animation/animate/single-value.mjsfunction Yg(e, t, n) {- let r = Rh(e) ? e : hh(e);- return r.start(Th("", r, t, n)), r.animation;+ let r = zh(e) ? e : gh(e);+ return r.start(Eh("", r, t, n)), r.animation;}// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjsvar Xg = {}, Zg = {@@ -17097,49 +17097,49 @@ var Xg = {}, Zg = {addProjectionMetrics: null};// node_modules/motion-dom/dist/es/utils/delay.mjs-function yee(e, t) {- let n = ld.now();- e = fg(e);+function bee(e, t) {+ let n = ud.now();+ e = pg(e);let r = ({ timestamp: i }) => {let a = i - n;- a >= t && (kf(r), e(a - t));+ a >= t && (Af(r), e(a - t));};- return Of.setup(r, !0), dg(() => kf(r));+ return kf.setup(r, !0), fg(() => Af(r));}// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs-function bee(e) {- return lg(e) && e.tagName === "svg";+function xee(e) {+ return ug(e) && e.tagName === "svg";}// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjsfunction Qg(e) {- return Rh(e) ? e.get() : e;+ return zh(e) ? e.get() : e;}// node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var $g = (e) => typeof e == "number" ? e : parseFloat(e), xee = ng.length, e_ = [+var $g = (e) => typeof e == "number" ? e : parseFloat(e), See = rg.length, e_ = ["rotate","rotateX","rotateY","rotateZ","skewX","skewY"-], See = e_.length, t_ = (e) => typeof e == "number" || W.test(e);-function Cee(e, t, n, r, i, a) {- i ? (e.opacity = sf(0, n.opacity ?? 1, wee(r)), e.opacityExit = sf(t.opacity ?? 1, 0, Tee(r))) : a && (e.opacity = sf(t.opacity ?? 1, n.opacity ?? 1, r));- for (let i = 0; i < xee; i++) {- let a = ng[i], o = n_(t, a), s = n_(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || t_(o) === t_(s) ? (e[a] = Math.max(sf($g(o), $g(s), r), 0), (Md.test(s) || Md.test(o)) && (e[a] += "%")) : e[a] = s);- }+], Cee = e_.length, t_ = (e) => typeof e == "number" || U.test(e);+function wee(e, t, n, r, i, a) {+ i ? (e.opacity = cf(0, n.opacity ?? 1, Tee(r)), e.opacityExit = cf(t.opacity ?? 1, 0, Eee(r))) : a && (e.opacity = cf(t.opacity ?? 1, n.opacity ?? 1, r));for (let i = 0; i < See; i++) {+ let a = rg[i], o = n_(t, a), s = n_(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || t_(o) === t_(s) ? (e[a] = Math.max(cf($g(o), $g(s), r), 0), (Nd.test(s) || Nd.test(o)) && (e[a] += "%")) : e[a] = s);+ }+ for (let i = 0; i < Cee; i++) {let a = e_[i];- (t[a] || n[a]) && (e[a] = sf(t[a] || 0, n[a] || 0, r));+ (t[a] || n[a]) && (e[a] = cf(t[a] || 0, n[a] || 0, r));}}function n_(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var wee = /*@__PURE__*/ r_(0, .5, Yu), Tee = /*@__PURE__*/ r_(.5, .95, Mu);+var Tee = /*@__PURE__*/ r_(0, .5, Xu), Eee = /*@__PURE__*/ r_(.5, .95, Nu);function r_(e, t, n) {- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Pu(e, t, r));+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Fu(e, t, r));}// node_modules/motion-dom/dist/es/projection/geometry/copy.mjsfunction i_(e, t) {@@ -17152,27 +17152,27 @@ function o_(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.mjs-var Eee = .9999, Dee = 1.0001, Oee = -.01, kee = .01;+var Dee = .9999, Oee = 1.0001, kee = -.01, Aee = .01;function s_(e) {return e.max - e.min;}-function Aee(e, t, n) {+function jee(e, t, n) {return Math.abs(e - t) <= n;}function c_(e, t, n, r = .5) {- e.origin = r, e.originPoint = sf(t.min, t.max, e.origin), e.scale = s_(n) / s_(t), e.translate = sf(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Eee && e.scale <= Dee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Oee && e.translate <= kee || isNaN(e.translate)) && (e.translate = 0);+ e.origin = r, e.originPoint = cf(t.min, t.max, e.origin), e.scale = s_(n) / s_(t), e.translate = cf(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Dee && e.scale <= Oee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= kee && e.translate <= Aee || isNaN(e.translate)) && (e.translate = 0);}function l_(e, t, n, r) {c_(e.x, t.x, n.x, r ? r.originX : void 0), c_(e.y, t.y, n.y, r ? r.originY : void 0);}function u_(e, t, n, r = 0) {- e.min = (r ? sf(n.min, n.max, r) : n.min) + t.min, e.max = e.min + s_(t);+ e.min = (r ? cf(n.min, n.max, r) : n.min) + t.min, e.max = e.min + s_(t);}-function jee(e, t, n, r) {+function Mee(e, t, n, r) {u_(e.x, t.x, n.x, r?.x), u_(e.y, t.y, n.y, r?.y);}function d_(e, t, n, r = 0) {- let i = r ? sf(n.min, n.max, r) : n.min;+ let i = r ? cf(n.min, n.max, r) : n.min;e.min = t.min - i, e.max = e.min + s_(t);}function f_(e, t, n, r) {@@ -17182,25 +17182,25 @@ function f_(e, t, n, r) {function p_(e, t, n, r, i) {return e -= t, e = Lg(e, 1 / n, r), i !== void 0 && (e = Lg(e, 1 / i, r)), e;}-function Mee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {- if (Md.test(t) && (t = parseFloat(t), t = sf(o.min, o.max, t / 100) - o.min), typeof t != "number") return;- let s = sf(a.min, a.max, r);+function Nee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+ if (Nd.test(t) && (t = parseFloat(t), t = cf(o.min, o.max, t / 100) - o.min), typeof t != "number") return;+ let s = cf(a.min, a.max, r);e === a && (s -= t), e.min = p_(e.min, t, n, s, i), e.max = p_(e.max, t, n, s, i);}function m_(e, t, [n, r, i], a, o) {- Mee(e, t[n], t[r], t[i], t.scale, a, o);+ Nee(e, t[n], t[r], t[i], t.scale, a, o);}-var Nee = [+var Pee = ["x","scaleX","originX"-], Pee = [+], Fee = ["y","scaleY","originY"];function h_(e, t, n, r) {- m_(e.x, t, Nee, n ? n.x : void 0, r ? r.x : void 0), m_(e.y, t, Pee, n ? n.y : void 0, r ? r.y : void 0);+ m_(e.x, t, Pee, n ? n.x : void 0, r ? r.x : void 0), m_(e.y, t, Fee, n ? n.y : void 0, r ? r.y : void 0);}// node_modules/motion-dom/dist/es/projection/geometry/models.mjsvar g_ = () => ({@@ -17228,7 +17228,7 @@ function x_(e) {function S_(e, t) {return e.min === t.min && e.max === t.max;}-function Fee(e, t) {+function Iee(e, t) {return S_(e.x, t.x) && S_(e.y, t.y);}function C_(e, t) {@@ -17244,22 +17244,22 @@ function E_(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-var Iee = class {+var Lee = class {constructor() {this.members = [];}add(e) {- wu(this.members, e);+ Tu(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 || (Tu(this.members, n), n.unmount());+ r && r.isConnected !== !1 || n.snapshot || (Eu(this.members, n), n.unmount());}e.scheduleRender();}remove(e) {- if (Tu(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {+ if (Eu(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);}@@ -17298,27 +17298,27 @@ function D_(e, t) {var O_ = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {- if (W.test(e)) e = parseFloat(e);+ if (U.test(e)) e = parseFloat(e);else return e;}return `${D_(e, t.target.x)}% ${D_(e, t.target.y)}%`;-} }, Lee = {- borderRadius: /* @__PURE__ */ Object.assign({}, O_, { applyTo: /* @__PURE__ */ ng.slice() }),+} }, Ree = {+ borderRadius: /* @__PURE__ */ Object.assign({}, O_, { applyTo: /* @__PURE__ */ rg.slice() }),borderTopLeftRadius: O_,borderTopRightRadius: O_,borderBottomLeftRadius: O_,borderBottomRightRadius: O_,boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {- let r = e, i = nf.parse(e);+ let r = e, i = rf.parse(e);if (i.length > 5) return r;- let a = nf.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;+ let a = rf.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 = sf(s, c, .5);+ let l = cf(s, c, .5);return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);} }};// node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function Ree(e, t, n) {+function zee(e, t, n) {let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;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, rotate: t, pathRotation: i, rotateX: a, rotateY: o, rotateZ: s, skewX: c, skewY: l } = n;@@ -17332,18 +17332,18 @@ function k_(e) {return [e("x"), e("y")];}// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var zee = (e, t) => e.depth - t.depth, Bee = class {+var Bee = (e, t) => e.depth - t.depth, Vee = class {constructor() {this.children = [], this.isDirty = !1;}add(e) {- wu(this.children, e), this.isDirty = !0;+ Tu(this.children, e), this.isDirty = !0;}remove(e) {- Tu(this.children, e), this.isDirty = !0;+ Eu(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(zee), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(Bee), this.isDirty = !1, this.children.forEach(e);}}, A_ = {hasAnimatedSinceResize: !0,@@ -17357,31 +17357,31 @@ var zee = (e, t) => e.depth - t.depth, Bee = class {"X","Y","Z"-], Vee = 1e3, Hee = 0;+], Hee = 1e3, Uee = 0;function N_(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var P_ = ({ instance: e }) => e && Vm.get(e)?.demote();+var P_ = ({ instance: e }) => e && Hm.get(e)?.demote();function F_(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = Hh(t);+ let n = Uh(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;- window.MotionCancelOptimisedAnimation(n, "transform", Of, !(t || r));+ window.MotionCancelOptimisedAnimation(n, "transform", kf, !(t || r));}let { parent: r } = e;r && !r.hasCheckedOptimisedAppear && F_(r);}function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {return Object.assign(Xg, {- ...Lee,+ ...Ree,...Xg}), class {constructor(e = {}, n = t?.()) {- this.id = Hee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {+ this.id = Uee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {x: 1,y: 1}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {@@ -17390,10 +17390,10 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.projectionUpdateScheduled = !1, Zg.value && (j_.nodes = j_.calculatedTargetDeltas = j_.calculatedProjections = 0), this.nodes.forEach(R_), this.nodes.forEach(Y_), this.nodes.forEach(X_), this.nodes.forEach(z_), Zg.addProjectionMetrics && Zg.addProjectionMetrics(j_);}, 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 Bee());+ this.root === this && (this.nodes = new Vee());}addEventListener(e, t) {- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Fu()), this.eventHandlers.get(e).add(t);+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Iu()), this.eventHandlers.get(e).add(t);}notifyListeners(e, ...t) {let n = this.eventHandlers.get(e);@@ -17404,15 +17404,15 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}mount(t) {if (this.instance) return;- this.isSVG = lg(t) && !bee(t), this.instance = t;+ this.isSVG = ug(t) && !xee(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 && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {let n, r = 0, i = () => this.root.updateBlockedByResize = !1;- Of.read(() => {+ kf.read(() => {r = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = yee(i, 250), A_.hasAnimatedSinceResize && (A_.hasAnimatedSinceResize = !1, this.nodes.forEach(J_)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = bee(i, 250), A_.hasAnimatedSinceResize && (A_.hasAnimatedSinceResize = !1, this.nodes.forEach(J_)));});}n && this.root.registerSharedNode(n, this), this.addLayoutListener();@@ -17428,7 +17428,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ..._h(a, "layout"),+ ...vh(a, "layout"),onPlay: o,onComplete: s};@@ -17440,7 +17440,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkunmount() {this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);let e = this.getStack();- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, kf(this.updateProjection);+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, Af(this.updateProjection);}blockUpdate() {this.updateManuallyBlocked = !0;@@ -17484,9 +17484,9 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.nodes.forEach(U_);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(G_), this.nodes.forEach(K_), this.nodes.forEach(q_), this.nodes.forEach(Uee), this.nodes.forEach(L_)) : this.nodes.forEach(U_), this.clearAllSnapshots();- let e = ld.now();- od.delta = Eu(0, 1e3 / 60, e - od.timestamp), od.timestamp = e, od.isProcessing = !0, Af.update.process(od), Af.preRender.process(od), Af.render.process(od), od.isProcessing = !1;+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(G_), this.nodes.forEach(K_), this.nodes.forEach(q_), this.nodes.forEach(Wee), this.nodes.forEach(L_)) : this.nodes.forEach(U_), this.clearAllSnapshots();+ let e = ud.now();+ sd.delta = Du(0, 1e3 / 60, e - sd.timestamp), sd.timestamp = e, sd.isProcessing = !0, jf.update.process(sd), jf.preRender.process(sd), jf.render.process(sd), sd.isProcessing = !1;}didUpdate() {this.updateScheduled || (this.updateScheduled = !0, Jg.read(this.scheduleUpdate));@@ -17495,10 +17495,10 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.nodes.forEach(B_), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));}scheduleUpdateProjection() {- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Of.preRender(this.updateProjection, !1, !0));+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, kf.preRender(this.updateProjection, !1, !0));}scheduleCheckAfterUnmount() {- Of.postRender(() => {+ kf.postRender(() => {this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});}@@ -17535,7 +17535,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), Wee(n), {+ return e && (n = this.removeTransform(n)), Gee(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -17547,7 +17547,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet { visualElement: e } = this.options;if (!e) return y_();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(Gee))) {+ if (!(this.scroll?.wasRoot || this.path.some(Kee))) {let { scroll: e } = this.root;e && (Ug(t.x, e.offset.x), Ug(t.y, e.offset.y));}@@ -17596,7 +17596,7 @@ function I_({ 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 !== od.timestamp && this.relativeParent.resolveTargetDelta(!0);+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== sd.timestamp && this.relativeParent.resolveTargetDelta(!0);}resolveTargetDelta(e = !1) {let t = this.getLead();@@ -17605,9 +17605,9 @@ function I_({ 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 = od.timestamp;+ this.resolvedRelativeTargetAt = sd.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 = y_(), this.targetWithTransforms = y_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), jee(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) : a_(this.target, this.layout.layoutBox), Bg(this.target, this.targetDelta)) : a_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Zg.value && j_.calculatedTargetDeltas++);+ !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 = y_(), this.targetWithTransforms = y_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Mee(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) : a_(this.target, this.layout.layoutBox), Bg(this.target, this.targetDelta)) : a_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Zg.value && j_.calculatedTargetDeltas++);}getClosestProjectingParent() {if (!(!this.parent || Ng(this.parent.latestValues) || Fg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();@@ -17623,12 +17623,12 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}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 === od.timestamp && (n = !1), n) return;+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === sd.timestamp && (n = !1), n) return;let { layout: r, layoutId: i } = this.options;if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;a_(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- dee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = y_());+ fee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = y_());let { target: s } = e;s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (o_(this.prevProjectionDelta.x, this.projectionDelta.x), o_(this.prevProjectionDelta.y, this.projectionDelta.y)), l_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && E_(this.projectionDelta.x, this.prevProjectionDelta.x) && E_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Zg.value && j_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}@@ -17656,12 +17656,12 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- r ? (o.x.translate = r.x, o.x.scale = sf(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = sf(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (Q_(o.x, e.x, n), Q_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (f_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ev(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Fee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= y_(), a_(f, this.relativeTarget)), c && (this.animationValues = a, Cee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ r ? (o.x.translate = r.x, o.x.scale = cf(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = cf(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (Q_(o.x, e.x, n), Q_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (f_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ev(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Iee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= y_(), a_(f, this.relativeTarget)), c && (this.animationValues = a, wee(a, i, this.latestValues, n, d, u)), r && 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 &&= (kf(this.pendingAnimation), void 0), this.pendingAnimation = Of.update(() => {- A_.hasAnimatedSinceResize = !0, this.motionValue ||= hh(0), this.motionValue.jump(0, !1), this.currentAnimation = Yg(this.motionValue, [0, 1e3], {+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (Af(this.pendingAnimation), void 0), this.pendingAnimation = kf.update(() => {+ A_.hasAnimatedSinceResize = !0, this.motionValue ||= gh(0), this.motionValue.jump(0, !1), this.currentAnimation = Yg(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -17671,7 +17671,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: () => {e.onComplete && e.onComplete(), this.completeAnimation();}- }), mp(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ }), hp(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;});}completeAnimation() {@@ -17680,7 +17680,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");}finishAnimation() {- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Vee), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Hee), this.currentAnimation.stop()), this.completeAnimation();}applyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;@@ -17696,7 +17696,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Iee()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Lee()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n ? n.transition : void 0,@@ -17758,7 +17758,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke.visibility = "";let i = r.animationValues || r.latestValues;this.applyTransformsToTarget();- let a = Ree(this.projectionDeltaWithTransform, this.treeScale, i);+ let a = zee(this.projectionDeltaWithTransform, this.treeScale, i);n && (a = n(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;@@ -17780,7 +17780,7 @@ function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}};}-function Uee(e) {+function Wee(e) {e.updateLayout(), W_(e);}function L_(e) {@@ -17876,10 +17876,10 @@ function Z_(e) {e.resetSkewAndRotation();}function Q_(e, t, n) {- e.translate = sf(t.translate, 0, n), e.scale = sf(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;+ e.translate = cf(t.translate, 0, n), e.scale = cf(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}function $_(e, t, n, r) {- e.min = sf(t.min, n.min, r), e.max = sf(t.max, n.max, r);+ e.min = cf(t.min, n.min, r), e.max = cf(t.max, n.max, r);}function ev(e, t, n, r) {$_(e.x, t.x, n.x, r), $_(e.y, t.y, n.y, r);@@ -17895,17 +17895,17 @@ var nv = {.1,1]-}, rv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), iv = rv("applewebkit/") && !rv("chrome/") ? Math.round : Mu;+}, rv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), iv = rv("applewebkit/") && !rv("chrome/") ? Math.round : Nu;function av(e) {e.min = iv(e.min), e.max = iv(e.max);}-function Wee(e) {+function Gee(e) {av(e.x), av(e.y);}function ov(e, t, n) {- return e === "position" || e === "preserve-aspect" && !Aee(T_(t), T_(n), .2);+ return e === "position" || e === "preserve-aspect" && !jee(T_(t), T_(n), .2);}-function Gee(e) {+function Kee(e) {return e !== e.root && e.scroll?.wasRoot;}// node_modules/motion-dom/dist/es/events/add-dom-event.mjs@@ -17913,7 +17913,7 @@ function sv(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 Kee = /* @__PURE__ */ I_({+var qee = /* @__PURE__ */ I_({attachResizeListener: (e, t) => sv(e, "resize", t),measureScroll: () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,@@ -17927,7 +17927,7 @@ var Kee = /* @__PURE__ */ I_({}),defaultParent: () => {if (!cv.current) {- let e = new Kee({});+ let e = new qee({});e.mount(window), e.setOptions({ layoutScroll: !0 }), cv.current = e;}return cv.current;@@ -17965,18 +17965,18 @@ function gv(e) {return !!(hv(e) || e.variants);}// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function qee(e, t, n) {+function Jee(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (Rh(i)) e.addValue(r, i);- else if (Rh(a)) e.addValue(r, hh(i, { owner: e }));+ if (zh(i)) e.addValue(r, i);+ else if (zh(a)) e.addValue(r, gh(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, hh(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, gh(t === void 0 ? i : t, { owner: e }));}}}@@ -17984,9 +17984,9 @@ function qee(e, t, n) {return t;}// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var _v = { current: null }, vv = { current: !1 }, Jee = typeof window < "u";+var _v = { current: null }, vv = { current: !1 }, Yee = typeof window < "u";function yv() {- if (vv.current = !0, Jee) {+ if (vv.current = !0, Yee) {if (window.matchMedia) {let e = window.matchMedia("(prefers-reduced-motion)"), t = () => _v.current = e.matches;e.addEventListener("change", t), t();@@ -18006,26 +18006,26 @@ var bv = [function Sv(e) {xv = e;}-function Yee() {+function Xee() {return xv;}-var Xee = class {+var Zee = 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 = lm, 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 = um, 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 = ld.now();- this.renderScheduledAt < e && (this.renderScheduledAt = e, Of.render(this.render, !1, !0));+ let e = ud.now();+ this.renderScheduledAt < e && (this.renderScheduledAt = e, kf.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 = hv(t), this.isVariantNode = gv(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 && Rh(t) && t.set(c[e]);+ c[e] !== void 0 && zh(t) && t.set(c[e]);}}mount(e) {@@ -18043,7 +18043,7 @@ var Xee = class {this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (vv.current || yv(), this.shouldReduceMotion = _v.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {- this.projection && this.projection.unmount(), kf(this.notifyUpdate), kf(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);+ this.projection && this.projection.unmount(), Af(this.notifyUpdate), Af(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && 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];@@ -18058,24 +18058,24 @@ var Xee = class {this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);}bindToMotionValue(e, t) {- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && jm.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Sm({+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && Mm.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Cm({element: this.current,name: e,keyframes: r,times: i,ease: a,- duration: /* @__PURE__ */ Iu(o)+ duration: /* @__PURE__ */ Lu(o)}), c = n(s);this.valueSubscriptions.set(e, () => {c(), s.cancel();});return;}- let n = Gp.has(e);+ let n = Kp.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && Of.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), Vm.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && kf.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), Hm.get(this.current)?.check()), this.scheduleRender();}), i;typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {r(), i && i();@@ -18110,14 +18110,14 @@ var Xee = class {}update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Vm.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Hm.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;for (let t = 0; t < bv.length; t++) {let n = bv[t];this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));}- this.prevMotionValues = qee(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();+ this.prevMotionValues = Jee(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();}getProps() {return this.props;@@ -18150,17 +18150,17 @@ var Xee = class {getValue(e, t) {if (this.props.values && this.props.values[e]) return this.props.values[e];let n = this.values.get(e);- return n === void 0 && t !== void 0 && (n = hh(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n;+ return n === void 0 && t !== void 0 && (n = gh(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" && (Ou(n) || Au(n)) ? n = parseFloat(n) : typeof n != "number" && !nf.test(n) && nf.test(t) && (n = Ap(e, t)), this.setBaseTarget(e, Rh(n) ? n.get() : n)), Rh(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (ku(n) || ju(n)) ? n = parseFloat(n) : typeof n != "number" && !rf.test(n) && rf.test(t) && (n = jp(e, t)), this.setBaseTarget(e, zh(n) ? n.get() : n)), zh(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;}on(e, t) {- return this.events[e] || (this.events[e] = new Fu()), this.events[e].add(t);+ return this.events[e] || (this.events[e] = new Iu()), this.events[e].add(t);}notify(e, ...t) {this.events[e] && this.events[e].notify(...t);@@ -18168,9 +18168,9 @@ var Xee = class {scheduleRenderMicrotask() {Jg.render(this.render);}-}, Cv = class extends Xee {+}, Cv = class extends Zee {constructor() {- super(...arguments), this.KeyframeResolver = tg;+ super(...arguments), this.KeyframeResolver = ng;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -18185,7 +18185,7 @@ var Xee = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- Rh(e) && (this.childSubscription = e.on("change", (e) => {+ zh(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}@@ -18198,20 +18198,20 @@ function wv(e, { style: t, vars: n }, r, i) {}// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjsfunction Tv(e, { layout: t, layoutId: n }) {- return Gp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Xg[e] || e === "opacity");+ return Kp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Xg[e] || e === "opacity");}// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjsfunction Ev(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (Rh(r[t]) || i && Rh(i[t]) || Tv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (zh(r[t]) || i && zh(i[t]) || Tv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs-function Zee(e) {+function Qee(e) {return window.getComputedStyle(e);}-var Qee = class extends Cv {+var $ee = class extends Cv {constructor() {super(...arguments), this.type = "html", this.renderInstance = wv;}@@ -18219,9 +18219,9 @@ var Qee = class extends Cv {e.style, super.mount(e);}readValueFromInstance(e, t) {- if (Gp.has(t)) return this.projection?.isProjecting ? Bp(t) : Hp(e, t);+ if (Kp.has(t)) return this.projection?.isProjecting ? Vp(t) : Up(e, t);{- let n = Zee(e), r = (fd(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = Qee(e), r = (pd(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}@@ -18229,7 +18229,7 @@ var Qee = class extends Cv {return qg(e, t);}build(e, t, n) {- xg(e, t, n.transformTemplate);+ Sg(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {return Ev(e, t, n);@@ -18242,34 +18242,34 @@ function Ov(e) {y: e.pageY} };}-var $ee = (e) => (t) => Dv(t) && e(t, Ov(t));+var ete = (e) => (t) => Dv(t) && e(t, Ov(t));// node_modules/motion-dom/dist/es/events/add-pointer-event.mjsfunction kv(e, t, n, r) {- return sv(e, t, $ee(n), r);+ return sv(e, t, ete(n), r);}// node_modules/motion-dom/dist/es/resize/handle-element.mjs-var Av = /* @__PURE__ */ new WeakMap(), jv, Mv = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : lg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ete = /*@__PURE__*/ Mv("inline", "width", "offsetWidth"), tte = /*@__PURE__*/ Mv("block", "height", "offsetHeight");-function nte({ target: e, borderBoxSize: t }) {+var Av = /* @__PURE__ */ new WeakMap(), jv, Mv = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : ug(r) && "getBBox" in r ? r.getBBox()[t] : r[n], tte = /*@__PURE__*/ Mv("inline", "width", "offsetWidth"), nte = /*@__PURE__*/ Mv("block", "height", "offsetHeight");+function rte({ target: e, borderBoxSize: t }) {Av.get(e)?.forEach((n) => {n(e, {get width() {- return ete(e, t);+ return tte(e, t);},get height() {- return tte(e, t);+ return nte(e, t);}});});}-function rte(e) {- e.forEach(nte);+function ite(e) {+ e.forEach(rte);}-function ite() {- typeof ResizeObserver < "u" && (jv = new ResizeObserver(rte));+function ate() {+ typeof ResizeObserver < "u" && (jv = new ResizeObserver(ite));}-function ate(e, t) {- jv || ite();- let n = pg(e);+function ote(e, t) {+ jv || ate();+ let n = mg(e);return n.forEach((e) => {let n = Av.get(e);n || (n = /* @__PURE__ */ new Set(), Av.set(e, n)), n.add(t), jv?.observe(e);@@ -18282,7 +18282,7 @@ function ate(e, t) {}// node_modules/motion-dom/dist/es/resize/handle-window.mjsvar Nv = /* @__PURE__ */ new Set(), Pv;-function ote() {+function ste() {Pv = () => {let e = {get width() {@@ -18295,18 +18295,18 @@ function ote() {Nv.forEach((t) => t(e));}, window.addEventListener("resize", Pv);}-function ste(e) {- return Nv.add(e), Pv || ote(), () => {+function cte(e) {+ return Nv.add(e), Pv || ste(), () => {Nv.delete(e), !Nv.size && typeof Pv == "function" && (window.removeEventListener("resize", Pv), Pv = void 0);};}// node_modules/motion-dom/dist/es/resize/index.mjsfunction Fv(e, t) {- return dg(typeof e == "function" ? ste(e) : ate(e, t));+ return fg(typeof e == "function" ? cte(e) : ote(e, t));}// node_modules/motion-dom/dist/es/utils/distance.mjsvar Iv = (e, t) => Math.abs(e - t);-function cte(e, t) {+function lte(e, t) {let n = Iv(e.x, t.x), r = Iv(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}@@ -18320,7 +18320,7 @@ var Lv = /*#__PURE__*/ new Set(["auto", "scroll"]), Rv = class {}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = zv(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = Vv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = cte(e.offset, {+ let e = Vv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = lte(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -18328,12 +18328,12 @@ var Lv = /*#__PURE__*/ new Set(["auto", "scroll"]), Rv = class {let { point: r } = e;this.history.push({...r,- timestamp: ld.now()+ timestamp: ud.now()});let { onStart: i, onMove: a } = this.handlers;t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = zv(t, this.transformPagePoint), this.hasPendingMove = !0, Of.update(this.updatePoint, !0);+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = zv(t, this.transformPagePoint), this.hasPendingMove = !0, kf.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;@@ -18342,7 +18342,7 @@ var Lv = /*#__PURE__*/ new Set(["auto", "scroll"]), Rv = class {this.startEvent && n && n(e, a), r && r(e, a);}, !Dv(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = zv(Ov(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = od;+ let s = zv(Ov(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = sd;this.history = [{...c,timestamp: l@@ -18353,7 +18353,7 @@ var Lv = /*#__PURE__*/ new Set(["auto", "scroll"]), Rv = class {passive: !0,capture: !0};- this.removeListeners = Nu(kv(this.contextWindow, "pointermove", this.handlePointerMove, d), kv(this.contextWindow, "pointerup", this.handlePointerUp, d), kv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);+ this.removeListeners = Pu(kv(this.contextWindow, "pointermove", this.handlePointerMove, d), kv(this.contextWindow, "pointerup", this.handlePointerUp, d), kv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;@@ -18384,13 +18384,13 @@ var Lv = /*#__PURE__*/ new Set(["auto", "scroll"]), Rv = class {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), Of.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), kf.update(this.updatePoint, !0));}updateHandlers(e) {this.handlers = e;}end() {- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), kf(this.updatePoint);+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), Af(this.updatePoint);}};function zv(e, t) {@@ -18406,29 +18406,29 @@ function Vv({ point: e }, t) {return {point: e,delta: Bv(e, Hv(t)),- offset: Bv(e, lte(t)),- velocity: ute(t, .1)+ offset: Bv(e, ute(t)),+ velocity: dte(t, .1)};}-function lte(e) {+function ute(e) {return e[0];}function Hv(e) {return e[e.length - 1];}-function ute(e, t) {+function dte(e, t) {if (e.length < 2) return {x: 0,y: 0};let n = e.length - 1, r = null, i = Hv(e);- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Iu(t)));) n--;+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Lu(t)));) n--;if (!r) return {x: 0,y: 0};- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Iu(t) * 2 && (r = e[1]);- let a = /* @__PURE__ */ Lu(i.timestamp - r.timestamp);+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Lu(t) * 2 && (r = e[1]);+ let a = /* @__PURE__ */ Ru(i.timestamp - r.timestamp);if (a === 0) return {x: 0,y: 0@@ -18440,23 +18440,23 @@ function ute(e, t) {return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;}// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs-var dte = /* @__PURE__ */ new Set([+var fte = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function fte(e) {- return dte.has(e.tagName) || e.isContentEditable === !0;+function pte(e) {+ return fte.has(e.tagName) || e.isContentEditable === !0;}-var pte = /* @__PURE__ */ new Set([+var mte = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function mte(e) {- return pte.has(e.tagName) || e.isContentEditable === !0;+function hte(e) {+ return mte.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjsvar Uv = {@@ -18467,7 +18467,7 @@ function Wv() {return Uv.x || Uv.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function hte(e) {+function gte(e) {return e === "x" || e === "y" ? Uv[e] ? null : (Uv[e] = !0, () => {Uv[e] = !1;}) : Uv.x || Uv.y ? null : (Uv.x = Uv.y = !0, () => {@@ -18475,8 +18475,8 @@ function hte(e) {});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs-function gte(e, { min: t, max: n }, r) {- return t !== void 0 && e < t ? e = r ? sf(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? sf(n, e, r.max) : Math.min(e, n)), e;+function _te(e, { min: t, max: n }, r) {+ return t !== void 0 && e < t ? e = r ? cf(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? cf(n, e, r.max) : Math.min(e, n)), e;}function Gv(e, t, n) {return {@@ -18484,7 +18484,7 @@ function Gv(e, t, n) {max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)};}-function _te(e, { top: t, left: n, bottom: r, right: i }) {+function vte(e, { top: t, left: n, bottom: r, right: i }) {return {x: Gv(e.x, n, i),y: Gv(e.y, t, r)@@ -18497,22 +18497,22 @@ function Kv(e, t) {max: r};}-function vte(e, t) {+function yte(e, t) {return {x: Kv(e.x, t.x),y: Kv(e.y, t.y)};}-function yte(e, t) {+function bte(e, t) {let n = .5, r = s_(e), i = s_(t);- return i > r ? n = /* @__PURE__ */ Pu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Pu(e.min, e.max - i, t.min)), Eu(0, 1, n);+ return i > r ? n = /* @__PURE__ */ Fu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Fu(e.min, e.max - i, t.min)), Du(0, 1, n);}-function bte(e, t) {+function xte(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 qv = .35;-function xte(e = qv) {+function Ste(e = qv) {return e === !1 ? e = 0 : e === !0 && (e = qv), {x: Jv(e, "left", "right"),y: Jv(e, "top", "bottom")@@ -18528,7 +18528,7 @@ function Yv(e, t) {return typeof e == "number" ? e : e[t] || 0;}// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs-var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {+var Cte = /* @__PURE__ */ new WeakMap(), wte = class {constructor(e, t = () => e.getProps()) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,@@ -18542,11 +18542,11 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {t && this.snapToCursor(e), this.stopAnimation();}, a = (e, t) => {let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = hte(n), !this.openDragLock)) return;+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = gte(n), !this.openDragLock)) return;this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), k_((e) => {let t = this.getAxisMotionValue(e).get() || 0;- if (md(t) && (t = Oh(t, this.visualElement.current) || 0), W.test(t)) t = parseFloat(t);- else if (Md.test(t)) {+ if (hd(t) && (t = kh(t, this.visualElement.current) || 0), U.test(t)) t = parseFloat(t);+ else if (Nd.test(t)) {let { projection: n } = this.visualElement;if (n && n.layout) {let r = n.layout.layoutBox[e];@@ -18554,7 +18554,7 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {}}this.originPoint[e] = t;- }), i && Of.update(() => i(e, t), !1, !0), Bh(this.visualElement, "transform");+ }), i && kf.update(() => i(e, t), !1, !0), Vh(this.visualElement, "transform");let { animationState: a } = this.visualElement;a && a.setActive("whileDrag", !0);}, o = (e, t) => {@@ -18563,10 +18563,10 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {if (!n && !this.openDragLock) return;let { offset: o } = t;if (r && this.currentDirection === null) {- if (this.currentDirection = wte(o), this.currentDirection === null) return;+ if (this.currentDirection = Ete(o), this.currentDirection === null) return;i && i(this.currentDirection);}- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && Of.update(() => a(e, t), !1, !0);+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && kf.update(() => a(e, t), !1, !0);}, s = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;}, c = () => {@@ -18596,7 +18596,7 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {let { velocity: o } = i;this.startAnimation(o, n);let { onDragEnd: s } = this.getProps();- s && Of.postRender(() => s(r, i));+ s && kf.postRender(() => s(r, i));}cancel() {this.isDragging = !1;@@ -18610,23 +18610,23 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {}updateAxis(e, t, n) {let { drag: r } = this.getProps();- if (!n || !ey(e, r, this.currentDirection)) return;+ if (!n || !$v(e, r, this.currentDirection)) return;let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];- this.constraints && this.constraints[e] && (a = gte(a, this.constraints[e], this.elastic[e])), i.set(a);+ this.constraints && this.constraints[e] && (a = _te(a, this.constraints[e], this.elastic[e])), i.set(a);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;- Zv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? _te(n.layoutBox, e) : !1, this.elastic = xte(t), r !== this.constraints && !Zv(e) && n && this.constraints && !this.hasMutatedConstraints && k_((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = bte(n.layoutBox[e], this.constraints[e]));+ Xv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? vte(n.layoutBox, e) : !1, this.elastic = Ste(t), r !== this.constraints && !Xv(e) && n && this.constraints && !this.hasMutatedConstraints && k_((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = xte(n.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!Zv(e)) return !1;- let n = Qv(e), { projection: r } = this.visualElement;+ if (!Xv(e)) return !1;+ let n = Zv(e), { projection: r } = this.visualElement;if (!r || !r.layout) return !1;r.root && (r.root.scroll = void 0, r.root.updateScroll());- let i = fee(n, r.root, this.visualElement.getTransformPagePoint()), a = vte(r.layout.layoutBox, i);+ let i = pee(n, r.root, this.visualElement.getTransformPagePoint()), a = yte(r.layout.layoutBox, i);if (t) {let e = t(Ag(a));this.hasMutatedConstraints = !!e, e && (a = kg(e));@@ -18635,7 +18635,7 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {}startAnimation(e, t) {let { drag: n, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = k_((s) => {- if (!ey(s, t || n, this.currentDirection)) return;+ if (!$v(s, t || n, this.currentDirection)) return;let l = c && c[s] || {};(o === !0 || o === s) && (l = {min: 0,@@ -18658,7 +18658,7 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return Bh(this.visualElement, e), n.start(Th(e, n, 0, t, this.visualElement, !1));+ return Vh(this.visualElement, e), n.start(Eh(e, n, 0, t, this.visualElement, !1));}stopAnimation() {k_((e) => this.getAxisMotionValue(e).stop());@@ -18673,15 +18673,15 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();k_((e) => {- if (!ey(e, n, this.currentDirection)) return;+ if (!$v(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];- t.set((t.get() || 0) + i[e] - sf(r, o, .5));+ t.set((t.get() || 0) + i[e] - cf(r, o, .5));});}scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!Zv(t) || !n || !this.constraints) return;+ if (!Xv(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,@@ -18689,7 +18689,7 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {};k_((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = yte({+ i[e] = bte({min: t,max: t}, r[e]);@@ -18697,25 +18697,25 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {let { transformTemplate: a } = this.visualElement.getProps();this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), k_((t) => {let n = this.getAxisMotionValue(t);- if (!ey(t, e, null) || !n.get()) return;+ if (!$v(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];- n.set(sf(r, a, i[t]));+ n.set(cf(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- Ste.set(this.visualElement, this);+ Cte.set(this.visualElement, this);let e = this.visualElement.current, t = kv(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && mte(i);+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && hte(i);n && r && !a && this.start(t);}), n, r = () => {- let { dragConstraints: t } = this.getProps(), r = Zv(t) && Qv(t);- r && (this.constraints = this.resolveRefConstraints(), n ||= Cte(e, r, () => this.scalePositionWithinConstraints()));+ let { dragConstraints: t } = this.getProps(), r = Xv(t) && Zv(t);+ r && (this.constraints = this.resolveRefConstraints(), n ||= Tte(e, r, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), Of.read(r);+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), kf.read(r);let o = sv(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {this.isDragging && t && (k_((t) => {- if (!ey(t, this.getProps().drag, this.currentDirection)) return;+ if (!$v(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());@@ -18737,32 +18737,32 @@ var Ste = /* @__PURE__ */ new WeakMap(), Xv = class {};}};-function Zv(e) {+function Xv(e) {return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);}-var Qv = (e) => "current" in e ? e.current : e;-function $v(e) {+var Zv = (e) => "current" in e ? e.current : e;+function Qv(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Cte(e, t, n) {- let r = Fv(e, $v(n)), i = Fv(t, $v(n));+function Tte(e, t, n) {+ let r = Fv(e, Qv(n)), i = Fv(t, Qv(n));return () => {r(), i();};}-function ey(e, t, n) {+function $v(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function wte(e, t = 10) {+function Ete(e, t = 10) {let n = null;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 ty(e, t) {- let n = pg(e), r = new AbortController();+function ey(e, t) {+ let n = mg(e), r = new AbortController();return [n,{@@ -18770,16 +18770,16 @@ function ty(e, t) {...t,signal: r.signal},- dg(() => r.abort())+ fg(() => r.abort())];}// node_modules/motion-dom/dist/es/gestures/hover.mjs-function Tte(e) {+function Dte(e) {return !(e.pointerType === "touch" || Wv());}-function Ete(e, t, n = {}) {- t = fg(t);- let [r, i, a] = ty(e, n);+function Ote(e, t, n = {}) {+ t = pg(t);+ let [r, i, a] = ey(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -18793,7 +18793,7 @@ function Ete(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!Tte(n)) return;+ if (!Dte(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -18801,71 +18801,71 @@ function Ete(e, t, n = {}) {}), a;}// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var ny = (e, t) => t ? e === t || ny(e, t.parentElement) : !1, ry = /* @__PURE__ */ new WeakSet();+var ty = (e, t) => t ? e === t || ty(e, t.parentElement) : !1, ny = /* @__PURE__ */ new WeakSet();// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function iy(e) {+function ry(e) {return (t) => {t.key === "Enter" && e(t);};}-function ay(e, t) {+function iy(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var Dte = (e, t) => {- let n = !1, r = iy(() => {- ry.has(e) || (n = !0, ay(e, "down"));- }), i = iy(() => {- n && (n = !1, ay(e, "up"));+var kte = (e, t) => {+ let n = !1, r = ry(() => {+ ny.has(e) || (n = !0, iy(e, "down"));+ }), i = ry(() => {+ n && (n = !1, iy(e, "up"));});e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && ay(e, "cancel");+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && iy(e, "cancel");}, {...t,once: !0});};// node_modules/motion-dom/dist/es/gestures/press/index.mjs-function oy(e) {+function ay(e) {return Dv(e) && !Wv();}-var sy = /* @__PURE__ */ new WeakSet();-function Ote(e, t, n = {}) {- t = fg(t);- let [r, i, a] = ty(e, n), o = (e) => {+var oy = /* @__PURE__ */ new WeakSet();+function Ate(e, t, n = {}) {+ t = pg(t);+ let [r, i, a] = ey(e, n), o = (e) => {let r = e.currentTarget;- if (!oy(e) || sy.has(e)) return;- ry.add(r), n.stopPropagation && sy.add(e);+ if (!ay(e) || oy.has(e)) return;+ ny.add(r), n.stopPropagation && oy.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ry.has(r) && ry.delete(r), oy(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ny.has(r) && ny.delete(r), ay(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || ny(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || ty(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), cg(e) && (e.addEventListener("focus", () => Dte(e, i), i), !fte(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), lg(e) && (e.addEventListener("focus", () => kte(e, i), i), !pte(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function cy(e, t) {+function sy(e, t) {let n = window.getComputedStyle(e);- return um(t) ? n.getPropertyValue(t) : n[t];+ return dm(t) ? n.getPropertyValue(t) : n[t];}// node_modules/motion-dom/dist/es/render/Feature.mjs-var ly = class {+var cy = class {constructor(e) {this.isMounted = !1, this.node = e;}update() {}-}, uy = /* @__PURE__ */ new Set([+}, ly = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -18889,58 +18889,58 @@ var ly = class {"startOffset","textLength","lengthAdjust"-]), dy = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), uy = (e) => typeof e == "string" && e.toLowerCase() === "svg";// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function kte(e, t, n, r) {+function jte(e, t, n, r) {wv(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(uy.has(n) ? n : bg(n), t.attrs[n]);+ for (let n in t.attrs) e.setAttribute(ly.has(n) ? n : xg(n), t.attrs[n]);}// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function fy(e, t, n) {+function dy(e, t, n) {let r = Ev(e, t, n);- for (let n in e) if (n !== "children" && (Rh(e[n]) || Rh(t[n]))) {- let t = Wp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+ for (let n in e) if (n !== "children" && (zh(e[n]) || zh(t[n]))) {+ let t = Gp.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 Ate = class extends Cv {+var Mte = class extends Cv {constructor() {super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = y_;}getBaseTargetFromProps(e, t) {- return Gp.has(t) ? super.getBaseTargetFromProps(e, t) ?? Bp(t) : e[t];+ return Kp.has(t) ? super.getBaseTargetFromProps(e, t) ?? Vp(t) : e[t];}getDefaultValue(e) {- return Gp.has(e) ? this.latestValues[e] ?? Bp(e) : void 0;+ return Kp.has(e) ? this.latestValues[e] ?? Vp(e) : void 0;}readValueFromInstance(e, t) {- if (Gp.has(t)) {- let e = Op(t);+ if (Kp.has(t)) {+ let e = kp(t);return e && e.default || 0;}- if (Sg.includes(t)) {+ if (Cg.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = uy.has(t) ? t : bg(t), e.getAttribute(t);+ return t = ly.has(t) ? t : xg(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return fy(e, t, n);+ return dy(e, t, n);}build(e, t, n) {- Cg(e, t, this.isSVGTag, n.transformTemplate, n.style);+ wg(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- kte(e, t, n, r);+ jte(e, t, n, r);}mount(e) {- this.isSVGTag = dy(e.tagName), super.mount(e);+ this.isSVGTag = uy(e.tagName), super.mount(e);}};// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function py(e, t) {+function fy(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -18948,15 +18948,15 @@ function py(e, t) {return !0;}// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var jte = [...pv].reverse();-function Mte(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => qh(e, t, n))), n = my(), r = !0, i = !1;+var Nte = [...pv].reverse();+function Pte(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Jh(e, t, n))), n = py(), r = !0, i = !1;function a(a) {let { props: o, parent: s, manuallyAnimateOnMount: c } = e, l = r || i, u = [], d = /* @__PURE__ */ new Set(), f = {}, p = Infinity, m = e;dom = m.props.inherit !== !1 && m.parent;while (m && !m.isControllingVariants);- if (jte.forEach((t, r) => {+ if (Nte.forEach((t, r) => {let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? fv(g) || g === !1 ? g : void 0 : h, v = fv(_), y = t === a ? i.isActive : null;y === !1 && (p = r);let b = v && h === void 0 && !(l && c);@@ -18968,9 +18968,9 @@ function Mte(e) {};return;}- let x = Nte(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};+ let x = Fte(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};if (y !== !1) for (let n of w) {- let { transition: r, transitionEnd: i, ...a } = jh(e, n, Mh(e, t)) || {};+ let { transition: r, transitionEnd: i, ...a } = Mh(e, n, Nh(e, t)) || {};T = {...T,...a,@@ -18983,7 +18983,7 @@ function Mte(e) {...T}) {if (t in f) continue;- let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !py(n, r) || x : n !== r;+ let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !fy(n, r) || x : n !== r;if (a && n == null) d.add(t);else if (a || n !== void 0 && d.has(t)) {S = !0, d.delete(t) && (C = !0), i.needsAnimating[t] = !0;@@ -18997,8 +18997,8 @@ function Mte(e) {}), S && (!(b && x) || C)) for (let n of w) {let r = { type: t };if (typeof n == "string" && l && c && s?.enteringChildren) {- let t = jh(s, n)?.transition?.delayChildren;- r.delay = uh(s.enteringChildren, e, t);+ let t = Mh(s, n)?.transition?.delayChildren;+ r.delay = dh(s.enteringChildren, e, t);}u.push({animation: n,@@ -19006,12 +19006,12 @@ function Mte(e) {});}}), d.size) {- let { initial: t } = o, n = {}, r = typeof t != "boolean" && jh(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom);+ let { initial: t } = o, n = {}, r = typeof t != "boolean" && Mh(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom);r && r.transition && (n.transition = r.transition), d.forEach((i) => {let a = e.getValue(i);a && (a.liveStyle = !0);let s = r && !Array.isArray(t) ? r[i] : void 0, c = e.getBaseTargetFromProps(o, i);- n[i] = (s === void 0 ? c !== void 0 && !Rh(c) ? c : e.initialValues[i] === void 0 ? e.baseTarget[i] : void 0 : s) ?? null;+ n[i] = (s === void 0 ? c !== void 0 && !zh(c) ? c : e.initialValues[i] === void 0 ? e.baseTarget[i] : void 0 : s) ?? null;}), u.push({ animation: n });}let h = l && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);@@ -19032,14 +19032,14 @@ function Mte(e) {},getState: () => n,reset: () => {- n = my(), i = !0;+ n = py(), i = !0;}};}-function Nte(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !py(t, e) : !1;+function Fte(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !fy(t, e) : !1;}-function my() {+function py() {let e = {};for (let t of pv) e[t] = {isActive: t === "animate",@@ -19050,39 +19050,39 @@ function my() {return e;}// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var hy = /* @__PURE__ */ (0, P.createContext)({+var my = /* @__PURE__ */ (0, P.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function gy(e, t) {+function hy(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Pte(...e) {+function Ite(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = gy(e, t);+ let r = hy(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() : gy(e[t], null);+ typeof n == "function" ? n() : hy(e[t], null);}};};}-function Fte(...e) {- return P.useCallback(Pte(...e), e);+function Lte(...e) {+ return P.useCallback(Ite(...e), e);}// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var Ite = class extends P.Component {+var Rte = class extends P.Component {getSnapshotBeforeUpdate(e) {let t = this.props.getElement();- if (cg(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {- let e = t.offsetParent, n = cg(e) && e.offsetWidth || 0, r = cg(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;+ if (lg(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {+ let e = t.offsetParent, n = lg(e) && e.offsetWidth || 0, r = lg(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;}return null;@@ -19092,7 +19092,7 @@ var Ite = class extends P.Component {return this.props.children;}};-function _y({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {+function zte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {let s = (0, P.useId)(), c = (0, P.useRef)(null), l = (0, P.useRef)({width: 0,height: 0,@@ -19101,7 +19101,7 @@ function _y({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: aright: 0,bottom: 0,direction: "ltr"- }), { nonce: u } = (0, P.useContext)(hy), d = Fte(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current;+ }), { nonce: u } = (0, P.useContext)(my), d = Lte(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current;return (0, P.useInsertionEffect)(() => {let { width: e, height: o, top: c, left: d, right: p, bottom: m, direction: h } = l.current, g = f();if (t || a === !1 || !g || !e || !o) return;@@ -19121,7 +19121,7 @@ function _y({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a`), () => {g.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);};- }, [t]), (0, F.jsx)(Ite, {+ }, [t]), (0, F.jsx)(Rte, {isPresent: t,getElement: f,sizeRef: l,@@ -19130,9 +19130,9 @@ function _y({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a});}// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var vy = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = xu(yy), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);- Su(() => {+var gy = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = Su(_y), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);+ Cu(() => {p.current = n, m.current = r;});let h = !0, g = (0, P.useMemo)(() => (h = !1, {@@ -19157,7 +19157,7 @@ var vy = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i,u.forEach((e, t) => u.set(t, !1));}, [n]), P.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, F.jsx)(_y, {+ }, [n]), e = (0, F.jsx)(zte, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -19165,17 +19165,17 @@ var vy = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i,root: l,popNode: f,children: e- }), (0, F.jsx)(Cu.Provider, {+ }), (0, F.jsx)(wu.Provider, {value: g,children: e});};-function yy() {+function _y() {return /* @__PURE__ */ new Map();}// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function by(e = !0) {- let t = (0, P.useContext)(Cu);+function vy(e = !0) {+ let t = (0, P.useContext)(wu);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, P.useId)();(0, P.useEffect)(() => {@@ -19188,24 +19188,24 @@ function by(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function xy() {- return Lte((0, P.useContext)(Cu));+function yy() {+ return Bte((0, P.useContext)(wu));}-function Lte(e) {+function Bte(e) {return e === null || e.isPresent;}// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var Sy = (e) => e.key || "";-function Cy(e) {+var by = (e) => e.key || "";+function xy(e) {let t = [];return P.Children.forEach(e, (e) => {(0, P.isValidElement)(e) && t.push(e);}), t;}// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var wy = ({ 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] = by(o), f = (0, P.useMemo)(() => Cy(e), [e]), p = o && !u ? [] : f.map(Sy), m = (0, P.useRef)(!0), h = xu(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);- Su(() => {+var Sy = ({ 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] = vy(o), f = (0, P.useMemo)(() => xy(e), [e]), p = o && !u ? [] : f.map(by), m = (0, P.useRef)(!0), h = Su(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);+ Cu(() => {o && !u && !y.length && d?.();}, [u,@@ -19217,10 +19217,10 @@ var wy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence(0, P.useEffect)(() => () => {let e = x.current;x.current = void 0, e?.();- }, [y]), Su(() => {+ }, [y]), Cu(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = Sy(y[e]);+ let t = by(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -19232,15 +19232,15 @@ var wy = ({ 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(Sy(n));+ let r = p.indexOf(by(n));r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;}- return S.every((e) => h.get(Sy(e))) ? e = f : a === "wait" && (e = S), b(Cy(e)), v(f), null;+ return S.every((e) => h.get(by(e))) ? e = f : a === "wait" && (e = S), b(xy(e)), v(f), null;}- let { forceRender: C } = (0, P.useContext)(bu);+ let { forceRender: C } = (0, P.useContext)(xu);return (0, F.jsx)(F.Fragment, { children: y.map((e) => {- let _ = Sy(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, F.jsx)(vy, {+ let _ = by(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, F.jsx)(gy, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -19261,7 +19261,7 @@ var wy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, Ty = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), Ey = {+}, Cy = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), wy = {animation: ["animate","variants",@@ -19298,19 +19298,19 @@ var wy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Dy = !1;-function Rte() {- if (Dy) return;+}, Ty = !1;+function Vte() {+ if (Ty) return;let e = {};- for (let t in Ey) e[t] = { isEnabled: (e) => Ey[t].some((t) => !!e[t]) };- Sv(e), Dy = !0;+ for (let t in wy) e[t] = { isEnabled: (e) => wy[t].some((t) => !!e[t]) };+ Sv(e), Ty = !0;}-function Oy() {- return Rte(), Yee();+function Ey() {+ return Vte(), Xee();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function zte(e) {- let t = Oy();+function Hte(e) {+ let t = Ey();for (let n in e) t[n] = {...t[n],...e[n]@@ -19318,12 +19318,12 @@ function zte(e) {Sv(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function Bte({ children: e, ...t }) {- let n = (0, P.useContext)(hy);+function Ute({ children: e, ...t }) {+ let n = (0, P.useContext)(my);t = {...n,...t- }, t.transition = gh(t.transition, n.transition), t.isStatic = xu(() => t.isStatic);+ }, t.transition = _h(t.transition, n.transition), t.isStatic = Su(() => t.isStatic);let r = (0, P.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -19331,15 +19331,15 @@ function Bte({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, F.jsx)(hy.Provider, {+ return (0, F.jsx)(my.Provider, {value: r,children: e});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var ky = /* @__PURE__ */ (0, P.createContext)({});+var Dy = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function Vte(e, t) {+function Wte(e, t) {if (hv(e)) {let { initial: t, animate: n } = e;return {@@ -19350,58 +19350,58 @@ function Vte(e, t) {return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function Hte(e) {- let { initial: t, animate: n } = Vte(e, (0, P.useContext)(ky));+function Gte(e) {+ let { initial: t, animate: n } = Wte(e, (0, P.useContext)(Dy));return (0, P.useMemo)(() => ({initial: t,animate: n- }), [Ay(t), Ay(n)]);+ }), [Oy(t), Oy(n)]);}-function Ay(e) {+function Oy(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var jy = () => ({+var ky = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function My(e, t, n) {- for (let r in t) !Rh(t[r]) && !Tv(r, n) && (e[r] = t[r]);+function Ay(e, t, n) {+ for (let r in t) !zh(t[r]) && !Tv(r, n) && (e[r] = t[r]);}-function Ute({ transformTemplate: e }, t) {+function Kte({ transformTemplate: e }, t) {return (0, P.useMemo)(() => {- let n = jy();- return xg(n, t, e), Object.assign({}, n.vars, n.style);+ let n = ky();+ return Sg(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function Wte(e, t) {+function qte(e, t) {let n = e.style || {}, r = {};- return My(r, n, e), Object.assign(r, Ute(e, t)), r;+ return Ay(r, n, e), Object.assign(r, Kte(e, t)), r;}-function Gte(e, t) {- let n = {}, r = Wte(e, t);+function Jte(e, t) {+ let n = {}, r = qte(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 Ny = () => ({- ...jy(),+var jy = () => ({+ ...ky(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function Kte(e, t, n, r) {+function Yte(e, t, n, r) {let i = (0, P.useMemo)(() => {- let n = Ny();- return Cg(n, t, dy(r), e.transformTemplate, e.style), {+ let n = jy();+ return wg(n, t, uy(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- return My(t, e.style, e), {+ return Ay(t, e.style, e), {...i,style: {...t,@@ -19412,21 +19412,21 @@ function Kte(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var qte = /* @__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 Py(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || qte.has(e);+var Xte = /* @__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 My(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Xte.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function Jte(e, t) {- return e.startsWith("on") ? !Py(e) : t?.(e) ?? !Py(e);+function Zte(e, t) {+ return e.startsWith("on") ? !My(e) : t?.(e) ?? !My(e);}-function Yte(e, t, n, r) {+function Qte(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || Rh(e[a]) || (Jte(a, r) || n === !0 && Py(a) || !t && !Py(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || zh(e[a]) || (Zte(a, r) || n === !0 && My(a) || !t && !My(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var Xte = [+var $te = ["animate","circle","defs",@@ -19454,29 +19454,29 @@ var Xte = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Fy(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(Xte.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Ny(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!($te.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function Iy(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Fy(e) ? Kte : Gte)(t, r, i, e), l = Yte(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {+function Py(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Ny(e) ? Yte : Jte)(t, r, i, e), l = Qte(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, P.useMemo)(() => Rh(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, P.useMemo)(() => zh(d) ? d.get() : d, [d]);return (0, P.createElement)(e, {...u,children: f});}// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function Ly({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function Fy({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: Ry(n, r, i, e),+ latestValues: Iy(n, r, i, e),renderState: t()};}-function Ry(e, t, n, r) {+function Iy(e, t, n, r) {let i = {}, a = r(e, {});for (let e in a) i[e] = Qg(a[e]);let { initial: o, animate: s } = e, c = hv(e), l = gv(e);@@ -19487,7 +19487,7 @@ function Ry(e, t, n, r) {if (d && typeof d != "boolean" && !dv(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = Ah(e, t[n]);+ let r = jh(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -19504,18 +19504,18 @@ function Ry(e, t, n, r) {}return i;}-var zy = (e) => (t, n) => {- let r = (0, P.useContext)(ky), i = (0, P.useContext)(Cu), a = () => Ly(e, t, r, i);- return n ? a() : xu(a);-}, By = /*@__PURE__*/ zy({+var Ly = (e) => (t, n) => {+ let r = (0, P.useContext)(Dy), i = (0, P.useContext)(wu), a = () => Fy(e, t, r, i);+ return n ? a() : Su(a);+}, Ry = /*@__PURE__*/ Ly({scrapeMotionValuesFromProps: Ev,+ createRenderState: ky+}), zy = /*@__PURE__*/ Ly({+ scrapeMotionValuesFromProps: dy,createRenderState: jy-}), Vy = /*@__PURE__*/ zy({- scrapeMotionValuesFromProps: fy,- createRenderState: Ny-}), Hy = /* @__PURE__ */ Symbol.for("motionComponentSymbol");+}), By = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function Uy(e, t, n) {+function Vy(e, t, n) {let r = (0, P.useRef)(n);(0, P.useInsertionEffect)(() => {r.current = n;@@ -19533,14 +19533,14 @@ function Uy(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Wy = /* @__PURE__ */ (0, P.createContext)({});+var Hy = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/utils/is-ref-object.mjs-function Zte(e) {+function ene(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function Qte(e, t, n, r, i, a) {- let { visualElement: o } = (0, P.useContext)(ky), s = (0, P.useContext)(Ty), c = (0, P.useContext)(Cu), l = (0, P.useContext)(hy), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);+function tne(e, t, n, r, i, a) {+ let { visualElement: o } = (0, P.useContext)(Dy), s = (0, P.useContext)(Cy), c = (0, P.useContext)(wu), l = (0, P.useContext)(my), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -19551,14 +19551,14 @@ function Qte(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, P.useContext)(Wy);- m && !m.projection && i && (m.type === "html" || m.type === "svg") && $te(f.current, n, i, h), (0, P.useInsertionEffect)(() => {+ let m = f.current, h = (0, P.useContext)(Hy);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && nne(f.current, n, i, h), (0, P.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});- let g = n[Vh], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));- return Su(() => {+ let g = n[Hh], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));+ return Cu(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);- }, []), Su(() => {+ }, []), Cu(() => {p.current = !0, m && (window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), _.current && m.animationState && m.animationState.animateChanges());}), (0, P.useEffect)(() => {m && (!_.current && m.animationState && m.animationState.animateChanges(), _.current &&= (queueMicrotask(() => {@@ -19566,12 +19566,12 @@ function Qte(e, t, n, r, i, a) {}), !1), m.enteringChildren = void 0);}), m;}-function $te(e, t, n, r) {- let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t, f = e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Gy(e.parent));+function nne(e, t, n, r) {+ let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t, f = e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Uy(e.parent));f.setOptions({layoutId: i,layout: a,- alwaysMeasureLayout: !!o || s && Zte(s),+ alwaysMeasureLayout: !!o || s && ene(s),visualElement: e,animationType: typeof a == "string" ? a : "both",initialPromotionConfig: r,@@ -19583,50 +19583,50 @@ function $te(e, t, n, r) {let p = f.getStack()?.lead;p && !f.root.isUpdateBlocked() && (p.willUpdate(), p.scheduleCheckAfterUnmount());}-function Gy(e) {- if (e) return e.options.allowProjection === !1 ? Gy(e.parent) : e.projection;+function Uy(e) {+ if (e) return e.options.allowProjection === !1 ? Uy(e.parent) : e.projection;}// node_modules/framer-motion/dist/es/motion/index.mjs-function Ky(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && zte(r);- let a = n ? n === "svg" : Fy(e), o = a ? Vy : By;+function Wy(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && Hte(r);+ let a = n ? n === "svg" : Ny(e), o = a ? zy : Ry;function s(n, s) {- let c, l = ene(n);- xu(() => !!cv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {+ let c, l = rne(n);+ Su(() => !!cv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1});let u = {- ...(0, P.useContext)(hy),+ ...(0, P.useContext)(my),...n,layoutId: l- }, { isStatic: d, isValidProp: f } = u, p = Hte(n), m = o(n, d);+ }, { isStatic: d, isValidProp: f } = u, p = Gte(n), m = o(n, d);if (!d && typeof window < "u") {- tne(u, r);- let t = nne(u);- c = t.MeasureLayout, p.visualElement = Qte(e, m, u, i, t.ProjectionNode, a);+ ine(u, r);+ let t = ane(u);+ c = t.MeasureLayout, p.visualElement = tne(e, m, u, i, t.ProjectionNode, a);}- return (0, F.jsxs)(ky.Provider, {+ return (0, F.jsxs)(Dy.Provider, {value: p,children: [c && p.visualElement ? (0, F.jsx)(c, {visualElement: p.visualElement,...u- }) : null, Iy(e, n, Uy(m, p.visualElement, s), m, d, t, a, f)]+ }) : null, Py(e, n, Vy(m, p.visualElement, s), m, d, t, a, f)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, P.forwardRef)(s);- return c[Hy] = e, c;+ return c[By] = e, c;}-function ene({ layoutId: e }) {- let t = (0, P.useContext)(bu).id;+function rne({ layoutId: e }) {+ let t = (0, P.useContext)(xu).id;return t && e !== void 0 ? t + "-" + e : e;}-function tne(e, t) {- (0, P.useContext)(Ty).strict;+function ine(e, t) {+ (0, P.useContext)(Cy).strict;}-function nne(e) {- let { drag: t, layout: n } = Oy();+function ane(e) {+ let { drag: t, layout: n } = Ey();if (!t && !n) return {};let r = {...t,@@ -19638,15 +19638,15 @@ function nne(e) {};}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function rne(e, t) {- if (typeof Proxy > "u") return Ky;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Ky(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Ky(a, void 0, e, t)), n.get(a)) });+function one(e, t) {+ if (typeof Proxy > "u") return Wy;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Wy(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Wy(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjection: e !== P.Fragment }), ane = class extends ly {+var sne = (e, t) => t.isSVG ?? Ny(e) ? new Mte(t) : new $ee(t, { allowProjection: e !== P.Fragment }), cne = class extends cy {constructor(e) {- super(e), e.animationState ||= Mte(e);+ super(e), e.animationState ||= Pte(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();@@ -19662,11 +19662,11 @@ var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, one = 0, sne = {- animation: { Feature: ane },- exit: { Feature: class extends ly {+}, lne = 0, une = {+ animation: { Feature: cne },+ exit: { Feature: class extends cy {constructor() {- super(...arguments), this.id = one++;+ super(...arguments), this.id = lne++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -19677,7 +19677,7 @@ var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjectionif (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = jh(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = Mh(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();@@ -19696,13 +19696,13 @@ var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjection}unmount() {}} }-}, cne = class extends ly {+}, dne = class extends cy {constructor(e) {- super(e), this.removeGroupControls = Mu, this.removeListeners = Mu, this.controls = new Xv(e);+ super(e), this.removeGroupControls = Nu, this.removeListeners = Nu, this.controls = new wte(e);}mount() {let { dragControls: e } = this.node.getProps();- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Mu;+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Nu;}update() {let { dragControls: e, drag: t } = this.node.getProps(), { dragControls: n, drag: r } = this.node.prevProps || {};@@ -19711,26 +19711,26 @@ var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjectionunmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, lne = ({ current: e }) => e ? e.ownerDocument.defaultView : null, qy = (e) => (t, n) => {- e && Of.update(() => e(t, n), !1, !0);-}, une = class extends ly {+}, fne = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Gy = (e) => (t, n) => {+ e && kf.update(() => e(t, n), !1, !0);+}, pne = class extends cy {constructor() {- super(...arguments), this.removePointerDownListener = Mu;+ super(...arguments), this.removePointerDownListener = Nu;}onPointerDown(e) {this.session = new Rv(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),- contextWindow: lne(this.node)+ contextWindow: fne(this.node)});}createPanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: qy(e),- onStart: qy(t),- onMove: qy(n),+ onSessionStart: Gy(e),+ onStart: Gy(t),+ onMove: Gy(n),onEnd: (e, t) => {- delete this.session, r && Of.postRender(() => r(e, t));+ delete this.session, r && kf.postRender(() => r(e, t));}};}@@ -19743,18 +19743,18 @@ var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjectionunmount() {this.removePointerDownListener(), this.session && this.session.end();}-}, Jy = !1, Yy = ({ layout: e, layoutDependency: t }) => ({+}, Ky = !1, qy = ({ layout: e, layoutDependency: t }) => ({layout: e,layoutDependency: t,animationType: typeof e == "string" ? e : "both"-}), dne = class extends P.Component {+}), mne = class extends P.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Jy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Ky && i.root.didUpdate(), i.addEventListener("animationComplete", () => {this.safeToRemove();}), i.setOptions({...i.options,- ...Yy(this.props),+ ...qy(this.props),onExitComplete: () => this.safeToRemove()})), A_.hasEverUpdated = !0;}@@ -19762,8 +19762,8 @@ var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjectionlet { layout: t, layoutDependency: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;return o && (o.isPresent = a, (e.layoutDependency !== n || e.layout !== t) && o.setOptions({...o.options,- ...Yy(this.props)- }), Jy = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Of.postRender(() => {+ ...qy(this.props)+ }), Ky = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || kf.postRender(() => {let e = o.getStack();e && e.members.length || this.safeToRemove();}))), null;@@ -19776,7 +19776,7 @@ var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjection}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- Jy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ Ky = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));}safeToRemove() {let { safeToRemove: e } = this.props;@@ -19786,39 +19786,39 @@ var ine = (e, t) => t.isSVG ?? Fy(e) ? new Ate(t) : new Qee(t, { allowProjectionreturn null;}};-function Xy(e) {- let [t, n] = by(), r = (0, P.useContext)(bu);- return (0, F.jsx)(dne, {+function Jy(e) {+ let [t, n] = vy(), r = (0, P.useContext)(xu);+ return (0, F.jsx)(mne, {...e,layoutGroup: r,- switchLayoutGroup: (0, P.useContext)(Wy),+ switchLayoutGroup: (0, P.useContext)(Hy),isPresent: t,safeToRemove: n});}// node_modules/framer-motion/dist/es/motion/features/drag.mjs-var fne = {- pan: { Feature: une },+var hne = {+ pan: { Feature: pne },drag: {- Feature: cne,+ Feature: dne,ProjectionNode: lv,- MeasureLayout: Xy+ MeasureLayout: Jy}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function Zy(e, t, n) {+function Yy(e, t, n) {let { props: r } = e;e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");let i = r["onHover" + n];- i && Of.postRender(() => i(t, Ov(t)));+ i && kf.postRender(() => i(t, Ov(t)));}-var pne = class extends ly {+var gne = class extends cy {mount() {let { current: e } = this.node;- e && (this.unmount = Ete(e, (e, t) => (Zy(this.node, t, "Start"), (e) => Zy(this.node, e, "End"))));+ e && (this.unmount = Ote(e, (e, t) => (Yy(this.node, t, "Start"), (e) => Yy(this.node, e, "End"))));}unmount() {}-}, mne = class extends ly {+}, _ne = class extends cy {constructor() {super(...arguments), this.isActive = !1;}@@ -19835,55 +19835,55 @@ var pne = class extends ly {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = Nu(sv(this.node.current, "focus", () => this.onFocus()), sv(this.node.current, "blur", () => this.onBlur()));+ this.unmount = Pu(sv(this.node.current, "focus", () => this.onFocus()), sv(this.node.current, "blur", () => this.onBlur()));}unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function Qy(e, t, n) {+function Xy(e, t, n) {let { props: r } = e;if (e.current instanceof HTMLButtonElement && e.current.disabled) return;e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");let i = r["onTap" + (n === "End" ? "" : n)];- i && Of.postRender(() => i(t, Ov(t)));+ i && kf.postRender(() => i(t, Ov(t)));}-var hne = class extends ly {+var vne = class extends cy {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = Ote(e, (e, t) => (Qy(this.node, t, "Start"), (e, { success: t }) => Qy(this.node, e, t ? "End" : "Cancel")), {+ this.unmount = Ate(e, (e, t) => (Xy(this.node, t, "Start"), (e, { success: t }) => Xy(this.node, e, t ? "End" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, $y = /* @__PURE__ */ new WeakMap(), eb = /* @__PURE__ */ new WeakMap(), gne = (e) => {- let t = $y.get(e.target);+}, Zy = /* @__PURE__ */ new WeakMap(), Qy = /* @__PURE__ */ new WeakMap(), yne = (e) => {+ let t = Zy.get(e.target);t && t(e);-}, _ne = (e) => {- e.forEach(gne);+}, bne = (e) => {+ e.forEach(yne);};-function vne({ root: e, ...t }) {+function xne({ root: e, ...t }) {let n = e || document;- eb.has(n) || eb.set(n, {});- let r = eb.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(_ne, {+ Qy.has(n) || Qy.set(n, {});+ let r = Qy.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(bne, {root: e,...t})), r[i];}-function yne(e, t, n) {- let r = vne(t);- return $y.set(e, n), r.observe(e), () => {- $y.delete(e), r.unobserve(e);+function Sne(e, t, n) {+ let r = xne(t);+ return Zy.set(e, n), r.observe(e), () => {+ Zy.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var bne = {+var Cne = {some: 0,all: 1-}, xne = class extends ly {+}, wne = class extends cy {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19892,7 +19892,7 @@ var bne = {let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {root: t ? t.current : void 0,rootMargin: n,- threshold: typeof r == "number" ? r : bne[r]+ threshold: typeof r == "number" ? r : Cne[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -19900,7 +19900,7 @@ var bne = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = yne(this.node.current, a, o);+ this.stopObserver = Sne(this.node.current, a, o);}mount() {this.startObserver();@@ -19912,74 +19912,74 @@ var bne = {"amount","margin","root"- ].some(Sne(e, t)) && this.startObserver();+ ].some(Tne(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function Sne({ viewport: e = {} }, { viewport: t = {} } = {}) {+function Tne({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs-var Cne = /*@__PURE__*/ rne(/* @__PURE__ */ Object.assign({}, sne, {- inView: { Feature: xne },- tap: { Feature: hne },- focus: { Feature: mne },- hover: { Feature: pne }-}, fne, { layout: {+var Ene = /*@__PURE__*/ one(/* @__PURE__ */ Object.assign({}, une, {+ inView: { Feature: wne },+ tap: { Feature: vne },+ focus: { Feature: _ne },+ hover: { Feature: gne }+}, hne, { layout: {ProjectionNode: lv,- MeasureLayout: Xy-} }), ine);+ MeasureLayout: Jy+} }), sne);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function tb() {+function $y() {!vv.current && yv();let [e] = (0, P.useState)(_v.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function nb(e) {+function eb(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function rb(e, t, n, r) {- return e == null ? [] : typeof e == "string" && nb(t) ? pg(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function tb(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && eb(t) ? mg(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.mjs-function wne(e, t, n) {+function Dne(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function ib(e, t, n, r) {+function nb(e, t, n, r) {return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Tne(e, t, n) {+function One(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];- i.at > t && i.at < n && (Tu(e, i), r--);+ i.at > t && i.at < n && (Eu(e, i), r--);}}-function Ene(e, t, n, r, i, a) {- Tne(e, i, a);+function kne(e, t, n, r, i, a) {+ One(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],- at: sf(i, a, r[o]),- easing: /* @__PURE__ */ td(n, o)+ at: cf(i, a, r[o]),+ easing: /* @__PURE__ */ nd(n, o)});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Dne(e, t, n = 0) {+function Ane(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function One(e, t) {+function jne(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}// node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var kne = "easeInOut", ab = 20;-function Ane(e, { defaultTransition: t = {}, ...n } = {}, r, i) {+var Mne = "easeInOut", rb = 20;+function Nne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;for (let n = 0; n < e.length; n++) {let o = e[n];@@ -19988,16 +19988,16 @@ function Ane(e, { defaultTransition: t = {}, ...n } = {}, r, i) {continue;}if (!Array.isArray(o)) {- l.set(o.name, ib(d, o.at, u, l));+ l.set(o.name, nb(d, o.at, u, l));continue;}let [p, m, h = {}] = o;- h.at !== void 0 && (d = ib(d, h.at, u, l));+ h.at !== void 0 && (d = nb(d, h.at, u, l));let g = 0, _ = (e, n, r, o = 0, s = 0) => {- let c = jne(e), { delay: l = 0, times: u = $f(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = bm(p) ? p : i?.[p || "keyframes"];+ let c = Pne(e), { delay: l = 0, times: u = ep(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = xm(p) ? p : i?.[p || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && Pne(c)) {+ if (S === 2 && Lne(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -20005,40 +20005,40 @@ function Ane(e, { defaultTransition: t = {}, ...n } = {}, r, i) {...t,...v};- b !== void 0 && (n.duration = /* @__PURE__ */ Iu(b));- let r = Ff(n, e, C);+ b !== void 0 && (n.duration = /* @__PURE__ */ Lu(b));+ let r = If(n, e, C);y = r.ease, b = r.duration;}b ??= a;let w = d + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Qf(u, T), c.length === 1 && c.unshift(null), m && `${m}${ab}`, m && m < ab) {+ if (T > 0 && $f(u, T), c.length === 1 && c.unshift(null), m && `${m}${rb}`, m && m < rb) {let e = b > 0 ? _ / b : 0;- b = wne(b, m, _);+ b = Dne(b, m, _);let t = [...c], n = [...u];y = Array.isArray(y) ? [...y] : [y];let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;- i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Uu(e) : e)));+ i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Wu(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), y.push("linear")), c.push(...d);- for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ td(f, e - 1));+ for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ nd(f, e - 1));}- Dne(u, m, e);+ Ane(u, m, e);}let E = w + b;- Ene(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);+ kne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);};- if (Rh(p)) {- let e = ob(p, s);- _(m, h, sb("default", e));+ if (zh(p)) {+ let e = ib(p, s);+ _(m, h, ab("default", e));} else {- let e = rb(p, m, r, c), t = e.length;+ let e = tb(p, m, r, c), t = e.length;for (let n = 0; n < t; n++) {m = m, h = h;- let r = e[n], i = ob(r, s);- for (let e in m) _(m[e], Mne(h, e), sb(e, i), n, t);+ let r = e[n], i = ib(r, s);+ for (let e in m) _(m[e], Fne(h, e), ab(e, i), n, t);}}u = d, d += g;@@ -20046,13 +20046,13 @@ function Ane(e, { defaultTransition: t = {}, ...n } = {}, r, i) {return s.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(One);+ a.sort(jne);let s = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];- s.push(n), c.push(/* @__PURE__ */ Pu(0, f, t)), l.push(r || "easeOut");+ s.push(n), c.push(/* @__PURE__ */ Fu(0, f, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(kne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Mne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {keyframes: {},transition: {}});@@ -20069,45 +20069,45 @@ function Ane(e, { defaultTransition: t = {}, ...n } = {}, r, i) {}}), o;}-function ob(e, t) {+function ib(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function sb(e, t) {+function ab(e, t) {return t[e] || (t[e] = []), t[e];}-function jne(e) {+function Pne(e) {return Array.isArray(e) ? e : [e];}-function Mne(e, t) {+function Fne(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var Nne = (e) => typeof e == "number", Pne = (e) => e.every(Nne);+var Ine = (e) => typeof e == "number", Lne = (e) => e.every(Ine);// node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function Fne(e, t) {- return Rh(e) || typeof e == "number" || typeof e == "string" && !nb(t);+function Rne(e, t) {+ return zh(e) || typeof e == "number" || typeof e == "string" && !eb(t);}-function cb(e, t, n, r) {+function ob(e, t, n, r) {let i = [];- if (Fne(e, t)) i.push(Yg(e, nb(t) && t.default || t, n && (n.default || n)));+ if (Rne(e, t)) i.push(Yg(e, eb(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = rb(e, t, r), o = a.length;+ let a = tb(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(...gee(r, t, s, uv.get(r))) : i.push(...sg(nee(r) ?? _ee, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(..._ee(r, t, s, uv.get(r))) : i.push(...cg(nee(r) ?? vee, r, t, s));}}return i;}// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function Ine(e, t, n) {+function zne(e, t, n) {let r = [];- return Ane(e.map((e) => {+ return Nne(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = hh(0);+ let t = e[0], n = gh(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -20119,59 +20119,59 @@ function Ine(e, t, n) {];}return e;- }), t, n, { spring: Jf }).forEach(({ keyframes: e, transition: t }, n) => {- r.push(...cb(n, e, t));+ }), t, n, { spring: Yf }).forEach(({ keyframes: e, transition: t }, n) => {+ r.push(...ob(n, e, t));}), r;}// node_modules/framer-motion/dist/es/animation/animate/index.mjs-function Lne(e) {+function Bne(e) {return Array.isArray(e) && e.some(Array.isArray);}-function Rne(e = {}) {+function Vne(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {- let o = [], s, c = ug.current, l = c?.transition, u = {};- if (n !== void 0 && (u.reduceMotion = n), r !== void 0 && (u.skipAnimations = r), Lne(e)) {+ let o = [], s, c = dg.current, l = c?.transition, u = {};+ if (n !== void 0 && (u.reduceMotion = n), r !== void 0 && (u.skipAnimations = r), Bne(e)) {let { onComplete: n, ...r } = i || {};typeof n == "function" && (s = n), l && (r.defaultTransition = {...l,...r.defaultTransition- }), o = Ine(e, {+ }), o = zne(e, {...u,...r}, t);} else {let { onComplete: n, ...r } = a || {};- typeof n == "function" && (s = n), o = cb(e, i, {+ typeof n == "function" && (s = n), o = ob(e, i, {...u,...l,...r}, t);}- let d = new oh(o);+ let d = new sh(o);return s && d.finished.then(s), c && d.finished.then(c.add(() => d.stop())), t && (t.animations.push(d), d.finished.then(() => {- Tu(t.animations, d);+ Eu(t.animations, d);})), d;}return i;}-var zne = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Rne(), {+var Hne = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Vne(), {addEffect: tee,- removeEffect: ag+ removeEffect: og});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Bne(e, t, n, r) {+function Une(e, t, n, r) {if (e == null) return [];- let i = pg(e, r), a = i.length, o = [];+ let i = mg(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 = { ..._h(s, e) };- i.duration &&= /* @__PURE__ */ Iu(i.duration), i.delay &&= /* @__PURE__ */ Iu(i.delay);- let a = lh(r), c = ch(e, i.pseudoElement || ""), l = a.get(c);+ let i = { ...vh(s, e) };+ i.duration &&= /* @__PURE__ */ Lu(i.duration), i.delay &&= /* @__PURE__ */ Lu(i.delay);+ let a = uh(r), c = lh(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -20187,21 +20187,21 @@ function Bne(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] = cy(r, i)), jp(t), eee(t, i), !a && t.length < 2 && t.unshift(cy(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = sy(r, i)), Mp(t), eee(t, i), !a && t.length < 2 && t.unshift(sy(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 Sm(r);+ let { map: t, key: n, options: r } = o[e], i = new Cm(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var Vne = /*@__PURE__*/ ((e) => {+var Wne = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new oh(Bne(t, n, r, e));+ return new sh(Une(t, n, r, e));}return t;-})(), lb = Cne, ub = class {+})(), sb = Ene, cb = 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;}@@ -20216,22 +20216,22 @@ var Vne = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, db = class extends ub {+}, lb = class extends cb {filter(e, t, n) {- let [r, i] = hb(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = pb(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends ub {+(class extends cb {static {this.type = "header";}});-var fb = class extends ub {+var ub = class extends cb {static {this.type = "loader";}-}, pb = class extends db {+}, db = class extends lb {static {this.type = "item";}@@ -20242,7 +20242,7 @@ var fb = class extends ub {}return null;}-}, Hne = class extends db {+}, Gne = class extends lb {static {this.type = "section";}@@ -20254,7 +20254,7 @@ var fb = class extends ub {}return null;}-}, mb = class {+}, fb = class {get size() {return this.itemCount;}@@ -20329,14 +20329,14 @@ var fb = class extends ub {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = hb(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = pb(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 hb(e, t, n, r) {+function pb(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20350,7 +20350,7 @@ function hb(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var gb = class {+var mb = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20431,7 +20431,7 @@ var gb = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, _b = class e extends gb {+}, hb = class e extends mb {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20482,7 +20482,7 @@ var gb = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, Une = class extends gb {+}, Kne = class extends mb {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;}@@ -20490,7 +20490,7 @@ var gb = class {return !0;}createElement(e) {- return new _b(e, this);+ return new hb(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20512,8 +20512,8 @@ var gb = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof _b && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof _b ? (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 hb && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof hb ? (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() {@@ -20531,13 +20531,13 @@ var gb = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function vb(e) {+function gb(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, P.useMemo)(() => void 0, [t]), s = (0, P.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, P.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = Wne(a) ? a : null, o = n ? s.get(n) : null;+ let n = qne(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20562,7 +20562,7 @@ function vb(e) {i]);}-function Wne(e) {+function qne(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20571,24 +20571,24 @@ function Wne(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function yb(e) {+function _b(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var bb = (e) => Gne(e) ? e.document : Kne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), xb = (e) => bb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function Sb(e) {+var vb = (e) => Jne(e) ? e.document : Yne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), yb = (e) => vb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function bb(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function Gne(e) {+function Jne(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function Kne(e) {- return Sb(e) && e.nodeType === 9;+function Yne(e) {+ return bb(e) && e.nodeType === 9;}-function Cb(e) {- return Sb(e) && e.nodeType === 11 && "host" in e;+function xb(e) {+ return bb(e) && e.nodeType === 11 && "host" in e;}-function wb(e, t, n, r) {+function Sb(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);@@ -20596,7 +20596,7 @@ function wb(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function Tb(e, t, n, r) {+function Cb(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20610,70 +20610,70 @@ function Tb(e, t, n, r) {};}// node_modules/react-stately/dist/private/flags/flags.mjs-var Eb = !1;-function Db() {- return Eb;+var wb = !1;+function Tb() {+ return wb;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function Ob(e, t) {- if (!Db()) return t && e ? e.contains(t) : !1;+function Eb(e, t) {+ if (!Tb()) 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 : Cb(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : xb(n) ? n.host : n.parentNode;}return !1;}-var kb = (e = document) => {- if (!Db()) return e.activeElement;+var Db = (e = document) => {+ if (!Tb()) 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 (Db() && e.target instanceof Element && e.target.shadowRoot) {+function W(e) {+ if (Tb() && 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 Ab(e, t) {+function Ob(e, t) {if (t === null) return [];- t ??= xb(e);+ t ??= yb(e);let n = [t];- if (!Db() || !e || e === t) return n;+ if (!Tb() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Cb(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; xb(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function jb(e) {+function kb(e) {if (!e) return !1;- let t = e.getRootNode(), n = xb(e);+ let t = e.getRootNode(), n = yb(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}// node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var Mb = typeof Element < "u" && "checkVisibility" in Element.prototype;-function Nb(e) {- let t = xb(e);+var Ab = typeof Element < "u" && "checkVisibility" in Element.prototype;+function jb(e) {+ let t = yb(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 } = xb(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = yb(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function Pb(e, t) {+function Mb(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 Fb(e, t) {- return Mb ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Nb(e) && Pb(e, t) && (!e.parentElement || Fb(e.parentElement, e));+function Nb(e, t) {+ return Ab ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && jb(e) && Mb(e, t) && (!e.parentElement || Nb(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var Ib = [+var Pb = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20688,58 +20688,58 @@ var Ib = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], Lb = Ib.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-Ib.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var Rb = Ib.join(":not([hidden]):not([tabindex=\"-1\"]),");-function zb(e, t) {- return e.matches(Lb) && !Vb(e) && (t?.skipVisibilityCheck || Fb(e));+], Fb = Pb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+Pb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var Ib = Pb.join(":not([hidden]):not([tabindex=\"-1\"]),");+function Lb(e, t) {+ return e.matches(Fb) && !zb(e) && (t?.skipVisibilityCheck || Nb(e));}-function Bb(e) {- return e.matches(Rb) && Fb(e) && !Vb(e);+function Rb(e) {+ return e.matches(Ib) && Nb(e) && !zb(e);}-function Vb(e) {+function zb(e) {let t = e;for (; t != null;) {- if (t instanceof xb(t).HTMLElement && t.inert) return !0;+ if (t instanceof yb(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var Hb = typeof document < "u" ? P.useLayoutEffect : () => {};+var Bb = typeof document < "u" ? P.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function Ub(e) {+function Vb(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function Wb(e, t) {+function Hb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function Gb(e) {+function Ub(e) {let t = (0, P.useRef)({isFocused: !1,observer: null});- return Hb(() => {+ return Bb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);};}, []), (0, P.useCallback)((n) => {- let r = G(n);+ let r = W(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 = Ub(r);+ let t = Vb(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 === kb() ? null : kb();+ let e = n === Db() ? null : Db();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20752,80 +20752,80 @@ function Gb(e) {}}, [e]);}-var Kb = !1;-function qb(e) {- for (; e && !zb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = kb(xb(e).document);+var Wb = !1;+function Gb(e) {+ for (; e && !Lb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = Db(yb(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Cb(n) ? n : xb(e), i = (t) => t === e || Sb(t) && Ob(e, t), a = (e) => e === t || t != null && Sb(e) && Ob(t, e);- Kb = !0;+ let n = e?.getRootNode(), r = n != null && xb(n) ? n : yb(e), i = (t) => t === e || bb(t) && Eb(e, t), a = (e) => e === t || t != null && bb(e) && Eb(t, e);+ Wb = !0;let o = !1, s = (e) => {- (a(G(e)) || o) && e.stopImmediatePropagation();+ (a(W(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, yb(t), d()));+ (a(W(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, _b(t), d()));}, l = (e) => {- (i(G(e)) || o) && e.stopImmediatePropagation();+ (i(W(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, yb(t), d()));+ (i(W(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, _b(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), Kb = !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), Wb = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function Jb(e) {+function Kb(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 Yb(e) {+function qb(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function Xb(e) {+function Jb(e) {let t = null;return () => (t ??= e(), t);}-var Zb = Xb(function() {- return Yb(/^Mac/i);-}), qne = Xb(function() {- return Yb(/^iPhone/i);-}), Qb = Xb(function() {- return Yb(/^iPad/i) || Zb() && navigator.maxTouchPoints > 1;-}), $b = Xb(function() {- return qne() || Qb();-}), Jne = Xb(function() {- return Zb() || $b();-}), ex = Xb(function() {- return Jb(/AppleWebKit/i) && ($b() || !tx());-}), tx = Xb(function() {- return Jb(/Chrome|CriOS|CrMo/i);-}), nx = Xb(function() {- return Jb(/Android/i);+var Yb = Jb(function() {+ return qb(/^Mac/i);+}), Xne = Jb(function() {+ return qb(/^iPhone/i);+}), Xb = Jb(function() {+ return qb(/^iPad/i) || Yb() && navigator.maxTouchPoints > 1;+}), Zb = Jb(function() {+ return Xne() || Xb();+}), Zne = Jb(function() {+ return Yb() || Zb();+}), Qb = Jb(function() {+ return Kb(/AppleWebKit/i) && (Zb() || !$b());+}), $b = Jb(function() {+ return Kb(/Chrome|CriOS|CrMo/i);+}), ex = Jb(function() {+ return Kb(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function rx(e) {- return e.pointerType === "" && e.isTrusted ? !0 : nx() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function tx(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : ex() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function Yne(e) {- return !nx() && e.width === 0 && e.height === 0 || nx() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Qne(e) {+ return !ex() && e.width === 0 && e.height === 0 || ex() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}// node_modules/react-aria/dist/private/utils/openLink.mjs-var Xne = /*#__PURE__*/ (0, P.createContext)({+var $ne = /*#__PURE__*/ (0, P.createContext)({isNative: !0,- open: $ne,+ open: nre,useHref: (e) => e});-function ix() {- return (0, P.useContext)(Xne);+function nx() {+ return (0, P.useContext)($ne);}-function Zne(e, t) {+function ere(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 ax(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = ex() && Zb() && !Qb() ? new KeyboardEvent("keydown", {+function rx(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Qb() && Yb() && !Xb() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -20840,21 +20840,21 @@ function ax(e, t, n = !0) {bubbles: !0,cancelable: !0});- ax.isOpening = n, yb(e), e.dispatchEvent(s), ax.isOpening = !1;+ rx.isOpening = n, _b(e), e.dispatchEvent(s), rx.isOpening = !1;}-ax.isOpening = !1;-function Qne(e, t) {+rx.isOpening = !1;+function tre(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {let n = document.createElement("a");n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);}}-function $ne(e, t) {- Qne(e, (e) => ax(e, t));+function nre(e, t) {+ tre(e, (e) => rx(e, t));}-function ox(e) {- let t = ix().useHref(e.href ?? "");+function ix(e) {+ let t = nx().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -20864,8 +20864,8 @@ function ox(e) {"data-referrer-policy": e.referrerPolicy};}-function sx(e) {- let t = ix().useHref(e?.href ?? ""), n = {};+function ax(e) {+ let t = nx().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -20876,138 +20876,138 @@ function sx(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function ere(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Zne(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function rre(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && ere(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var cx = {+var ox = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, lx = /*#__PURE__*/ P.createContext(cx), tre = /*#__PURE__*/ P.createContext(!1);+}, sx = /*#__PURE__*/ P.createContext(ox), ire = /*#__PURE__*/ P.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var ux = /* @__PURE__ */ new WeakMap();-function nre(e = !1) {- let t = (0, P.useContext)(lx), n = (0, P.useRef)(null);+var cx = /* @__PURE__ */ new WeakMap();+function are(e = !1) {+ let t = (0, P.useContext)(sx), n = (0, P.useRef)(null);if (n.current === null && !e) {let e = P.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = ux.get(e);- n == null ? ux.set(e, {+ let n = cx.get(e);+ n == null ? cx.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, ux.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, cx.delete(e));}n.current = ++t.current;}return n.current;}-function rre(e) {- let t = (0, P.useContext)(lx), n = nre(!!e), r = `react-aria${t.prefix}`;+function ore(e) {+ let t = (0, P.useContext)(sx), n = are(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function ire(e) {- let t = P.useId(), [n] = (0, P.useState)(dx()), r = n ? "react-aria" : `react-aria${cx.prefix}`;+function sre(e) {+ let t = P.useId(), [n] = (0, P.useState)(lx()), r = n ? "react-aria" : `react-aria${ox.prefix}`;return e || `${r}-${t}`;}-var are = typeof P.useId == "function" ? ire : rre;-function ore() {+var cre = typeof P.useId == "function" ? sre : ore;+function lre() {return !1;}-function sre() {+function ure() {return !0;}-function cre(e) {+function dre(e) {return () => {};}-function dx() {- return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(cre, ore, sre) : (0, P.useContext)(tre);+function lx() {+ return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(dre, lre, ure) : (0, P.useContext)(ire);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var fx = null, px = /* @__PURE__ */ new Set(), mx = /* @__PURE__ */ new Map(), hx = !1, gx = !1, lre = {+var ux = null, dx = /* @__PURE__ */ new Set(), fx = /* @__PURE__ */ new Map(), px = !1, mx = !1, fre = {Tab: !0,Escape: !0};-function _x(e, t) {- for (let n of px) n(e, t);+function hx(e, t) {+ for (let n of dx) n(e, t);}-function ure(e) {- return !(e.metaKey || !Zb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function pre(e) {+ return !(e.metaKey || !Yb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+}+function gx(e) {+ px = !0, !rx.isOpening && pre(e) && (ux = "keyboard", hx("keyboard", e));+}+function _x(e) {+ ux = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (px = !0, hx("pointer", e));}function vx(e) {- hx = !0, !ax.isOpening && ure(e) && (fx = "keyboard", _x("keyboard", e));+ !rx.isOpening && tx(e) && (px = !0, ux = "virtual");}function yx(e) {- fx = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (hx = !0, _x("pointer", e));+ if (Wb) return;+ let t = W(e), n = yb(t), r = vb(t);+ t === n ? mx = !0 : t !== r && e.isTrusted && (!px && !mx && (ux = "virtual", hx("virtual", e)), px = !1, mx = !1);}-function bx(e) {- !ax.isOpening && rx(e) && (hx = !0, fx = "virtual");+function bx() {+ Wb || (px = !1, mx = !0);}function xx(e) {- if (Kb) return;- let t = G(e), n = xb(t), r = bb(t);- t === n ? gx = !0 : t !== r && e.isTrusted && (!hx && !gx && (fx = "virtual", _x("virtual", e)), hx = !1, gx = !1);-}-function Sx() {- Kb || (hx = !1, gx = !0);-}-function Cx(e) {- let t = kb(bb(G(e)));+ let t = Db(vb(W(e)));queueMicrotask(() => {- kb(bb(G(e))) !== t && Ox("keyboard");+ Db(vb(W(e))) !== t && Ex("keyboard");});}-function wx(e) {+function Sx(e) {if (typeof window > "u" || typeof document > "u") return;- let t = xb(e), n = bb(e);- if (mx.get(t)) return;+ let t = yb(e), n = vb(e);+ if (fx.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- hx = !0, r.apply(this, arguments);+ px = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", vx, !0), n.addEventListener("keyup", vx, !0), n.addEventListener("click", bx, !0), n.addEventListener("invalid", Cx, !0), t.addEventListener("focus", xx, !0), t.addEventListener("blur", Sx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", yx, !0), n.addEventListener("pointermove", yx, !0), n.addEventListener("pointerup", yx, !0)), t.addEventListener("beforeunload", () => {- Tx(e);- }, { once: !0 }), mx.set(t, { focus: r });+ }), n.addEventListener("keydown", gx, !0), n.addEventListener("keyup", gx, !0), n.addEventListener("click", vx, !0), n.addEventListener("invalid", xx, !0), t.addEventListener("focus", yx, !0), t.addEventListener("blur", bx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", _x, !0), n.addEventListener("pointermove", _x, !0), n.addEventListener("pointerup", _x, !0)), t.addEventListener("beforeunload", () => {+ Cx(e);+ }, { once: !0 }), fx.set(t, { focus: r });}-var Tx = (e, t) => {- let n = xb(e), r = bb(e);- t && r.removeEventListener("DOMContentLoaded", t), mx.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var Cx = (e, t) => {+ let n = yb(e), r = vb(e);+ t && r.removeEventListener("DOMContentLoaded", t), fx.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: mx.get(n).focus- }), r.removeEventListener("keydown", vx, !0), r.removeEventListener("keyup", vx, !0), r.removeEventListener("click", bx, !0), r.removeEventListener("invalid", Cx, !0), n.removeEventListener("focus", xx, !0), n.removeEventListener("blur", Sx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", yx, !0), r.removeEventListener("pointermove", yx, !0), r.removeEventListener("pointerup", yx, !0)), mx.delete(n));+ value: fx.get(n).focus+ }), r.removeEventListener("keydown", gx, !0), r.removeEventListener("keyup", gx, !0), r.removeEventListener("click", vx, !0), r.removeEventListener("invalid", xx, !0), n.removeEventListener("focus", yx, !0), n.removeEventListener("blur", bx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", _x, !0), r.removeEventListener("pointermove", _x, !0), r.removeEventListener("pointerup", _x, !0)), fx.delete(n));};-function dre(e) {- let t = bb(e), n;+function mre(e) {+ let t = vb(e), n;return t.readyState === "loading" ? (n = () => {- wx(e);- }, t.addEventListener("DOMContentLoaded", n)) : wx(e), () => Tx(e, n);+ Sx(e);+ }, t.addEventListener("DOMContentLoaded", n)) : Sx(e), () => Cx(e, n);}-typeof document < "u" && dre();-function Ex() {- return fx !== "pointer";+typeof document < "u" && mre();+function wx() {+ return ux !== "pointer";}-function Dx() {- return fx;+function Tx() {+ return ux;}-function Ox(e) {- fx = e, _x(e, null);+function Ex(e) {+ ux = e, hx(e, null);}-function kx() {- wx();- let [e, t] = (0, P.useState)(fx);+function Dx() {+ Sx();+ let [e, t] = (0, P.useState)(ux);return (0, P.useEffect)(() => {let e = () => {- t(fx);+ t(ux);};- return px.add(e), () => {- px.delete(e);+ return dx.add(e), () => {+ dx.delete(e);};- }, []), dx() ? null : e;+ }, []), lx() ? null : e;}-var fre = /* @__PURE__ */ new Set([+var hre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21018,107 +21018,107 @@ var fre = /* @__PURE__ */ new Set(["submit","reset"]);-function pre(e, t, n) {- let r = n ? G(n) : void 0, i = bb(r), a = xb(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 = kb(i);- return e = e || u instanceof o && !fre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !lre[n.key]);+function gre(e, t, n) {+ let r = n ? W(n) : void 0, i = vb(r), a = yb(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 = Db(i);+ return e = e || u instanceof o && !hre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !fre[n.key]);}-function Ax(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || Ex());- return jx((e) => {+function Ox(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || wx());+ return kx((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function jx(e, t, n) {- wx(), (0, P.useEffect)(() => {+function kx(e, t, n) {+ Sx(), (0, P.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- pre(!!n?.isTextInput, t, r) && e(Ex());+ gre(!!n?.isTextInput, t, r) && e(wx());};- return px.add(t), () => {- px.delete(t);+ return dx.add(t), () => {+ dx.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var Mx = /* @__PURE__ */ new Map(), Nx = /* @__PURE__ */ new Set();-function Px(e) {+var Ax = /* @__PURE__ */ new Map(), jx = /* @__PURE__ */ new Set();+function Mx(e) {return "propertyName" in e;}-function mre(e) {- let t = G(e);- if (!Px(e) || !t) return;- let n = Mx.get(t);- n || (n = /* @__PURE__ */ new Set(), Mx.set(t, n), t.addEventListener("transitioncancel", Fx, { once: !0 })), n.add(e.propertyName);+function _re(e) {+ let t = W(e);+ if (!Mx(e) || !t) return;+ let n = Ax.get(t);+ n || (n = /* @__PURE__ */ new Set(), Ax.set(t, n), t.addEventListener("transitioncancel", Nx, { once: !0 })), n.add(e.propertyName);}-function Fx(e) {- let t = G(e);- if (!Px(e) || !t) return;- let n = Mx.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Fx), Mx.delete(t)), Mx.size === 0)) for (let e of Nx) e(!0), Nx.delete(e);+function Nx(e) {+ let t = W(e);+ if (!Mx(e) || !t) return;+ let n = Ax.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Nx), Ax.delete(t)), Ax.size === 0)) for (let e of jx) e(!0), jx.delete(e);}-function Ix() {- wb(document, "transitionrun", mre), wb(document, "transitionend", Fx);+function Px() {+ Sb(document, "transitionrun", _re), Sb(document, "transitionend", Nx);}-function hre() {- for (let [e] of Mx) "isConnected" in e && !e.isConnected && Mx.delete(e);+function vre() {+ for (let [e] of Ax) "isConnected" in e && !e.isConnected && Ax.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? wb(document, "DOMContentLoaded", Ix) : Ix());-function Lx(e) {+typeof document < "u" && (document.readyState === "loading" ? Sb(document, "DOMContentLoaded", Px) : Px());+function Fx(e) {let t = window.requestAnimationFrame(() => {- if (hre(), Mx.size === 0) return e(!1);- Nx.add(e);+ if (vre(), Ax.size === 0) return e(!1);+ jx.add(e);});return () => {- window.cancelAnimationFrame(t), Nx.delete(e);+ window.cancelAnimationFrame(t), jx.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function Rx(e) {+function Ix(e) {if (!e.isConnected) return;- let t = bb(e);- if (Dx() === "virtual") {- let n = kb(t);- Lx(() => {- let r = kb(t);- (r === n || r === t.body) && e.isConnected && yb(e);+ let t = vb(e);+ if (Tx() === "virtual") {+ let n = Db(t);+ Fx(() => {+ let r = Db(t);+ (r === n || r === t.body) && e.isConnected && _b(e);});- } else yb(e);+ } else _b(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function zx(...e) {+function Lx(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}// node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function gre(e) {+function yre(e) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(t), i = (0, P.useRef)(null), a = (0, P.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return Hb(() => {+ return Bb(() => {r.current = t, i.current && a.current();}), [t, (0, P.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}// node_modules/react-aria/dist/private/utils/useId.mjs-var _re = !!(typeof window < "u" && window.document && window.document.createElement), Bx = /* @__PURE__ */ new Map(), Vx;-typeof FinalizationRegistry < "u" && (Vx = new FinalizationRegistry((e) => {- Bx.delete(e);+var bre = !!(typeof window < "u" && window.document && window.document.createElement), Rx = /* @__PURE__ */ new Map(), zx;+typeof FinalizationRegistry < "u" && (zx = new FinalizationRegistry((e) => {+ Rx.delete(e);}));-var Hx = /* @__PURE__ */ new WeakMap();-function Ux(e) {- let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = are(t), a = (0, P.useRef)(null), o = Hx.get(a);- if (Vx && o !== i && (o != null && Vx.unregister(a), Vx.register(a, i, a), Hx.set(a, i)), _re) {- let e = Bx.get(i);- e && !e.includes(r) ? e.push(r) : Bx.set(i, [r]);- }- return Hb(() => {+var Bx = /* @__PURE__ */ new WeakMap();+function Vx(e) {+ let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = cre(t), a = (0, P.useRef)(null), o = Bx.get(a);+ if (zx && o !== i && (o != null && zx.unregister(a), zx.register(a, i, a), Bx.set(a, i)), bre) {+ let e = Rx.get(i);+ e && !e.includes(r) ? e.push(r) : Rx.set(i, [r]);+ }+ return Bb(() => {let e = i;return () => {- Vx && (Vx.unregister(a), Hx.delete(a)), Bx.delete(e);+ zx && (zx.unregister(a), Bx.delete(a)), Rx.delete(e);};}, [i]), (0, P.useEffect)(() => {let e = r.current;@@ -21127,77 +21127,77 @@ function Ux(e) {};}), i;}-function vre(e, t) {+function xre(e, t) {if (e === t) return e;- let n = Bx.get(e);+ let n = Rx.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = Bx.get(t);+ let r = Rx.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function Wx(e = []) {- let t = Ux(), [n, r] = gre(t), i = (0, P.useCallback)(() => {+function Hx(e = []) {+ let t = Vx(), [n, r] = yre(t), i = (0, P.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return Hb(i, [+ return Bb(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function Gx(...e) {+function Ux(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = Kx(e, t);+ let r = Wx(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : Kx(e[n], null);+ typeof t == "function" ? t() : Wx(e[n], null);});};};}-function Kx(e, t) {+function Wx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function qx(e) {+function Gx(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 = qx(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = Gx(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function Jx() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = qx(e)) && (r && (r += " "), r += t);+function Kx() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Gx(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs-function K(...e) {+function G(...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] = zx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Jx(n, i) : e === "id" && n && i ? t.id = vre(n, i) : e === "ref" && n && i ? t.ref = Gx(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] = Lx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Kx(n, i) : e === "id" && n && i ? t.id = xre(n, i) : e === "ref" && n && i ? t.ref = Ux(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function Yx(e) {+function qx(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, P.useCallback)((e) => {- if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = Gb(a), s = (0, P.useCallback)((e) => {- let t = G(e), r = bb(t), a = r ? kb(r) : kb();+ if (W(e) === e.currentTarget) return r && r(e), i && i(!1), !0;+ }, [r, i]), o = Ub(a), s = (0, P.useCallback)((e) => {+ let t = W(e), r = vb(t), a = r ? Db(r) : Db();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21210,7 +21210,7 @@ function Yx(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function Xx(e) {+function Jx(e) {if (e) return (t) => {let n = !0;e({@@ -21234,33 +21234,33 @@ function Xx(e) {};}// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var yre = /* @__PURE__ */ new Set([+var Sre = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), bre = [+]), Cre = ["Alt","Control","Meta","Shift"];-function xre(e) {+function wre(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(Zb() ? "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(Yb() ? "Meta" : "Control"), t;}-function Sre(e) {+function Tre(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 Zx(e) {- return bre.filter((t) => e.has(t));+function Yx(e) {+ return Cre.filter((t) => e.has(t));}-function Cre(e) {+function Ere(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return yre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;+ return Sre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;}, {shift: !1,alt: !1,@@ -21272,10 +21272,10 @@ function Cre(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 Qx(e) {+function Xx(e) {return e.toLowerCase();}-var wre = {+var Dre = {space: " ",esc: "escape",del: "delete",@@ -21287,26 +21287,26 @@ var wre = {pageup: "pageup",pagedown: "pagedown"};-function Tre(e) {- let t = Qx(e);- return wre[t] ?? t;+function Ore(e) {+ let t = Xx(e);+ return Dre[t] ?? t;}-function Ere(e) {- let t = Zx(xre(e)), n = Tre(e.key);+function kre(e) {+ let t = Yx(wre(e)), n = Ore(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function Dre(e) {- let t = Zx(Sre(e)), n = Qx(e.key);+function Are(e) {+ let t = Yx(Tre(e)), n = Xx(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Ore(e) {+function jre(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Cre(n);- t.set(Ere(e), r);+ let e = Ere(n);+ t.set(kre(e), r);}return (e) => {- let n = Dre(e), r = t.get(n), i = r?.(e);+ let n = Are(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21317,23 +21317,23 @@ function Ore(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function $x(e) {+function Zx(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Ore(t), s = Xx((e) => {- Ob(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = Xx((e) => {- Ob(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = jre(t), s = Jx((e) => {+ Eb(e.currentTarget, W(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = Jx((e) => {+ Eb(e.currentTarget, W(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? zx(e.onKeyDown, s) : s, a = e.onKeyUp ? zx(e.onKeyUp, c) : c;- } else i = Xx(e.onKeyDown), a = Xx(e.onKeyUp);+ i = e.onKeyDown ? Lx(e.onKeyDown, s) : s, a = e.onKeyUp ? Lx(e.onKeyUp, c) : c;+ } else i = Jx(e.onKeyDown), a = Jx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function eS(e) {+function Qx(e) {let t = (0, P.useRef)(null), n = (0, P.useRef)(void 0), r = (0, P.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -21355,28 +21355,28 @@ function eS(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function tS(e, t) {- Hb(() => {+function $x(e, t) {+ Bb(() => {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 nS = /*#__PURE__*/ P.createContext(null);-function kre(e) {- let t = (0, P.useContext)(nS) || {};- tS(t, e);+var eS = /*#__PURE__*/ P.createContext(null);+function Mre(e) {+ let t = (0, P.useContext)(eS) || {};+ $x(t, e);let { ref: n, ...r } = t;return r;}-function rS(e, t) {- let { focusProps: n } = Yx(e), { keyboardProps: r } = $x(e), i = K(n, r), a = kre(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);+function tS(e, t) {+ let { focusProps: n } = qx(e), { keyboardProps: r } = Zx(e), i = G(n, r), a = Mre(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);(0, P.useEffect)(() => {- s.current && t.current && Rx(t.current), s.current = !1;+ s.current && t.current && Ix(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: G({...i,tabIndex: c}, o) };@@ -21407,21 +21407,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var iS = /*#__PURE__*/ (0, P.createContext)(!1);-function Are(e) {- if ((0, P.useContext)(iS)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);- let t = /*#__PURE__*/ P.createElement(iS.Provider, { value: !0 }, e.children);+var nS = /*#__PURE__*/ (0, P.createContext)(!1);+function Nre(e) {+ if ((0, P.useContext)(nS)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);+ let t = /*#__PURE__*/ P.createElement(nS.Provider, { value: !0 }, e.children);return /*#__PURE__*/ P.createElement("template", null, t);}-function aS(e) {- let t = (t, n) => (0, P.useContext)(iS) ? null : e(t, n);+function rS(e) {+ let t = (t, n) => (0, P.useContext)(nS) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, P.forwardRef)(t);}-function oS() {- return (0, P.useContext)(iS);+function iS() {+ return (0, P.useContext)(nS);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var jre = /* @__PURE__ */ o(((e) => {+var Pre = /* @__PURE__ */ o(((e) => {var t = A();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21459,47 +21459,47 @@ var jre = /* @__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;-})), sS = /* @__PURE__ */ o(((e, t) => {- t.exports = jre();-})), Mre = sS(), cS = /*#__PURE__*/ (0, P.createContext)(!1), lS = /*#__PURE__*/ (0, P.createContext)(null);-function uS(e) {- if ((0, P.useContext)(lS)) return e.content;- let { collection: t, document: n } = Ire(e.createCollection);- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Are, null, /*#__PURE__*/ P.createElement(lS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(Nre, {+})), aS = /* @__PURE__ */ o(((e, t) => {+ t.exports = Pre();+})), Fre = aS(), oS = /*#__PURE__*/ (0, P.createContext)(!1), sS = /*#__PURE__*/ (0, P.createContext)(null);+function cS(e) {+ if ((0, P.useContext)(sS)) return e.content;+ let { collection: t, document: n } = zre(e.createCollection);+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Nre, null, /*#__PURE__*/ P.createElement(sS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(Ire, {render: e.children,collection: t}));}-function Nre({ collection: e, render: t }) {+function Ire({ collection: e, render: t }) {return t(e);}-function Pre(e, t, n) {- let r = dx(), i = (0, P.useRef)(r);+function Lre(e, t, n) {+ let r = lx(), i = (0, P.useRef)(r);i.current = r;let a = (0, P.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, Mre.useSyncExternalStore)(e, a);+ return (0, Fre.useSyncExternalStore)(e, a);}-var Fre = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : Pre;-function Ire(e) {- let [t] = (0, P.useState)(() => new Une(e?.() || new mb()));+var Rre = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : Lre;+function zre(e) {+ let [t] = (0, P.useState)(() => new Kne(e?.() || new fb()));return {- collection: Fre((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {+ collection: Rre((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, P.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var dS = /*#__PURE__*/ (0, P.createContext)(null);-function Lre(e) {- return class extends ub {+var lS = /*#__PURE__*/ (0, P.createContext)(null);+function Bre(e) {+ return class extends cb {static {this.type = e;}};}-function fS(e, t, n, r, i, a) {- typeof e == "string" && (e = Lre(e));+function uS(e, t, n, r, i, a) {+ typeof e == "string" && (e = Bre(e));let o = (0, P.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21508,82 +21508,82 @@ function fS(e, t, n, r, i, a) {r,a,e- ]), s = (0, P.useContext)(dS);+ ]), s = (0, P.useContext)(lS);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__*/ P.createElement(dS.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__*/ P.createElement(lS.Provider, { value: o }, i) : null;}return /*#__PURE__*/ P.createElement(e.type, { ref: o }, i);}-function pS(e, t) {+function dS(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, P.forwardRef)((r, i) => {- let a = (0, P.useContext)(nS);- if (!(0, P.useContext)(cS)) {+ let a = (0, P.useContext)(eS);+ if (!(0, P.useContext)(oS)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return fS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(nS.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));+ return uS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(eS.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function mS(e, t, n = hS) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => fS(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));+function fS(e, t, n = pS) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => uS(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));return i.displayName = t.name, i;}-function hS(e) {- return vb({+function pS(e) {+ return gb({...e,addIdAndValue: !0});}-var gS = /*#__PURE__*/ (0, P.createContext)(null);-function _S(e) {- let t = (0, P.useContext)(gS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = hS({+var mS = /*#__PURE__*/ (0, P.createContext)(null);+function hS(e) {+ let t = (0, P.useContext)(mS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = pS({...e,idScope: r,dependencies: n});- return (0, P.useContext)(lS) && (i = /*#__PURE__*/ P.createElement(Rre, null, i)), t = (0, P.useMemo)(() => ({+ return (0, P.useContext)(sS) && (i = /*#__PURE__*/ P.createElement(Vre, null, i)), t = (0, P.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ P.createElement(gS.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ P.createElement(mS.Provider, { value: t }, i);}-function Rre({ children: e }) {- let t = (0, P.useContext)(lS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(lS.Provider, { value: null }, /*#__PURE__*/ P.createElement(cS.Provider, { value: !0 }, e)), [e]);- return dx() ? /*#__PURE__*/ P.createElement(dS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);+function Vre({ children: e }) {+ let t = (0, P.useContext)(sS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(sS.Provider, { value: null }, /*#__PURE__*/ P.createElement(oS.Provider, { value: !0 }, e)), [e]);+ return lx() ? /*#__PURE__*/ P.createElement(lS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjs-var zre = "react-aria-clear-focus", Bre = "react-aria-focus";+var Hre = "react-aria-clear-focus", Ure = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function vS(e) {- let t = Hre(bb(e));- t !== e && (t && Vre(t, e), e && yS(e, t));+function gS(e) {+ let t = Gre(vb(e));+ t !== e && (t && Wre(t, e), e && _S(e, t));}-function Vre(e, t) {+function Wre(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function yS(e, t) {+function _S(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function Hre(e) {- let t = kb(e), n = t?.getAttribute("aria-activedescendant");+function Gre(e) {+ let t = Db(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function bS(e, t) {- let n = xb(t), r = bb(t);+function vS(e, t) {+ let n = yb(t), r = vb(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 xS = 100, SS = 600, CS = {+var yS = 100, bS = 600, xS = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21593,7 +21593,7 @@ var xS = 100, SS = 600, CS = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, Ure = /* @__PURE__ */ new Set([+}, Kre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21604,7 +21604,7 @@ var xS = 100, SS = 600, CS = {"submit","reset"]);-function wS() {+function SS() {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,@@ -21612,58 +21612,58 @@ function wS() {angle: window.screen.orientation?.angle ?? 0};}-function Wre(e) {- CS.resizeTimeStamp <= e.timeStamp + 50 && (CS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(CS.resizeTimeout), CS.resizeTimeout = window.setTimeout(TS, 150));+function qre(e) {+ xS.resizeTimeStamp <= e.timeStamp + 50 && (xS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(xS.resizeTimeout), xS.resizeTimeout = window.setTimeout(CS, 150));}-function TS() {- let e = bS("viewport");- if (nx() && e?.includes("overlays-content")) return;- let t = performance.now(), n = wS(), r = t - CS.startTimeStamp, i = CS.screenHeight - n.height, a = CS.screenAngle - n.angle;- Math.abs(a) % 180 && CS.screenWidth - n.height < xS && (CS.screenWidth = n.width, CS.screenHeight = n.height, CS.screenAngle = n.angle, i = 0), r > SS && (window.clearTimeout(CS.screenTimeout), CS.screenTimeout = window.setTimeout(() => {- let e = OS(document.hasFocus() ? kb() : null), t = wS();- Math.abs(CS.screenAngle - t.angle) % 180 || CS.isOpen && e || (CS.screenWidth = t.width, CS.screenHeight = t.height, CS.screenAngle = t.angle, CS.isOpen = !1);- }, SS)), r <= SS && i >= xS && (CS.endTimeStamp = t), CS.isOpen = i >= xS;-}-function Gre() {- let e = wS(), t = CS.screenAngle - e.angle;- if (Math.abs(t) % 180 && !CS.isOpen) {- let e = CS.screenWidth;- CS.screenWidth = CS.screenHeight, CS.screenHeight = e;- }- CS.isOpen || (CS.screenAngle = e.angle);-}-function Kre(e) {- let t = OS(G(e)), n = performance.now(), r = wS(), i = CS.screenHeight - r.height;- i < xS && t && (CS.screenWidth = r.width, CS.screenHeight = r.height, CS.screenAngle = r.angle, CS.startTimeStamp = n), t && window.clearTimeout(CS.screenTimeout), i >= xS && t && (CS.endTimeStamp = n);-}-function ES() {- let e = wS();- wb(window.visualViewport, "resize", ex() ? TS : Wre), wb(window.screen.orientation, "change", Gre), wb(window, "focus", Kre, {+function CS() {+ let e = vS("viewport");+ if (ex() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = SS(), r = t - xS.startTimeStamp, i = xS.screenHeight - n.height, a = xS.screenAngle - n.angle;+ Math.abs(a) % 180 && xS.screenWidth - n.height < yS && (xS.screenWidth = n.width, xS.screenHeight = n.height, xS.screenAngle = n.angle, i = 0), r > bS && (window.clearTimeout(xS.screenTimeout), xS.screenTimeout = window.setTimeout(() => {+ let e = ES(document.hasFocus() ? Db() : null), t = SS();+ Math.abs(xS.screenAngle - t.angle) % 180 || xS.isOpen && e || (xS.screenWidth = t.width, xS.screenHeight = t.height, xS.screenAngle = t.angle, xS.isOpen = !1);+ }, bS)), r <= bS && i >= yS && (xS.endTimeStamp = t), xS.isOpen = i >= yS;+}+function Jre() {+ let e = SS(), t = xS.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !xS.isOpen) {+ let e = xS.screenWidth;+ xS.screenWidth = xS.screenHeight, xS.screenHeight = e;+ }+ xS.isOpen || (xS.screenAngle = e.angle);+}+function Yre(e) {+ let t = ES(W(e)), n = performance.now(), r = SS(), i = xS.screenHeight - r.height;+ i < yS && t && (xS.screenWidth = r.width, xS.screenHeight = r.height, xS.screenAngle = r.angle, xS.startTimeStamp = n), t && window.clearTimeout(xS.screenTimeout), i >= yS && t && (xS.endTimeStamp = n);+}+function wS() {+ let e = SS();+ Sb(window.visualViewport, "resize", Qb() ? CS : qre), Sb(window.screen.orientation, "change", Jre), Sb(window, "focus", Yre, {capture: !0,passive: !0- }), CS.screenWidth = e.width, CS.screenHeight = e.height, CS.screenAngle = e.angle;+ }), xS.screenWidth = e.width, xS.screenHeight = e.height, xS.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? wb(document, "DOMContentLoaded", ES) : ES());-function DS() {- let e = bS("viewport");- return nx() && e?.includes("overlays-content") ? !1 : CS.isOpen ? !0 : CS.startTimeStamp ? CS.endTimeStamp >= CS.startTimeStamp ? !0 : performance.now() - CS.startTimeStamp <= SS ? CS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? Sb(document, "DOMContentLoaded", wS) : wS());+function TS() {+ let e = vS("viewport");+ return ex() && e?.includes("overlays-content") ? !1 : xS.isOpen ? !0 : xS.startTimeStamp ? xS.endTimeStamp >= xS.startTimeStamp ? !0 : performance.now() - xS.startTimeStamp <= bS ? xS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function OS(e) {- if (!(e instanceof Element) || !zb(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Ure.has(e.type);+function ES(e) {+ if (!(e instanceof Element) || !Lb(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Kre.has(e.type);return t || n || r;}-function kS(e) {- return Zb() ? e.metaKey : e.ctrlKey;+function DS(e) {+ return Yb() ? e.metaKey : e.ctrlKey;}-function AS() {- return CS.isOpen;+function OS() {+ return xS.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var qre = P.useInsertionEffect ?? Hb;-function jS(e) {+var Xre = P.useInsertionEffect ?? Bb;+function kS(e) {let t = (0, P.useRef)(null);- return qre(() => {+ return Xre(() => {t.current = e;}, [e]), (0, P.useCallback)((...e) => {let n = t.current;@@ -21671,10 +21671,10 @@ function jS(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function MS(e, t, n, r) {- let i = jS(n), a = n == null;+function AS(e, t, n, r) {+ let i = kS(n), a = n == null;(0, P.useEffect)(() => {- if (!(a || e.current == null)) return wb(e.current, t, i, r);+ if (!(a || e.current == null)) return Sb(e.current, t, i, r);}, [e,t,@@ -21683,16 +21683,16 @@ function MS(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function NS(e, t) {+function jS(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = Ux(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 = Vx(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};}// node_modules/react-aria/dist/private/i18n/utils.mjs-var Jre = /* @__PURE__ */ new Set([+var Zre = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21703,7 +21703,7 @@ var Jre = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), Yre = /* @__PURE__ */ new Set([+]), Qre = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21724,19 +21724,19 @@ var Jre = /* @__PURE__ */ new Set(["ur","yi"]);-function Xre(e) {+function $re(e) {if (Intl.Locale) {let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;if (n) return n.direction === "rtl";- if (t.script) return Jre.has(t.script);+ if (t.script) return Zre.has(t.script);}let t = e.split("-")[0];- return Yre.has(t);+ return Qre.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var PS = Symbol.for("react-aria.i18n.locale");-function FS() {- let e = typeof window < "u" && window[PS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var MS = Symbol.for("react-aria.i18n.locale");+function NS() {+ let e = typeof window < "u" && window[MS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21744,31 +21744,31 @@ function FS() {}return {locale: e,- direction: Xre(e) ? "rtl" : "ltr"+ direction: $re(e) ? "rtl" : "ltr"};}-var IS = FS(), LS = /* @__PURE__ */ new Set();-function RS() {- IS = FS();- for (let e of LS) e(IS);+var PS = NS(), FS = /* @__PURE__ */ new Set();+function IS() {+ PS = NS();+ for (let e of FS) e(PS);}-function Zre() {- let e = dx(), [t, n] = (0, P.useState)(IS);- return (0, P.useEffect)(() => (LS.size === 0 && window.addEventListener("languagechange", RS), LS.add(n), () => {- LS.delete(n), LS.size === 0 && window.removeEventListener("languagechange", RS);+function eie() {+ let e = lx(), [t, n] = (0, P.useState)(PS);+ return (0, P.useEffect)(() => (FS.size === 0 && window.addEventListener("languagechange", IS), FS.add(n), () => {+ FS.delete(n), FS.size === 0 && window.removeEventListener("languagechange", IS);}), []), e ? {- locale: typeof window < "u" && window[PS] || "en-US",+ locale: typeof window < "u" && window[MS] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Qre = /*#__PURE__*/ P.createContext(null);-function zS() {- let e = Zre();- return (0, P.useContext)(Qre) || e;+var tie = /*#__PURE__*/ P.createContext(null);+function LS() {+ let e = eie();+ return (0, P.useContext)(tie) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var $re = Symbol.for("react-aria.i18n.locale"), eie = Symbol.for("react-aria.i18n.strings"), BS = void 0, VS = class e {+var nie = Symbol.for("react-aria.i18n.locale"), rie = Symbol.for("react-aria.i18n.strings"), RS = void 0, zS = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21779,38 +21779,38 @@ var $re = Symbol.for("react-aria.i18n.locale"), eie = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = tie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = iie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[$re];- if (BS === void 0) {- let t = window[eie];+ let n = window[nie];+ if (RS === void 0) {+ let t = window[rie];if (!t) return null;- BS = {};- for (let r in t) BS[r] = new e({ [n]: t[r] }, n);+ RS = {};+ for (let r in t) RS[r] = new e({ [n]: t[r] }, n);}- let r = BS?.[t];+ let r = RS?.[t];if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r;}};-function tie(e, t, n = "en-US") {+function iie(e, t, n = "en-US") {if (t[e]) return t[e];- let r = nie(e), i = rie(e);+ let r = aie(e), i = oie(e);if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];if (t[r]) return t[r];for (let e in t) if (e.startsWith(r + "-")) return t[e];return t[n];}-function nie(e) {+function aie(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function rie(e) {+function oie(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var HS = /* @__PURE__ */ new Map(), US = /* @__PURE__ */ new Map(), iie = class {+var BS = /* @__PURE__ */ new Map(), VS = /* @__PURE__ */ new Map(), sie = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -21821,36 +21821,36 @@ var HS = /* @__PURE__ */ new Map(), US = /* @__PURE__ */ new Map(), iie = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = HS.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), HS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = BS.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), BS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = US.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), US.set(this.locale, t)), t.format(e);+ let t = VS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), VS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, WS = /* @__PURE__ */ new WeakMap();-function aie(e) {- let t = WS.get(e);- return t || (t = new VS(e), WS.set(e, t)), t;+}, HS = /* @__PURE__ */ new WeakMap();+function cie(e) {+ let t = HS.get(e);+ return t || (t = new zS(e), HS.set(e, t)), t;}-function oie(e, t) {- return t && VS.getGlobalDictionaryForPackage(t) || aie(e);+function lie(e, t) {+ return t && zS.getGlobalDictionaryForPackage(t) || cie(e);}-function GS(e, t) {- let { locale: n } = zS(), r = oie(e, t);- return (0, P.useMemo)(() => new iie(n, r), [n, r]);+function US(e, t) {+ let { locale: n } = LS(), r = lie(e, t);+ return (0, P.useMemo)(() => new sie(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var sie = /* @__PURE__ */ new Set(["id"]), cie = /* @__PURE__ */ new Set([+var uie = /* @__PURE__ */ new Set(["id"]), die = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), lie = /* @__PURE__ */ new Set([+]), fie = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -21858,60 +21858,60 @@ var sie = /* @__PURE__ */ new Set(["id"]), cie = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), uie = /* @__PURE__ */ new Set([+]), pie = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), KS = /* @__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(".")), die = /^(data-.*)$/;-function qS(e, t = {}) {+]), WS = /* @__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(".")), mie = /^(data-.*)$/;+function GS(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) && (sie.has(t) || n && cie.has(t) || r && lie.has(t) || i && uie.has(t) || a && (KS.has(t) || t.endsWith("Capture") && KS.has(t.slice(0, -7))) || o?.has(t) || die.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (uie.has(t) || n && die.has(t) || r && fie.has(t) || i && pie.has(t) || a && (WS.has(t) || t.endsWith("Capture") && WS.has(t.slice(0, -7))) || o?.has(t) || mie.test(t)) && (s[t] = e[t]);return s;}// node_modules/react-aria/dist/private/interactions/textSelection.mjs-var JS = "default", YS = "", XS = /* @__PURE__ */ new WeakMap();-function ZS(e) {- if ($b() && ex()) {- if (JS === "default") {- let t = bb(e);- YS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- JS = "disabled";+var KS = "default", qS = "", JS = /* @__PURE__ */ new WeakMap();+function YS(e) {+ if (Zb() && Qb()) {+ if (KS === "default") {+ let t = vb(e);+ qS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ KS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- XS.set(e, e.style[t]), e.style[t] = "none";+ JS.set(e, e.style[t]), e.style[t] = "none";}}-function QS(e) {- if ($b() && ex()) {- if (JS !== "disabled") return;- JS = "restoring", setTimeout(() => {- Lx(() => {- if (JS === "restoring") {- let t = bb(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = YS || ""), YS = "", JS = "default";+function XS(e) {+ if (Zb() && Qb()) {+ if (KS !== "disabled") return;+ KS = "restoring", setTimeout(() => {+ Fx(() => {+ if (KS === "restoring") {+ let t = vb(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = qS || ""), qS = "", KS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && XS.has(e)) {- let t = XS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), XS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && JS.has(e)) {+ let t = JS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), JS.delete(e);}}// node_modules/react-aria/dist/private/utils/getNonce.mjs-var $S = /* @__PURE__ */ new WeakMap();-function eC(e) {- let t = bb(e), n = $S.get(t);- return n ??= bS("csp-nonce", t), n !== void 0 && $S.set(t, n), n;+var ZS = /* @__PURE__ */ new WeakMap();+function QS(e) {+ let t = vb(e), n = ZS.get(t);+ return n ??= vS("csp-nonce", t), n !== void 0 && ZS.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjs-var tC = P.createContext({ register: () => {} });-tC.displayName = "PressResponderContext";+var $S = P.createContext({ register: () => {} });+$S.displayName = "PressResponderContext";// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function nC() {+function eC() {let e = (0, P.useRef)(/* @__PURE__ */ new Map()), t = (0, P.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -21937,15 +21937,15 @@ function nC() {};}// node_modules/react-aria/dist/private/interactions/usePress.mjs-function fie(e) {- let t = (0, P.useContext)(tC);+function hie(e) {+ let t = (0, P.useContext)($S);if (t) {let { register: n, ref: r, ...i } = t;- e = K(i, e), n();+ e = G(i, e), n();}- return tS(t, e.ref), e;+ return $x(t, e.ref), e;}-var rC = class {+var tC = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -21958,9 +21958,9 @@ var rC = class {get shouldStopPropagation() {return this.#e;}-}, iC = Symbol("linkClicked"), aC = "react-aria-pressable-style", oC = "data-react-aria-pressable";-function sC(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 } = fie(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({+}, nC = Symbol("linkClicked"), rC = "react-aria-pressable-style", iC = "data-react-aria-pressable";+function aC(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 } = hie(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -21970,12 +21970,12 @@ function sC(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = nC(), y = (0, P.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = eC(), y = (0, P.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new rC("pressstart", t, e);+ let n = new tC("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -21989,11 +21989,11 @@ function sC(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new rC("pressend", r, e);+ let t = new tC("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new rC("press", r, e);+ let n = new tC("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22002,19 +22002,19 @@ function sC(e) {i,n,t- ]), x = jS(b), S = jS((0, P.useCallback)((e, t) => {+ ]), x = kS(b), S = kS((0, P.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new rC("pressup", t, e);+ let r = new tC("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, P.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(uC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || QS(t.target);+ t.didFirePressStart && t.pointerType != null && b(cC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || XS(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22022,7 +22022,7 @@ function sC(e) {d,v,b- ]), w = jS(C);+ ]), w = kS(C);(0, P.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22039,39 +22039,39 @@ function sC(e) {}, [s, o]), D = (0, P.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- Wb(n, t), o(Ub(n));+ Hb(n, t), o(Vb(n));}}, [s, o]), O = (0, P.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (lC(t.nativeEvent, t.currentTarget) && Ob(t.currentTarget, G(t))) {- dC(G(t), t.key) && t.preventDefault();+ if (sC(t.nativeEvent, t.currentTarget) && Eb(t.currentTarget, W(t))) {+ lC(W(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;- _(bb(t.currentTarget), "keyup", zx((t) => {- lC(t, i) && !t.repeat && Ob(i, G(t)) && e.target && S(uC(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && Zb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(vb(t.currentTarget), "keyup", Lx((t) => {+ sC(t, i) && !t.repeat && Eb(i, W(t)) && e.target && S(cC(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && Yb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || Ob(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !ax.isOpening) {+ if ((!t || Eb(t.currentTarget, W(t))) && t && t.button === 0 && !e.isTriggeringEvent && !rx.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || rx(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || tx(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(uC(t.currentTarget, t), r), a = x(uC(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(cC(t.currentTarget, t), r), a = x(cC(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 && lC(t, e.target)) {- dC(G(t), t.key) && t.preventDefault();- let n = G(t), r = Ob(e.target, n);- x(uC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && cC(e.target) && Ob(e.target, n) && !t[iC] && (t[iC] = !0, ax(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && sC(t, e.target)) {+ lC(W(t), t.key) && t.preventDefault();+ let n = W(t), r = Eb(e.target, n);+ x(cC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && oC(e.target) && Eb(e.target, n) && !t[nC] && (t[nC] = !0, rx(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;@@ -22080,39 +22080,39 @@ function sC(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !Ob(t.currentTarget, G(t))) return;- if (Yne(t.nativeEvent)) {+ if (t.button !== 0 || !Eb(t.currentTarget, W(t))) return;+ if (Qne(t.nativeEvent)) {e.pointerType = "virtual";return;}e.pointerType = t.pointerType;let i = !0;if (!e.isPressed) {- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || ZS(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)), _(bb(t.currentTarget), "pointerup", n, !1), _(bb(t.currentTarget), "pointercancel", r, !1);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || YS(e.target), i = y(t, e.pointerType);+ let a = W(t);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(vb(t.currentTarget), "pointerup", n, !1), _(vb(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (Ob(t.currentTarget, G(t)) && t.button === 0) {+ if (Eb(t.currentTarget, W(t)) && t.button === 0) {if (l) {- let n = qb(t.target);+ let n = Gb(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- Ob(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ Eb(t.currentTarget, W(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(uC(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(cC(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(uC(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(cC(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (Ob(e.target, G(t)) && e.pointerType != null) {+ if (Eb(e.target, W(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (yb(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (_b(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22122,7 +22122,7 @@ function sC(e) {w(e);};t.onDragStart = (e) => {- Ob(e.currentTarget, G(e)) && w(e);+ Eb(e.currentTarget, W(e)) && w(e);};}return t;@@ -22139,14 +22139,14 @@ function sC(e) {]);return (0, P.useEffect)(() => {if (!f) return;- let e = bb(f.current);- if (!e || !e.head || e.getElementById(aC)) return;+ let e = vb(f.current);+ if (!e || !e.head || e.getElementById(rC)) return;let t = e.createElement("style");- t.id = aC;- let n = eC(e);+ t.id = rC;+ let n = QS(e);n && (t.nonce = n), t.textContent = `@layer {- [${oC}] {+ [${iC}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22154,23 +22154,23 @@ function sC(e) {}, [f]), (0, P.useEffect)(() => {let e = g.current;return () => {- d || QS(e.target ?? void 0);+ d || XS(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, O, { [oC]: !0 })+ pressProps: G(p, O, { [iC]: !0 })};}-function cC(e) {+function oC(e) {return e.tagName === "A" && e.hasAttribute("href");}-function lC(e, t) {+function sC(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof xb(i).HTMLInputElement && !fC(i, n) || i instanceof xb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && cC(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof yb(i).HTMLInputElement && !uC(i, n) || i instanceof yb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && oC(i)) && n !== "Enter");}-function uC(e, t) {+function cC(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22183,13 +22183,13 @@ function uC(e, t) {key: t.key};}-function pie(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !cC(e);+function gie(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !oC(e);}-function dC(e, t) {- return Zb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !fC(e, t) : pie(e);+function lC(e, t) {+ return Yb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !uC(e, t) : gie(e);}-var mie = /* @__PURE__ */ new Set([+var _ie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22200,11 +22200,11 @@ var mie = /* @__PURE__ */ new Set(["submit","reset"]);-function fC(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : mie.has(e.type);+function uC(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : _ie.has(e.type);}// node_modules/react-aria/dist/private/button/useButton.mjs-function hie(e, t) {+function vie(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -22226,7 +22226,7 @@ function hie(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = sC({+ let { pressProps: _, isPressed: v } = aC({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22236,12 +22236,12 @@ function hie(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = rS(e, t);+ }), { focusableProps: y } = tS(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, qS(e, { labelable: !0 }));+ let b = G(y, _, GS(e, { labelable: !0 }));return {isPressed: v,- buttonProps: K(g, b, {+ buttonProps: G(g, b, {"aria-haspopup": e["aria-haspopup"],"aria-expanded": e["aria-expanded"],"aria-controls": e["aria-controls"],@@ -22252,7 +22252,7 @@ function hie(e, t) {};}// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var gie = class {+var yie = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22277,7 +22277,7 @@ var gie = class {return this._currentNode;}set currentNode(e) {- if (!Ob(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!Eb(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -22291,7 +22291,7 @@ var gie = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return Ob(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return Eb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22355,44 +22355,44 @@ var gie = class {return null;}};-function pC(e, t, n, r) {- return Db() ? new gie(e, t, n, r) : e.createTreeWalker(t, n, r);+function dC(e, t, n, r) {+ return Tb() ? new yie(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjs-var mC = /*#__PURE__*/ P.createContext(null), hC = "react-aria-focus-scope-restore", gC = null;-function _C(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(mC) || {}, l = (0, P.useMemo)(() => new IC({ scopeRef: s }), [s]);- Hb(() => {- let e = c || LC.root;- if (LC.getTreeNode(e.scopeRef) && gC && !TC(gC, e.scopeRef)) {- let t = LC.getTreeNode(gC);+var fC = /*#__PURE__*/ P.createContext(null), pC = "react-aria-focus-scope-restore", mC = null;+function hC(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(fC) || {}, l = (0, P.useMemo)(() => new NC({ scopeRef: s }), [s]);+ Bb(() => {+ let e = c || PC.root;+ if (PC.getTreeNode(e.scopeRef) && mC && !SC(mC, e.scopeRef)) {+ let t = PC.getTreeNode(mC);t && (e = t);}- e.addChild(l), LC.addNode(l);- }, [l, c]), Hb(() => {- let e = LC.getTreeNode(s);+ e.addChild(l), PC.addNode(l);+ }, [l, c]), Bb(() => {+ let e = PC.getTreeNode(s);e && (e.contain = !!n);- }, [n]), Hb(() => {+ }, [n]), Bb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(hC, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(pC, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(hC, n);+ for (let e of t) e.removeEventListener(pC, n);};- }, [t]), AC(s, r, n), bC(s, n), MC(s, r, n), kC(s, i), (0, P.useEffect)(() => {- let e = kb(bb(s.current ? s.current[0] : void 0)), t = null;- if (SC(e, s.current)) {- for (let n of LC.traverse()) n.scopeRef && SC(e, n.scopeRef.current) && (t = n);- t === LC.getTreeNode(s) && (gC = t.scopeRef);- }- }, [s]), Hb(() => () => {- let e = LC.getTreeNode(s)?.parent?.scopeRef ?? null;- s !== gC && !TC(s, gC) || e && !LC.getTreeNode(e) || (gC = e), LC.removeTreeNode(s);+ }, [t]), DC(s, r, n), Cie(s, n), kC(s, r, n), EC(s, i), (0, P.useEffect)(() => {+ let e = Db(vb(s.current ? s.current[0] : void 0)), t = null;+ if (yC(e, s.current)) {+ for (let n of PC.traverse()) n.scopeRef && yC(e, n.scopeRef.current) && (t = n);+ t === PC.getTreeNode(s) && (mC = t.scopeRef);+ }+ }, [s]), Bb(() => () => {+ let e = PC.getTreeNode(s)?.parent?.scopeRef ?? null;+ s !== mC && !SC(s, mC) || e && !PC.getTreeNode(e) || (mC = e), PC.removeTreeNode(s);}, [s]);- let u = (0, P.useMemo)(() => _ie(s), []), d = (0, P.useMemo)(() => ({+ let u = (0, P.useMemo)(() => bie(s), []), d = (0, P.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ P.createElement(mC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {+ return /*#__PURE__*/ P.createElement(fC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22402,154 +22402,154 @@ function _C(e) {ref: o}));}-function _ie(e) {+function bie(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || kb(bb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = PC(vC(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Db(vb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = jC(gC(n), {tabbable: i,accept: o}, n);- l.currentNode = SC(s, n) ? s : c;+ l.currentNode = yC(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && EC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && CC(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || kb(bb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = PC(vC(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Db(vb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = jC(gC(n), {tabbable: i,accept: o}, n);- l.currentNode = SC(s, n) ? s : c;+ l.currentNode = yC(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && EC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && CC(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = PC(vC(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = jC(gC(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && EC(o, !0), o;+ return o && CC(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = PC(vC(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = jC(gC(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && EC(o, !0), o;+ return o && CC(o, !0), o;}};}-function vC(e) {+function gC(e) {return e[0].parentElement;}-function yC(e) {- let t = LC.getTreeNode(gC);+function _C(e) {+ let t = PC.getTreeNode(mC);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function vie(e) {- if (!e.form) return Array.from(bb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = xb(e);+function xie(e) {+ if (!e.form) return Array.from(vb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = yb(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function yie(e) {+function Sie(e) {if (e.checked) return !0;- let t = vie(e);+ let t = xie(e);return t.length > 0 && !t.some((e) => e.checked);}-function bC(e, t) {+function Cie(e, t) {let n = (0, P.useRef)(void 0), r = (0, P.useRef)(void 0);- Hb(() => {+ Bb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = bb(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !yC(e) || t.isComposing) return;- let n = kb(a), r = e.current;- if (!r || !SC(n, r)) return;- let i = PC(vC(r), { tabbable: !0 }, r);+ let a = vb(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !_C(e) || t.isComposing) return;+ let n = Db(a), r = e.current;+ if (!r || !yC(n, r)) return;+ let i = jC(gC(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 && (EC(o, !0), o instanceof xb(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 && (CC(o, !0), o instanceof yb(o).HTMLInputElement && o.select());}, s = (t) => {- (!gC || TC(gC, e)) && SC(G(t), e.current) ? (gC = e, n.current = G(t)) : yC(e) && !CC(G(t), e) ? n.current ? EC(n.current) : gC && gC.current && OC(gC.current) : yC(e) && (n.current = G(t));+ (!mC || SC(mC, e)) && yC(W(t), e.current) ? (mC = e, n.current = W(t)) : _C(e) && !bC(W(t), e) ? n.current ? CC(n.current) : mC && mC.current && TC(mC.current) : _C(e) && (n.current = W(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = Dx(), i = (r === "virtual" || r === null) && nx() && tx(), o = kb(a);- if (!i && o && yC(e) && !CC(o, e)) {- gC = e;- let r = G(t);- r && r.isConnected ? (n.current = r, EC(n.current)) : gC.current && OC(gC.current);+ let r = Tx(), i = (r === "virtual" || r === null) && ex() && $b(), o = Db(a);+ if (!i && o && _C(e) && !bC(o, e)) {+ mC = e;+ let r = W(t);+ r && r.isConnected ? (n.current = r, CC(n.current)) : mC.current && TC(mC.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]), Hb(() => () => {+ }, [e, t]), Bb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function xC(e) {- return CC(e);+function vC(e) {+ return bC(e);}-function SC(e, t) {- return !e || !t ? !1 : t.some((t) => Ob(t, e));+function yC(e, t) {+ return !e || !t ? !1 : t.some((t) => Eb(t, e));}-function CC(e, t = null) {+function bC(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of LC.traverse(LC.getTreeNode(t))) if (n && SC(e, n.current)) return !0;+ for (let { scopeRef: n } of PC.traverse(PC.getTreeNode(t))) if (n && yC(e, n.current)) return !0;return !1;}-function wC(e) {- return CC(e, gC);+function xC(e) {+ return bC(e, mC);}-function TC(e, t) {- let n = LC.getTreeNode(t)?.parent;+function SC(e, t) {+ let n = PC.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function EC(e, t = !1) {+function CC(e, t = !1) {if (e != null && !t) try {- Rx(e);+ Ix(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function DC(e, t = !0) {- let n = e[0].previousElementSibling, r = vC(e), i = PC(r, { tabbable: t }, e);+function wC(e, t = !0) {+ let n = e[0].previousElementSibling, r = gC(e), i = jC(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = vC(e), i = PC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = gC(e), i = jC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function OC(e, t = !0) {- EC(DC(e, t));+function TC(e, t = !0) {+ CC(wC(e, t));}-function kC(e, t) {+function EC(e, t) {let n = P.useRef(t);(0, P.useEffect)(() => {- n.current && (gC = e, !SC(kb(bb(e.current ? e.current[0] : void 0)), gC.current) && e.current && OC(e.current)), n.current = !1;+ n.current && (mC = e, !yC(Db(vb(e.current ? e.current[0] : void 0)), mC.current) && e.current && TC(e.current)), n.current = !1;}, [e]);}-function AC(e, t, n) {- Hb(() => {+function DC(e, t, n) {+ Bb(() => {if (t || n) return;- let r = e.current, i = bb(r ? r[0] : void 0), a = (t) => {- let n = G(t);- SC(n, e.current) ? gC = e : xC(n) || (gC = null);+ let r = e.current, i = vb(r ? r[0] : void 0), a = (t) => {+ let n = W(t);+ yC(n, e.current) ? mC = e : vC(n) || (mC = 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));@@ -22560,43 +22560,43 @@ function AC(e, t, n) {n]);}-function jC(e) {- let t = LC.getTreeNode(gC);+function OC(e) {+ let t = PC.getTreeNode(mC);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function MC(e, t, n) {- let r = (0, P.useRef)(typeof document < "u" ? kb(bb(e.current ? e.current[0] : void 0)) : null);- Hb(() => {- let r = e.current, i = bb(r ? r[0] : void 0);+function kC(e, t, n) {+ let r = (0, P.useRef)(typeof document < "u" ? Db(vb(e.current ? e.current[0] : void 0)) : null);+ Bb(() => {+ let r = e.current, i = vb(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!gC || TC(gC, e)) && SC(kb(i), e.current) && (gC = e);+ (!mC || SC(mC, e)) && yC(Db(i), e.current) && (mC = 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]), Hb(() => {- let r = bb(e.current ? e.current[0] : void 0);+ }, [e, n]), Bb(() => {+ let r = vb(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !yC(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !_C(e) || t.isComposing) return;let n = r.activeElement;- if (!CC(n, e) || !jC(e)) return;- let i = LC.getTreeNode(e);+ if (!bC(n, e) || !OC(e)) return;+ let i = PC.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = PC(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = jC(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 || !CC(s, e)) && a) {+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !bC(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (CC(s, e));- t.preventDefault(), t.stopPropagation(), s ? EC(s, !0) : xC(a) ? EC(a, !0) : n.blur();+ while (bC(s, e));+ t.preventDefault(), t.stopPropagation(), s ? CC(s, !0) : vC(a) ? CC(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22606,31 +22606,31 @@ function MC(e, t, n) {e,t,n- ]), Hb(() => {- let n = bb(e.current ? e.current[0] : void 0);+ ]), Bb(() => {+ let n = vb(e.current ? e.current[0] : void 0);if (!t) return;- let i = LC.getTreeNode(e);+ let i = PC.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = LC.getTreeNode(e);+ let r = PC.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = kb(n);- if (t && i && (a && CC(a, e) || a === n.body && jC(e))) {- let t = LC.clone();+ let i = r.nodeToRestore, a = Db(n);+ if (t && i && (a && bC(a, e) || a === n.body && OC(e))) {+ let t = PC.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- NC(n.nodeToRestore);+ AC(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && LC.getTreeNode(n.scopeRef)) {- let e = DC(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && PC.getTreeNode(n.scopeRef)) {+ let e = wC(n.scopeRef.current, !0);if (e) {- NC(e);+ AC(e);return;}}@@ -22642,21 +22642,21 @@ function MC(e, t, n) {};}, [e, t]);}-function NC(e) {- e.dispatchEvent(new CustomEvent(hC, {+function AC(e) {+ e.dispatchEvent(new CustomEvent(pC, {bubbles: !0,cancelable: !0- })) && EC(e);+ })) && CC(e);}-function PC(e, t, n) {- let r = t?.tabbable ? Bb : zb, i = bb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = pC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return Ob(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!yie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || SC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function jC(e, t, n) {+ let r = t?.tabbable ? Rb : Lb, i = vb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = dC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return Eb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Sie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || yC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var FC = class e {+var MC = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new IC({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new NC({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22667,7 +22667,7 @@ var FC = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new IC({ scopeRef: e });+ let i = new NC({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22678,7 +22678,7 @@ var FC = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && SC(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 && yC(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);}@@ -22690,7 +22690,7 @@ var FC = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, IC = class {+}, NC = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22700,13 +22700,13 @@ var FC = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, LC = new FC(), RC = 7e3, zC = null;-function BC(e, t = "assertive", n = RC) {- zC ? zC.announce(e, t, n) : (zC = new VC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? zC.announce(e, t, n) : setTimeout(() => {- zC?.isAttached() && zC?.announce(e, t, n);+}, PC = new MC(), FC = 7e3, IC = null;+function LC(e, t = "assertive", n = FC) {+ IC ? IC.announce(e, t, n) : (IC = new RC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? IC.announce(e, t, n) : setTimeout(() => {+ IC?.isAttached() && IC?.announce(e, t, n);}, 100));}-var VC = class {+var RC = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -22731,7 +22731,7 @@ var VC = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = RC) {+ announce(e, t = "assertive", n = FC) {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(() => {@@ -22743,8 +22743,8 @@ var VC = class {}};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function HC(e, t) {- let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = jS(e);+function zC(e, t) {+ let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = kS(e);(0, P.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, P.useEffect)(() => {@@ -22753,30 +22753,30 @@ function HC(e, t) {}, t);}// node_modules/react-aria/dist/private/utils/isScrollable.mjs-function UC(e, t) {+function BC(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 WC(e, t) {+function VC(e, t) {let n = e;- for (UC(n, t) && (n = n.parentElement); n && !UC(n, t);) n = n.parentElement;+ for (BC(n, t) && (n = n.parentElement); n && !BC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}// node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function GC(e, t) {+function HC(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (UC(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (BC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function KC(e, t, n = {}) {- e !== t && qC(e, t, t.getBoundingClientRect(), n);+function UC(e, t, n = {}) {+ e !== t && WC(e, t, t.getBoundingClientRect(), n);}-function qC(e, t, n, r = {}) {+function WC(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, te = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, N = e === d ? 0 : e.offsetHeight - e.clientHeight - te, re = p + (f ? 0 : T) + x, ie = m - (f ? 0 : E) - S - N, P = h + (f ? 0 : D) + C, F = g - (f ? 0 : O) - w;- $b() && ex() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);+ Zb() && Qb() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);let ae = k < re || A > ie, oe = j < P || M > F;if (ae && i === "start") o += k - re;else if (ae && i === "center") o += (k + A) / 2 - (re + ie) / 2;@@ -22797,7 +22797,7 @@ function qC(e, t, n, r = {}) {top: o});}-function JC(e, t = {}) {+function GC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22810,45 +22810,45 @@ function JC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = GC(e, !0);- for (let t of i) KC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = HC(e, !0);+ for (let t of i) UC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? GC(n, !0) : [];- for (let e of i) KC(e, n, {+ i = n ? HC(n, !0) : [];+ for (let e of i) UC(e, n, {block: "center",inline: "center"});- for (let t of GC(e, !0)) KC(t, e);+ for (let t of HC(e, !0)) UC(t, e);}}}}// node_modules/react-aria/dist/private/utils/useDescription.mjs-var YC = 0, XC = /* @__PURE__ */ new Map();-function ZC(e) {+var KC = 0, qC = /* @__PURE__ */ new Map();+function JC(e) {let [t, n] = (0, P.useState)();- return Hb(() => {+ return Bb(() => {if (!e) return;- let t = XC.get(e);+ let t = qC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${YC++}`;+ let r = `react-aria-description-${KC++}`;n(r);let i = document.createElement("div");i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, XC.set(e, t);+ }, qC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), XC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), qC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}// node_modules/react-aria/dist/private/utils/useFormReset.mjs-function QC(e, t, n) {- let r = jS((e) => {+function YC(e, t, n) {+ let r = kS((e) => {n && !e.defaultPrevented && n(t);});(0, P.useEffect)(() => {@@ -22859,21 +22859,21 @@ function QC(e, t, n) {}, [e]);}// node_modules/react-aria/dist/private/form/useFormValidation.mjs-function $C(e, t, n) {+function XC(e, t, n) {let { validationBehavior: r, focus: i } = e;- Hb(() => {+ Bb(() => {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(tw(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(QC(n.current));}});- let a = (0, P.useRef)(!1), o = jS(() => {+ let a = (0, P.useRef)(!1), o = kS(() => {a.current || t.resetValidation();- }), s = jS((e) => {+ }), s = kS((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && nw(r) === n.current && (i ? i() : n.current?.focus(), Ox("keyboard")), e.preventDefault();- }), c = jS(() => {+ !e.defaultPrevented && n && r && $C(r) === n.current && (i ? i() : n.current?.focus(), Ex("keyboard")), e.preventDefault();+ }), c = kS(() => {t.commitValidation();});(0, P.useEffect)(() => {@@ -22881,13 +22881,13 @@ function $C(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" && W(window.event) instanceof MessagePort, r?.call(t), a.current = !1;}), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);};}, [n, r]);}-function ew(e) {+function ZC(e) {let t = e.validity;return {badInput: t.badInput,@@ -22903,14 +22903,14 @@ function ew(e) {valid: t.valid};}-function tw(e) {+function QC(e) {return {isInvalid: !e.validity.valid,- validationDetails: ew(e),+ validationDetails: ZC(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function nw(e) {+function $C(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -22918,23 +22918,23 @@ function nw(e) {return null;}// node_modules/react-aria/dist/private/utils/useSlot.mjs-function rw(e = !0) {+function ew(e = !0) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return Hb(() => {+ return Bb(() => {r.current || n(!1);}, []), [i, t];}-function iw(e = !0) {- let t = Ux(), [n, r] = rw(e);+function tw(e = !0) {+ let t = Vx(), [n, r] = ew(e);return {id: r ? t : void 0,ref: n};}// node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var aw = {+var nw = {badInput: !1,customError: !1,patternMismatch: !1,@@ -22946,18 +22946,18 @@ var aw = {typeMismatch: !1,valueMissing: !1,valid: !0-}, ow = {- ...aw,+}, rw = {+ ...nw,customError: !0,valid: !1-}, sw = {+}, iw = {isInvalid: !1,- validationDetails: aw,+ validationDetails: nw,validationErrors: []-}, bie = (0, P.createContext)({}), cw = "__reactAriaFormValidationState";-function lw(e) {+}, wie = (0, P.createContext)({}), aw = "__reactAriaFormValidationState";+function ow(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[cw];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[aw];return {realtimeValidation: t,displayValidation: n,@@ -22966,70 +22966,70 @@ function lw(e) {commitValidation: a};}- return xie(e);+ return Tie(e);}-function xie(e) {+function Tie(e) {let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;n && (t ||= n === "invalid");let c = t === void 0 ? null : {isInvalid: t,validationErrors: [],- validationDetails: ow- }, l = (0, P.useMemo)(() => !o || i == null ? null : dw(Sie(o, i)), [o, i]);+ validationDetails: rw+ }, l = (0, P.useMemo)(() => !o || i == null ? null : cw(Eie(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, P.useContext)(bie), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => uw(u[e])) : uw(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);+ let u = (0, P.useContext)(wie), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => sw(u[e])) : sw(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, P.useMemo)(() => dw(m ? [] : d), [m, d]), _ = (0, P.useRef)(sw), [v, y] = (0, P.useState)(sw), b = (0, P.useRef)(sw), x = () => {+ let g = (0, P.useMemo)(() => cw(m ? [] : d), [m, d]), _ = (0, P.useRef)(iw), [v, y] = (0, P.useState)(iw), b = (0, P.useRef)(iw), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- fw(e, b.current) || (b.current = e, y(e));+ lw(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, P.useState)(!1);return (0, P.useEffect)(x), {- realtimeValidation: c || g || l || a || sw,+ realtimeValidation: c || g || l || a || iw,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !fw(v, e) ? y(e) : _.current = e;+ s === "aria" && !lw(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = sw;- fw(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = iw;+ lw(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function uw(e) {+function sw(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function Sie(e, t) {+function Eie(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return uw(n);+ if (n && typeof n != "boolean") return sw(n);}return [];}-function dw(e) {+function cw(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: ow+ validationDetails: rw} : null;}-function fw(e, t) {+function lw(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 pw(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 = lw({+function uw(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 = ow({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- $C(e, b, n);+ XC(e, b, n);let w = (e) => {- e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = sC({+ e.stopPropagation(), t.setSelected(W(e).checked);+ }, { pressProps: T, isPressed: E } = aC({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23037,7 +23037,7 @@ function pw(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [D, O] = (0, P.useState)(!1), { pressProps: k } = sC({+ }), [D, O] = (0, P.useState)(!1), { pressProps: k } = aC({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));},@@ -23054,16 +23054,16 @@ function pw(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [cw]: i } = e, { commitValidation: a } = i || b;+ let { [aw]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: A } = rS(e, n), j = K(T, A), M = qS(e, { labelable: !0 });- QC(n, t.defaultSelected, t.setSelected);- let ee = iw(), te = iw();+ }), { focusableProps: A } = tS(e, n), j = G(T, A), M = GS(e, { labelable: !0 });+ YC(n, t.defaultSelected, t.setSelected);+ let ee = tw(), te = tw();return {- labelProps: K(k, { onClick: (e) => e.preventDefault() }),- inputProps: K(M, {+ labelProps: G(k, { onClick: (e) => e.preventDefault() }),+ inputProps: G(M, {checked: t.isSelected,"aria-required": l && u === "aria" || void 0,required: l && u === "native",@@ -23096,12 +23096,12 @@ function pw(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function mw(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 } = pw(e, t, n), { isIndeterminate: m } = e;+function dw(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 } = uw(e, t, n), { isIndeterminate: m } = e;return (0, P.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {- labelProps: K(r, (0, P.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),+ labelProps: G(r, (0, P.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),inputProps: i,descriptionProps: a,errorMessageProps: o,@@ -23115,17 +23115,17 @@ function mw(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/utils.mjs-var Cie = /* @__PURE__ */ new WeakMap();+var Die = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjs-function hw(e) {+function fw(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = Ux(t);- let o = Ux(), s = {};+ t = Vx(t);+ let o = Vx(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = NS({+ let c = jS({id: t,"aria-label": i,"aria-labelledby": r@@ -23136,19 +23136,19 @@ function hw(e) {};}// node_modules/react-aria/dist/private/label/useField.mjs-function gw(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = hw(e), s = Wx([+function pw(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = fw(e), s = Hx([!!t,!!n,r,i- ]), c = Wx([+ ]), c = Hx([!!t,!!n,r,i]);- return o = K(o, { "aria-describedby": [+ return o = G(o, { "aria-describedby": [s,c,e["aria-describedby"]@@ -23160,26 +23160,26 @@ function gw(e) {};}// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function _w(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = nC(), c = (0, P.useCallback)((e) => {- Ob(e.currentTarget, G(e)) && a.current.isFocusWithin && !Ob(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function mw(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = eC(), c = (0, P.useCallback)((e) => {+ Eb(e.currentTarget, W(e)) && a.current.isFocusWithin && !Eb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = Gb(c), u = (0, P.useCallback)((e) => {- if (!Ob(e.currentTarget, G(e))) return;- let t = G(e), n = bb(t), s = kb(n);+ ]), l = Ub(c), u = (0, P.useCallback)((e) => {+ if (!Eb(e.currentTarget, W(e))) return;+ let t = W(e), n = vb(t), s = Db(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 && !Ob(t, r)) {+ let r = W(e);+ if (a.current.isFocusWithin && !Eb(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- Wb(e, t);- let i = Ub(e);+ Hb(e, t);+ let i = Vb(e);c(i);}}, { capture: !0 });@@ -23200,14 +23200,14 @@ function _w(e) {} };}// node_modules/react-stately/dist/private/utils/useControlledState.mjs-var wie = P.useInsertionEffect ?? P.useLayoutEffect;-function vw(e, t, n) {+var Oie = P.useInsertionEffect ?? P.useLayoutEffect;+function hw(e, t, n) {let [r, i] = (0, P.useState)(e || t), a = (0, P.useRef)(r), o = (0, P.useRef)(e !== void 0), s = e !== void 0;(0, P.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- wie(() => {+ Oie(() => {a.current = c;});let [, l] = (0, P.useReducer)(() => ({}), {});@@ -23217,8 +23217,8 @@ function vw(e, t, n) {}, [n])];}// node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function yw(e = {}) {- let { isReadOnly: t } = e, [n, r] = vw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);+function gw(e = {}) {+ let { isReadOnly: t } = e, [n, r] = hw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);function a(e) {t || r(e);}@@ -23233,26 +23233,26 @@ function yw(e = {}) {};}// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function Tie(e, t, n) {- let r = yw({+function kie(e, t, n) {+ let r = gw({isReadOnly: e.isReadOnly || t.isReadOnly,isSelected: t.isSelected(e.value),defaultSelected: t.defaultValue.includes(e.value),onChange(n) {n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);}- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Cie.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Die.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = lw({+ let { realtimeValidation: l } = ow({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, P.useRef)(sw), d = () => {+ }), u = (0, P.useRef)(iw), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, P.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = mw({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = dw({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -23260,7 +23260,7 @@ function Tie(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [cw]: {+ [aw]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23283,10 +23283,10 @@ function Tie(e, t, n) {};}// node_modules/react-stately/dist/private/utils/number.mjs-function bw(e, t = -Infinity, n = Infinity) {+function _w(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function xw(e, t) {+function vw(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 {@@ -23299,23 +23299,23 @@ function xw(e, t) {}return n;}-function Sw(e, t, n, r) {+function yw(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = xw(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(xw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(xw((n - t) / r, r)) * r), a = xw(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = vw(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(vw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(vw((n - t) / r, r)) * r), a = vw(a, r), a;}// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var Cw = /* @__PURE__ */ new Map(), ww = !1;+var bw = /* @__PURE__ */ new Map(), xw = !1;try {- ww = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ xw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var Eie = class {+var Aie = class {constructor(e, t = {}) {- this.numberFormatter = Die(e, t), this.options = t;+ this.numberFormatter = jie(e, t), this.options = t;}format(e) {let t = "";- return t = !ww && this.options.signDisplay != null ? Oie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !xw && this.options.signDisplay != null ? Mie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23347,21 +23347,21 @@ var Eie = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !ww && this.options.signDisplay != null && (e = {+ return !xw && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function Die(e, t = {}) {+function jie(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 (Cw.has(r)) return Cw.get(r);+ if (bw.has(r)) return bw.get(r);let i = new Intl.NumberFormat(e, t);- return Cw.set(r, i), i;+ return bw.set(r, i), i;}-function Oie(e, t, n) {+function Mie(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23374,12 +23374,12 @@ function Oie(e, t, n) {}}// node_modules/react-aria/dist/private/interactions/useMove.mjs-function Tw(e) {+function Sw(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, P.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = nC(), s = jS((0, P.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = eC(), s = kS((0, P.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23401,8 +23401,8 @@ function Tw(e) {t,n,i- ])), c = jS((0, P.useCallback)((e, t) => {- QS(), i.current.didMove && r?.({+ ])), c = kS((0, P.useCallback)((e, t) => {+ XS(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23413,7 +23413,7 @@ function Tw(e) {}, [r, i]));return { moveProps: (0, P.useMemo)(() => {let e = {}, t = () => {- ZS(), i.current.didMove = !1;+ YS(), i.current.didMove = !1;};{let n = (e) => {@@ -23428,7 +23428,7 @@ function Tw(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = xb(G(e));+ let a = yb(W(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23438,7 +23438,7 @@ function Tw(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = xb(G(e));+ let o = yb(W(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23471,7 +23471,7 @@ function Tw(e) {]) };}// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var Ew = {+var Cw = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -23483,39 +23483,39 @@ var Ew = {width: "1px",whiteSpace: "nowrap"};-function Dw(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = _w({+function ww(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = mw({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, P.useMemo)(() => r ? t : t ? {- ...Ew,+ ...Cw,...t- } : Ew, [r]);+ } : Cw, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function Ow(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Dw(e);- return /*#__PURE__*/ P.createElement(n, K(a, o), t);+function Tw(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = ww(e);+ return /*#__PURE__*/ P.createElement(n, G(a, o), t);}// node_modules/react-aria/dist/private/textfield/useTextField.mjs-function kie(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = vw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = rS(e, t), d = lw({+function Nie(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = hw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = tS(e, t), d = ow({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = gw({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = pw({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = qS(e, { labelable: !0 }), b = {+ }), y = GS(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, P.useState)(c);- return QC(t, e.defaultValue ?? x, l), $C(e, d, t), {+ return YC(t, e.defaultValue ?? x, l), XC(e, d, t), {labelProps: h,- inputProps: K(y, n === "input" ? b : void 0, {+ inputProps: G(y, n === "input" ? b : void 0, {disabled: r,readOnly: a,required: i && s === "native",@@ -23527,7 +23527,7 @@ function kie(e, t) {"aria-haspopup": e["aria-haspopup"],"aria-controls": e["aria-controls"],value: c,- onChange: (e) => l(G(e).value),+ onChange: (e) => l(W(e).value),autoComplete: e.autoComplete,autoCapitalize: e.autoCapitalize,maxLength: e.maxLength,@@ -23559,26 +23559,26 @@ function kie(e, t) {};}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function Aie(e = {}) {- let { locale: t } = zS();- return (0, P.useMemo)(() => new Eie(t, e), [t, e]);+function Pie(e = {}) {+ let { locale: t } = LS();+ return (0, P.useMemo)(() => new Aie(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjs-var kw = /* @__PURE__ */ new WeakMap();-function Aw(e, t) {- let n = kw.get(e);+var Ew = /* @__PURE__ */ new WeakMap();+function Dw(e, t) {+ let n = Ew.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}// node_modules/react-aria/dist/private/slider/useSlider.mjs-function jie(e, t, n) {- let { labelProps: r, fieldProps: i } = hw(e), a = e.orientation === "vertical";- kw.set(t, {+function Fie(e, t, n) {+ let { labelProps: r, fieldProps: i } = fw(e), a = e.orientation === "vertical";+ Ew.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = zS(), { addGlobalListener: s, removeGlobalListener: c } = nC(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = Tw({+ let { direction: o } = LS(), { addGlobalListener: s, removeGlobalListener: c } = eC(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = Sw({onMoveStart() {d.current = null;},@@ -23588,7 +23588,7 @@ function jie(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 = bw(d.current / s, 0, 1);+ let e = _w(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -23612,14 +23612,14 @@ function jie(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(Aw(t, 0))?.focus(), Ox("keyboard");+ document.getElementById(Dw(t, 0))?.focus(), Ex("keyboard");}), {labelProps: r,groupProps: {role: "group",...i},- trackProps: K({+ trackProps: G({onMouseDown(e) {e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || m(e, void 0, e.clientX, e.clientY);},@@ -23635,26 +23635,26 @@ function jie(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => Aw(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => Dw(t, n)).join(" "),"aria-live": "off"}};}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function Mie(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 } = zS(), { addGlobalListener: m, removeGlobalListener: h } = nC(), g = kw.get(t), { labelProps: _, fieldProps: v } = hw({+function Iie(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 } = LS(), { addGlobalListener: m, removeGlobalListener: h } = eC(), g = Ew.get(t), { labelProps: _, fieldProps: v } = fw({...e,- id: Aw(t, n),+ id: Dw(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, P.useCallback)(() => {- s.current && yb(s.current);+ s.current && _b(s.current);}, [s]), x = t.focusedThumb === n;(0, P.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, P.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = $x({+ }, { keyboardProps: T } = Zx({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23670,7 +23670,7 @@ function Mie(e, t) {})},allowRepeats: !0- }), { moveProps: E } = Tw({+ }), { moveProps: E } = Sw({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -23681,7 +23681,7 @@ function Mie(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, bw(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, _w(C.current / g, 0, 1));}},onMoveEnd() {@@ -23689,7 +23689,7 @@ function Mie(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = rS(K(e, {+ let { focusableProps: D } = tS(G(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, P.useRef)(void 0), k = (e) => {@@ -23698,7 +23698,7 @@ function Mie(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 ? {} : G(T, E, {onMouseDown: (e) => {e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || k();},@@ -23709,10 +23709,10 @@ function Mie(e, t) {k(e.changedTouches[0].identifier);}});- return QC(s, t.defaultValues[n], (e) => {+ return YC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {- inputProps: K(D, v, {+ inputProps: G(D, v, {type: "range",tabIndex: d ? void 0 : 0,min: t.getThumbMinValue(n),@@ -23730,7 +23730,7 @@ function Mie(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(W(e).value));}}),thumbProps: {@@ -23749,42 +23749,42 @@ function Mie(e, t) {};}// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var Nie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function jw(e) {+var Lie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function Ow(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var Mw = /* @__PURE__ */ new WeakMap(), Nw = [];-function Pw(e, t) {- let n = xb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Nie, 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 kw = /* @__PURE__ */ new WeakMap(), Aw = [];+function jw(e, t) {+ let n = yb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Lie, 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 (Db()) {+ if (Tb()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; Cb(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; xb(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 (Ob(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (Eb(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = pC(bb(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = dC(vb(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();}}, f = (e) => {- let t = Mw.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Mw.set(e, t + 1));+ let t = kw.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), kw.set(e, t + 1));};- Nw.length && Nw[Nw.length - 1].disconnect(), d(i);+ Aw.length && Aw[Aw.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) => Ob(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && jw(e) ? o.add(e) : e instanceof Element && d(e);- if (Db()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => Eb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Ow(e) ? o.add(e) : e instanceof Element && d(e);+ if (Tb()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23797,11 +23797,11 @@ function Pw(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (Db()) for (let e of u) {+ if (Tb()) 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) => Ob(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && jw(e) ? o.add(e) : e instanceof Element && d(e);- if (Db()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => Eb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Ow(e) ? o.add(e) : e instanceof Element && d(e);+ if (Tb()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23827,56 +23827,56 @@ function Pw(e, t) {p.disconnect();}};- return Nw.push(h), () => {- if (p.disconnect(), Db()) for (let e of m) e.disconnect();+ return Aw.push(h), () => {+ if (p.disconnect(), Tb()) for (let e of m) e.disconnect();for (let e of s) {- let t = Mw.get(e);- t != null && (t === 1 ? (l(e, !1), Mw.delete(e)) : Mw.set(e, t - 1));+ let t = kw.get(e);+ t != null && (t === 1 ? (l(e, !1), kw.delete(e)) : kw.set(e, t - 1));}- h === Nw[Nw.length - 1] ? (Nw.pop(), Nw.length && Nw[Nw.length - 1].observe()) : Nw.splice(Nw.indexOf(h), 1);+ h === Aw[Aw.length - 1] ? (Aw.pop(), Aw.length && Aw[Aw.length - 1].observe()) : Aw.splice(Aw.indexOf(h), 1);};}-function Fw(e) {- let t = Nw[Nw.length - 1];+function Mw(e) {+ let t = Aw[Aw.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 Iw = /* @__PURE__ */ new WeakMap();-function Pie(e) {+var Nw = /* @__PURE__ */ new WeakMap();+function Rie(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Fie(e, t) {- let n = Iw.get(e);+function zie(e, t) {+ let n = Nw.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${Pie(t)}`;+ return `${n.id}-option-${Rie(t)}`;}// node_modules/react-aria/dist/private/selection/utils.mjs-function Lw(e) {- return Jne() ? e.altKey : e.ctrlKey;+function Pw(e) {+ return Zne() ? e.altKey : e.ctrlKey;}-function Rw(e, t) {+function Fw(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 zw = /* @__PURE__ */ new WeakMap();-function Iie(e) {- let t = Ux();- return zw.set(e, t), t;+var Iw = /* @__PURE__ */ new WeakMap();+function Bie(e) {+ let t = Vx();+ return Iw.set(e, t), t;}-function Lie(e) {- return zw.get(e);+function Vie(e) {+ return Iw.get(e);}// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var Bw = class {+var Lw = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : Rw(this.ref, e);+ let n = e == null ? null : Fw(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -23902,12 +23902,12 @@ var Bw = class {height: e?.clientHeight ?? 0};}-}, Vw = class {+}, Rw = 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 Bw(t.ref);- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Bw(this.ref);+ this.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 Lw(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 Lw(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -23947,14 +23947,14 @@ var Bw = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = Rw(this.ref, e);+ let t = this.getNextKey(e), n = Fw(this.ref, e);if (t != null) {- let e = Rw(this.ref, t);+ let e = Fw(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = Rw(this.ref, r);+ let e = Fw(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -23988,7 +23988,7 @@ var Bw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !UC(t)) return this.getFirstKey();+ if (t && !BC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24003,7 +24003,7 @@ var Bw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !UC(t)) return this.getLastKey();+ if (t && !BC(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);@@ -24026,149 +24026,149 @@ var Bw = class {}return null;}-}, Hw = {};-Hw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, zw = {};+zw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var Uw = {};-Uw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var Bw = {};+Bw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var Ww = {};-Ww = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var Vw = {};+Vw = { 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 Gw = {};-Gw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var Hw = {};+Hw = { 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 Kw = {};-Kw = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var Uw = {};+Uw = { 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 qw = {};-qw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var Ww = {};+Ww = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };// node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var Jw = {};-Jw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var Gw = {};+Gw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var Yw = {};-Yw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var Kw = {};+Kw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var Xw = {};-Xw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var qw = {};+qw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var Zw = {};-Zw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var Jw = {};+Jw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var Qw = {};-Qw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var Yw = {};+Yw = { 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 $w = {};-$w = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var Xw = {};+Xw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var eT = {};-eT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var Zw = {};+Zw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var tT = {};-tT = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var Qw = {};+Qw = { 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 nT = {};-nT = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var $w = {};+$w = { 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 rT = {};-rT = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var eT = {};+eT = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var iT = {};-iT = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var tT = {};+tT = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var aT = {};-aT = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var nT = {};+nT = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var oT = {};-oT = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var rT = {};+rT = { 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 sT = {};-sT = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var iT = {};+iT = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var cT = {};-cT = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var aT = {};+aT = { 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 lT = {};-lT = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var oT = {};+oT = { 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 uT = {};-uT = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var sT = {};+sT = { 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 dT = {};-dT = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var cT = {};+cT = { 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 fT = {};-fT = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var lT = {};+lT = { 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 pT = {};-pT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var uT = {};+uT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var mT = {};-mT = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var dT = {};+dT = { 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 hT = {};-hT = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var fT = {};+fT = { 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 gT = {};-gT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var pT = {};+pT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var _T = {};-_T = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var mT = {};+mT = { 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 vT = {};-vT = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var hT = {};+hT = { 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 yT = {};-yT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var gT = {};+gT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var bT = {};-bT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var _T = {};+_T = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var xT = {};-xT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var vT = {};+vT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };// node_modules/react-aria/dist/private/menu/intlStrings.mjs-var ST = {};-ST = {- "ar-AE": Hw,- "bg-BG": Uw,- "cs-CZ": Ww,- "da-DK": Gw,- "de-DE": Kw,- "el-GR": qw,- "en-US": Jw,- "es-ES": Yw,- "et-EE": Xw,- "fi-FI": Zw,- "fr-FR": Qw,- "he-IL": $w,- "hr-HR": eT,- "hu-HU": tT,- "it-IT": nT,- "ja-JP": rT,- "ko-KR": iT,- "lt-LT": aT,- "lv-LV": oT,- "nb-NO": sT,- "nl-NL": cT,- "pl-PL": lT,- "pt-BR": uT,- "pt-PT": dT,- "ro-RO": fT,- "ru-RU": pT,- "sk-SK": mT,- "sl-SI": hT,- "sr-SP": gT,- "sv-SE": _T,- "tr-TR": vT,- "uk-UA": yT,- "zh-CN": bT,- "zh-TW": xT+var yT = {};+yT = {+ "ar-AE": zw,+ "bg-BG": Bw,+ "cs-CZ": Vw,+ "da-DK": Hw,+ "de-DE": Uw,+ "el-GR": Ww,+ "en-US": Gw,+ "es-ES": Kw,+ "et-EE": qw,+ "fi-FI": Jw,+ "fr-FR": Yw,+ "he-IL": Xw,+ "hr-HR": Zw,+ "hu-HU": Qw,+ "it-IT": $w,+ "ja-JP": eT,+ "ko-KR": tT,+ "lt-LT": nT,+ "lv-LV": rT,+ "nb-NO": iT,+ "nl-NL": aT,+ "pl-PL": oT,+ "pt-BR": sT,+ "pt-PT": cT,+ "ro-RO": lT,+ "ru-RU": uT,+ "sk-SK": dT,+ "sl-SI": fT,+ "sr-SP": pT,+ "sv-SE": mT,+ "tr-TR": hT,+ "uk-UA": gT,+ "zh-CN": _T,+ "zh-TW": vT};// node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var Rie = 500;-function CT(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Rie, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = nC(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = sC({+var Hie = 500;+function bT(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Hie, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = eC(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = aC({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24176,12 +24176,12 @@ function CT(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), bb(e.target).activeElement !== e.target && yb(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), vb(e.target).activeElement !== e.target && _b(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 = xb(e.target);+ let t = yb(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24196,11 +24196,11 @@ function CT(e) {});}});- return { longPressProps: K(f, ZC(a && !t ? s : void 0)) };+ return { longPressProps: G(f, JC(a && !t ? s : void 0)) };}// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function zie(e) {- let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = CT({+function Uie(e) {+ let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = bT({onLongPressStart() {n.current = !1;},@@ -24212,7 +24212,7 @@ function zie(e) {});}});- return t ? { contextMenuProps: K($b() ? r : {}, {+ return t ? { contextMenuProps: G(Zb() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24223,7 +24223,7 @@ function zie(e) {});},onKeyDown(e) {- if (Zb() && e.ctrlKey && e.key === "Enter") {+ if (Yb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24242,13 +24242,13 @@ function zie(e) {}) } : { contextMenuProps: {} };}// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var wT = /* @__PURE__ */ new WeakMap();-function Bie(e) {+var xT = /* @__PURE__ */ new WeakMap();+function Wie(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, P.useEffect)(() => !n || r === null ? void 0 : wb(Ab(t.current), "scroll", (e) => {- let n = G(e);- if (!t.current || n instanceof Node && !Ob(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || wT.get(t.current);+ (0, P.useEffect)(() => !n || r === null ? void 0 : Sb(Ob(t.current), "scroll", (e) => {+ let n = W(e);+ if (!t.current || n instanceof Node && !Eb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || xT.get(t.current);i && i();}, !0), [n,@@ -24257,14 +24257,14 @@ function Bie(e) {]);}// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Vie(e, t, n) {+function Gie(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, P.useEffect)(() => {- n && n.current && wT.set(n.current, t.close);+ n && n.current && xT.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = Ux();+ let o = Vx();return {triggerProps: {"aria-haspopup": a,@@ -24276,14 +24276,14 @@ function Vie(e, t, n) {};}// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function Hie(e) {+function Kie(e) {return e && e.__esModule ? e.default : e;}-function TT(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Ux(), { triggerProps: s, overlayProps: c } = Vie({ type: r }, t, n), l = (e, n, r = "first") => {+function ST(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Vx(), { triggerProps: s, overlayProps: c } = Gie({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = $x({+ }, { keyboardProps: u } = Zx({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24295,7 +24295,7 @@ function TT(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = GS(Hie(ST), "@react-aria/menu"), { longPressProps: f } = CT({+ }), d = US(Kie(yT), "@react-aria/menu"), { longPressProps: f } = bT({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24307,14 +24307,14 @@ function TT(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (yb(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (_b(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (yb(e.target), t.toggle());+ e.pointerType === "touch" && !i && (_b(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = zie({ onContextMenu(e) {+ let { contextMenuProps: m } = Uie({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24324,7 +24324,7 @@ function TT(e, t, n) {(0, P.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) && W(e) === document.body && t.close();};return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);}@@ -24358,8 +24358,8 @@ function TT(e, t, n) {};}// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var ET = 1e3;-function DT(e) {+var CT = 1e3;+function wT(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, P.useRef)({search: "",timeout: void 0@@ -24378,12 +24378,12 @@ function DT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, ET);+ }, CT);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Uie(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Ob(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = qie(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Eb(e.currentTarget, W(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();@@ -24394,32 +24394,32 @@ function DT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, ET);+ }, CT);}} : void 0} };}-function Uie(e) {+function qie(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function OT(e, t) {+function TT(e, t) {let n = (0, P.useRef)(!0), r = (0, P.useRef)(null);- Hb(() => (n.current = !0, () => {+ Bb(() => (n.current = !0, () => {n.current = !1;- }), []), Hb(() => {+ }), []), Bb(() => {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 kT(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 } = zS(), _ = ix(), v = (e, n, i) => {+function ET(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 } = LS(), _ = nx(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !Lw(e)) {- (0, Lt.flushSync)(() => {+ if (t.isLink(n) && m === "selection" && l && !Pw(e)) {+ (0, Rt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = Rw(r, n), o = t.getItemProps(n);+ let a = Fw(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -24431,7 +24431,7 @@ function kT(e) {t.extendSelection(n);return;}- if (l && !Lw(e)) {+ if (l && !Pw(e)) {t.replaceSelection(n);return;}@@ -24458,9 +24458,9 @@ function kT(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, kS(e));+ let r = n.getFirstKey(t.focusedKey, DS(e));if (t.setFocusedKey(r), r != null) {- if (kS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (DS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24492,9 +24492,9 @@ function kT(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, kS(e));+ let r = n.getLastKey(t.focusedKey, DS(e));if (t.setFocusedKey(r), r != null) {- if (kS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (DS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24525,12 +24525,12 @@ function kT(e) {else return !1;}, k = () => {if (!f && r.current) {- let e = PC(r.current, { tabbable: !0 }), t, n;+ let e = jC(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = kb();- t && (!jb(t) || i && !Bb(i)) && yb(t);+ let i = Db();+ t && (!kb(t) || i && !Rb(i)) && _b(t);}return {shouldContinuePropagation: !0,@@ -24540,11 +24540,11 @@ function kT(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [Zb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [Yb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [Zb() ? e + "+Alt" : e + "+Control"]: t,+ [Yb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = $x({+ }), { keyboardProps: M } = Zx({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -24554,7 +24554,7 @@ function kT(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = $x({ shortcuts: {+ }), { keyboardProps: ee } = Zx({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -24565,7 +24565,7 @@ function kT(e) {top: 0,left: 0});- MS(p, "scroll", () => {+ AS(p, "scroll", () => {te.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -24573,11 +24573,11 @@ function kT(e) {});let ne = (e) => {if (t.isFocused) {- Ob(e.currentTarget, G(e)) || t.setFocused(!1);+ Eb(e.currentTarget, W(e)) || t.setFocused(!1);return;}- if (!Ob(e.currentTarget, G(e))) return;- let i = Dx();+ if (!Eb(e.currentTarget, W(e))) return;+ let i = Tx();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24588,27 +24588,27 @@ function kT(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 = te.current.top, p.current.scrollLeft = te.current.left);if (t.focusedKey != null && p.current) {- let e = Rw(r, t.focusedKey);- e instanceof HTMLElement && (!jb(e) && !d && yb(e), (i === "keyboard" || h && i === "virtual") && JC(e, { containingElement: r.current }));+ let e = Fw(r, t.focusedKey);+ e instanceof HTMLElement && (!kb(e) && !d && _b(e), (i === "keyboard" || h && i === "virtual") && GC(e, { containingElement: r.current }));}}, N = (e) => {- Ob(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ Eb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, re = (0, P.useRef)(!1);- MS(r, Bre, d ? (e) => {+ AS(r, Ure, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);} : void 0);let ie = n.getFirstKey?.() ?? null;- OT(() => {+ TT(() => {if (re.current) {if (ie == null) {- let e = kb();- vS(r.current), yS(e, null), t.collection.size > 0 && (re.current = !1);+ let e = Db();+ gS(r.current), _S(e, null), t.collection.size > 0 && (re.current = !1);} else t.setFocusedKey(ie), re.current = !1;}- }, [ie, t.collection.size]), OT(() => {+ }, [ie, t.collection.size]), TT(() => {t.collection.size > 0 && (re.current = !1);- }, [t.focusedKey]), MS(r, zre, d ? (e) => {+ }, [t.focusedKey]), AS(r, Hre, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let F = (0, P.useRef)(i), ae = (0, P.useRef)(!1);@@ -24623,52 +24623,52 @@ function kT(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Rx(r.current), t.collection.size > 0 && (F.current = !1, ae.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Ix(r.current), t.collection.size > 0 && (F.current = !1, ae.current = !0);}});let oe = (0, P.useRef)(t.focusedKey), se = (0, P.useRef)(null);(0, P.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {- let e = Dx(), n = Rw(r, t.focusedKey);+ let e = Tx(), n = Fw(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {- p.current && (KC(p.current, n), e !== "virtual" && JC(n, { containingElement: r.current }));+ p.current && (UC(p.current, n), e !== "virtual" && GC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Rx(r.current), oe.current = t.focusedKey, ae.current = !1;+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Ix(r.current), oe.current = t.focusedKey, ae.current = !1;}), (0, P.useEffect)(() => () => {se.current && cancelAnimationFrame(se.current);- }, []), MS(r, "react-aria-focus-scope-restore", (e) => {+ }, []), AS(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let ce = {- ...K(ee, M),+ ...G(ee, M),onFocus: ne,onBlur: N,onMouseDown(e) {- p.current === G(e) && e.preventDefault();+ p.current === W(e) && e.preventDefault();}- }, { typeSelectProps: le } = DT({+ }, { typeSelectProps: le } = wT({keyboardDelegate: n,selectionManager: t});- u || (ce = K(le, ce));+ u || (ce = G(le, ce));let ue;d || (ue = t.focusedKey == null ? 0 : -1);- let de = Iie(t.collection);- return { collectionProps: K(ce, {+ let de = Bie(t.collection);+ return { collectionProps: G(ce, {tabIndex: ue,"data-collection": de}) };}// node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function AT(e, t) {+function DT(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function jT(e) {- return MT(e, 0);+function OT(e) {+ return kT(e, 0);}-function MT(e, t) {+function kT(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -24676,106 +24676,106 @@ function MT(e, t) {n++;}}-function NT(e) {+function AT(e) {let t;for (let n of e) t = n;return t;}-function PT(e, t, n) {+function jT(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...FT(e, t), t], i = [...FT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...MT(e, t), t], i = [...MT(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 FT(e, t) {+function MT(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 IT = /* @__PURE__ */ new WeakMap();-function LT(e) {- let t = IT.get(e);+var NT = /* @__PURE__ */ new WeakMap();+function PT(e) {+ let t = NT.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(AT(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(DT(i, e)) : i.type === "item" && n++;};- return r(e), IT.set(e, n), n;+ return r(e), NT.set(e, n), n;}// node_modules/react-aria/dist/private/i18n/useCollator.mjs-var RT = /* @__PURE__ */ new Map();-function zT(e) {- let { locale: t } = zS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (RT.has(n)) return RT.get(n);+var FT = /* @__PURE__ */ new Map();+function IT(e) {+ let { locale: t } = LS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (FT.has(n)) return FT.get(n);let r = new Intl.Collator(t, e);- return RT.set(n, r), r;+ return FT.set(n, r), r;}// node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var Wie = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {- let r = (0, P.useRef)(!1), i = (0, P.useContext)(tC), a = K(i || {}, {+var Jie = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, P.useRef)(!1), i = (0, P.useContext)($S), a = G(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = eS(n || i?.ref), tS(i, a.ref), (0, P.useEffect)(() => {+ return a.ref = Qx(n || i?.ref), $x(i, a.ref), (0, P.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ P.createElement(tC.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ P.createElement($S.Provider, { value: a }, e);});-function Gie({ children: e }) {+function Yie({ children: e }) {let t = (0, P.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ P.createElement(tC.Provider, { value: t }, e);+ return /*#__PURE__*/ P.createElement($S.Provider, { value: t }, e);}// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var BT = /*#__PURE__*/ (0, P.createContext)({});-function VT(e) {- let { getContainer: t } = e, { getContainer: n } = HT();- return /*#__PURE__*/ P.createElement(BT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var LT = /*#__PURE__*/ (0, P.createContext)({});+function RT(e) {+ let { getContainer: t } = e, { getContainer: n } = zT();+ return /*#__PURE__*/ P.createElement(LT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function HT() {- return (0, P.useContext)(BT) ?? {};+function zT() {+ return (0, P.useContext)(LT) ?? {};}// node_modules/react-aria/dist/private/overlays/Overlay.mjs-var UT = /*#__PURE__*/ P.createContext(null);-function WT(e) {- let t = dx(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({+var BT = /*#__PURE__*/ P.createContext(null);+function VT(e) {+ let t = lx(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = HT();+ }), [i, a]), { getContainer: s } = zT();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(_C, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(hC, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ P.createElement(UT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Gie, null, /*#__PURE__*/ P.createElement(nS.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ P.createElement(BT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Yie, null, /*#__PURE__*/ P.createElement(eS.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);}-function GT() {- let e = (0, P.useContext)(UT)?.setContain;- Hb(() => {+function HT() {+ let e = (0, P.useContext)(BT)?.setContain;+ Bb(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjs-function Kie(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = Wx();+function Xie(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = Hx();i = e["aria-label"] ? void 0 : i;- let a = Wx();+ let a = Hx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, P.useRef)(!1);(0, P.useEffect)(() => {- if (!r && t.current && !jb(t.current)) {- Rx(t.current);+ if (!r && t.current && !kb(t.current)) {+ Ix(t.current);let e = setTimeout(() => {- (kb() === t.current || kb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Rx(t.current)), o.current = !1);+ (Db() === t.current || Db() === document.body) && (o.current = !0, t.current && (t.current.blur(), Ix(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), GT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});+ }, [t, r]), HT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...qS(e, { labelable: !0 }),+ ...GS(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24789,23 +24789,23 @@ function Kie(e, t) {};}// node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function KT(e = {}) {+function UT(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, P.useRef)({isFocused: !1,- isFocusVisible: t || Ex()+ isFocusVisible: t || wx()}), [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, P.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, P.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = Ex(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = wx(), o(e), l();}, [l]);- jx((e) => {+ kx((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = Yx({+ let { focusProps: d } = qx({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = _w({+ }), { focusWithinProps: f } = mw({isDisabled: !r,onFocusWithinChange: u});@@ -24816,41 +24816,41 @@ function KT(e = {}) {};}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function qie(e = {}) {- let { locale: t } = zS();+function Zie(e = {}) {+ let { locale: t } = LS();return (0, P.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjs-var qT = !1, JT = 0;-function Jie() {- qT = !0, setTimeout(() => {- qT = !1;+var WT = !1, GT = 0;+function Qie() {+ WT = !0, setTimeout(() => {+ WT = !1;}, 500);}-function YT(e) {- e.pointerType === "touch" && Jie();+function KT(e) {+ e.pointerType === "touch" && Qie();}-function Yie() {- let e = bb(null);- if (e !== void 0) return JT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", YT), JT++, () => {- JT--, !(JT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", YT);+function $ie() {+ let e = vb(null);+ if (e !== void 0) return GT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", KT), GT++, () => {+ GT--, !(GT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", KT);};}-function XT(e) {+function qT(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, P.useState)(!1), s = (0, P.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, P.useEffect)(Yie, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = nC(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {+ (0, P.useEffect)($ie, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = eC(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !Ob(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Eb(e.currentTarget, W(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(bb(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !Ob(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(vb(W(e)), "pointerover", (e) => {+ s.isHovered && s.target && !Eb(s.target, W(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -24865,9 +24865,9 @@ function XT(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- qT && t.pointerType === "mouse" || e(t, t.pointerType);+ WT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && Ob(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && Eb(e.currentTarget, W(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -24889,22 +24889,22 @@ function XT(e) {};}// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Xie(e) {+function eae(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, P.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = jS((e) => {- n && ZT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = jS((e) => {+ }), o = kS((e) => {+ n && JT(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = kS((e) => {n && n(e);});(0, P.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = bb(n);+ let n = t.current, i = vb(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && ZT(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && JT(n, t) && s(n), e.isPointerDown = !1;};return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);@@ -24912,28 +24912,28 @@ function Xie(e) {}}, [t, r]);}-function ZT(e, t) {+function JT(e, t) {if (e.button > 0) return !1;- let n = G(e);+ let n = W(e);if (n) {let e = n.ownerDocument;- if (!e || !Ob(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !Eb(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}// node_modules/react-aria/dist/private/gridlist/utils.mjs-var QT = /* @__PURE__ */ new WeakMap();-function $T(e, t) {- let { id: n } = QT.get(e) ?? {};+var YT = /* @__PURE__ */ new WeakMap();+function XT(e, t) {+ let { id: n } = YT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${Zie(t)}`;+ return `${n}-${tae(t)}`;}-function Zie(e) {+function tae(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var eE = {};-eE = {+var ZT = {};+ZT = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -24946,8 +24946,8 @@ eE = {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 tE = {};-tE = {+var QT = {};+QT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -24960,8 +24960,8 @@ tE = {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 nE = {};-nE = {+var $T = {};+$T = {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",@@ -24974,8 +24974,8 @@ nE = {selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var rE = {};-rE = {+var eE = {};+eE = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -24988,8 +24988,8 @@ rE = {selectedItem: (e) => `${e.item} valgt.`};// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var iE = {};-iE = {+var tE = {};+tE = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -25002,8 +25002,8 @@ iE = {selectedItem: (e) => `${e.item} ausgew\xe4hlt.`};// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var aE = {};-aE = {+var nE = {};+nE = {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: "Επιλογή",@@ -25016,8 +25016,8 @@ aE = {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 oE = {};-oE = {+var rE = {};+rE = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -25030,8 +25030,8 @@ oE = {longPressToSelect: "Long press to enter selection mode."};// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var sE = {};-sE = {+var iE = {};+iE = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -25044,8 +25044,8 @@ sE = {selectedItem: (e) => `${e.item} seleccionado.`};// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var cE = {};-cE = {+var aE = {};+aE = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -25058,8 +25058,8 @@ cE = {selectedItem: (e) => `${e.item} valitud.`};// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var lE = {};-lE = {+var oE = {};+oE = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -25072,8 +25072,8 @@ lE = {selectedItem: (e) => `${e.item} valittu.`};// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var uE = {};-uE = {+var sE = {};+sE = {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",@@ -25086,8 +25086,8 @@ uE = {selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`};// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var dE = {};-dE = {+var cE = {};+cE = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -25100,8 +25100,8 @@ dE = {selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var fE = {};-fE = {+var lE = {};+lE = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -25114,8 +25114,8 @@ fE = {selectedItem: (e) => `Stavka ${e.item} je odabrana.`};// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var pE = {};-pE = {+var uE = {};+uE = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -25128,8 +25128,8 @@ pE = {selectedItem: (e) => `${e.item} kijel\xf6lve.`};// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var mE = {};-mE = {+var dE = {};+dE = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -25142,8 +25142,8 @@ mE = {selectedItem: (e) => `${e.item} selezionato.`};// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var hE = {};-hE = {+var fE = {};+fE = {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: "選択",@@ -25156,8 +25156,8 @@ hE = {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 gE = {};-gE = {+var pE = {};+pE = {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: "선택",@@ -25170,8 +25170,8 @@ gE = {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 _E = {};-_E = {+var mE = {};+mE = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -25184,8 +25184,8 @@ _E = {selectedItem: (e) => `Pasirinkta: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var vE = {};-vE = {+var hE = {};+hE = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -25198,8 +25198,8 @@ vE = {selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var yE = {};-yE = {+var gE = {};+gE = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -25212,8 +25212,8 @@ yE = {selectedItem: (e) => `${e.item} er valgt.`};// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var bE = {};-bE = {+var _E = {};+_E = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -25226,8 +25226,8 @@ bE = {selectedItem: (e) => `${e.item} geselecteerd.`};// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var xE = {};-xE = {+var vE = {};+vE = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -25240,8 +25240,8 @@ xE = {selectedItem: (e) => `Zaznaczono ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var SE = {};-SE = {+var yE = {};+yE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -25254,8 +25254,8 @@ SE = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var CE = {};-CE = {+var bE = {};+bE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -25268,8 +25268,8 @@ CE = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var wE = {};-wE = {+var xE = {};+xE = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -25282,8 +25282,8 @@ wE = {selectedItem: (e) => `${e.item} selectat.`};// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var TE = {};-TE = {+var SE = {};+SE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -25296,8 +25296,8 @@ TE = {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 EE = {};-EE = {+var CE = {};+CE = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -25310,8 +25310,8 @@ EE = {selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var DE = {};-DE = {+var wE = {};+wE = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -25324,8 +25324,8 @@ DE = {selectedItem: (e) => `Element ${e.item} je izbran.`};// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var OE = {};-OE = {+var TE = {};+TE = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -25338,8 +25338,8 @@ OE = {selectedItem: (e) => `${e.item} je izabrano.`};// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var kE = {};-kE = {+var EE = {};+EE = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -25352,8 +25352,8 @@ kE = {selectedItem: (e) => `${e.item} markerat.`};// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var AE = {};-AE = {+var DE = {};+DE = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -25366,8 +25366,8 @@ AE = {selectedItem: (e) => `${e.item} se\xe7ildi.`};// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var jE = {};-jE = {+var OE = {};+OE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -25380,8 +25380,8 @@ jE = {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 ME = {};-ME = {+var kE = {};+kE = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -25394,8 +25394,8 @@ ME = {selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var NE = {};-NE = {+var AE = {};+AE = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -25408,54 +25408,54 @@ NE = {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 PE = {};-PE = {- "ar-AE": eE,- "bg-BG": tE,- "cs-CZ": nE,- "da-DK": rE,- "de-DE": iE,- "el-GR": aE,- "en-US": oE,- "es-ES": sE,- "et-EE": cE,- "fi-FI": lE,- "fr-FR": uE,- "he-IL": dE,- "hr-HR": fE,- "hu-HU": pE,- "it-IT": mE,- "ja-JP": hE,- "ko-KR": gE,- "lt-LT": _E,- "lv-LV": vE,- "nb-NO": yE,- "nl-NL": bE,- "pl-PL": xE,- "pt-BR": SE,- "pt-PT": CE,- "ro-RO": wE,- "ru-RU": TE,- "sk-SK": EE,- "sl-SI": DE,- "sr-SP": OE,- "sv-SE": kE,- "tr-TR": AE,- "uk-UA": jE,- "zh-CN": ME,- "zh-TW": NE+var jE = {};+jE = {+ "ar-AE": ZT,+ "bg-BG": QT,+ "cs-CZ": $T,+ "da-DK": eE,+ "de-DE": tE,+ "el-GR": nE,+ "en-US": rE,+ "es-ES": iE,+ "et-EE": aE,+ "fi-FI": oE,+ "fr-FR": sE,+ "he-IL": cE,+ "hr-HR": lE,+ "hu-HU": uE,+ "it-IT": dE,+ "ja-JP": fE,+ "ko-KR": pE,+ "lt-LT": mE,+ "lv-LV": hE,+ "nb-NO": gE,+ "nl-NL": _E,+ "pl-PL": vE,+ "pt-BR": yE,+ "pt-PT": bE,+ "ro-RO": xE,+ "ru-RU": SE,+ "sk-SK": CE,+ "sl-SI": wE,+ "sr-SP": TE,+ "sv-SE": EE,+ "tr-TR": DE,+ "uk-UA": OE,+ "zh-CN": kE,+ "zh-TW": AE};// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Qie(e) {+function nae(e) {return e && e.__esModule ? e.default : e;}-function FE(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = GS(Qie(PE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {+function ME(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = US(nae(jE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = IE(i, a.current), o = IE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = NE(i, a.current), o = NE(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)) {@@ -25475,7 +25475,7 @@ function FE(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 && BC(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 && LC(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25486,7 +25486,7 @@ function FE(e, t) {n,r]);- HC(() => {+ zC(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25494,20 +25494,20 @@ function FE(e, t) {}}, [i, t.selectionManager.isFocused]);}-function IE(e, t) {+function NE(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 LE(e, t) {+function PE(e, t) {let n = t?.isDisabled, [r, i] = (0, P.useState)(!1);- return Hb(() => {+ return Bb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = PC(e.current, { tabbable: !0 });+ let t = jC(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25525,12 +25525,12 @@ function LE(e, t) {}), !n && r;}// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function $ie(e) {+function rae(e) {return e && e.__esModule ? e.default : e;}-function RE(e) {- let t = GS($ie(PE), "@react-aria/grid"), n = kx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return ZC((0, P.useMemo)(() => {+function FE(e) {+ let t = US(rae(jE), "@react-aria/grid"), n = Dx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return JC((0, P.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;}, [@@ -25542,11 +25542,11 @@ function RE(e) {]));}// node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function zE(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = zT({+function IE(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = IT({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new Vw({+ }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new Rw({collection: n,disabledKeys: r,disabledBehavior: l,@@ -25563,7 +25563,7 @@ function zE(e) {c,l,s- ]), { collectionProps: d } = kT({+ ]), { collectionProps: d } = ET({...e,ref: i,selectionManager: t,@@ -25572,10 +25572,10 @@ function zE(e) {return { listProps: d };}// node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function eae(e, t, n) {+function iae(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 } = zE({+ let { listProps: f } = IE({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -25590,30 +25590,30 @@ function eae(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = Ux(e.id);- QT.set(t, {+ }), p = Vx(e.id);+ YT.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = RE({+ let m = FE({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = LE(n, { isDisabled: t.collection.size !== 0 }), g = K(qS(e, { labelable: !0 }), {+ }), h = PE(n, { isDisabled: t.collection.size !== 0 }), g = G(GS(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), FE({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), ME({}, t), { gridProps: g };}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function BE(e) {- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = ix();- t = Ux(t);+function LE(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 = nx();+ t = Vx(t);let p = (e) => {- if (e.pointerType === "keyboard" && Lw(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && Pw(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -25624,11 +25624,11 @@ function BE(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 && (kS(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 && (DS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, P.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? vS(i.current) : s ? s() : kb() !== i.current && i.current && Rx(i.current));+ r === n.focusedKey && n.isFocused && (o ? gS(i.current) : s ? s() : Db() !== i.current && i.current && Ix(i.current));}, [i,r,@@ -25641,7 +25641,7 @@ function BE(e) {!o && !c ? m = {tabIndex: r === n.focusedKey ? 0 : -1,onFocus(e) {- G(e) === i.current && n.setFocusedKey(r);+ W(e) === i.current && n.setFocusedKey(r);}} : c && (m.onMouseDown = (e) => {e.preventDefault();@@ -25656,23 +25656,23 @@ function BE(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 || HE(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || zE(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" && !VE(e.key)) return;+ if (e.pointerType === "keyboard" && !RE(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 || HE(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || zE(e.key))) && p(e);}, k.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && VE(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 && RE(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));});- let A = Lie(n.collection);- if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {+ let A = Vie(n.collection);+ if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = G(k, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));},@@ -25686,10 +25686,10 @@ function BE(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = zx(k[e], D[e]));- let { pressProps: j, isPressed: M } = sC(k), ee = x ? (e) => {+ ]) D[e] && (k[e] = Lx(k[e], D[e]));+ let { pressProps: j, isPressed: M } = aC(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));- } : void 0, { longPressProps: te } = CT({+ } : void 0, { longPressProps: te } = bT({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -25697,8 +25697,8 @@ function BE(e) {}), ne = (e) => {C.current === "touch" && T.current && e.preventDefault();}, N = d !== "none" && n.isLink(r) ? (e) => {- ax.isOpening || e.preventDefault();- } : void 0, re = K(m, v || b || o && !c ? j : {}, w ? te : {}, {+ rx.isOpening || e.preventDefault();+ } : void 0, re = G(m, v || b || o && !c ? j : {}, w ? te : {}, {onDoubleClick: ee,onDragStartCapture: ne,onClick: N,@@ -25710,15 +25710,15 @@ function BE(e) {if (e != null) return e !== A;t = t.parentElement;}- return Bb(e);+ return Rb(e);}, F = re.onPointerDown;re.onPointerDown = (e) => {- let t = G(e);+ let t = W(e);t && t !== i.current && ie(t) ? e.stopPropagation() : F?.(e);};let ae = re.onMouseDown;return re.onMouseDown = (e) => {- let t = G(e);+ let t = W(e);t && t !== i.current && ie(t) ? e.stopPropagation() : ae?.(e);}, {itemProps: re,@@ -25730,14 +25730,14 @@ function BE(e) {hasAction: S};}-function VE(e) {+function RE(e) {return e === "Enter";}-function HE(e) {+function zE(e) {return e === " ";}// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var UE = {+var BE = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -25747,18 +25747,18 @@ var UE = {rtl: "ArrowRight"}};-function tae(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = zS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = QT.get(t), f = Wx(), p = (0, P.useRef)(null), m = () => {+function aae(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = LS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = YT.get(t), f = Hx(), p = (0, P.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (jb(n.current) && n.current !== kb(bb(n.current))) return;- let e = PC(n.current, { tabbable: !0 }).firstChild();+ if (kb(n.current) && n.current !== Db(vb(n.current))) return;+ let e = jC(n.current, { tabbable: !0 }).firstChild();if (e) {- Rx(e), JC(e, { containingElement: WC(e) });+ Ix(e), GC(e, { containingElement: VC(e) });return;}}- (p.current != null && r.key !== p.current || !jb(n.current)) && Rx(n.current);+ (p.current != null && r.key !== p.current || !kb(n.current)) && Ix(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25768,7 +25768,7 @@ function tae(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = nae(e, t.collection);+ let n = oae(e, t.collection);i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;}} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;@@ -25779,75 +25779,75 @@ function tae(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = BE({+ let { itemProps: v, ...y } = LE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? zx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? Lx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = kb(bb(n.current));- if (!Ob(e.currentTarget, G(e)) || !n.current || !i) return;- let a = PC(n.current);- if (a.currentNode = i, !WE(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = Db(vb(n.current));+ if (!Eb(e.currentTarget, W(e)) || !n.current || !i) return;+ let a = jC(n.current);+ if (a.currentNode = i, !VE(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(), Rx(t), JC(t, { containingElement: WC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Rx(n.current), JC(n.current, { containingElement: WC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Ix(t), GC(t, { containingElement: VC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Ix(n.current), GC(n.current, { containingElement: VC(n.current) });else {a.currentNode = n.current;- let e = GE(a);- e && (Rx(e), JC(e, { containingElement: WC(n.current) }));+ let e = HE(a);+ e && (Ix(e), GC(e, { containingElement: VC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), Rx(t), JC(t, { containingElement: WC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Rx(n.current), JC(n.current, { containingElement: WC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Ix(t), GC(t, { containingElement: VC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Ix(n.current), GC(n.current, { containingElement: VC(n.current) });else {a.currentNode = n.current;- let e = GE(a);- e && (Rx(e), JC(e, { containingElement: WC(n.current) }));+ let e = HE(a);+ e && (Ix(e), GC(e, { containingElement: VC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && Ob(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && Eb(n.current, W(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 && Ob(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && kb(bb(n.current)) === n.current && m();- }) : Ex() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, W(e) === n.current ? a === "child" && e.relatedTarget && Eb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && Db(vb(n.current)) === n.current && m();+ }) : wx() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = kb(bb(n.current));- if (Ob(e.currentTarget, G(e)) && n.current && i) {+ let i = Db(vb(n.current));+ if (Eb(e.currentTarget, W(e)) && n.current && i) {if (u === "tab") {- if (G(e) !== n.current && e.key !== "Tab") {+ if (W(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (WE(e, t, r, g, s, i, n.current, o)) return;+ if (VE(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = PC(n.current, { tabbable: !0 });+ let t = jC(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = ox(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = ix(r.props), w = G(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) ? `${$T(t, r.key)} ${f}` : void 0,- id: $T(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${XT(t, r.key)} ${f}` : void 0,+ id: XT(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -25862,72 +25862,72 @@ function tae(e, t, n) {"aria-colindex": 1};return {- rowProps: { ...K(w, h) },+ rowProps: { ...G(w, h) },gridCellProps: E,descriptionProps: { id: f },...y};}-function WE(e, t, n, r, i, a, o, s) {+function VE(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === UE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === UE.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === BE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === BE.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 GE(e) {+function HE(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function nae(e, t) {+function oae(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function rae(e) {+function sae(e) {return e && e.__esModule ? e.default : e;}-function KE(e, t) {- let { key: n } = e, r = t.selectionManager, i = Ux(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function UE(e, t) {+ let { key: n } = e, r = t.selectionManager, i = Vx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": GS(rae(PE), "@react-aria/grid").format("select"),+ "aria-label": US(sae(jE), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)} };}// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function iae(e, t) {- let { key: n } = e, { checkboxProps: r } = KE(e, t);+function cae(e, t) {+ let { key: n } = e, { checkboxProps: r } = UE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${$T(t, n)}`+ "aria-labelledby": `${r.id} ${XT(t, n)}`} };}// node_modules/react-aria/dist/private/listbox/useListBox.mjs-function aae(e, t, n) {- let r = qS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function lae(e, t, n) {+ let r = GS(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 } = zE({+ let { listProps: s } = IE({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = _w({+ }), { focusWithinProps: c } = mw({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = Ux(e.id);- Iw.set(t, {+ }), l = Vx(e.id);+ Nw.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -25937,23 +25937,23 @@ function aae(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = hw({+ let { labelProps: u, fieldProps: d } = fw({...e,id: l,labelElementType: "span"});return {labelProps: u,- listBoxProps: K(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {+ listBoxProps: G(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {role: "listbox","aria-orientation": a,- ...K(d, s)+ ...G(d, s)})};}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function oae(e) {- let { heading: t, "aria-label": n } = e, r = Ux();+function uae(e) {+ let { heading: t, "aria-label": n } = e, r = Vx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -25971,8 +25971,8 @@ function oae(e) {};}// node_modules/react-aria/dist/private/listbox/useOption.mjs-function sae(e, t, n) {- let { key: r } = e, i = Iw.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 = Wx(), f = Wx(), p = {+function dae(e, t, n) {+ let { key: r } = e, i = Nw.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 = Hx(), f = Hx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -25982,9 +25982,9 @@ function sae(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"] = LT(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = PT(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Fie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = BE({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = zie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = LE({selectionManager: t.selectionManager,key: r,ref: n,@@ -25993,28 +25993,28 @@ function sae(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? zx(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? Lx(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = XT({+ }), { hoverProps: S } = qT({isDisabled: a || !c,onHoverStart() {- Ex() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ wx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = qS(m?.props);+ }), C = GS(m?.props);delete C.id;- let w = sx(m?.props);+ let w = ax(m?.props);return {optionProps: {...p,- ...K(C, _, S, w),+ ...G(C, _, S, w),id: g},labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && Ex(),+ isFocusVisible: y && t.selectionManager.isFocused && wx(),isSelected: o,isDisabled: a,isPressed: v,@@ -26023,12 +26023,12 @@ function sae(e, t, n) {};}// node_modules/react-aria/dist/private/menu/utils.mjs-var qE = /* @__PURE__ */ new WeakMap();+var WE = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/menu/useMenu.mjs-function cae(e, t, n) {+function fae(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = qS(e, { labelable: !0 }), { listProps: c } = zE({+ let s = GS(e, { labelable: !0 }), { listProps: c } = IE({...o,ref: n,selectionManager: t.selectionManager,@@ -26037,11 +26037,11 @@ function cae(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return qE.set(t, {+ return WE.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus- }), { menuProps: K(s, {+ }), { menuProps: G(s, {onKeyDown: i,onKeyUp: a}, {@@ -26053,15 +26053,15 @@ function cae(e, t, n) {}) };}// node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function lae(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 = qE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = ix(), M = () => {+function pae(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 = WE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = nx(), 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 te = Wx(), ne = Wx(), N = Wx(), re = {+ let te = Hx(), ne = Hx(), N = Hx(), re = {id: r,"aria-disabled": E || void 0,role: ee,@@ -26078,17 +26078,17 @@ function lae(e, t, n) {};if (C.selectionMode !== "none" && !w && (re["aria-checked"] = D), s) {let e = Number(k?.index);- re["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, re["aria-setsize"] = LT(t.collection);+ re["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, re["aria-setsize"] = PT(t.collection);}let ie = (0, P.useRef)(!1), F = (e) => {f?.(e), ie.current = e;}, ae = (0, P.useRef)(null), oe = (e) => {e.pointerType !== "keyboard" && (ae.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ie.current || e.target.click()), u?.(e);}, se = (e) => {- m?.(e), M(), ere(e, j, k.props.href, k?.props.routerOptions);+ m?.(e), M(), rre(e, j, k.props.href, k?.props.routerOptions);let t = ae.current?.pointerType === "keyboard" ? ae.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, A && !w && t && A(), ae.current = null;- }, { itemProps: ce, isFocused: le } = BE({+ }, { itemProps: ce, isFocused: le } = LE({id: r,selectionManager: C,key: i,@@ -26097,36 +26097,36 @@ function lae(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: O.shouldUseVirtualFocus- }), { pressProps: ue, isPressed: de } = sC({+ }), { pressProps: ue, isPressed: de } = aC({onPressStart: l,onPress: d,onPressUp: oe,onPressChange: F,onPressEnd: p,isDisabled: E- }), { hoverProps: fe } = XT({+ }), { hoverProps: fe } = qT({isDisabled: E,onHoverStart(e) {- !Ex() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !wx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: pe } = $x({+ }), { keyboardProps: pe } = Zx({shortcuts: {" ": (e) => {ae.current = {pointerType: "keyboard",key: " "- }, G(e).click(), Ox("keyboard");+ }, W(e).click(), Ex("keyboard");},Enter: (e) => {ae.current = {pointerType: "keyboard",key: "Enter"};- let t = G(e);- if (t.tagName !== "A") t.click(), Ox("keyboard");- else return Ox("keyboard"), {+ let t = W(e);+ if (t.tagName !== "A") t.click(), Ex("keyboard");+ else return Ex("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26134,17 +26134,17 @@ function lae(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: me } = rS({+ }), { focusableProps: me } = tS({onBlur: S,onFocus: b,onFocusChange: x- }, n), he = qS(k?.props);+ }, n), he = GS(k?.props);delete he.id;- let I = sx(k?.props);+ let ge = ax(k?.props);return {menuItemProps: {...re,- ...K(he, I, w ? {+ ...G(he, ge, w ? {onFocus: ce.onFocus,"data-collection": ce["data-collection"],"data-key": ce["data-key"]@@ -26155,15 +26155,15 @@ function lae(e, t, n) {descriptionProps: { id: ne },keyboardShortcutProps: { id: N },isFocused: le,- isFocusVisible: le && C.isFocused && Ex() && !T,+ isFocusVisible: le && C.isFocused && wx() && !T,isSelected: D,isPressed: de,isDisabled: E};}// node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function uae(e) {- let { heading: t, "aria-label": n } = e, r = Ux();+function mae(e) {+ let { heading: t, "aria-label": n } = e, r = Vx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26178,15 +26178,15 @@ function uae(e) {};}// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function dae() {+function hae() {return window.ResizeObserver !== void 0;}-function JE(e) {- let { ref: t, box: n, onResize: r } = e, i = jS(r);+function GE(e) {+ let { ref: t, box: n, onResize: r } = e, i = kS(r);(0, P.useEffect)(() => {let e = t?.current;if (e) {- if (dae()) {+ if (hae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26201,154 +26201,154 @@ function JE(e) {}, [t, n]);}// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var YE = {};-YE = { dismiss: "تجاهل" };+var KE = {};+KE = { dismiss: "تجاهل" };// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var XE = {};-XE = { dismiss: "Отхвърляне" };+var qE = {};+qE = { dismiss: "Отхвърляне" };// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var ZE = {};-ZE = { dismiss: "Odstranit" };+var JE = {};+JE = { dismiss: "Odstranit" };// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var QE = {};-QE = { dismiss: "Luk" };+var YE = {};+YE = { dismiss: "Luk" };// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var $E = {};-$E = { dismiss: "Schließen" };+var XE = {};+XE = { dismiss: "Schließen" };// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var eD = {};-eD = { dismiss: "Απόρριψη" };+var ZE = {};+ZE = { dismiss: "Απόρριψη" };// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var tD = {};-tD = { dismiss: "Dismiss" };+var QE = {};+QE = { dismiss: "Dismiss" };// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var nD = {};-nD = { dismiss: "Descartar" };+var $E = {};+$E = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var rD = {};-rD = { dismiss: "Lõpeta" };+var eD = {};+eD = { dismiss: "Lõpeta" };// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var iD = {};-iD = { dismiss: "Hylkää" };+var tD = {};+tD = { dismiss: "Hylkää" };// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var aD = {};-aD = { dismiss: "Rejeter" };+var nD = {};+nD = { dismiss: "Rejeter" };// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var oD = {};-oD = { dismiss: "התעלם" };+var rD = {};+rD = { dismiss: "התעלם" };// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var sD = {};-sD = { dismiss: "Odbaci" };+var iD = {};+iD = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var cD = {};-cD = { dismiss: "Elutasítás" };+var aD = {};+aD = { dismiss: "Elutasítás" };// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var lD = {};-lD = { dismiss: "Ignora" };+var oD = {};+oD = { dismiss: "Ignora" };// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var uD = {};-uD = { dismiss: "閉じる" };+var sD = {};+sD = { dismiss: "閉じる" };// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var dD = {};-dD = { dismiss: "무시" };+var cD = {};+cD = { dismiss: "무시" };// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var fD = {};-fD = { dismiss: "Atmesti" };+var lD = {};+lD = { dismiss: "Atmesti" };// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var pD = {};-pD = { dismiss: "Nerādīt" };+var uD = {};+uD = { dismiss: "Nerādīt" };// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var mD = {};-mD = { dismiss: "Lukk" };+var dD = {};+dD = { dismiss: "Lukk" };// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var hD = {};-hD = { dismiss: "Negeren" };+var fD = {};+fD = { dismiss: "Negeren" };// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var gD = {};-gD = { dismiss: "Zignoruj" };+var pD = {};+pD = { dismiss: "Zignoruj" };// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var _D = {};-_D = { dismiss: "Descartar" };+var mD = {};+mD = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var vD = {};-vD = { dismiss: "Dispensar" };+var hD = {};+hD = { dismiss: "Dispensar" };// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var yD = {};-yD = { dismiss: "Revocare" };+var gD = {};+gD = { dismiss: "Revocare" };// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var bD = {};-bD = { dismiss: "Пропустить" };+var _D = {};+_D = { dismiss: "Пропустить" };// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var xD = {};-xD = { dismiss: "Zrušiť" };+var vD = {};+vD = { dismiss: "Zrušiť" };// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var SD = {};-SD = { dismiss: "Opusti" };+var yD = {};+yD = { dismiss: "Opusti" };// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var CD = {};-CD = { dismiss: "Odbaci" };+var bD = {};+bD = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var wD = {};-wD = { dismiss: "Avvisa" };+var xD = {};+xD = { dismiss: "Avvisa" };// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var TD = {};-TD = { dismiss: "Kapat" };+var SD = {};+SD = { dismiss: "Kapat" };// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var ED = {};-ED = { dismiss: "Скасувати" };+var CD = {};+CD = { dismiss: "Скасувати" };// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var DD = {};-DD = { dismiss: "取消" };+var wD = {};+wD = { dismiss: "取消" };// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var OD = {};-OD = { dismiss: "關閉" };+var TD = {};+TD = { dismiss: "關閉" };// node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var kD = {};-kD = {- "ar-AE": YE,- "bg-BG": XE,- "cs-CZ": ZE,- "da-DK": QE,- "de-DE": $E,- "el-GR": eD,- "en-US": tD,- "es-ES": nD,- "et-EE": rD,- "fi-FI": iD,- "fr-FR": aD,- "he-IL": oD,- "hr-HR": sD,- "hu-HU": cD,- "it-IT": lD,- "ja-JP": uD,- "ko-KR": dD,- "lt-LT": fD,- "lv-LV": pD,- "nb-NO": mD,- "nl-NL": hD,- "pl-PL": gD,- "pt-BR": _D,- "pt-PT": vD,- "ro-RO": yD,- "ru-RU": bD,- "sk-SK": xD,- "sl-SI": SD,- "sr-SP": CD,- "sv-SE": wD,- "tr-TR": TD,- "uk-UA": ED,- "zh-CN": DD,- "zh-TW": OD+var ED = {};+ED = {+ "ar-AE": KE,+ "bg-BG": qE,+ "cs-CZ": JE,+ "da-DK": YE,+ "de-DE": XE,+ "el-GR": ZE,+ "en-US": QE,+ "es-ES": $E,+ "et-EE": eD,+ "fi-FI": tD,+ "fr-FR": nD,+ "he-IL": rD,+ "hr-HR": iD,+ "hu-HU": aD,+ "it-IT": oD,+ "ja-JP": sD,+ "ko-KR": cD,+ "lt-LT": lD,+ "lv-LV": uD,+ "nb-NO": dD,+ "nl-NL": fD,+ "pl-PL": pD,+ "pt-BR": mD,+ "pt-PT": hD,+ "ro-RO": gD,+ "ru-RU": _D,+ "sk-SK": vD,+ "sl-SI": yD,+ "sr-SP": bD,+ "sv-SE": xD,+ "tr-TR": SD,+ "uk-UA": CD,+ "zh-CN": wD,+ "zh-TW": TD};// node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function fae(e) {+function gae(e) {return e && e.__esModule ? e.default : e;}-function AD(e) {- let { onDismiss: t, ...n } = e, r = NS(n, GS(fae(kD), "@react-aria/overlays").format("dismiss")), i = () => {+function DD(e) {+ let { onDismiss: t, ...n } = e, r = jS(n, US(gae(ED), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ P.createElement(Ow, null, /*#__PURE__*/ P.createElement("button", {+ return /*#__PURE__*/ P.createElement(Tw, null, /*#__PURE__*/ P.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -26359,35 +26359,35 @@ function AD(e) {}));}// node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var jD = [];-function MD(e, t) {+var OD = [];+function kD(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, P.useRef)(void 0);(0, P.useEffect)(() => {- if (i && !jD.includes(t)) return jD.push(t), () => {- let e = jD.indexOf(t);- e >= 0 && jD.splice(e, 1);+ if (i && !OD.includes(t)) return OD.push(t), () => {+ let e = OD.indexOf(t);+ e >= 0 && OD.splice(e, 1);};}, [i, t]);let l = () => {- jD[jD.length - 1] === t && n && n();+ OD[OD.length - 1] === t && n && n();}, u = (e) => {- let n = jD[jD.length - 1];- c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();+ let n = OD[OD.length - 1];+ c.current = n, (!s || s(W(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (jD[jD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = $x({ shortcuts: { Escape: () => {+ (!s || s(W(e))) && (OD[OD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Zx({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Xie({+ eae({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = _w({+ let { focusWithinProps: p } = mw({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !wC(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !xC(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26399,87 +26399,87 @@ function MD(e, t) {};}// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var pae = 200, mae = 50, hae = 600, ND = /* @__PURE__ */ new WeakMap(), PD = /* @__PURE__ */ new Set(), FD = /* @__PURE__ */ new Set();-function gae(e, t) {- let n = AS();- if (e !== n || t.aborted) for (let e of FD) e(n), FD.delete(e);- if (!e && n && ex() && !t.aborted) window.clearInterval(ND.get(window)), ND.set(window, ID(pae));+var _ae = 200, vae = 50, yae = 600, AD = /* @__PURE__ */ new WeakMap(), jD = /* @__PURE__ */ new Set(), MD = /* @__PURE__ */ new Set();+function bae(e, t) {+ let n = OS();+ if (e !== n || t.aborted) for (let e of MD) e(n), MD.delete(e);+ if (!e && n && Qb() && !t.aborted) window.clearInterval(AD.get(window)), AD.set(window, ND(_ae));else {- if (e !== n || t.aborted) for (let e of PD) e(n), PD.delete(e);- (FD.size + PD.size <= 0 || t.aborted) && (window.clearInterval(ND.get(window)), ND.delete(window));+ if (e !== n || t.aborted) for (let e of jD) e(n), jD.delete(e);+ (MD.size + jD.size <= 0 || t.aborted) && (window.clearInterval(AD.get(window)), AD.delete(window));}}-function ID(e = hae) {- return window.setInterval(gae, mae, AS(), AbortSignal.timeout(e));+function ND(e = yae) {+ return window.setInterval(bae, vae, OS(), AbortSignal.timeout(e));}-function LD(e) {- if (!DS()) return e(!1), () => {};+function PD(e) {+ if (!TS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = OS(document.hasFocus() ? kb() : null);- if (AS() === t || AS() && !t) return e(t);- FD.add(e), ND.has(window) || ND.set(window, ID());+ let t = ES(document.hasFocus() ? Db() : null);+ if (OS() === t || OS() && !t) return e(t);+ MD.add(e), AD.has(window) || AD.set(window, ND());});});return () => {- window.cancelAnimationFrame(t), FD.delete(e);+ window.cancelAnimationFrame(t), MD.delete(e);};}-function _ae(e) {- if (!DS()) return e(!1), () => {};+function xae(e) {+ if (!TS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = OS(document.hasFocus() ? kb() : null);- if (AS() === t) return e(t);- PD.add(e), ND.has(window) || ND.set(window, ID());+ let t = ES(document.hasFocus() ? Db() : null);+ if (OS() === t) return e(t);+ jD.add(e), AD.has(window) || AD.set(window, ND());});});return () => {- window.cancelAnimationFrame(t), PD.delete(e);+ window.cancelAnimationFrame(t), jD.delete(e);};}// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var RD = typeof document < "u" && window.visualViewport, zD = 0, BD;-function VD(e = {}) {+var FD = typeof document < "u" && window.visualViewport, ID = 0, LD;+function RD(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- Hb(() => {- if (!t) return zD++, zD === 1 && (BD = $b() && ex() ? yae() : vae(n)), () => {- zD--, zD === 0 && BD();+ Bb(() => {+ if (!t) return ID++, ID === 1 && (LD = Zb() && Qb() ? Cae() : Sae(n)), () => {+ ID--, ID === 0 && LD();};}, [t, n]);}-function vae(e) {+function Sae(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return zx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Tb(document.documentElement, "scrollbar-gutter", "stable") : Tb(document.documentElement, "padding-right", `${t}px`)), Tb(document.documentElement, "overflow", "hidden"), e && UD(), e && DS() && HD());+ return Lx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Cb(document.documentElement, "scrollbar-gutter", "stable") : Cb(document.documentElement, "padding-right", `${t}px`)), Cb(document.documentElement, "overflow", "hidden"), e && BD(), e && TS() && zD());}-function yae() {- let e = Tb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {- let r = G(e);- t = UC(r, !0) ? r : WC(r, !0), n = !1;+function Cae() {+ let e = Cb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+ let r = W(e);+ t = BC(r, !0) ? r : VC(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 = eC();+ }, i = document.createElement("style"), a = QS();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 = UD(), c = zx(wb(document, "touchstart", r, {+ }, s = BD(), c = Lx(Sb(document, "touchstart", r, {passive: !1,capture: !0- }), wb(document, "touchmove", o, {+ }), Sb(document, "touchmove", o, {passive: !1,capture: !0- }), HD());+ }), zD());return () => {e(), c(), i.remove(), s();};}-function HD() {- return wb(document, "blur", (e) => {- let t = G(e), n = e.relatedTarget;- n && OS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+function zD() {+ return Sb(document, "blur", (e) => {+ let t = W(e), n = e.relatedTarget;+ n && ES(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function UD() {+function BD() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -26490,9 +26490,9 @@ function UD() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- kb() === this && bae(this);+ Db() === this && wae(this);};- LD((t) => t ? e() : _ae(() => e()));+ PD((t) => t ? e() : xae(() => e()));}}}), () => {@@ -26503,15 +26503,15 @@ function UD() {});};}-function bae(e) {+function wae(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = WC(n);+ let e = VC(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;- RD && (n = Math.min(n, RD.offsetTop + RD.height));+ FD && (n = Math.min(n, FD.offsetTop + FD.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)),@@ -26523,56 +26523,56 @@ function bae(e) {}}// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function xae(e, t, n) {- let { overlayProps: r, underlayProps: i } = MD({+function Tae(e, t, n) {+ let { overlayProps: r, underlayProps: i } = kD({...e,isOpen: t.isOpen,onClose: t.close}, n);- VD({+ RD({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), GT();+ }), HT();let { isEntering: a } = e;return (0, P.useEffect)(() => {- if (t.isOpen && n.current) return a ? Fw(n.current) : Pw([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? Mw(n.current) : jw([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,n]), {- modalProps: K(r),+ modalProps: G(r),underlayProps: i};}// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var WD = {+var VD = {top: "top",bottom: "top",left: "left",right: "left"-}, GD = {+}, HD = {top: "bottom",bottom: "top",left: "right",right: "left"-}, Sae = {+}, Eae = {top: "left",left: "top"-}, KD = {+}, UD = {top: "height",left: "width"-}, qD = {+}, WD = {width: "totalWidth",height: "totalHeight"-}, JD = {}, Cae = () => typeof document < "u" ? window.visualViewport : null;-function YD(e, t) {+}, GD = {}, Dae = () => typeof document < "u" ? window.visualViewport : null;+function KD(e, t) {let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;if (e.tagName === "BODY" || e.tagName === "HTML") {let l = document.documentElement;i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));- } else ({width: n, height: r, top: o, left: s} = tO(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return ex() && (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} = QD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return Qb() && (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,@@ -26582,7 +26582,7 @@ function YD(e, t) {left: s};}-function wae(e) {+function Oae(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26590,11 +26590,11 @@ function wae(e) {height: e.scrollHeight};}-function XD(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[KD[e]], l = o[e] + r.scroll[WD[e]] + a, u = o[e] + r.scroll[WD[e]] + c - a, d = t - s + r.scroll[WD[e]] + o[e] - r[WD[e]], f = t - s + n + r.scroll[WD[e]] + o[e] - r[WD[e]];+function qD(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[UD[e]], l = o[e] + r.scroll[VD[e]] + a, u = o[e] + r.scroll[VD[e]] + c - a, d = t - s + r.scroll[VD[e]] + o[e] - r[VD[e]], f = t - s + n + r.scroll[VD[e]] + o[e] - r[VD[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function Tae(e) {+function kae(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26603,55 +26603,55 @@ function Tae(e) {right: parseInt(t.marginRight, 10) || 0};}-function ZD(e) {- if (JD[e]) return JD[e];- let [t, n] = e.split(" "), r = WD[t] || "right", i = Sae[r];- WD[n] || (n = "center");- let a = KD[r], o = KD[i];- return JD[e] = {+function JD(e) {+ if (GD[e]) return GD[e];+ let [t, n] = e.split(" "), r = VD[t] || "right", i = Eae[r];+ VD[n] || (n = "center");+ let a = UD[r], o = UD[i];+ return GD[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, JD[e];+ }, GD[e];}-function QD(e, t, n, r, i, a, o, s, c, l, u) {+function YD(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] = bw(_[m], v, y), d === p) {- let t = s ? u[h] : u[qD[h]];- _[GD[p]] = Math.floor(t - e[p] + i);+ if (_[m] = _w(_[m], v, y), d === p) {+ let t = s ? u[h] : u[WD[h]];+ _[HD[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function Eae(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[qD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function Aae(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[WD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))};return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));}-function $D(e, t, n, r, i, a, o, s) {+function XD(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[GD[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[GD[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[HD[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[HD[l]] - i);}-function Dae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = ZD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = QD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = $D(s, l, t, i, a + u, v, c, g);+function jae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = JD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = YD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = XD(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = ZD(`${GD[S]} ${C}`), r = QD(t, s, n, e, u, d, l, f, m, h, c);- $D(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = JD(`${HD[S]} ${C}`), r = YD(t, s, n, e, u, d, l, f, m, h, c);+ XD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);}let D = "bottom";v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));- let O = XD(b, w[b], n[x], s, c, a, l);+ let O = qD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = Eae(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = QD(t, s, n, v, T, d, l, f, m, h, c), O = XD(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[WD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = WD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;- A[b] = bw(bw(M, t[b] + m / 2 - (w[b] + i[WD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[WD[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = Aae(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = YD(t, s, n, v, T, d, l, f, m, h, c), O = qD(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[VD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = VD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;+ A[b] = _w(_w(M, t[b] + m / 2 - (w[b] + i[VD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[VD[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let N = S === "left" || S === "top" ? n[y] : 0, re = {x: S === "top" || S === "bottom" ? j : N,y: S === "left" || S === "right" ? j : N@@ -26665,17 +26665,17 @@ function Dae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: re};}-function Oae(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 = Cae(), h = r instanceof HTMLElement ? kae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? tO(n, !1, p) : nO(n, h, !1, p);+function Mae(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 = Dae(), h = r instanceof HTMLElement ? Nae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? QD(n, !1, p) : $D(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 = tO(r, !0), x = Tae(r);+ let b = QD(r, !0), x = kae(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = wae(i), C = YD(s, m), w = YD(h, m), T;+ let S = Oae(i), C = KD(s, m), w = KD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = eO(h, !1);+ let e = ZD(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -26687,11 +26687,11 @@ function Oae(e) {left: 0,width: 0,height: 0- } : nO(s, h, !1);- let E = Ob(s, h);- return Dae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : $D(s, h, !1);+ let E = Eb(s, h);+ return jae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function eO(e, t) {+function ZD(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,@@ -26700,8 +26700,8 @@ function eO(e, t) {height: a};}-function tO(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || eO(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function QD(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || ZD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -26709,29 +26709,29 @@ function tO(e, t, n) {height: o};}-function nO(e, t, n, r) {+function $D(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || eO(e, n);+ if (i.position === "fixed") a = r || ZD(e, n);else {- a = tO(e, n, r);- let i = tO(t, n), o = window.getComputedStyle(t);+ a = QD(e, n, r);+ let i = QD(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 kae(e) {+function Nae(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !rO(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !rO(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !eO(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !eO(t);) t = t.parentElement;return t || document.documentElement;}-function rO(e) {+function eO(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 iO = typeof document < "u" ? window.visualViewport : null;-function Aae(e) {- let { direction: t } = zS(), { 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, P.useState)(null), x = [+var tO = typeof document < "u" ? window.visualViewport : null;+function Pae(e) {+ let { direction: t } = LS(), { 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, P.useState)(null), x = [p,s,i.current,@@ -26748,15 +26748,15 @@ function Aae(e) {g,_,n- ], S = (0, P.useRef)(iO?.scale);+ ], S = (0, P.useRef)(tO?.scale);(0, P.useEffect)(() => {- m && (S.current = iO?.scale);+ m && (S.current = tO?.scale);}, [m]);let C = (0, P.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || iO?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || tO?.scale !== S.current) return;let e = null;- if (o.current && jb(o.current)) {- let t = kb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && kb(o.current)) {+ let t = Db()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26764,8 +26764,8 @@ function Aae(e) {}let h = i.current;!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");- let y = Oae({- placement: Mae(s, t),+ let y = Mae({+ placement: Iae(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26775,28 +26775,28 @@ function Aae(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? eO(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? ZD(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 = kb();+ let x = Db();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);- Hb(C, x), jae(C), JE({+ Bb(C, x), Fae(C), GE({ref: i,onResize: C- }), JE({+ }), GE({ref: r,onResize: C});let w = (0, P.useRef)(!1);- Hb(() => {+ Bb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26804,16 +26804,16 @@ function Aae(e) {}, n = () => {w.current && t();};- iO?.addEventListener("resize", t), iO?.addEventListener("scroll", n);- let r = wb(Ab(window), "scroll", n);+ tO?.addEventListener("resize", t), tO?.addEventListener("scroll", n);+ let r = Sb(Ob(window), "scroll", n);return () => {- iO?.removeEventListener("resize", t), iO?.removeEventListener("scroll", n), r();+ tO?.removeEventListener("resize", t), tO?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, P.useCallback)(() => {w.current || h?.();}, [h, w]);- return Bie({+ return Wie({triggerRef: r,isOpen: m,onClose: h && T@@ -26839,24 +26839,24 @@ function Aae(e) {updatePosition: C};}-function jae(e) {- Hb(() => (window.addEventListener("resize", e, !1), () => {+function Fae(e) {+ Bb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function Mae(e, t) {+function Iae(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}// node_modules/react-aria/dist/private/overlays/usePopover.mjs-function Nae(e, t) {- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = MD({+function Lae(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 } = kD({isOpen: t.isOpen,onClose: t.close,shouldCloseOnBlur: !0,isDismissable: !a || l,isKeyboardDismissDisabled: o,shouldCloseOnInteractOutside: s- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Aae({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Pae({...c,targetRef: n,overlayRef: r,@@ -26864,17 +26864,17 @@ function Nae(e, t) {onClose: a && !l ? t.close : null,getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)});- VD({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {- if (t.isOpen && r.current) return a ? Fw(i?.current ?? r.current) : Pw([i?.current ?? r.current], { shouldUseInert: !0 });+ RD({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {+ if (t.isOpen && r.current) return a ? Mw(i?.current ?? r.current) : jw([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = _w(e);+ let { focusWithinProps: g } = mw(e);return {- popoverProps: K(u, f, g),+ popoverProps: G(u, f, g),arrowProps: p,underlayProps: d,placement: m,@@ -26882,12 +26882,12 @@ function Nae(e, t) {};}// node_modules/react-aria/dist/private/radio/utils.mjs-var aO = /* @__PURE__ */ new WeakMap();+var nO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/radio/useRadio.mjs-function Pae(e, t, n) {+function Rae(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: _ } = sC({+ }, { pressProps: g, isPressed: _ } = aC({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -26895,7 +26895,7 @@ function Pae(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = sC({+ }), { pressProps: v, isPressed: y } = aC({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -26905,17 +26905,17 @@ function Pae(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = rS(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = qS(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = tS(G(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = G(g, b), S = GS(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 } = aO.get(t);- QC(n, t.defaultSelectedValue, t.setSelectedValue), $C({ validationBehavior: O }, t, n);- let k = iw();+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = nO.get(t);+ YC(n, t.defaultSelectedValue, t.setSelectedValue), XC({ validationBehavior: O }, t, n);+ let k = tw();return {- labelProps: K(v, (0, P.useMemo)(() => ({+ labelProps: G(v, (0, P.useMemo)(() => ({onClick: (e) => e.preventDefault(),onMouseDown: (e) => e.preventDefault()}), [])),- inputProps: K(S, {+ inputProps: G(S, {...x,type: "radio",name: w,@@ -26940,13 +26940,13 @@ function Pae(e, t, n) {};}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function Fae(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = zS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = gw({+function zae(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = LS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = pw({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = qS(e, { labelable: !0 }), { focusWithinProps: v } = _w({+ }), _ = GS(e, { labelable: !0 }), { focusWithinProps: v } = mw({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -26954,13 +26954,13 @@ function Fae(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = PC(n.currentTarget, {- from: G(n),- accept: (e) => e instanceof xb(e).HTMLInputElement && e.type === "radio"+ let r = jC(n.currentTarget, {+ from: W(n),+ accept: (e) => e instanceof yb(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 } = $x({+ let { keyboardProps: b } = Zx({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -26968,15 +26968,15 @@ function Fae(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = Ux(n);- return aO.set(t, {+ }), x = Vx(n);+ return nO.set(t, {name: x,form: r,descriptionId: h.id,errorMessageId: g.id,validationBehavior: c}), {- radioGroupProps: K(_, {+ radioGroupProps: G(_, {role: "radiogroup",...b,"aria-invalid": t.isInvalid || void 0,@@ -26997,21 +26997,21 @@ function Fae(e, t) {};}// node_modules/react-aria/dist/private/select/useSelect.mjs-var oO = /* @__PURE__ */ new WeakMap();-function Iae(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = zT({+var rO = /* @__PURE__ */ new WeakMap();+function Bae(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = IT({usage: "search",sensitivity: "base"- }), u = (0, P.useMemo)(() => r || new Vw(t.collection, t.disabledKeys, n, l), [+ }), u = (0, P.useMemo)(() => r || new Rw(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = TT({+ ]), { menuTriggerProps: d, menuProps: f } = ST({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = $x({+ }, t, n), { keyboardProps: p } = Zx({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27027,21 +27027,21 @@ function Iae(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = DT({+ }), { typeSelectProps: m } = wT({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 } = gw({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = pw({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = qS(e, { labelable: !0 }), C = K(m, d, y), w = Ux();- return oO.set(t, {+ let S = GS(e, { labelable: !0 }), C = G(m, d, y), w = Vx();+ return rO.set(t, {isDisabled: i,isRequired: a,name: o,@@ -27051,13 +27051,13 @@ function Iae(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), Ox("keyboard"));+ e.isDisabled || (n.current?.focus(), Ex("keyboard"));}},- triggerProps: K(S, {+ triggerProps: G(S, {...C,isDisabled: i,- onKeyDown: zx(C.onKeyDown, p.onKeyDown),+ onKeyDown: Lx(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27081,7 +27081,7 @@ function Iae(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- Ob(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ Eb(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -27101,18 +27101,18 @@ function Iae(e, t, n) {};}// node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function Lae(e, t, n) {- let r = oO.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Dw({ style: {+function Vae(e, t, n) {+ let r = rO.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = ww({ style: {position: "fixed",top: 0,left: 0} });- QC(e.selectRef, t.defaultValue, t.setValue), $C({+ YC(e.selectRef, t.defaultValue, t.setValue), XC({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);let d = t.setValue, f = (0, P.useCallback)((e) => {- let t = G(e);+ let t = W(e);t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);}, [d]);return {@@ -27137,8 +27137,8 @@ function Lae(e, t, n) {}};}-function Rae(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = Lae({+function Hae(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = Vae({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27162,7 +27162,7 @@ function Rae(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = oO.get(t) || {};+ let { validationBehavior: e } = rO.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -27192,8 +27192,8 @@ function Rae(e) {return null;}// node_modules/react-aria/dist/private/separator/useSeparator.mjs-function zae(e) {- let t = qS(e, { labelable: !0 }), n;+function Uae(e) {+ let t = GS(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27201,8 +27201,8 @@ function zae(e) {} };}// node_modules/react-aria/dist/private/switch/useSwitch.mjs-function Bae(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = pw(e, t, n);+function Wae(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = uw(e, t, n);return {labelProps: r,inputProps: {@@ -27215,10 +27215,10 @@ function Bae(e, t, n) {};}// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var sO = class {+var iO = 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 Vae(e.layout) : new Bw(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Gae(e.layout) : new Lw(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27254,7 +27254,7 @@ var sO = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of AT(n, this.collection)) {+ for (let e of DT(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -27288,13 +27288,13 @@ var sO = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = AT(t, this.collection);- return (this.direction === "rtl" ? NT(e)?.key : jT(e)?.key) ?? null;+ let e = DT(t, this.collection);+ return (this.direction === "rtl" ? AT(e)?.key : OT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = AT(n, this.collection), i = (this.direction === "rtl" ? MT(r, t.index - 1) : MT(r, t.index + 1)) ?? null;+ let r = DT(n, this.collection), i = (this.direction === "rtl" ? kT(r, t.index - 1) : kT(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;@@ -27303,13 +27303,13 @@ var sO = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = AT(t, this.collection);- return (this.direction === "rtl" ? jT(e)?.key : NT(e)?.key) ?? null;+ let e = DT(t, this.collection);+ return (this.direction === "rtl" ? OT(e)?.key : AT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = AT(n, this.collection), i = (this.direction === "rtl" ? MT(r, t.index + 1) : MT(r, t.index - 1)) ?? null;+ let r = DT(n, this.collection), i = (this.direction === "rtl" ? kT(r, t.index + 1) : kT(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;@@ -27320,13 +27320,13 @@ var sO = 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 ? jT(AT(e, this.collection))?.key ?? null : null;+ return e ? OT(DT(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 = jT(AT(e, this.collection))?.key ?? null;+ n = OT(DT(e, this.collection))?.key ?? null;}return n;}@@ -27336,13 +27336,13 @@ var sO = 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 ? NT(AT(e, this.collection))?.key ?? null : null;+ return e ? AT(DT(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 = NT(AT(e, this.collection))?.key ?? null;+ n = AT(DT(e, this.collection))?.key ?? null;}return n;}@@ -27378,13 +27378,13 @@ var sO = 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" ? jT(AT(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? OT(DT(t, this.collection))?.key ?? null : t.key;}n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}return null;}-}, Vae = class {+}, Gae = class {constructor(e) {this.layout = e;}@@ -27397,15 +27397,15 @@ var sO = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, cO = /* @__PURE__ */ new WeakMap();+}, aO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/grid/useGrid.mjs-function Hae(e, t, n) {+function Kae(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 = zT({+ let h = IT({usage: "search",sensitivity: "base"- }), { direction: g } = zS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new sO({+ }), { direction: g } = LS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new iO({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27422,7 +27422,7 @@ function Hae(e, t, n) {g,h,o- ]), { collectionProps: y } = kT({+ ]), { collectionProps: y } = ET({ref: n,selectionManager: m,keyboardDelegate: v,@@ -27430,8 +27430,8 @@ function Hae(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = Ux(e.id);- cO.set(t, {+ }), b = Vx(e.id);+ aO.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -27440,42 +27440,42 @@ function Hae(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = RE({+ let x = FE({selectionManager: m,hasItemActions: !!(l || u)- }), S = qS(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {- m.isFocused ? Ob(e.currentTarget, G(e)) || m.setFocused(!1) : Ob(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = GS(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {+ m.isFocused ? Eb(e.currentTarget, W(e)) || m.setFocused(!1) : Eb(e.currentTarget, W(e)) && m.setFocused(!0);}, [m]), w = (0, P.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = LE(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = PE(n, { isDisabled: t.collection.size !== 0 }), E = G(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), FE({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), ME({ getRowText: c }, t), { gridProps: E };}// node_modules/react-aria/dist/private/table/utils.mjs-var lO = /* @__PURE__ */ new WeakMap();-function uO(e) {+var oO = /* @__PURE__ */ new WeakMap();+function sO(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function dO(e, t) {- let n = lO.get(e);+function cO(e, t) {+ let n = oO.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${uO(t)}`;+ return `${n}-${sO(t)}`;}-function fO(e, t, n) {- let r = lO.get(e);+function lO(e, t, n) {+ let r = oO.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${uO(t)}-${uO(n)}`;+ return `${r}-${sO(t)}-${sO(n)}`;}-function pO(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => fO(e, t, n)).join(" ");+function uO(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => lO(e, t, n)).join(" ");}// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var mO = {};-mO = {+var dO = {};+dO = {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: "طي",@@ -27489,8 +27489,8 @@ mO = {sortable: "عمود قابل للترتيب"};// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var hO = {};-hO = {+var fO = {};+fO = {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: "Свиване",@@ -27504,8 +27504,8 @@ hO = {sortable: "сортираща колона"};// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var gO = {};-gO = {+var pO = {};+pO = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -27519,8 +27519,8 @@ gO = {sortable: "sloupec s možností řazení"};// node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var _O = {};-_O = {+var mO = {};+mO = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -27534,8 +27534,8 @@ _O = {sortable: "sorterbar kolonne"};// node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var vO = {};-vO = {+var hO = {};+hO = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -27549,8 +27549,8 @@ vO = {sortable: "sortierbare Spalte"};// node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var yO = {};-yO = {+var gO = {};+gO = {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: "Σύμπτυξη",@@ -27564,8 +27564,8 @@ yO = {sortable: "Στήλη διαλογής"};// node_modules/react-aria/dist/private/intl/table/en-US.mjs-var bO = {};-bO = {+var _O = {};+_O = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -27579,8 +27579,8 @@ bO = {collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var xO = {};-xO = {+var vO = {};+vO = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -27594,8 +27594,8 @@ xO = {sortable: "columna ordenable"};// node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var SO = {};-SO = {+var yO = {};+yO = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -27609,8 +27609,8 @@ SO = {sortable: "sorditav veerg"};// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var CO = {};-CO = {+var bO = {};+bO = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -27624,8 +27624,8 @@ CO = {sortable: "lajiteltava sarake"};// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var wO = {};-wO = {+var xO = {};+xO = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -27639,8 +27639,8 @@ wO = {sortable: "colonne triable"};// node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var TO = {};-TO = {+var SO = {};+SO = {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: "כווץ",@@ -27654,8 +27654,8 @@ TO = {sortable: "עמודה שניתן למיין"};// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var EO = {};-EO = {+var CO = {};+CO = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -27669,8 +27669,8 @@ EO = {sortable: "stupac koji se može razvrstati"};// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var DO = {};-DO = {+var wO = {};+wO = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -27684,8 +27684,8 @@ DO = {sortable: "rendezendő oszlop"};// node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var OO = {};-OO = {+var TO = {};+TO = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -27699,8 +27699,8 @@ OO = {sortable: "colonna ordinabile"};// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var kO = {};-kO = {+var EO = {};+EO = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -27714,8 +27714,8 @@ kO = {sortable: "並べ替え可能な列"};// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var AO = {};-AO = {+var DO = {};+DO = {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: "접기",@@ -27729,8 +27729,8 @@ AO = {sortable: "정렬 가능한 열"};// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var jO = {};-jO = {+var OO = {};+OO = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -27744,8 +27744,8 @@ jO = {sortable: "rikiuojamas stulpelis"};// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var MO = {};-MO = {+var kO = {};+kO = {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",@@ -27759,8 +27759,8 @@ MO = {sortable: "kārtojamā kolonna"};// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var NO = {};-NO = {+var AO = {};+AO = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -27774,8 +27774,8 @@ NO = {sortable: "kolonne som kan sorteres"};// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var PO = {};-PO = {+var jO = {};+jO = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -27789,8 +27789,8 @@ PO = {sortable: "sorteerbare kolom"};// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var FO = {};-FO = {+var MO = {};+MO = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -27804,8 +27804,8 @@ FO = {sortable: "kolumna z możliwością sortowania"};// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var IO = {};-IO = {+var NO = {};+NO = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -27819,8 +27819,8 @@ IO = {sortable: "coluna classificável"};// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var LO = {};-LO = {+var PO = {};+PO = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -27834,8 +27834,8 @@ LO = {sortable: "Coluna ordenável"};// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var RO = {};-RO = {+var FO = {};+FO = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -27849,8 +27849,8 @@ RO = {sortable: "coloană sortabilă"};// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var zO = {};-zO = {+var IO = {};+IO = {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: "Свернуть",@@ -27864,8 +27864,8 @@ zO = {sortable: "сортируемый столбец"};// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var BO = {};-BO = {+var LO = {};+LO = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -27879,8 +27879,8 @@ BO = {sortable: "zoraditeľný stĺpec"};// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var VO = {};-VO = {+var RO = {};+RO = {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",@@ -27894,8 +27894,8 @@ VO = {sortable: "razvrstljivi stolpec"};// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var HO = {};-HO = {+var zO = {};+zO = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -27909,8 +27909,8 @@ HO = {sortable: "kolona koja se može sortirati"};// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var UO = {};-UO = {+var BO = {};+BO = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -27924,8 +27924,8 @@ UO = {sortable: "sorterbar kolumn"};// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var WO = {};-WO = {+var VO = {};+VO = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -27939,8 +27939,8 @@ WO = {sortable: "Sıralanabilir sütun"};// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var GO = {};-GO = {+var HO = {};+HO = {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: "Згорнути",@@ -27954,8 +27954,8 @@ GO = {sortable: "сортувальний стовпець"};// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var KO = {};-KO = {+var UO = {};+UO = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -27969,8 +27969,8 @@ KO = {sortable: "可排序的列"};// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var qO = {};-qO = {+var WO = {};+WO = {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: "收合",@@ -27984,45 +27984,45 @@ qO = {sortable: "可排序的欄"};// node_modules/react-aria/dist/private/table/intlStrings.mjs-var JO = {};-JO = {- "ar-AE": mO,- "bg-BG": hO,- "cs-CZ": gO,- "da-DK": _O,- "de-DE": vO,- "el-GR": yO,- "en-US": bO,- "es-ES": xO,- "et-EE": SO,- "fi-FI": CO,- "fr-FR": wO,- "he-IL": TO,- "hr-HR": EO,- "hu-HU": DO,- "it-IT": OO,- "ja-JP": kO,- "ko-KR": AO,- "lt-LT": jO,- "lv-LV": MO,- "nb-NO": NO,- "nl-NL": PO,- "pl-PL": FO,- "pt-BR": IO,- "pt-PT": LO,- "ro-RO": RO,- "ru-RU": zO,- "sk-SK": BO,- "sl-SI": VO,- "sr-SP": HO,- "sv-SE": UO,- "tr-TR": WO,- "uk-UA": GO,- "zh-CN": KO,- "zh-TW": qO+var GO = {};+GO = {+ "ar-AE": dO,+ "bg-BG": fO,+ "cs-CZ": pO,+ "da-DK": mO,+ "de-DE": hO,+ "el-GR": gO,+ "en-US": _O,+ "es-ES": vO,+ "et-EE": yO,+ "fi-FI": bO,+ "fr-FR": xO,+ "he-IL": SO,+ "hr-HR": CO,+ "hu-HU": wO,+ "it-IT": TO,+ "ja-JP": EO,+ "ko-KR": DO,+ "lt-LT": OO,+ "lv-LV": kO,+ "nb-NO": AO,+ "nl-NL": jO,+ "pl-PL": MO,+ "pt-BR": NO,+ "pt-PT": PO,+ "ro-RO": FO,+ "ru-RU": IO,+ "sk-SK": LO,+ "sl-SI": RO,+ "sr-SP": zO,+ "sv-SE": BO,+ "tr-TR": VO,+ "uk-UA": HO,+ "zh-CN": UO,+ "zh-TW": WO};// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Uae = class extends sO {+var qae = class extends iO {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28030,7 +28030,7 @@ var Uae = class extends sO {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = jT(AT(n, this.collection));+ let e = OT(DT(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);@@ -28051,13 +28051,13 @@ var Uae = class extends sO {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 AT(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of DT(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 = [...AT(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...DT(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -28086,7 +28086,7 @@ var Uae = class extends sO {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of AT(o, this.collection)) {+ for (let r of DT(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);@@ -28099,14 +28099,14 @@ var Uae = class extends sO {}};// node_modules/react-aria/dist/private/table/useTable.mjs-function Wae(e) {+function Jae(e) {return e && e.__esModule ? e.default : e;}-function Gae(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = zT({+function Yae(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = IT({usage: "search",sensitivity: "base"- }), { direction: c } = zS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new Uae({+ }), { direction: c } = LS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new qae({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28125,51 +28125,51 @@ function Gae(e, t, n) {s,a,o- ]), d = Ux(e.id);- lO.set(t, d);- let { gridProps: f } = Hae({+ ]), d = Vx(e.id);+ oO.set(t, d);+ let { gridProps: f } = Kae({...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 = GS(Wae(JO), "@react-aria/table"), g = (0, P.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = US(Jae(GO), "@react-aria/table"), g = (0, P.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- ]), _ = ZC(g);- return HC(() => {- g && BC(g, "assertive", 500);- }, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };+ ]), _ = JC(g);+ return zC(() => {+ g && LC(g, "assertive", 500);+ }, [g]), { gridProps: G(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}// node_modules/react-aria/dist/private/grid/useGridCell.mjs-function YO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = zS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = cO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {+function KO(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = LS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = aO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {if (n.current) {- let e = PC(n.current);+ let e = jC(n.current);if (p === "child") {- let i = kb(bb(n.current));- if (jb(n.current) && n.current !== i) return;- let a = bb(n.current);+ let i = Db(vb(n.current));+ if (kb(n.current) && n.current !== i) return;+ let a = vb(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && Ob(n.current, e)) {- Rx(e);+ if (e && m.current === r.key && Eb(n.current, e)) {+ Ix(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? XO(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? qO(e) : e.firstChild();if (o) {- Rx(o);+ Ix(o);return;}}- (m.current != null && r.key !== m.current || !jb(n.current)) && Rx(n.current);+ (m.current != null && r.key !== m.current || !kb(n.current)) && Ix(n.current);}- }, { itemProps: _, isPressed: v } = BE({+ }, { itemProps: _, isPressed: v } = LE({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -28178,47 +28178,47 @@ function YO(e, t, n) {shouldSelectOnPressUp: s,onAction: d ? () => d(r.key) : c,isDisabled: t.collection.size === 0- }), y = K(_, {+ }), y = G(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = kb(bb(n.current));- if (!Ob(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = PC(n.current);+ let i = Db(vb(n.current));+ if (!Eb(e.currentTarget, W(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = jC(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) Rx(t), JC(t, { containingElement: WC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Ix(t), GC(t, { containingElement: VC(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" ? (Rx(n.current), JC(n.current, { containingElement: WC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : XO(a), t && (Rx(t), JC(t, { containingElement: WC(n.current) })));+ p === "cell" && l === "rtl" ? (Ix(n.current), GC(n.current, { containingElement: VC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : qO(a), t && (Ix(t), GC(t, { containingElement: VC(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) Rx(t), JC(t, { containingElement: WC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Ix(t), GC(t, { containingElement: VC(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" ? (Rx(n.current), JC(n.current, { containingElement: WC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? XO(a) : a.firstChild(), t && (Rx(t), JC(t, { containingElement: WC(n.current) })));+ p === "cell" && l === "ltr" ? (Ix(n.current), GC(n.current, { containingElement: VC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? qO(a) : a.firstChild(), t && (Ix(t), GC(t, { containingElement: VC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && Ob(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && Eb(n.current, W(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = kb(bb(n.current));- if (Ob(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {- if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();+ let r = Db(vb(n.current));+ if (Eb(e.currentTarget, W(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ if (f === "tab" && W(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {- let t = PC(n.current, { tabbable: !0 });+ let t = jC(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28227,11 +28227,11 @@ function YO(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 && Ob(n.current, i) && (h.current = i), Ex() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && Ob(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && kb(bb(n.current)) === n.current && g();+ if (m.current = r.key, W(e) !== n.current) {+ let i = W(e);+ n.current && Eb(n.current, i) && (h.current = i), wx() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && Eb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && Db(vb(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28246,7 +28246,7 @@ function YO(e, t, n) {isPressed: v};}-function XO(e) {+function qO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28254,32 +28254,32 @@ function XO(e) {return t;}// node_modules/react-aria/dist/private/table/useTableCell.mjs-function Kae(e, t, n) {- let { gridCellProps: r, isPressed: i } = YO(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = fO(t, e.node.parentKey, a)), {+function Xae(e, t, n) {+ let { gridCellProps: r, isPressed: i } = KO(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = lO(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function qae(e) {+function Zae(e) {return e && e.__esModule ? e.default : e;}-function Jae(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = YO({+function Qae(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = KO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = sC({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = aC({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = rS({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !nx() && (u = d ? f : "none");- let p = GS(qae(JO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && nx() && (m = `${m}, ${p.format(f)}`));- let h = ZC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = tS({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !ex() && (u = d ? f : "none");+ let p = US(Zae(GO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && ex() && (m = `${m}, ${p.format(f)}`));+ let h = JC(m), g = t.collection.size === 0;return (0, P.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28288,9 +28288,9 @@ function Jae(e, t, n) {r.key]), {columnHeaderProps: {- ...K(l, a, s, h, g ? { tabIndex: -1 } : null),+ ...G(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: dO(t, r.key),+ id: cO(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -28298,17 +28298,17 @@ function Jae(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Yae(e) {+function $ae(e) {return e && e.__esModule ? e.default : e;}-function Xae(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = GS(Yae(JO), "@react-aria/table"), d = Ux(), f = t.resizingColumn === r.key, p = (0, P.useRef)(f), m = (0, P.useRef)(null), h = (0, P.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, P.useState)(!1), { direction: y } = zS(), b = (0, P.useCallback)((e) => {+function eoe(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = US($ae(GO), "@react-aria/table"), d = Vx(), f = t.resizingColumn === r.key, p = (0, P.useRef)(f), m = (0, P.useRef)(null), h = (0, P.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, P.useState)(!1), { direction: y } = LS(), b = (0, P.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, P.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, P.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 && Rx(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 && Ix(i.current)), m.current = null;}, [t,i,@@ -28316,14 +28316,14 @@ function Xae(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = $x({ shortcuts: {+ }, { keyboardProps: w } = Zx({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, P.useRef)(0), { moveProps: E } = Tw({+ } }), T = (0, P.useRef)(0), { moveProps: E } = Sw({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -28339,12 +28339,12 @@ function Xae(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 = kx();+ let A = Math.floor(t.getColumnWidth(r.key)), j = Dx();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");- let M = ZC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let M = JC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${dO(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${cO(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: A }),type: "range",min: O,@@ -28352,11 +28352,11 @@ function Xae(e, t, n) {value: A,...M}, te = (0, P.useCallback)(() => {- n.current && Rx(n.current);- }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = jS(b);+ n.current && Ix(n.current);+ }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = kS(b);(0, P.useEffect)(() => {if (N.current !== ne && ne != null && ne === r.key) {- h.current = kb() === n.current, re(r);+ h.current = Db() === n.current, re(r);let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -28370,9 +28370,9 @@ function Xae(e, t, n) {n]);let ie = (e) => {- let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);+ let n = t.getColumnWidth(r.key), i = parseFloat(W(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: F } = sC({+ }, { pressProps: F } = aC({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (te(), e.pointerType !== "virtual" && b(r)));@@ -28380,13 +28380,13 @@ function Xae(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ae } = Dw();+ }), { visuallyHiddenProps: ae } = ww();return {- resizerProps: K(w, {+ resizerProps: G(w, {...E,onKeyDown: D}, F, { style: { touchAction: "none" } }),- inputProps: K(ae, {+ inputProps: G(ae, {id: d,onBlur: () => {S(r);@@ -28399,19 +28399,19 @@ function Xae(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function Zae(e, t, n) {+function toe(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 Qae(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = cO.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = BE({+function noe(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = aO.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = LE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? zx(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? Lx(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28425,10 +28425,10 @@ function Qae(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableRow.mjs-function $ae(e) {+function roe(e) {return e && e.__esModule ? e.default : e;}-var ZO = {+var JO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28438,21 +28438,21 @@ var ZO = {rtl: "ArrowRight"}};-function eoe(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Qae(e, t, n), { direction: s } = zS();+function ioe(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = noe(e, t, n), { direction: s } = LS();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 = GS($ae(JO), "@react-aria/table"), u = NS({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = US(roe(GO), "@react-aria/table"), u = jS({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": pO(t, r.key)+ "aria-labelledby": uO(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = QO(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 = QO(t.collection, a);+ let n = YO(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 = YO(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === ZO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === ZO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));+ n.key === JO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === JO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -28470,42 +28470,42 @@ function eoe(e, t, n) {};}}- let p = ox(r.props), m = o.hasAction ? p : {};+ let p = ix(r.props), m = o.hasAction ? p : {};return {rowProps: {- ...K(a, d, m),- "aria-labelledby": pO(t, r.key)+ ...G(a, d, m),+ "aria-labelledby": uO(t, r.key)},expandButtonProps: f,...o};}-function QO(e, t) {+function YO(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 toe() {+function aoe() {return { rowGroupProps: { role: "rowgroup" } };}// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function $O() {- return toe();+function XO() {+ return aoe();}// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function noe(e) {+function ooe(e) {return e && e.__esModule ? e.default : e;}-function roe(e, t) {- let { key: n } = e, { checkboxProps: r } = KE(e, t);+function soe(e, t) {+ let { key: n } = e, { checkboxProps: r } = UE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${pO(t, n)}`+ "aria-labelledby": `${r.id} ${uO(t, n)}`} };}-function ioe(e) {+function coe(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": GS(noe(JO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": US(ooe(GO), "@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,@@ -28513,27 +28513,27 @@ function ioe(e) {} };}// node_modules/react-aria/dist/private/tabs/utils.mjs-var ek = /* @__PURE__ */ new WeakMap();-function tk(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${ek.get(e)}-${n}-${t}`) : "";+var ZO = /* @__PURE__ */ new WeakMap();+function QO(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${ZO.get(e)}-${n}-${t}`) : "";}// node_modules/react-aria/dist/private/tabs/useTab.mjs-function aoe(e, t, n) {- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = BE({+function loe(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 } = LE({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = tk(t, r, "tab"), m = tk(t, r, "tabpanel"), { tabIndex: h } = d, g = qS(u?.props, { labelable: !0 });+ }), p = QO(t, r, "tab"), m = QO(t, r, "tabpanel"), { tabIndex: h } = d, g = GS(u?.props, { labelable: !0 });delete g.id;- let _ = sx(u?.props), { focusableProps: v } = rS({+ let _ = ax(u?.props), { focusableProps: v } = tS({...u?.props,isDisabled: l}, n);return {- tabProps: K(g, v, _, d, {+ tabProps: G(g, v, _, d, {id: p,"aria-selected": c,"aria-disabled": l || void 0,@@ -28547,7 +28547,7 @@ function aoe(e, t, n) {};}// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var ooe = class {+var uoe = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28590,11 +28590,11 @@ var ooe = class {}};// node_modules/react-aria/dist/private/tabs/useTabList.mjs-function soe(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = zS(), { collectionProps: l } = kT({+function doe(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = LS(), { collectionProps: l } = ET({ref: n,selectionManager: o,- keyboardDelegate: (0, P.useMemo)(() => new ooe(a, c, r, s), [+ keyboardDelegate: (0, P.useMemo)(() => new uoe(a, c, r, s), [a,s,r,@@ -28604,9 +28604,9 @@ function soe(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = Ux();- return ek.set(t, u), { tabListProps: {- ...K(l, NS({+ }), u = Vx();+ return ZO.set(t, u), { tabListProps: {+ ...G(l, jS({...e,id: u})),@@ -28616,12 +28616,12 @@ function soe(e, t, n) {} };}// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function coe(e, t, n) {- let r = LE(n) ? void 0 : 0, i = tk(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(NS({+function foe(e, t, n) {+ let r = PE(n) ? void 0 : 0, i = QO(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: G(jS({...e,id: i,- "aria-labelledby": tk(t, t?.selectedKey, "tab")+ "aria-labelledby": QO(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28630,265 +28630,265 @@ function coe(e, t, n) {}) };}// node_modules/react-aria/dist/private/tree/useTree.mjs-function loe(e, t, n) {- let { gridProps: r } = eae(e, t, n);+function poe(e, t, n) {+ let { gridProps: r } = iae(e, t, n);return r.role = "treegrid", { gridProps: r };}// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var nk = {};-nk = {+var $O = {};+$O = {collapse: "طي",expand: "تمديد"};// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var rk = {};-rk = {+var ek = {};+ek = {collapse: "Свиване",expand: "Разширяване"};// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var ik = {};-ik = {+var tk = {};+tk = {collapse: "Sbalit",expand: "Roztáhnout"};// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var ak = {};-ak = {+var nk = {};+nk = {collapse: "Skjul",expand: "Udvid"};// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var ok = {};-ok = {+var rk = {};+rk = {collapse: "Reduzieren",expand: "Erweitern"};// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var sk = {};-sk = {+var ik = {};+ik = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};// node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var ck = {};-ck = {+var ak = {};+ak = {expand: "Expand",collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var lk = {};-lk = {+var ok = {};+ok = {collapse: "Contraer",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var uk = {};-uk = {+var sk = {};+sk = {collapse: "Ahenda",expand: "Laienda"};// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var dk = {};-dk = {+var ck = {};+ck = {collapse: "Pienennä",expand: "Laajenna"};// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var fk = {};-fk = {+var lk = {};+lk = {collapse: "Réduire",expand: "Développer"};// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var pk = {};-pk = {+var uk = {};+uk = {collapse: "כווץ",expand: "הרחב"};// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var mk = {};-mk = {+var dk = {};+dk = {collapse: "Sažmi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var hk = {};-hk = {+var fk = {};+fk = {collapse: "Összecsukás",expand: "Kibontás"};// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var gk = {};-gk = {+var pk = {};+pk = {collapse: "Comprimi",expand: "Espandi"};// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var _k = {};-_k = {+var mk = {};+mk = {collapse: "折りたたむ",expand: "展開"};// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var vk = {};-vk = {+var hk = {};+hk = {collapse: "접기",expand: "펼치기"};// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var yk = {};-yk = {+var gk = {};+gk = {collapse: "Sutraukti",expand: "Išskleisti"};// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var bk = {};-bk = {+var _k = {};+_k = {collapse: "Sakļaut",expand: "Izvērst"};// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var xk = {};-xk = {+var vk = {};+vk = {collapse: "Skjul",expand: "Utvid"};// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var Sk = {};-Sk = {+var yk = {};+yk = {collapse: "Samenvouwen",expand: "Uitvouwen"};// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var Ck = {};-Ck = {+var bk = {};+bk = {collapse: "Zwiń",expand: "Rozwiń"};// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var wk = {};-wk = {+var xk = {};+xk = {collapse: "Recolher",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var Tk = {};-Tk = {+var Sk = {};+Sk = {collapse: "Colapsar",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var Ek = {};-Ek = {+var Ck = {};+Ck = {collapse: "Restrângeți",expand: "Extindeți"};// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var Dk = {};-Dk = {+var wk = {};+wk = {collapse: "Свернуть",expand: "Развернуть"};// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var Ok = {};-Ok = {+var Tk = {};+Tk = {collapse: "Zbaliť",expand: "Rozbaliť"};// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var kk = {};-kk = {+var Ek = {};+Ek = {collapse: "Strni",expand: "Razširi"};// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var Ak = {};-Ak = {+var Dk = {};+Dk = {collapse: " Skupi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var jk = {};-jk = {+var Ok = {};+Ok = {collapse: "Dölj",expand: "Expandera"};// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var Mk = {};-Mk = {+var kk = {};+kk = {collapse: "Daralt",expand: "Genişlet"};// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var Nk = {};-Nk = {+var Ak = {};+Ak = {collapse: "Згорнути",expand: "Розгорнути"};// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var Pk = {};-Pk = {+var jk = {};+jk = {collapse: "折叠",expand: "扩展"};// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var Fk = {};-Fk = {+var Mk = {};+Mk = {collapse: "收合",expand: "展開"};// node_modules/react-aria/dist/private/tree/intlStrings.mjs-var Ik = {};-Ik = {- "ar-AE": nk,- "bg-BG": rk,- "cs-CZ": ik,- "da-DK": ak,- "de-DE": ok,- "el-GR": sk,- "en-US": ck,- "es-ES": lk,- "et-EE": uk,- "fi-FI": dk,- "fr-FR": fk,- "he-IL": pk,- "hr-HR": mk,- "hu-HU": hk,- "it-IT": gk,- "ja-JP": _k,- "ko-KR": vk,- "lt-LT": yk,- "lv-LV": bk,- "nb-NO": xk,- "nl-NL": Sk,- "pl-PL": Ck,- "pt-BR": wk,- "pt-PT": Tk,- "ro-RO": Ek,- "ru-RU": Dk,- "sk-SK": Ok,- "sl-SI": kk,- "sr-SP": Ak,- "sv-SE": jk,- "tr-TR": Mk,- "uk-UA": Nk,- "zh-CN": Pk,- "zh-TW": Fk+var Nk = {};+Nk = {+ "ar-AE": $O,+ "bg-BG": ek,+ "cs-CZ": tk,+ "da-DK": nk,+ "de-DE": rk,+ "el-GR": ik,+ "en-US": ak,+ "es-ES": ok,+ "et-EE": sk,+ "fi-FI": ck,+ "fr-FR": lk,+ "he-IL": uk,+ "hr-HR": dk,+ "hu-HU": fk,+ "it-IT": pk,+ "ja-JP": mk,+ "ko-KR": hk,+ "lt-LT": gk,+ "lv-LV": _k,+ "nb-NO": vk,+ "nl-NL": yk,+ "pl-PL": bk,+ "pt-BR": xk,+ "pt-PT": Sk,+ "ro-RO": Ck,+ "ru-RU": wk,+ "sk-SK": Tk,+ "sl-SI": Ek,+ "sr-SP": Dk,+ "sv-SE": Ok,+ "tr-TR": kk,+ "uk-UA": Ak,+ "zh-CN": jk,+ "zh-TW": Mk};// node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function uoe(e) {+function moe(e) {return e && e.__esModule ? e.default : e;}-function Lk(e, t, n) {- let { node: r } = e, i = tae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = GS(uoe(Ik), "@react-aria/tree"), s = {+function Pk(e, t, n) {+ let { node: r } = e, i = aae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = US(moe(Nk), "@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,- ...NS({+ ...jS({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -28899,15 +28899,15 @@ function Lk(e, t, n) {};}// src/react/components/selection-dock.tsx-var Rk = "(prefers-reduced-motion: reduce)", doe = () => matchMedia(Rk).matches, foe = (e) => {- let t = matchMedia(Rk);+var Fk = "(prefers-reduced-motion: reduce)", hoe = () => matchMedia(Fk).matches, goe = (e) => {+ let t = matchMedia(Fk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, zk = /* @__PURE__ */ new Map(), Bk = () => {+}, Ik = /* @__PURE__ */ new Map(), Lk = () => {let e = document.documentElement;- zk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...zk.values())}px`) : e.style.removeProperty("--selection-dock-space");+ Ik.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Ik.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function poe({ children: e, count: t, label: n }) {- let r = (0, P.useRef)(null), i = xy(), a = (0, P.useSyncExternalStore)(foe, doe, () => !1), { isFocusVisible: o } = Ax(), s = a || o, c = {+function _oe({ children: e, count: t, label: n }) {+ let r = (0, P.useRef)(null), i = yy(), a = (0, P.useSyncExternalStore)(goe, hoe, () => !1), { isFocusVisible: o } = Ox(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -28915,12 +28915,12 @@ function poe({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- zk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Bk();+ Ik.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Lk();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), zk.delete(e), Bk();+ n.disconnect(), window.removeEventListener("resize", t), Ik.delete(e), Lk();};- }, [i]), /* @__PURE__ */ (0, F.jsxs)(lb.div, {+ }, [i]), /* @__PURE__ */ (0, F.jsxs)(sb.div, {ref: r,role: "group","aria-label": n,@@ -28953,17 +28953,17 @@ function poe({ children: e, count: t, label: n }) {}), e]});}-function Vk({ visible: e, ...t }) {- return /* @__PURE__ */ (0, F.jsx)(wy, { children: e ? /* @__PURE__ */ (0, F.jsx)(poe, { ...t }, "selection") : null });+function Rk({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, F.jsx)(Sy, { children: e ? /* @__PURE__ */ (0, F.jsx)(_oe, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.ts-var Hk = {+var zk = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function moe(e, t = !1) {+function voe(e, t = !1) {switch (e) {case "trash": return [{@@ -28979,7 +28979,7 @@ function moe(e, t = !1) {glyph: "trash",danger: !0},- Hk+ zk];case "junk": return [t ? {@@ -29000,7 +29000,7 @@ function moe(e, t = !1) {glyph: "trash",danger: !0},- Hk+ zk];case "follow": return [{@@ -29021,7 +29021,7 @@ function moe(e, t = !1) {label: "忽略",glyph: "eye-off"},- Hk+ zk];default: return [{@@ -29055,38 +29055,38 @@ function moe(e, t = !1) {glyph: "trash",danger: !0},- Hk+ zk];}}// src/react/batch-dock/batch-dock-island.tsx-var Uk = null, Wk = {+var Bk = null, Vk = {count: 0,context: "catalog",junkDismissed: !1-}, Gk = /* @__PURE__ */ new Set();-function hoe(e) {- return Gk.add(e), () => {- Gk.delete(e);+}, Hk = /* @__PURE__ */ new Set();+function yoe(e) {+ return Hk.add(e), () => {+ Hk.delete(e);};}-function goe() {- for (let e of [...Gk]) e();+function boe() {+ for (let e of [...Hk]) e();}-var _oe = { render(e) {- Wk = e, (0, Lt.flushSync)(goe);+var xoe = { render(e) {+ Vk = e, (0, Rt.flushSync)(boe);} };-function voe(e) {- return Uk = e, _oe;+function Soe(e) {+ return Bk = e, xoe;}-function yoe() {- let e = (0, P.useSyncExternalStore)(hoe, () => Wk);- return Uk ? /* @__PURE__ */ (0, F.jsx)(boe, {- host: Uk,+function Coe() {+ let e = (0, P.useSyncExternalStore)(yoe, () => Vk);+ return Bk ? /* @__PURE__ */ (0, F.jsx)(woe, {+ host: Bk,props: e}) : null;}-function boe({ host: e, props: t }) {+function woe({ host: e, props: t }) {let n = t.count > 0;return (0, P.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29096,11 +29096,11 @@ function boe({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, F.jsx)(Vk, {+ children: /* @__PURE__ */ (0, F.jsx)(Rk, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: moe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: voe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29116,11 +29116,11 @@ function boe({ host: e, props: t }) {});}// src/number-setting.ts-function Kk(e, t, n, r) {+function Uk(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}// src/settings-store.ts-function xoe(e, t) {+function Toe(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29139,7 +29139,7 @@ function xoe(e, t) {};}// src/sort-preferences.ts-var qk = [+var Wk = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29148,7 +29148,7 @@ var qk = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Jk = ["release", "发行时间"], Yk = [...qk, Jk].map(([e]) => e), Xk = {+], Gk = ["release", "发行时间"], Kk = [...Wk, Gk].map(([e]) => e), qk = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29157,43 +29157,43 @@ var qk = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Zk = {+}, Jk = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Qk = (e, t, n = Xk) => (n[e] || [])[+(t === "asc")] || "", $k = (e, t = Xk) => t[e] ? "desc" : "";-function eA(e, t, n, r = Xk) {+}, Yk = (e, t, n = qk) => (n[e] || [])[+(t === "asc")] || "", Xk = (e, t = qk) => t[e] ? "desc" : "";+function Zk(e, t, n, r = qk) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: $k(e, r)+ dir: Xk(e, r)};}-function tA(e, t, n) {+function Qk(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function nA(e, t, n, r, i = n) {- let a = e ? Zk[e] : void 0, o = a ? a[0] : e, s = o && Yk.includes(o) ? o : i;- return Xk[s] ? {+function $k(e, t, n, r, i = n) {+ let a = e ? Jk[e] : void 0, o = a ? a[0] : e, s = o && Kk.includes(o) ? o : i;+ return qk[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : tA(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Qk(s, n, r)} : {sort: s,dir: ""};}// src/appearance/home-glow.ts-var rA = [+var eA = ["spot1","spot2","spot3"-], Soe = [+], Eoe = ["光晕一","光晕二","光晕三"-], iA = "native", aA = [+], tA = "native", nA = [["ash","灰雾",@@ -29499,7 +29499,7 @@ var rA = ["rose"],[- iA,+ tA,"玻璃原色",{spot1: {@@ -29517,7 +29517,7 @@ var rA = [},"blue"]-], oA = (e) => e === iA, sA = [...aA.map(([e, t]) => [e, t]), ["custom", "自定义"]], Coe = (e) => (sA.find(([t]) => t === e) || sA[0])[1], cA = (e) => structuredClone((aA.find(([t]) => t === e) || aA[0])[2]), lA = [+], rA = (e) => e === tA, iA = [...nA.map(([e, t]) => [e, t]), ["custom", "自定义"]], Doe = (e) => (iA.find(([t]) => t === e) || iA[0])[1], aA = (e) => structuredClone((nA.find(([t]) => t === e) || nA[0])[2]), oA = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29530,7 +29530,7 @@ var rA = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], uA = "blue", dA = (e) => lA.some(([t]) => t === e) ? e : uA, woe = (e) => (aA.find(([t]) => t === e) || [])[3] || "blue", Toe = [+], sA = "blue", cA = (e) => oA.some(([t]) => t === e) ? e : sA, Ooe = (e) => (nA.find(([t]) => t === e) || [])[3] || "blue", koe = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29540,7 +29540,7 @@ var rA = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], Eoe = [+], Aoe = [["gray","云灰",@@ -29936,11 +29936,11 @@ var rA = ["霁蓝","#6686b8"]-], fA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, pA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Doe = (e, t) => `rgba(${[+], lA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, uA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, joe = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Ooe = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, dA = {strength: [0,100,@@ -29966,7 +29966,7 @@ var rA = [100,50]-}, mA = {+}, fA = {on: !0,preset: "ash",strength: 100,@@ -29974,56 +29974,56 @@ var rA = [speed: 100,soften: 50,size: 50,- ...cA("ash")+ ...aA("ash")};-function hA(e) {- let t = e && typeof e == "object" ? e : {}, n = sA.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = cA(r === "custom" ? "ash" : r), a = {+function pA(e) {+ let t = e && typeof e == "object" ? e : {}, n = iA.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = aA(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(Ooe)) a[e] = fA(+t[e], n, r, i);- for (let e of rA) {+ for (let [e, [n, r, i]] of Object.entries(dA)) a[e] = lA(+t[e], n, r, i);+ for (let e of eA) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: pA(r.color, o.color),- alpha: fA(+r.alpha, 0, 100, o.alpha)+ color: uA(r.color, o.color),+ alpha: lA(+r.alpha, 0, 100, o.alpha)};}return a;}-var koe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, gA = /* @__PURE__ */ new WeakMap();-function Aoe(e, t) {+var Moe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, mA = /* @__PURE__ */ new WeakMap();+function Noe(e, t) {if (!e) return;- let n = gA.get(e);- n || (n = /* @__PURE__ */ new Map(), gA.set(e, n));- let r = t.on && !oA(t.preset), i = (t, r) => {+ let n = mA.get(e);+ n || (n = /* @__PURE__ */ new Map(), mA.set(e, n));+ let r = t.on && !rA(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"), rA.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"), eA.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, Doe(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, joe(r.color, r.alpha));});}-function joe(e, t) {+function Poe(e, t) {if (!e) return;- let n = !t.on || oA(t.preset);+ let n = !t.on || rA(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 _A = "peach.settings.v1", Moe = [+var Foe = "peach.settings.v1", Ioe = ["system","light","dark"-], vA = [+], hA = [0,7,30,90-], Noe = [+], Loe = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], yA = {+], gA = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30043,54 +30043,54 @@ var _A = "peach.settings.v1", Moe = [theaterMode: !1,theme: "system",groupCollapse: !0,- sidebarOrder: [...Fl],- homeGlow: mA,- accent: uA-}, bA = (e, t, n) => t.includes(e) ? e : n;-function Poe(e) {+ sidebarOrder: [...Il],+ homeGlow: fA,+ accent: sA+}, _A = (e, t, n) => t.includes(e) ? e : n;+function Roe(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...yA,+ ...gA,...t};- n.followInitialDays = vA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = hA.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 = Zk[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Kk(+n.batchSize, 1, 200, 60), n.defaultSort = bA(n.defaultSort, Yk, "seed"), n.hoverDelaySeconds = Kk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Kk(+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 = Kk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Kk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Kk(+n.feedLimit, 1, 100, 12), Object.assign(n, Pa(n)), n.theme = bA(n.theme, Moe, "system"), n.homeGlow = hA(n.homeGlow), n.accent = dA(n.accent), n.sidebarOrder = zl(n.sidebarOrder), {+ let a = Jk[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Uk(+n.batchSize, 1, 200, 60), n.defaultSort = _A(n.defaultSort, Kk, "seed"), n.hoverDelaySeconds = Uk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Uk(+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 = Uk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Uk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Uk(+n.feedLimit, 1, 100, 12), Object.assign(n, Fa(n)), n.theme = _A(n.theme, Ioe, "system"), n.homeGlow = pA(n.homeGlow), n.accent = cA(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {settings: n,migrated: r};}-function Foe(e) {+function zoe(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return Poe(t);+ return Roe(t);}-var xA = null;-function SA() {- if (xA) return xA;- let { settings: e, migrated: t } = Foe(localStorage);- return xA = xoe(_A, e), t && xA.save(), xA;+var vA = null;+function yA() {+ if (vA) return vA;+ let { settings: e, migrated: t } = zoe(localStorage);+ return vA = Toe(Foe, e), t && vA.save(), vA;}-function CA(e, t, n = SA()) {+function bA(e, t, n = yA()) {let r = n.value, i = e && e.followInitialDays;- vA.includes(i) && (r.followInitialDays = i, n.save());- for (let t of Noe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ hA.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of Loe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Kk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== yA.searchHistoryLimit && Ioe(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Uk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== gA.searchHistoryLimit && Boe(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function Ioe(e = SA()) {- return on("/api/settings", {+function Boe(e = yA()) {+ return sn("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })}).catch(() => {});}// src/appearance/theme.ts-var Loe = [+var Voe = [["system","跟随系统",@@ -30106,31 +30106,31 @@ var Loe = ["深色","moon"]-], Roe = null, wA = () => Roe ??= matchMedia("(prefers-color-scheme: dark)"), TA = null;-function zoe() {- return TA || (TA = document.createElement("style"), TA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), TA.isConnected || document.head.append(TA), () => {+], Hoe = null, xA = () => Hoe ??= matchMedia("(prefers-color-scheme: dark)"), SA = null;+function Uoe() {+ return SA || (SA = document.createElement("style"), SA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), SA.isConnected || document.head.append(SA), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), TA?.remove();+ cancelAnimationFrame(t), clearTimeout(n), SA?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function EA(e = SA().value.theme) {- let t = zoe(), n = document.documentElement;+function CA(e = yA().value.theme) {+ let t = Uoe(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && wA().matches;+ let r = e === "dark" || e === "system" && xA().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 DA = !1;-function Boe() {- DA || (DA = !0, wA().addEventListener("change", () => {- SA().value.theme === "system" && EA();+var wA = !1;+function Woe() {+ wA || (wA = !0, xA().addEventListener("change", () => {+ yA().value.theme === "system" && CA();}));}// src/appearance/layout.ts-var OA = [[+var TA = [["big","大图","maximize"@@ -30138,7 +30138,7 @@ var OA = [["small","小图","layout-grid"-]], kA = [[+]], EA = [["big","大图","maximize"@@ -30146,7 +30146,7 @@ var OA = [["small","小图","layout-grid"-]], AA = [[+]], DA = [["fixed","固定比例","layout-grid"@@ -30154,127 +30154,127 @@ var OA = [["masonry","瀑布流","columns-2"-]], jA = .75, MA = () => SA().value, NA = (e = MA()) => Na(e.javLayout), Voe = (e = MA()) => Na(e.homeLayout), PA = (e, t = MA()) => e ? Voe(t) : NA(t), FA = kA.map(([e]) => e), IA = AA.map(([e]) => e), LA = (e = MA()) => bA(e.photoSize, FA, "small"), RA = (e = MA()) => bA(e.photoLayout, IA, "masonry"), zA = null;-function BA(e, t = MA()) {+]], OA = .75, kA = () => yA().value, AA = (e = kA()) => Pa(e.javLayout), Goe = (e = kA()) => Pa(e.homeLayout), jA = (e, t = kA()) => e ? Goe(t) : AA(t), MA = EA.map(([e]) => e), NA = DA.map(([e]) => e), PA = (e = kA()) => _A(e.photoSize, MA, "small"), FA = (e = kA()) => _A(e.photoLayout, NA, "masonry"), IA = null;+function LA(e, t = kA()) {let n = {active: e.active,- size: PA(e.home, t),+ size: jA(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = zA;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (zA = n), zA;+ }, r = IA;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (IA = n), IA;}-function VA(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? jA : 16 / 9;+function RA(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? OA : 16 / 9;}-function Hoe(e, t = SA()) {- t.value.homeLayout = Na(e), t.save();+function Koe(e, t = yA()) {+ t.value.homeLayout = Pa(e), t.save();}-function HA(e, t = SA()) {- t.value.javLayout = Na(e), t.save();+function zA(e, t = yA()) {+ t.value.javLayout = Pa(e), t.save();}-function Uoe(e, t = SA()) {- t.value.homeLayout = t.value.javLayout = Na(e), t.save();+function qoe(e, t = yA()) {+ t.value.homeLayout = t.value.javLayout = Pa(e), t.save();}-function Woe(e, t = SA()) {- t.value.photoSize = bA(e, FA, "small"), t.save();+function Joe(e, t = yA()) {+ t.value.photoSize = _A(e, MA, "small"), t.save();}-function UA(e, t = SA()) {- t.value.photoLayout = bA(e, IA, "masonry"), t.save();+function BA(e, t = yA()) {+ t.value.photoLayout = _A(e, NA, "masonry"), t.save();}// src/appearance/density.ts-var WA = "density", GA = {+var VA = "density", HA = {big: "336px",dense: "168px"-}, KA = () => localStorage.getItem(WA) === "dense" ? "dense" : "big";-function qA(e, t) {- let [n, r] = kA;- if (e.querySelector("[data-icon-swap]")) Ds(e, t === r[0] ? "b" : "a");+}, UA = () => localStorage.getItem(VA) === "dense" ? "dense" : "big";+function WA(e, t) {+ let [n, r] = EA;+ if (e.querySelector("[data-icon-swap]")) Os(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");- e.innerHTML = Es(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);+ e.innerHTML = Ds(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- JA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ GA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function JA(e, t, n) {+function GA(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var YA = () => document.querySelector("#density");-function XA(e = KA()) {+var KA = () => document.querySelector("#density");+function qA(e = UA()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== GA[e] && t.style.setProperty("--tile", GA[e]), JA(document.body, "data-density", e);- let n = YA();- n && (JA(n, "aria-pressed", String(e === "dense")), JA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), qA(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== HA[e] && t.style.setProperty("--tile", HA[e]), GA(document.body, "data-density", e);+ let n = KA();+ n && (GA(n, "aria-pressed", String(e === "dense")), GA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), WA(n, e === "big" ? "big" : "small"));}-function Goe() {- let e = KA() === "big" ? "dense" : "big";- localStorage.setItem(WA, e), XA(e);+function Yoe() {+ let e = UA() === "big" ? "dense" : "big";+ localStorage.setItem(VA, e), qA(e);}-function Koe(e) {- let t = YA();- t && (JA(t, "aria-pressed", String(e === "small")), JA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), qA(t, e));+function Xoe(e) {+ let t = KA();+ t && (GA(t, "aria-pressed", String(e === "small")), GA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), WA(t, e));}// src/appearance/glow.ts-function ZA(e = SA()) {- Aoe(document.querySelector(".glowlayer"), e.value.homeGlow);+function JA(e = yA()) {+ Noe(document.querySelector(".glowlayer"), e.value.homeGlow);}-var QA = 0;-function $A(e = SA()) {- QA ||= requestAnimationFrame(() => {- QA = 0, ZA(e);+var YA = 0;+function XA(e = yA()) {+ YA ||= requestAnimationFrame(() => {+ YA = 0, JA(e);});}-function ej(e = SA()) {- joe(document.documentElement, e.value.homeGlow);+function ZA(e = yA()) {+ Poe(document.documentElement, e.value.homeGlow);}-function tj(e = SA()) {+function QA(e = yA()) {document.documentElement.dataset.accent = e.value.accent;}-var nj = (e, t, n) => ({+var $A = (e, t, n) => ({key: e,label: t,- native: oA(e),- fill: oA(e) ? "" : koe(n)+ native: rA(e),+ fill: rA(e) ? "" : Moe(n)});-function qoe(e) {- let t = aA.map(([e, t, n]) => nj(e, t, rA.map((e) => n[e].color)));- return e.preset === "custom" && t.push(nj("custom", "自定义", rA.map((t) => e[t].color))), t;+function Zoe(e) {+ let t = nA.map(([e, t, n]) => $A(e, t, eA.map((e) => n[e].color)));+ return e.preset === "custom" && t.push($A("custom", "自定义", eA.map((t) => e[t].color))), t;}-var Joe = lA;-function Yoe(e, t = SA()) {+var Qoe = oA;+function $oe(e, t = yA()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, cA(e)), t.value.accent = woe(e), t.save(), $A(t), ej(t), tj(t);+ n.preset = e, Object.assign(n, aA(e)), t.value.accent = Ooe(e), t.save(), XA(t), ZA(t), QA(t);}-function Xoe(e, t = SA()) {- t.value.accent = dA(e), t.save(), tj(t);+function ese(e, t = yA()) {+ t.value.accent = cA(e), t.save(), QA(t);}-function Zoe(e = SA()) {+function tse(e = yA()) {let t = e.value.homeGlow;- t.preset = mA.preset, Object.assign(t, cA(t.preset)), e.value.accent = uA, e.save(), $A(e), ej(e), tj(e);+ t.preset = fA.preset, Object.assign(t, aA(t.preset)), e.value.accent = sA, e.save(), XA(e), ZA(e), QA(e);}-function rj(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && oA(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function ej(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && rA(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Qoe(e, t = SA()) {- return rj(e, t.value.homeGlow), t.subscribe(() => rj(e, t.value.homeGlow));+function nse(e, t = yA()) {+ return ej(e, t.value.homeGlow), t.subscribe(() => ej(e, t.value.homeGlow));}// src/react/components/glow-preset-grid.tsx-function ij({ store: e, label: t, hidden: n }) {+function tj({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, F.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: qoe(r).map((t) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: Zoe(r).map((t) => /* @__PURE__ */ (0, F.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: () => Yoe(t.key, e),+ onClick: () => $oe(t.key, e),children: /* @__PURE__ */ (0, F.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30285,14 +30285,14 @@ function ij({ store: e, label: t, hidden: n }) {});}// src/react/glow-picker/glow-picker-island.tsx-var aj = null;-function $oe(e) {- aj = e;+var nj = null;+function rse(e) {+ nj = e;}-function ese() {- return aj ? /* @__PURE__ */ (0, F.jsx)(tse, { host: aj }) : null;+function ise() {+ return nj ? /* @__PURE__ */ (0, F.jsx)(ase, { host: nj }) : null;}-function tse({ host: e }) {+function ase({ host: e }) {let { store: t } = e;(0, P.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30304,11 +30304,11 @@ function tse({ host: e }) {children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => Zoe(t),+ onClick: () => tse(t),children: "重置"})]}),- /* @__PURE__ */ (0, F.jsx)(ij, {+ /* @__PURE__ */ (0, F.jsx)(tj, {store: t,label: "光晕",hidden: !n.on@@ -30322,14 +30322,14 @@ function tse({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: Joe.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: Qoe.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Xoe(e, t),+ onClick: () => ese(e, t),children: /* @__PURE__ */ (0, F.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30347,31 +30347,31 @@ function tse({ host: e }) {] });}// src/player/host.ts-var oj = null;-function nse(e) {- oj = e;+var rj = null;+function ose(e) {+ rj = e;}-function sj() {- if (!oj) throw Error("播放器还没有接上宿主(configurePlayer)");- return oj;+function ij() {+ if (!rj) throw Error("播放器还没有接上宿主(configurePlayer)");+ return rj;}// src/player/menu.ts-var cj = null;-function lj(e) {- cj = e;+var aj = null;+function sse(e) {+ aj = e;}-function uj() {+function oj() {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 dj = null, fj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function pj() {+var sj = null, cj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function lj() {let e = document.getElementById("playerMenu");- e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Uo(e, () => {+ e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Wo(e, () => {e.innerHTML = "";- }), dj &&= (dj(), null);+ }), sj &&= (sj(), null);}-async function rse(e) {+async function uj(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30384,8 +30384,8 @@ async function rse(e) {return t.remove(), n;}}-function ise(e) {- let t = !!cj?.inMiniplayer(e), n = e.peachItem, r = cj?.kind(e) ?? "item", i = (t) => {+function dj(e) {+ let t = !!aj?.inMiniplayer(e), n = e.peachItem, r = aj?.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);@@ -30401,7 +30401,7 @@ function ise(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- rse(i(e)).then((e) => sj().toast(e ? t : "复制失败,请手动复制地址栏", {+ uj(i(e)).then((e) => ij().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30413,11 +30413,11 @@ function ise(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => cj?.expand()+ run: () => aj?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => cj?.toMiniplayer()+ run: () => aj?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30440,29 +30440,29 @@ function ise(e) {run: () => s.click()}), o;}-function ase(e, t, n) {- let r = uj();- pj();- let i = sj().stage();+function fj(e, t, n) {+ let r = oj();+ lj();+ let i = ij().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = ise(e);+ let a = dj(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}">${fj(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? fj(R("check"), "data-player-menu-check") : ""}</button>`;- }).join(""), Ho(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`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${cj(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${R(e.label)}</span>${n ? cj(L("check"), "data-player-menu-check") : ""}</button>`;+ }).join(""), Uo(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)];- pj(), n?.run();+ lj(), n?.run();};});let s = (e) => {- r.contains(e.target) || pj();+ r.contains(e.target) || lj();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), pj();+ e.preventDefault(), e.stopPropagation(), lj();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30470,49 +30470,49 @@ function ase(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Go(t, e.el()) && pj();+ Ko(t, e.el()) && lj();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), dj = () => {+ }, 0), sj = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function ose(e) {+function cse(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), ase(e, t.clientX, t.clientY));- }), e.on("dispose", pj);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), fj(e, t.clientX, t.clientY));+ }), e.on("dispose", lj);}// src/player/registry.ts-var mj = null, hj = () => mj;-function gj(e) {- mj = e;+var pj = null, mj = () => pj;+function hj(e) {+ pj = e;}-function _j(e) {+function gj(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}// src/player/stats.ts-function vj(e) {+function _j(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 sse(e) {+function lse(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 yj = 3e3;-function bj(e, t) {- let n = Number(e) || 0, r = On(t) || 0;+var vj = 3e3;+function yj(e, t) {+ let n = Number(e) || 0, r = kn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function cse(e) {+function use(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30527,10 +30527,10 @@ function cse(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = sse(e), s = e.currentTime || 0;+ let a = performance.now(), o = lse(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 > yj * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > vj * 2 && (t.length = 0);}for (n = {at: a,@@ -30539,55 +30539,55 @@ function cse(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > yj;) t.shift();+ }); t.length > 2 && a - t[0].at > vj;) 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 xj = 24;-function Sj(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > xj && e.splice(0, e.length - xj);+var bj = 24;+function xj(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > bj && e.splice(0, e.length - bj);}-var Cj = "peach-player-panel";-function wj(e, t, n, r) {- let i = [...Array(Math.max(0, xj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var Sj = "peach-player-panel";+function Cj(e, t, n, r) {+ let i = [...Array(Math.max(0, bj - 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>`;+ return `<span data-player-stats-plot="${t}" role="img" aria-label="${R(r)}">${o}</span>`;}-function lse() {- return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button>+function dse() {+ return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("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 Tj(e, t = "") {+function wj(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 Ej(e, t = "") {- let n = Tj(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 Tj(e, t = "") {+ let n = wj(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 Dj(e, t, n = "", r = null) {+function Ej(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : Ej(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : Tj(t, n);}-function Oj(e) {+function Dj(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 use(e, t) {- return e > 0 ? Oj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : Oj(0);+function fse(e, t) {+ return e > 0 ? Dj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : Dj(0);}// src/player/subtitle-style.ts-var kj = {+var Oj = {font: {label: "字体",values: [@@ -30690,7 +30690,7 @@ var kj = {["shadow", "阴影"]]}-}, Aj = {+}, kj = {font: "sans",size: "100",color: "white",@@ -30700,7 +30700,7 @@ var kj = {window: "black",windowOpacity: "0",edge: "shadow"-}, jj = "peach.caption-style.v1", dse = {+}, Aj = "peach.caption-style.v1", pse = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -30709,7 +30709,7 @@ var kj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, fse = {+}, mse = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -30717,28 +30717,28 @@ var kj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, pse = {+}, hse = {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 mse() {+function gse() {let e = {};try {- e = JSON.parse(localStorage.getItem(jj) || "{}") || {};+ e = JSON.parse(localStorage.getItem(Aj) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(Aj).map(([t, n]) => [t, kj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(kj).map(([t, n]) => [t, Oj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function Mj(e, t, n, r) {- let i = mse(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");+function jj(e, t, n, r) {+ let i = gse(), 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(${dse[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", fse[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", pse[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${pse[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", mse[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", hse[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 || [])) {@@ -30754,15 +30754,15 @@ function Mj(e, t, n, r) {if (!n.aborted) {if (e.caption_style) {let t = {- ...Aj,+ ...kj,...e.caption_style};- for (let e of Object.keys(Aj)) a.has(e) || (i[e] = t[e]);+ for (let e of Object.keys(kj)) a.has(e) || (i[e] = t[e]);c();} else {let e = !1;try {- e = !!localStorage.getItem(jj);+ e = !!localStorage.getItem(Aj);} catch {}e && !a.size && r.save({ caption_style: i }).catch(() => {});}@@ -30770,18 +30770,18 @@ function Mj(e, t, n, r) {}), {current: () => i,set(e, t) {- kj[e].values.some(([e]) => e === t) && (a.add(e), i = {+ Oj[e].values.some(([e]) => e === t) && (a.add(e), i = {...i,[e]: t}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));},reset() {- Object.keys(Aj).forEach((e) => a.add(e)), i = { ...Aj }, c(), r?.save({ caption_style: i }).catch(() => {});+ Object.keys(kj).forEach((e) => a.add(e)), i = { ...kj }, c(), r?.save({ caption_style: i }).catch(() => {});}};}// src/player/memory.ts-var Nj = /* @__PURE__ */ new Map(), Pj = /* @__PURE__ */ new WeakMap(), hse = class {+var Mj = /* @__PURE__ */ new Map(), Nj = /* @__PURE__ */ new WeakMap(), _se = class {cleanup = new AbortController();reading;listeners = /* @__PURE__ */ new Set();@@ -30809,8 +30809,8 @@ var Nj = /* @__PURE__ */ new Map(), Pj = /* @__PURE__ */ new WeakMap(), hse = cl}load() {return this.url ? this.reading ||= (async () => {- await Nj.get(this.url)?.catch(() => {});- let e = await on(this.url, { signal: this.cleanup.signal });+ await Mj.get(this.url)?.catch(() => {});+ let e = await sn(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) => {throw this.reading = void 0, this.cleanup.signal.aborted || (this.error = "播放记忆未读取,请重试", this.changed()), e;@@ -30821,7 +30821,7 @@ var Nj = /* @__PURE__ */ new Map(), Pj = /* @__PURE__ */ new WeakMap(), hse = cl}save(e) {if (!this.url) return Promise.resolve();- let t = (Nj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (Mj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = {...this.unsaved,...e,@@ -30848,8 +30848,8 @@ var Nj = /* @__PURE__ */ new Map(), Pj = /* @__PURE__ */ new WeakMap(), hse = clthis.changed();}});- return Nj.set(this.url, t), t.finally(() => {- Nj.get(this.url) === t && Nj.delete(this.url);+ return Mj.set(this.url, t), t.finally(() => {+ Mj.get(this.url) === t && Mj.delete(this.url);}).catch(() => {}), t;}async retry() {@@ -30858,12 +30858,12 @@ var Nj = /* @__PURE__ */ new Map(), Pj = /* @__PURE__ */ new WeakMap(), hse = cl} catch {}}};-function Fj(e) {- let t = Pj.get(e);- return t || (t = new hse(e), Pj.set(e, t)), t;+function Pj(e) {+ let t = Nj.get(e);+ return t || (t = new _se(e), Nj.set(e, t)), t;}-function Ij(e, t) {- let n = Fj(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {+function Fj(e, t) {+ let n = Pj(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);};return n.restore((t) => {@@ -30876,7 +30876,7 @@ function Ij(e, t) {};}// src/player/subtitle-memory.ts-var Lj = class {+var Ij = class {player;video;changed;@@ -30887,7 +30887,7 @@ var Lj = class {ready;error = "";constructor(e, t, n = () => {}) {- this.player = e, this.video = t, this.changed = n, this.memory = Fj(e);+ this.player = e, this.video = t, this.changed = n, this.memory = Pj(e);let r = this.cleanup.signal;t.textTracks.addEventListener("addtrack", () => {this.apply(), this.changed();@@ -30984,7 +30984,7 @@ var Lj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, Rj = () => "<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>", gse = class {+}, Lj = () => "<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>", vse = class {player;video;panels;@@ -31003,7 +31003,7 @@ var Lj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = Mj(e.el(), t, this.cleanup.signal, Fj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Rj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = jj(e.el(), t, this.cleanup.signal, Pj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Lj(), 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", () => {@@ -31013,7 +31013,7 @@ var Lj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new Lj(e, t, () => {+ }), this.session = new Ij(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31034,7 +31034,7 @@ var Lj = class {this.request?.abort(), this.session.select(e), this.sync();}header(e, t = "") {- return `<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-subtitle-back aria-label="返回上一个菜单">${R("player-menu-back")}</button><strong>${z(e)}</strong>${t}</div>`;+ return `<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-subtitle-back aria-label="返回上一个菜单">${L("player-menu-back")}</button><strong>${R(e)}</strong>${t}</div>`;}panel(e, t, n = 1) {this.generation++, this.panels.open();@@ -31043,9 +31043,9 @@ var Lj = class {}show(e = 1) {this.page = "tracks";- let t = this.tracks(), n = [null, ...t], r = this.panel(this.header("字幕", `<button type="button" class="vjs-peach-caption-options" data-subtitle-options aria-label="字幕选项">${R("settings")}</button>`) + `<div class="vjs-peach-panel-menu">${n.map((e, n) => {+ let t = this.tracks(), n = [null, ...t], r = this.panel(this.header("字幕", `<button type="button" class="vjs-peach-caption-options" data-subtitle-options aria-label="字幕选项">${L("settings")}</button>`) + `<div class="vjs-peach-panel-menu">${n.map((e, n) => {let r = e ? e.mode === "showing" : t.every((e) => e.mode !== "showing");- return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-track="${n}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${z(e?.label || e?.language || (e ? "字幕" : "关闭"))}</span></button>`;+ return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-track="${n}"><span class="vjs-peach-option-check">${r ? L("check") : ""}</span><span class="vjs-peach-option-label">${R(e?.label || e?.language || (e ? "字幕" : "关闭"))}</span></button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-file>加载字幕文件</button><button type="button" class="vjs-peach-caption-action" data-subtitle-search>在线搜索字幕</button></div><p class="vjs-peach-subtitle-status" data-subtitle-status role="status" hidden></p>`, () => {this.page = "", this.panels.back();}, e);@@ -31061,9 +31061,9 @@ var Lj = 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(kj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(Oj).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>`;+ return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${R(n.label)}</span><b>${R(r)}</b>${L("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);n.querySelectorAll("[data-subtitle-style]").forEach((e) => {e.onclick = () => this.styleOptions(e.dataset.subtitleStyle);@@ -31073,10 +31073,10 @@ var Lj = class {}styleOptions(e) {this.page = "style";- let t = kj[e];+ let t = Oj[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>`;+ return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${R(t)}"><span class="vjs-peach-option-check">${r ? L("check") : ""}</span><span class="vjs-peach-option-label">${R(n)}</span></button>`;}).join("")}</div>`, () => this.options(-1)).querySelectorAll("[data-subtitle-value]").forEach((t) => {t.onclick = () => {this.styles.set(e, t.dataset.subtitleValue), this.options(-1);@@ -31085,7 +31085,7 @@ var Lj = class {}status(e, t = !1, n = !1) {let r = this.player.el().querySelector(".vjs-peach-panel:not(.vjs-peach-panel-leaving) [data-subtitle-status]");- r && (r.hidden = !1, r.innerHTML = `${n ? bs("") : ""}<span>${z(e)}</span>`, r.toggleAttribute("data-error", t));+ r && (r.hidden = !1, r.innerHTML = `${n ? xs("") : ""}<span>${R(e)}</span>`, r.toggleAttribute("data-error", t));}busy() {return this.request?.abort(), this.request = new AbortController(), this.request.signal;@@ -31120,14 +31120,14 @@ var Lj = class {this.request?.abort(), this.page = "search";let e = this.player.peachItem, t = String(e?.code || e?.title || String(e?.name || "").replace(/\.(mp4|mkv|avi|mov|webm|m4v|ts|wmv)$/i, "")).trim().slice(0, 200);t !== this.query && (this.query = t, this.offset = 0, this.results = [], this.searched = !1);- let n = this.panel(this.header("搜索中文字幕") + "<div class=\"vjs-peach-subtitle-search\"><p class=\"vjs-peach-subtitle-status\" data-subtitle-status role=\"status\" hidden></p><div data-subtitle-results></div><a href=\"https://www.subtitlecat.com\" target=\"_blank\" rel=\"noopener noreferrer\">中文字幕由 SubtitleCat 提供,可能包含机翻" + R("external-link", "ui-externalmark") + "</a></div>", () => {+ let n = this.panel(this.header("搜索中文字幕") + "<div class=\"vjs-peach-subtitle-search\"><p class=\"vjs-peach-subtitle-status\" data-subtitle-status role=\"status\" hidden></p><div data-subtitle-results></div><a href=\"https://www.subtitlecat.com\" target=\"_blank\" rel=\"noopener noreferrer\">中文字幕由 SubtitleCat 提供,可能包含机翻" + L("external-link", "ui-externalmark") + "</a></div>", () => {this.request?.abort(), this.show(-1);});t.length < 3 ? this.status("当前作品没有可用于搜索的番号或片名") : this.searched ? this.searchResults(n) : this.runSearch(n, 0);}searchResults(e) {let t = e.querySelector("[data-subtitle-results]");- t.innerHTML = this.results.map((e, t) => `<button type="button" class="vjs-peach-subtitle-result" data-subtitle-result="${t}"><span>${z(e.title)}</span><small>${z([e.language, e.format].filter(Boolean).join(" · "))}</small></button>`).join("") + (this.more ? "<button type=\"button\" class=\"vjs-peach-caption-action\" data-subtitle-more>更多字幕</button>" : ""), t.querySelectorAll("[data-subtitle-result]").forEach((e) => {+ t.innerHTML = this.results.map((e, t) => `<button type="button" class="vjs-peach-subtitle-result" data-subtitle-result="${t}"><span>${R(e.title)}</span><small>${R([e.language, e.format].filter(Boolean).join(" · "))}</small></button>`).join("") + (this.more ? "<button type=\"button\" class=\"vjs-peach-caption-action\" data-subtitle-more>更多字幕</button>" : ""), t.querySelectorAll("[data-subtitle-result]").forEach((e) => {e.onclick = () => {this.showFiles(this.results[Number(e.dataset.subtitleResult)]);};@@ -31138,9 +31138,9 @@ var Lj = class {async runSearch(e, t = this.offset) {if (e.getAttribute("aria-busy") === "true") return;let n = this.busy(), r = this.generation, i = e.querySelector("[data-subtitle-more],[data-subtitle-retry]"), a = e.querySelector("[data-subtitle-results]");- e.setAttribute("aria-busy", "true"), i && Oc(i), a.inert = !0, this.status("正在搜索字幕", !1, !0);+ e.setAttribute("aria-busy", "true"), i && kc(i), a.inert = !0, this.status("正在搜索字幕", !1, !0);try {- let i = await on(`/api/subtitles/search?q=${encodeURIComponent(this.query)}&offset=${t}`, { signal: n });+ let i = await sn(`/api/subtitles/search?q=${encodeURIComponent(this.query)}&offset=${t}`, { signal: n });if (n.aborted || r !== this.generation) return;this.offset = t, this.results.push(...i.results), this.more = i.more, this.searched = !0, this.searchResults(e);} catch (i) {@@ -31148,7 +31148,7 @@ var Lj = class {this.runSearch(e, t);});} finally {- e.removeAttribute("aria-busy"), i && Oc(i, !1), a.inert = !1;+ e.removeAttribute("aria-busy"), i && kc(i, !1), a.inert = !1;}}async showFiles(e) {@@ -31158,10 +31158,10 @@ var Lj = class {}), n = this.busy(), r = this.generation;this.status("正在读取字幕文件", !1, !0);try {- let i = await on(`/api/subtitles/subtitlecat/${e.id}`, { signal: n });+ let i = await sn(`/api/subtitles/subtitlecat/${e.id}`, { signal: n });if (n.aborted || r !== this.generation) return;let a = i.files.filter((e) => e.playable);- t.querySelector("[data-subtitle-files]").innerHTML = a.map((e) => `<button type="button" class="vjs-peach-subtitle-result" data-subtitle-online="${e.index}"><span>${z(e.name)}</span><small>${z(e.language)}</small></button>`).join(""), this.status(a.length ? "选择要加载的字幕" : "这条结果没有可加载的文本字幕"), t.querySelectorAll("[data-subtitle-online]").forEach((t) => {+ t.querySelector("[data-subtitle-files]").innerHTML = a.map((e) => `<button type="button" class="vjs-peach-subtitle-result" data-subtitle-online="${e.index}"><span>${R(e.name)}</span><small>${R(e.language)}</small></button>`).join(""), this.status(a.length ? "选择要加载的字幕" : "这条结果没有可加载的文本字幕"), t.querySelectorAll("[data-subtitle-online]").forEach((t) => {t.onclick = () => {let n = a.find((e) => e.index === Number(t.dataset.subtitleOnline));this.loadOnline(e.id, n);@@ -31189,7 +31189,7 @@ var Lj = class {}};// src/player/timeline.ts-function _se(e, t) {+function yse(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;@@ -31201,8 +31201,8 @@ function _se(e, t) {return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;}// src/player/rotation.ts-function zj(e, t) {- let n = 0, r = !1, i = Fj(e), a = e.el(), o = a.querySelector("media-container") || a, s = [+function Rj(e, t) {+ let n = 0, r = !1, i = Pj(e), a = e.el(), o = a.querySelector("media-container") || a, s = ["width","height","inset",@@ -31230,7 +31230,7 @@ function zj(e, t) {};}// src/player/pip.ts-function vse(e, t, n, r) {+function bse(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";@@ -31262,7 +31262,7 @@ function vse(e, t, n, r) {});}// src/player/controls.ts-function Bj(e, t, n = "") {+function zj(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));@@ -31273,27 +31273,27 @@ function Bj(e, t, n = "") {};return o(), o;}-function Vj(e, t) {+function Bj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function yse(e, t = !0) {- let n = sj(), r = n.settings();+function xse(e, t = !0) {+ let n = ij(), 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 Hj = /* @__PURE__ */ new WeakMap();-function Uj(e) {+var Vj = /* @__PURE__ */ new WeakMap();+function Hj(e) {if (!e) return;- let t = sj().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Hj.get(e)?.(t ? "默认视图" : "影院模式");+ let t = ij().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Vj.get(e)?.(t ? "默认视图" : "影院模式");}-function Wj(e, t = !0) {- let n = sj(), r = n.settings();+function Uj(e, t = !0) {+ let n = ij(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), Uj(i?.querySelector("[data-player-theater]")), _j(hj());+ i?.toggleAttribute("data-theater", r.theaterMode), Hj(i?.querySelector("[data-player-theater]")), gj(mj());}-function bse(e) {- let t = sj().stage(), n = t?.querySelector("[data-ambient-canvas]");+function Sse(e) {+ let t = ij().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31316,9 +31316,9 @@ function bse(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (sj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (ij().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && sj().settings().ambientMode && (l(), e.paused || u(++o));+ !i && ij().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31327,18 +31327,18 @@ function bse(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function Gj(e, t, n = 0, r = null) {+function Wj(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");a.className = "vjs-peach-settings vjs-control", a.dataset.playerQuality = "", a.innerHTML = `<button type="button" class="vjs-peach-settings-toggle" aria-label="播放器设置" aria-expanded="false">- ${R("settings")}<span data-player-quality-badge hidden></span></button>+ ${L("settings")}<span data-player-quality-badge hidden></span></button><div class="vjs-peach-settings-menu" role="menu" aria-label="播放器设置" aria-hidden="true"></div>`;let o = i.querySelector(".vjs-fullscreen-control");i.insertBefore(a, o || null);let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");- Bj(s, "设置");- let l = a.querySelector(".vjs-peach-settings-menu"), u = zj(e, t), d = Ij(e, t), f = Fj(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {+ zj(s, "设置");+ let l = a.querySelector(".vjs-peach-settings-menu"), u = Rj(e, t), d = Fj(e, t), f = Pj(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 = () => {@@ -31377,11 +31377,11 @@ function Gj(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(Cj, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(Sj, { detail: "settings" }));}, S = () => x(!1), C = (e) => {e.detail !== "settings" && S();};- document.addEventListener(Cj, C);+ document.addEventListener(Sj, 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;@@ -31397,15 +31397,15 @@ function Gj(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="${sj().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">${Rj()}</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>+ 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="${ij().settings().ambientMode}">+ ${L("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>${L("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${L("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">${Lj()}</span><span>字幕</span><b>${R(p?.label() || "关闭")}</b>${L("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${L("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</b>${L("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${R(t.label)}</b>${L("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 = () => {- yse(!sj().settings().ambientMode), k();+ xse(!ij().settings().ambientMode), k();}, D(r, "[data-player-speed]").onclick = () => ne(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => re(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {f.retry();}, A();@@ -31414,12 +31414,12 @@ function Gj(e, t, n = 0, r = null) {e && (e.hidden = !f.error, e.querySelector("p").textContent = f.error);}, j = () => {O = "rotation";- let e = E(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${R("player-menu-back")}</button><strong>画面旋转</strong></div><div class="vjs-peach-panel-menu">${[+ let e = E(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${L("player-menu-back")}</button><strong>画面旋转</strong></div><div class="vjs-peach-panel-menu">${[0,90,180,270- ].map((e) => `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" data-player-rotation-option="${e}" aria-checked="${e === u.angle()}"><span class="vjs-peach-option-check">${e === u.angle() ? R("player-option-check") : ""}</span><span class="vjs-peach-option-label">${e}°${e === 0 ? "(原始方向)" : ""}</span></button>`).join("")}</div>`, 1);+ ].map((e) => `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" data-player-rotation-option="${e}" aria-checked="${e === u.angle()}"><span class="vjs-peach-option-check">${e === u.angle() ? L("player-option-check") : ""}</span><span class="vjs-peach-option-label">${e}°${e === 0 ? "(原始方向)" : ""}</span></button>`).join("")}</div>`, 1);D(e, "[data-player-menu-back]").onclick = () => k(-1), e.querySelectorAll("[data-player-rotation-option]").forEach((e) => {e.onclick = () => {u.set(Number(e.dataset.playerRotationOption)), k(-1);@@ -31433,11 +31433,11 @@ function Gj(e, t, n = 0, r = null) {3], te = (e) => Number.isInteger(e) ? e.toFixed(1) : String(e), ne = (e = 1) => {O = "speed";- let t = .25, n = (e) => Math.min(3, Math.max(t, Number(e.toFixed(2)))), r = E(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${R("player-menu-back")}</button><strong>播放速度</strong></div>+ let t = .25, n = (e) => Math.min(3, Math.max(t, Number(e.toFixed(2)))), r = E(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${L("player-menu-back")}</button><strong>播放速度</strong></div><div class="vjs-peach-speed-panel"><div class="vjs-peach-speed-display"><output data-player-speed-display></output></div>- <div class="vjs-peach-speed-slider"><button type="button" class="vjs-peach-speed-button" data-player-speed-step="-1" aria-label="播放速度减 0.05">${R("minus")}</button>+ <div class="vjs-peach-speed-slider"><button type="button" class="vjs-peach-speed-button" data-player-speed-step="-1" aria-label="播放速度减 0.05">${L("minus")}</button><input type="range" class="vjs-peach-speed-range" data-player-speed-range min="${t}" max="3" step="${M}" aria-label="播放速度">- <button type="button" class="vjs-peach-speed-button" data-player-speed-step="1" aria-label="播放速度加 0.05">${R("plus")}</button></div>+ <button type="button" class="vjs-peach-speed-button" data-player-speed-step="1" aria-label="播放速度加 0.05">${L("plus")}</button></div><div class="vjs-peach-speed-chips">${ee.map((e) => `<span class="vjs-peach-speed-preset"><button type="button" class="vjs-peach-speed-button" data-player-speed-option="${e}" aria-pressed="false">${te(e)}</button>${e === 1 ? "<span class=\"vjs-peach-speed-preset-label\">正常</span>" : ""}</span>`).join("")}</div></div>`, e), i = r.querySelector("[data-player-speed-display]"), a = r.querySelector("[data-player-speed-range]"), o = n(d.current()), s = () => {i.textContent = `${o.toFixed(2)}x`, a.value = String(o), a.style.setProperty("--peach-speed-percent", `${(o - t) / 2.75 * 100}%`), r.querySelectorAll("[data-player-speed-option]").forEach((e) => e.setAttribute("aria-pressed", String(Number(e.dataset.playerSpeedOption) === o)));}, c = (e) => {@@ -31450,7 +31450,7 @@ function Gj(e, t, n = 0, r = null) {}), s();}, N = (n) => {let { options: r, active: i } = y(), a = n.contains(document.activeElement) ? document.activeElement.dataset.playerQualityOption : void 0;- n.innerHTML = r.map((e) => `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" data-player-quality-option="${z(e.key)}" aria-checked="${e.key === i.key}"><span class="vjs-peach-option-check">${e.key === i.key ? R("player-option-check") : ""}</span><span class="vjs-peach-option-label">${z(e.label)}</span></button>`).join("");+ n.innerHTML = r.map((e) => `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" data-player-quality-option="${R(e.key)}" aria-checked="${e.key === i.key}"><span class="vjs-peach-option-check">${e.key === i.key ? L("player-option-check") : ""}</span><span class="vjs-peach-option-label">${R(e.label)}</span></button>`).join("");let o = [...n.querySelectorAll("[data-player-quality-option]")];o.find((e) => a !== void 0 && e.dataset.playerQualityOption === a)?.focus(), o.forEach((n) => {n.onclick = () => {@@ -31469,7 +31469,7 @@ function Gj(e, t, n = 0, r = null) {});}, re = (e = 1) => {O = "quality";- let t = E(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${R("player-menu-back")}</button><strong>清晰度</strong></div><div class="vjs-peach-panel-menu"></div>`, e);+ let t = E(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${L("player-menu-back")}</button><strong>清晰度</strong></div><div class="vjs-peach-panel-menu"></div>`, e);D(t, "[data-player-menu-back]").onclick = () => k(-1), N(D(t, ".vjs-peach-panel-menu"));}, ie = () => {if (!b()) {@@ -31509,8 +31509,8 @@ function Gj(e, t, n = 0, r = null) {A(), ie();});return e.on("dispose", () => {- F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(Cj, C), w && clearTimeout(w);- }), p = new gse(e, t, {+ F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(Sj, C), w && clearTimeout(w);+ }), p = new vse(e, t, {render: E,open: () => {O = "subtitles", x(!0);@@ -31519,33 +31519,33 @@ function Gj(e, t, n = 0, r = null) {back: () => {p?.hide(), k(-1);}- }), y(), xse(e, a), Sse(e), (e) => {+ }), y(), Cse(e, a), wse(e), (e) => {h = e?.length ? e : null, ie();};}-function xse(e, t) {+function Cse(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = sj().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 r = ij().settings().theaterMode, i = document.createElement("div");+ i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");- Hj.set(a, Bj(a, "影院模式", "T")), Uj(a), a.onclick = (e) => {- e.stopPropagation(), Wj(!sj().settings().theaterMode);+ Vj.set(a, zj(a, "影院模式", "T")), Hj(a), a.onclick = (e) => {+ e.stopPropagation(), Uj(!ij().settings().theaterMode);};}-function Sse(e) {+function wse(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");n && !n.querySelector(":scope>.vjs-peach-hover") && n.insertAdjacentHTML("beforeend", "<span class=\"vjs-peach-hover\" aria-hidden=\"true\"></span>");- let r = (e, t) => e ? (e.dataset.peachExplicitIcon = "", e.insertAdjacentHTML("beforeend", R(t, "vjs-peach-control-icon")), e.querySelector(":scope>.vjs-peach-control-icon use")) : null, i = (e, t) => {+ let r = (e, t) => e ? (e.dataset.peachExplicitIcon = "", e.insertAdjacentHTML("beforeend", L(t, "vjs-peach-control-icon")), e.querySelector(":scope>.vjs-peach-control-icon use")) : null, i = (e, t) => {if (!e) return null;let n = document.getElementById(`i-${t}`);if (!n) return null;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 = Bj(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 = zj(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 ? "播放" : "暂停");};@@ -31556,13 +31556,13 @@ function Sse(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 = Bj(p, "静音", "M"), g = () => {+ let h = zj(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 ? "取消静音" : "静音");};e.on("volumechange", g), g();let _ = document.createElement("div");- _.className = "vjs-peach-bezel", _.setAttribute("role", "status"), _.hidden = !0, _.innerHTML = `<span class="vjs-peach-bezel-icon">${R("player-play")}</span>`;+ _.className = "vjs-peach-bezel", _.setAttribute("role", "status"), _.hidden = !0, _.innerHTML = `<span class="vjs-peach-bezel-icon">${L("player-play")}</span>`;let v = _.querySelector("use"), y = null, b = (e, t) => {v?.setAttribute("href", `#i-${e}`), _.setAttribute("aria-label", t), _.hidden = !1, _.classList.remove("vjs-peach-bezel-run"), _.offsetWidth, _.classList.add("vjs-peach-bezel-run"), y && clearTimeout(y), y = setTimeout(() => {_.hidden = !0, _.classList.remove("vjs-peach-bezel-run");@@ -31582,9 +31582,9 @@ function Sse(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 = Bj(x, "显示剩余时间"), T = () => {- let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = An(Math.max(0, n - t));- C.textContent = `${S ? `-${r}` : An(t)} / ${An(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${An(n)};点击显示已播放时间` : `已播放 ${An(t)},总时长 ${An(n)};点击显示剩余时间`);+ let C = x.querySelector(".vjs-peach-time-text"), w = zj(x, "显示剩余时间"), T = () => {+ let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = jn(Math.max(0, n - t));+ C.textContent = `${S ? `-${r}` : jn(t)} / ${jn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${jn(n)};点击显示已播放时间` : `已播放 ${jn(t)},总时长 ${jn(n)};点击显示剩余时间`);};x.onclick = (e) => {e.stopPropagation(), S = !S, T();@@ -31594,10 +31594,10 @@ function Sse(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- Bj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), vse(e, E, Bj(E, "画中画"), (e) => sj().toast(e, { warn: !0 }));- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = Bj(D, "全屏", "F"), A = () => {+ zj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), bse(e, E, zj(E, "画中画"), (e) => ij().toast(e, { warn: !0 }));+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = zj(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 ? "退出全屏" : "全屏"), _j(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), gj(e);};e.on(["fullscreenchange",@@ -31617,8 +31617,8 @@ function Sse(e) {e.insertAdjacentHTML("beforeend", "<span class=\"vjs-peach-hover\" aria-hidden=\"true\"></span>"), M.append(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 te = ee.querySelector("button"), ne = Bj(te, "展开控件"), N = (t) => {+ ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);+ let te = ee.querySelector("button"), ne = zj(te, "展开控件"), N = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), ne(t ? "收起控件" : "展开控件");};te.onclick = (t) => {@@ -31630,18 +31630,18 @@ function Sse(e) {}, ie = new ResizeObserver(re);ie.observe(e.el()), e.on("dispose", () => ie.disconnect()), N(!1), re();}-function Kj(e, t, n = {}) {+function Gj(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");a.className = "vjs-peach-seek-preview", a.dataset.playerSeekPreview = "", a.hidden = !0, a.innerHTML = `${i ? "<i class=\"vjs-peach-seek-frame\" hidden><img alt=\"\"></i>" : ""}<span class="mono">0:00</span>`, r.append(a);let o = a.querySelector(".vjs-peach-seek-frame"), s = a.querySelector("img"), c = a.querySelector("span"), l = null, u = "", d = !1;- o && t?.id && on(`/api/timeline?id=${encodeURIComponent(t.id)}`).then((e) => {+ o && t?.id && sn(`/api/timeline?id=${encodeURIComponent(t.id)}`).then((e) => {e && e.frames > 0 && (e.interval > 0 || e.cues?.length) && (l = e);}).catch(() => {});let f = (e, n, r, i) => {if (!t) return;- let a = n.columns || 10, o = a * (n.rows || 10), s = _se(e, n);+ let a = n.columns || 10, o = a * (n.rows || 10), s = yse(e, n);if (s === null) return !1;let c = Math.floor(s / o), l = s % o, f = Math.ceil(Math.min(o, n.frames - c * o) / a);d = !!n.cues;@@ -31649,10 +31649,10 @@ function Kj(e, t, n = {}) {return p !== u && (u = p, i.src = p), r.hidden = !1, t.width && t.height && (r.style.aspectRatio = `${t.width} / ${t.height}`), i.style.objectFit = "fill", i.style.width = `${a * 100}%`, i.style.height = `${f * 100}%`, i.style.left = `${-(l % a) * 100}%`, i.style.top = `${-Math.floor(l / a) * 100}%`, !0;}, p = -1, m = (n) => {if (n.pointerType === "touch") return;- let i = On(e.duration()) || On(t?.duration);+ let i = kn(e.duration()) || kn(t?.duration);if (!i) return;let m = r.getBoundingClientRect(), h = Math.min(1, Math.max(0, (n.clientX - m.left) / m.width)), g = o ? Math.min(240, Math.max(160, m.width * .28)) : 76, _ = Math.min(m.width - g / 2, Math.max(g / 2, n.clientX - m.left));- if (a.style.left = `${_}px`, a.hidden = !1, c.textContent = An(i * h), !o || !s || !t || l && f(i * h, l, o, s) || l?.fallback && f(i * h, l.fallback, o, s)) return;+ if (a.style.left = `${_}px`, a.hidden = !1, c.textContent = jn(i * h), !o || !s || !t || l && f(i * h, l, o, s) || l?.fallback && f(i * h, l.fallback, o, s)) return;let v = Math.min(8, Math.floor(h * 9));(v !== p || u !== `poster:${v}`) && (p = v, o.hidden = !1, s.removeAttribute("style"), d = !1, u = `poster:${v}`, s.src = `/poster?id=${encodeURIComponent(t.id)}&c=${v}`);}, h = () => {@@ -31666,13 +31666,13 @@ function Kj(e, t, n = {}) {r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);});}-function Cse(e, t) {+function Tse(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;- let r = () => On(e.duration()) || On(t.duration) || 0, i = (t) => {+ let r = () => kn(e.duration()) || kn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(sj().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(ij().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31713,12 +31713,12 @@ function Cse(e, t) {} catch {}});}-function qj(e) {+function Kj(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 Jj(e, t) {- on(`/api/assets/${t}/subtitles`).then((t) => {+function qj(e, t) {+ sn(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({id: t.id,@@ -31733,35 +31733,35 @@ function Jj(e, t) {}).catch(() => {});}// src/player/progress.ts-var Yj = "peach.playback-position.v1", Xj = /* @__PURE__ */ new WeakMap();-function Zj(e) {- Xj.get(e)?.(), Xj.delete(e);+var Jj = "peach.playback-position.v1", Yj = /* @__PURE__ */ new WeakMap();+function Xj(e) {+ Yj.get(e)?.(), Yj.delete(e);}-function Qj(e, t, n = null) {+function Zj(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 wse(e) {+function Ese(e) {try {- let t = localStorage.getItem(`${Yj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${Jj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function Tse(e, t) {- let n = wse(e);+function Dse(e, t) {+ let n = Ese(e);if (n !== null) return n;let r = Number(t.leave_ratio);- return r > 0 && r < 1 ? r * On(t.duration) : 0;+ return r > 0 && r < 1 ? r * kn(t.duration) : 0;}-function Ese(e, t) {- Zj(t);+function Ose(e, t) {+ Xj(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(`${Yj}:${e}`, String(r));+ localStorage.setItem(`${Jj}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31775,7 +31775,7 @@ function Ese(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Xj.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Yj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31787,28 +31787,28 @@ function Ese(e, t) {});}// src/player/telemetry.ts-var $j = /* @__PURE__ */ new WeakMap();-function eM(e) {- $j.get(e)?.(), $j.delete(e);+var Qj = /* @__PURE__ */ new WeakMap();+function $j(e) {+ Qj.get(e)?.(), Qj.delete(e);}-function tM(e, t, n, r) {+function eM(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), $j.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Qj.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 nM(e, t, n = {}) {+function tM(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 = On(e.duration) || On(t.duration);+ let r = kn(e.duration) || kn(t.duration);if (!r) return;let i = Math.min(t.currentTime / r, 1), a = s(n.watched), o = s(n.mark), c = s(n.ratio);a && (a.style.width = `${(i * 100).toFixed(1)}%`), o && (o.style.left = `${(i * 100).toFixed(1)}%`), c && (c.textContent = `${(i * 100).toFixed(0)}%`);}, l = (n) => {- let r = On(e.duration) || On(t.duration);- (i || n || a) && (on("/api/activity", {+ let r = kn(e.duration) || kn(t.duration);+ (i || n || a) && (sn("/api/activity", {method: "POST",keepalive: !0,body: JSON.stringify({@@ -31840,14 +31840,14 @@ function nM(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, tM(t, l, u, () => {+ }, eM(t, l, u, () => {a++;}), c();}-function Dse(e, t) {+function kse(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {- let i = On(e.duration) || On(t.duration);- (r || n) && (on("/api/follow/activity", {+ let i = kn(e.duration) || kn(t.duration);+ (r || n) && (sn("/api/follow/activity", {method: "POST",keepalive: !0,body: JSON.stringify({@@ -31862,7 +31862,7 @@ function Dse(e, t) {a && clearInterval(a), a = null;};t.onplay = () => {- i || (i = !0, on("/api/follow/play", {+ i || (i = !0, sn("/api/follow/play", {method: "POST",body: JSON.stringify({ item: e.id })}).then((t) => {@@ -31875,22 +31875,22 @@ function Dse(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, tM(t, o, s, () => {});+ }, eM(t, o, s, () => {});}// src/player/dispose.ts-function rM(e) {+function nM(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (Zj(t), eM(t));+ t && (Xj(t), $j(t));try {e.dispose();} catch {}}// src/core/random-id.ts-function iM() {+function rM() {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;@@ -31898,34 +31898,34 @@ function iM() {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 aM() {- return iM();+function iM() {+ return rM();}-function oM(e, t) {+function aM(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function Ose(e) {+function Ase(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function sM(e, t) {- let n = Ose(e);+async function oM(e, t) {+ let n = Ase(e);if (n) return n;try {- let n = await on(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);+ let n = await sn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);if (n?.src) return {src: n.src,type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return oM(e, t);+ return aM(e, t);}-function cM(e) {+function sM(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -31934,22 +31934,22 @@ function cM(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var lM = "";+var cM = "";+function lM() {+ return cM;+}function uM() {- return lM;+ return cM ||= iM(), cM;}+var jse = (e) => aM(e, uM()), Mse = (e) => oM(e, uM());function dM() {- return lM ||= aM(), lM;-}-var kse = (e) => oM(e, dM()), Ase = (e) => sM(e, dM());-function fM() {- let e = lM;- e && (lM = "", cM(e));+ let e = cM;+ e && (cM = "", sM(e));}// src/player/v10-player.ts-var pM = (e) => typeof e == "string" ? [e] : e, jse = (e, t) => {+var fM = (e) => typeof e == "string" ? [e] : e, Nse = (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-${iM()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${rM()}`, 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 = {@@ -32044,9 +32044,9 @@ var pM = (e) => typeof e == "string" ? [e] : e, jse = (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) => pM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => pM(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => pM(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => fM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => fM(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => fM(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32101,7 +32101,7 @@ var pM = (e) => typeof e == "string" ? [e] : e, jse = (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);}};-}, Mse = "/vendor/videojs/10.2.0/", Nse = [+}, Pse = "/vendor/videojs/10.2.0/", Fse = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32119,17 +32119,17 @@ var pM = (e) => typeof e == "string" ? [e] : e, jse = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], mM = null;-function hM() {- return mM ??= Promise.all(Nse.map((e) => import(+], pM = null;+function mM() {+ return pM ??= Promise.all(Fse.map((e) => import(/* @vite-ignore */- `${Mse}${e}`-))).then(() => jse).catch((e) => {- throw mM = null, e;- }), mM;+ `${Pse}${e}`+))).then(() => Nse).catch((e) => {+ throw pM = null, e;+ }), pM;}// src/player/immerse-player.ts-var Pse = {+var Ise = {controls: !1,preload: "auto",posterImage: !1,@@ -32141,42 +32141,42 @@ var Pse = {errorDisplay: !1,textTrackSettings: !1};-function Fse(e, t) {+function Lse(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([sM(n, r), hM().catch(() => null)]).then(([o, s]) => {+ return Promise.all([oM(n, r), mM().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = oM(n, r), l = String(o.type || "").includes("mpegurl");+ let c = aM(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, Pse);- i = t, t.peachItem = n, t.peachPlaybackKey = Qj("item", n);+ let t = s(e, Ise);+ i = t, t.peachItem = n, t.peachPlaybackKey = Zj("item", n);let r = new AbortController();- Mj(t.el(), e, r.signal, Fj(t)), zj(t, e), Ij(t, e), t.on("dispose", () => r.abort()), new Lj(t, e), Jj(t, n.id), l && t.one("error", () => {+ jj(t.el(), e, r.signal, Pj(t)), Rj(t, e), Fj(t, e), t.on("dispose", () => r.abort()), new Ij(t, e), qj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- nM(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ tM(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, cM(r), i ? rM(i) : (e.pause(), eM(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, sM(r), i ? nM(i) : (e.pause(), $j(e), e.removeAttribute("src"), e.load()));};}// src/player/detail-player.ts-var gM = /* @__PURE__ */ new WeakMap(), _M = null, vM = null, yM = null;-function bM() {- _M &&= (clearInterval(_M), null), vM &&= (clearInterval(vM), null), yM &&= (clearTimeout(yM), null);+var hM = /* @__PURE__ */ new WeakMap(), gM = null, _M = null, vM = null;+function yM() {+ gM &&= (clearInterval(gM), null), _M &&= (clearInterval(_M), null), vM &&= (clearTimeout(vM), null);}-async function xM(e, t, n, r = {}) {- let i = hj();+async function Rse(e, t, n, r = {}) {+ let i = mj();if (i && !i.isDisposed()) return i;- let a = sj(), o = r.resume ?? null;+ let a = ij(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : Ase(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : Mse(e), c;try {- c = await hM();+ c = await mM();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {- o && o.time > 0 && (t.currentTime = Math.min(o.time, On(t.duration) || o.time));+ o && o.time > 0 && (t.currentTime = Math.min(o.time, kn(t.duration) || o.time));}, { once: !0 }), t.src = e.src, n && t.play().catch(() => {});}).catch(() => {}), null;}@@ -32185,7 +32185,7 @@ async function xM(e, t, n, r = {}) {preload: "metadata",language: "zh-CN",responsive: !0,- poster: r.poster || lo(e, a.settings().javImage),+ poster: r.poster || uo(e, a.settings().javImage),controlBar: {pictureInPictureToggle: !0,currentTimeDisplay: !1,@@ -32198,15 +32198,15 @@ async function xM(e, t, n, r = {}) {} }}});- gj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Qj("item", e), ose(l), l.on("loadedmetadata", () => {+ hj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Zj("item", e), cse(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}`);});- let u = On(e.duration), d = {+ let u = kn(e.duration), d = {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = cse(bj(f, e.duration)), m = 0, h = !1, g = () => hj() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = use(yj(f, e.duration)), m = 0, h = !1, g = () => mj() === 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(() => {@@ -32217,23 +32217,23 @@ async function xM(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- gM.set(l, y), y.updateStats = () => {+ hM.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 = uM(), h = s ? Tj(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 = lM(), h = s ? wj(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 = Dj(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 = Ej(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 = vj(t);- Sj(d.speed, x), Sj(d.activity, C), Sj(d.buffer, w);+ let w = _j(t);+ xj(d.speed, x), xj(d.activity, C), xj(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 ? ["网络活动",- `${_ ? jn(_) : "—"} · ${h.length} 请求`,- `最近一秒网络活动 ${C ? jn(C) : "0 B"}`+ `${_ ? Mn(_) : "—"} · ${h.length} 请求`,+ `最近一秒网络活动 ${C ? Mn(C) : "0 B"}`] : ["已下载",- O ? `${jn(S)}${f > 0 ? ` / ${jn(f)}` : ""}` : `${S.toFixed(0)} 秒`,- O ? `最近一秒下载 ${C ? jn(C) : "0 B"}` : `最近一秒下载 ${C.toFixed(1)} 秒`+ O ? `${Mn(S)}${f > 0 ? ` / ${Mn(f)}` : ""}` : `${S.toFixed(0)} 秒`,+ O ? `最近一秒下载 ${C ? Mn(C) : "0 B"}` : `最近一秒下载 ${C.toFixed(1)} 秒`];n.innerHTML = `<dl>${[["视频 ID / 会话", c && !r.source ? `${e.id} / ${c.slice(0, 8)}` : `${e.id}`],@@ -32243,21 +32243,21 @@ async function xM(e, t, n, r = {}) {["连接速度",D,- wj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ Cj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- wj(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ Cj(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- wj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ Cj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],- ["播放时间", `${An(t.currentTime)} / ${An(u || l.duration())}`],+ ["播放时间", `${jn(t.currentTime)} / ${jn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]- ].map(([e, t, n]) => `<dt>${z(e)}</dt><dd${n ? " data-player-stats-metric=\"\"" : ""}>${n || ""}<span>${z(t)}</span></dd>`).join("")}</dl>`;+ ].map(([e, t, n]) => `<dt>${R(e)}</dt><dd${n ? " data-player-stats-metric=\"\"" : ""}>${n || ""}<span>${R(t)}</span></dd>`).join("")}</dl>`;}, l.on(["loadstart","loadedmetadata",@@ -32269,15 +32269,15 @@ async function xM(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = Dj(l, e.id, uM(), r ? null : p), a = r ? Oj(i) : use(i, vj(t));- n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;+ let i = Ej(l, e.id, lM(), r ? null : p), a = r ? Dj(i) : fse(i, _j(t));+ n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${R(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), vM && clearInterval(vM), vM = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), _M && clearInterval(_M), _M = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (yM && clearTimeout(yM), yM = setTimeout(() => {- e.hidden = !0, vM &&= (clearInterval(vM), null);+ e && (vM && clearTimeout(vM), vM = setTimeout(() => {+ e.hidden = !0, _M &&= (clearInterval(_M), null);}, 1400));};return l.on([@@ -32288,7 +32288,7 @@ async function xM(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(kse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(jse(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))}`@@ -32296,29 +32296,29 @@ async function xM(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = Gj(l, t, e.height, r.qualities ?? null);+ let n = Wj(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 = bj(r, e.duration));- }).catch(() => {}), Kj(l, e, { thumbnail: !r.source }), Cse(l, e), qj(l), r.source || Jj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = yj(r, e.duration));+ }).catch(() => {}), Gj(l, e, { thumbnail: !r.source }), Tse(l, e), Kj(l), r.source || qj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;- let e = On(l.el().querySelector("video")?.duration) || On(l.duration());+ let e = kn(l.el().querySelector("video")?.duration) || kn(l.duration());l.currentTime(Math.min(o.time, e || o.time));}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var SM = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function CM(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", SM), e.querySelector(":scope > #playerStatsBtn")) return;+var zse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function bM(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", zse), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = lse(), e.insertBefore(n.content, t);+ n.innerHTML = dse(), e.insertBefore(n.content, t);}-function wM(e, t) {- let n = gM.get(e);+function xM(e, t) {+ let n = hM.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32330,29 +32330,29 @@ function wM(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), _M &&= (clearInterval(_M), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), gM &&= (clearInterval(gM), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(Cj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), _M && clearInterval(_M), _M = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(Sj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), gM && clearInterval(gM), gM = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(Cj, t), s = () => document.removeEventListener(Cj, t);+ document.addEventListener(Sj, t), s = () => document.removeEventListener(Sj, t);}- let c = e.el().querySelector("video"), l = c ? bse(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, bM()));+ let c = e.el().querySelector("video"), l = c ? Sse(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, yM()));};return e.one("dispose", d), d;}-function TM(e, t) {- if (t.kind === "immerse") return Fse(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = sj(), c = t.chrome === !1 ? null : e.parentElement;- c && CM(c, e);- let l = Qj(n, r, i?.index ?? null), u = {+function SM(e, t) {+ if (t.kind === "immerse") return Lse(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = ij(), c = t.chrome === !1 ? null : e.parentElement;+ c && bM(c, e);+ let l = Zj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: Tse(l, r),+ time: Dse(l, r),autoplay: !1}};@@ -32365,43 +32365,43 @@ function TM(e, t) {checkSourceStatus: !1,size: i?.size,poster: r.thumb_url,- mediaPromise: on(`/follow-qualities?id=${encodeURIComponent(r.id)}`).catch(() => null)+ mediaPromise: sn(`/follow-qualities?id=${encodeURIComponent(r.id)}`).catch(() => null)};else {- let t = lo(r, s.settings().javImage);+ let t = uo(r, s.settings().javImage);t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (Zj(m), d ? (hj() === d && (gj(null), bM()), rM(d)) : eM(m));+ p(), !(d && a?.(d)) && (Xj(m), d ? (mj() === d && (hj(null), yM()), nM(d)) : $j(m));};- return xM(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Ese(l, m), n === "follow" ? Dse(r, m) : (m.addEventListener("play", () => {- on("/api/play", {+ return Rse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Ose(l, m), n === "follow" ? kse(r, m) : (m.addEventListener("play", () => {+ sn("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), nM(r, m, {+ }, { once: !0 }), tM(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = wM(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = xM(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}// src/player/playback.ts-function EM(e) {+function CM(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function DM(e, t) {+function wM(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 OM(e, t, n) {+function TM(e, t, n) {e.controls = !1;let r = !1, i = null;- return hM().then((a) => {+ return mM().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32426,81 +32426,81 @@ function OM(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (Gj(o, e), Kj(o, null, { thumbnail: !1 }), qj(o));+ r || o.isDisposed() || (Wj(o, e), Gj(o, null, { thumbnail: !1 }), Kj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, rM(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, nM(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}// src/react/catalog-grid/catalog-view.ts-var kM = "peach.catalog-view.v1", AM = /* @__PURE__ */ new Set(), jM = "cards";-function MM() {+var EM = "peach.catalog-view.v1", DM = /* @__PURE__ */ new Set(), OM = "cards";+function kM() {try {- return localStorage.getItem(kM) === "list" ? "list" : "cards";+ return localStorage.getItem(EM) === "list" ? "list" : "cards";} catch {- return jM;+ return OM;}}-function NM(e) {- jM = e === "list" ? "list" : "cards";+function AM(e) {+ OM = e === "list" ? "list" : "cards";try {- localStorage.setItem(kM, jM);+ localStorage.setItem(EM, OM);} catch {}- AM.forEach((e) => e());+ DM.forEach((e) => e());}-function PM(e) {- AM.add(e);+function jM(e) {+ DM.add(e);let t = (t) => {- (t.key === kM || t.key === null) && e();+ (t.key === EM || t.key === null) && e();};return addEventListener("storage", t), () => {- AM.delete(e), removeEventListener("storage", t);+ DM.delete(e), removeEventListener("storage", t);};}-var FM = () => (0, P.useSyncExternalStore)(PM, MM, () => "cards");-function IM(e, t) {+var MM = () => (0, P.useSyncExternalStore)(jM, kM, () => "cards");+function NM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var LM = (e, t) => [+var PM = (e, t) => ["catalog-grid","catalog",e,t-], RM = (e, t) => [+], FM = (e, t) => ["catalog-grid","entity",e,t];-async function zM(e, t, n, r, i) {+async function IM(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 = {+ let o = await z(`/api/items?${a}`, i), s = {...o,items: o.items || [],offset: t};- return t || s.items.length || r || (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;+ return t || s.items.length || r || (s.libraryEmpty = (await z("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var BM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, VM = (e, t) => {+var LM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, RM = (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 HM(e) {- let t = IM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function zM(e) {+ let t = NM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: LM(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => zM(t, e, n, r, i),+ queryKey: PM(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => IM(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: BM(n)+ getNextPageParam: LM(n)};}-function UM(e) {+function BM(e) {return {- queryKey: RM(e.entityKey || "", e.revision || 0),+ queryKey: FM(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32515,13 +32515,13 @@ function UM(e) {};},initialPageParam: 0,- getNextPageParam: VM+ getNextPageParam: RM};}-async function WM(e, t) {- if (e.mode !== "catalog" || e.wall || MM() === "list") return;- let n = HM(e);- await H.fetchInfiniteQuery({+async function VM(e, t) {+ if (e.mode !== "catalog" || e.wall || kM() === "list") return;+ let n = zM(e);+ await V.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({pageParam: e,@@ -32529,11 +32529,11 @@ async function WM(e, t) {})});}-function GM(e) {+function HM(e) {let t = JSON.stringify(e);- return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;+ return V.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function KM(e, t, n) {+function UM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32548,24 +32548,24 @@ function KM(e, t, n) {return !0;}) : [...e];}-var qM = (e, t) => !!e && !!Ia(e, t);-function Ise(e, t) {- let n = (e) => qM(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) => qM(e, t)) || e[e.length - 1];+var WM = (e, t) => !!e && !!La(e, t);+function GM(e, t) {+ let n = (e) => WM(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) => WM(e, t)) || e[e.length - 1];}-function Lse(e, { collapse: t, mix: n, javImage: r }) {+function Bse(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 = KM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = UM(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 = Ise(e, r);+ let t = GM(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32578,16 +32578,16 @@ function Lse(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function Rse(e, t, n) {+function Vse(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 zse(e, t) {+function Hse(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 Bse(e, t) {+function Use(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32600,17 +32600,17 @@ function Bse(e, t) {strip: null}), r;}-function JM(e, t) {- YM((t) => t.id === e, t);+function KM(e, t) {+ qM((t) => t.id === e, t);}-function YM(e, t) {- H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {+function qM(e, t) {+ V.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {...n,...t} : n)- } : n), H.setQueriesData({+ } : n), V.setQueriesData({queryKey: ["catalog-grid"],predicate: (e) => Array.isArray(e.state.data?.pages)}, (n) => !n || !n.pages.some((t) => t.items.some(e)) ? n : {@@ -32624,35 +32624,35 @@ function YM(e, t) {} : n)});}-var XM = (e) => Math.min(Math.max(e || 0, 0), 100), ZM = (e) => Math.round(XM(e) / 20), Vse = (e) => {- let t = ZM(e);+var JM = (e) => Math.min(Math.max(e || 0, 0), 100), YM = (e) => Math.round(JM(e) / 20), Wse = (e) => {+ let t = YM(e);return t ? `${t} 星` : "未评分";-}, QM = (e, t) => t === ZM(e) ? 0 : t * 20, $M = (e) => ["item", e], eN = (e) => [+}, XM = (e, t) => t === YM(e) ? 0 : t * 20, ZM = (e) => ["item", e], QM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Hse = (e, t) => [+], Gse = (e, t) => ["item-related",e,t-], Use = (e) => `/api/item?id=${e}`, Wse = (e, t) => `/api/related?id=${e}&limit=${t}`, tN = "/api/playlist", nN = "/api/feedback", rN = "/api/item-tag", iN = "/api/watch-later", aN = "/api/quality-goal", oN = "/api/preference", sN = class extends Error {};-async function cN(e, t) {- let n = await B(Use(e), t);- if (n.error) throw new sN(n.error);+], Kse = (e) => `/api/item?id=${e}`, qse = (e, t) => `/api/related?id=${e}&limit=${t}`, $M = "/api/playlist", eN = "/api/feedback", tN = "/api/item-tag", nN = "/api/watch-later", rN = "/api/quality-goal", iN = "/api/preference", aN = class extends Error {};+async function oN(e, t) {+ let n = await z(Kse(e), t);+ if (n.error) throw new aN(n.error);return n;}-async function lN(e, t, n) {+async function sN(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([cN(r, n), t.mixRelated(r)]);- return H.setQueryData($M(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([oN(r, n), t.mixRelated(r)]);+ return V.setQueryData(ZM(i.id), i), {kind: "mix",seedId: r,- title: `Mix · ${po(i, t.tagLabel)}`,+ title: `Mix · ${mo(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return uN(await B(`${tN}?id=${e.playlistId}`, n));- let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);+ if (e.kind === "playlist") return cN(await z(`${$M}?id=${e.playlistId}`, n));+ let r = await z(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {kind: e.kind,@@ -32662,19 +32662,19 @@ async function lN(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var uN = (e) => ({+var cN = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), dN = (e) => e.disposal === "vanished";-function fN(e, t) {+}), lN = (e) => e.disposal === "vanished";+function uN(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !dN(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !lN(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 Gse(e, t) {+function Jse(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 : {@@ -32682,20 +32682,20 @@ function Gse(e, t) {part_label: n};}-function pN(e, t) {+function dN(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 mN(e, t) {+async function fN(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = eN(n);+ let o = QM(n);try {- let r = n.fresh ? void 0 : H.getQueryData(o);- a = !r && n.kind === "mix", i = r || await H.fetchQuery({+ let r = n.fresh ? void 0 : V.getQueryData(o);+ a = !r && n.kind === "mix", i = r || await V.fetchQuery({queryKey: o,- queryFn: () => lN(n, e.helpers, t),+ queryFn: () => sN(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32707,21 +32707,21 @@ async function mN(e, t) {return;}}- let o = i ? fN(i, e.id) : e.id;+ let o = i ? uN(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($M(o)) : void 0;+ let s, c = a && o === i?.seedId ? V.getQueryData(ZM(o)) : void 0;try {- s = c || await H.fetchQuery({- queryKey: $M(o),- queryFn: () => cN(o, t),+ s = c || await V.fetchQuery({+ queryKey: ZM(o),+ queryFn: () => oN(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof sN) {+ if (e instanceof aN) {r.redirect({ kind: "gone" });return;}@@ -32732,9 +32732,9 @@ async function mN(e, t) {id: Number(s.follow_item_id)});}-function Kse(e) {+function Yse(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {- let t = wn(e.name);+ let t = Tn(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);}, i = (t.performer?.length ? t.performer : (e.performers || []).map((e) => ({id: null,@@ -32754,111 +32754,111 @@ function Kse(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function qse(e, t) {+function Xse(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {- let r = wn(t.tagLabel(e.k)), i = n.get(r);- (!i || wn(e.k) === r && wn(i.k) !== r) && n.set(r, e);+ let r = Tn(t.tagLabel(e.k)), i = n.get(r);+ (!i || Tn(e.k) === r && Tn(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var hN = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), gN = (e, t) => ({+var pN = (e, t) => (e.tags || []).some((e) => Tn(e.k) === Tn(t)), mN = (e, t) => ({...e,- tags: (e.tags || []).filter((e) => wn(e.k) !== wn(t))-}), _N = (e, t) => hN(e, t.k) ? e : {+ tags: (e.tags || []).filter((e) => Tn(e.k) !== Tn(t))+}), hN = (e, t) => pN(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, vN = "peach.recentTags";-function yN() {+}, gN = "peach.recentTags";+function _N() {try {- let e = JSON.parse(localStorage.getItem(vN) || "[]");+ let e = JSON.parse(localStorage.getItem(gN) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function bN(e) {+function vN(e) {try {- let t = yN().filter((t) => wn(t) !== wn(e));- localStorage.setItem(vN, JSON.stringify([e, ...t].slice(0, 12)));+ let t = _N().filter((t) => Tn(t) !== Tn(e));+ localStorage.setItem(gN, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function Jse(e, t, n) {- let r = wn(e), i = new Map(t.map((e) => [wn(e.k), e])), a = t.filter((e) => !r || wn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(wn(e)) || {+function Zse(e, t, n) {+ let r = Tn(e), i = new Map(t.map((e) => [Tn(e.k), e])), a = t.filter((e) => !r || Tn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Tn(e)) || {k: e,n: 0- }).filter((e, t, n) => n.findIndex((t) => wn(t.k) === wn(e.k)) === t).slice(0, 12), s = a.some((e) => wn(e.k) === r);+ }).filter((e, t, n) => n.findIndex((t) => Tn(t.k) === Tn(e.k)) === t).slice(0, 12), s = a.some((e) => Tn(e.k) === r);return {recent: o,results: a,create: r && !s ? e.trim() : ""};}-var Yse = {+var Qse = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Xse = {+}, $se = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Zse(e) {+function ece(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: Xse[e.kind],+ title: $se[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var xN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Qse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(xN(e.part_label))}</small>` : "";-function $se(e, t, n, r) {+var yN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, tce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${R(yN(e.part_label))}</small>` : "";+function nce(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var ece = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function tce(e, t) {+var rce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function ice(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 nce(e) {+function ace(e) {let t = Number(e.duration) > 0 ? Number(e.duration) : 0;return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;}-function SN(e, t) {+function bN(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}// src/react/immerse/immerse.ts-var rce = (e, t, n) => [+var oce = (e, t, n) => ["immerse-list",e,t,n];-function ice(e) {+function sce(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 ace = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function oce(e, t = Math.random) {+var cce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function lce(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 sce(e, t) {- return oce(((await B(`/api/items?${e}`)).items || []).filter((e) => ace(e, t)));+async function uce(e, t) {+ return lce(((await z(`/api/items?${e}`)).items || []).filter((e) => cce(e, t)));}-var CN = (e) => H.ensureQueryData({- queryKey: $M(e),- queryFn: ({ signal: t }) => cN(e, t)+var xN = (e) => V.ensureQueryData({+ queryKey: ZM(e),+ queryFn: ({ signal: t }) => oN(e, t)});-function cce(e, t) {+function dce(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function lce(e) {+function fce(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,@@ -32867,306 +32867,306 @@ function lce(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function uce(e, t, n) {+function pce(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 dce(e, t) {+function mce(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 fce = 15e3, wN = {+var hce = 15e3, SN = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, TN = null, EN = null, DN = wN, ON = /* @__PURE__ */ new Set(), kN = 0, AN = 0, jN = 0, MN = "", NN = [], PN = 0, FN = !1, IN = !1, LN = null, RN = /* @__PURE__ */ new Set(), zN = "", BN = null, VN = 0, HN = null, UN = !1;-function WN() {- if (!TN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return TN;+}, CN = null, wN = null, TN = SN, EN = /* @__PURE__ */ new Set(), DN = 0, ON = 0, kN = 0, AN = "", jN = [], MN = 0, NN = !1, PN = !1, FN = null, IN = /* @__PURE__ */ new Set(), LN = "", RN = null, zN = 0, BN = null, VN = !1;+function HN() {+ if (!CN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return CN;}-function pce(e) {- return ON.add(e), () => {- ON.delete(e);+function gce(e) {+ return EN.add(e), () => {+ EN.delete(e);};}-function mce() {- for (let e of [...ON]) e();+function _ce() {+ for (let e of [...EN]) e();}-function GN() {- (0, Lt.flushSync)(mce);+function UN() {+ (0, Rt.flushSync)(_ce);}-function KN() {- let e = BN ? Ej(BN.id) : 0;- return e ? `${zN} · ${Oj(e)}` : zN;+function WN() {+ let e = RN ? Tj(RN.id) : 0;+ return e ? `${LN} · ${Dj(e)}` : LN;}-function qN(e, t = null) {- clearInterval(VN), VN = 0, e === null ? (DN = {- ...DN,+function GN(e, t = null) {+ clearInterval(zN), zN = 0, e === null ? (TN = {+ ...TN,loading: null- }, GN()) : (zN = e, BN = t, DN = {- ...DN,- loading: KN()- }, GN(), VN = window.setInterval(() => {- BN = NN[PN] ?? null, DN = {- ...DN,- loading: KN()- }, GN();+ }, UN()) : (LN = e, RN = t, TN = {+ ...TN,+ loading: WN()+ }, UN(), zN = window.setInterval(() => {+ RN = jN[MN] ?? null, TN = {+ ...TN,+ loading: WN()+ }, UN();}, 500));}-function hce(e) {+function vce(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), EN.track.append(t);- let r = aM(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), wN.track.append(t);+ let r = iM(), i = () => {}, a = {el: t,video: n,session: r,- release: () => cM(r),+ release: () => sM(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return RN.add(a), a;+ return IN.add(a), a;}-function gce(e, t) {+function yce(e, t) {return new Promise((n) => {- e.release = TM(e.video, {+ e.release = SM(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- DN.open && eP(1);+ TN.open && QN(1);}}), e.gone.then(n);});}-function JN(e) {- e && !e.disposed && (e.disposed = !0, RN.delete(e), e.leave(), e.release(), e.el.remove(), LN === e && (LN = null));+function KN(e) {+ e && !e.disposed && (e.disposed = !0, IN.delete(e), e.leave(), e.release(), e.el.remove(), FN === e && (FN = null));}-var YN = [+var qN = ["loadeddata","canplay","error"];-function _ce(e) {+function bce(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), YN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), qN.forEach((e) => t.removeEventListener(e, i)), n());};- YN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, fce);+ qN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, hce);e.gone.then(i);});}-function XN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = uce(e.videoWidth, e.videoHeight, n);+function JN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = pce(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var ZN = () => EN?.track.querySelectorAll("video").forEach(XN);-function vce(e) {- delete e.dataset.fit, e.readyState >= 1 ? XN(e) : e.addEventListener("loadedmetadata", () => XN(e), { once: !0 });+var YN = () => wN?.track.querySelectorAll("video").forEach(JN);+function xce(e) {+ delete e.dataset.fit, e.readyState >= 1 ? JN(e) : e.addEventListener("loadedmetadata", () => JN(e), { once: !0 });}-function yce(e) {- DN = {- ...DN,+function Sce(e) {+ TN = {+ ...TN,wide: e- }, GN(), ZN();+ }, UN(), YN();}-var QN = () => {- let e = MN;- return H.fetchQuery({- queryKey: rce(e, AN, jN),- queryFn: () => sce(e, WN().sourceOffline),+var XN = () => {+ let e = AN;+ return V.fetchQuery({+ queryKey: oce(e, ON, kN),+ queryFn: () => uce(e, HN().sourceOffline),staleTime: Infinity});};-function bce(e, t) {- let n = () => On(e.duration) || On(t.duration);+function Cce(e, t) {+ let n = () => kn(e.duration) || kn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && EN && (EN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), HN = {+ t && wN && (wN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), BN = {video: e,duration: n};}-async function $N(e = 0) {- let t = NN[PN];- if (!t || FN) return;- let n = kN;- WN().route(t.id), FN = !0, qN(e ? "切换中" : "加载中", t);+async function ZN(e = 0) {+ let t = jN[MN];+ if (!t || NN) return;+ let n = DN;+ HN().route(t.id), NN = !0, GN(e ? "切换中" : "加载中", t);let r = null;try {- if (await CN(t.id).catch((e) => {- if (!(e instanceof sN)) throw e;- }), n !== kN) return;- let i = LN, a = !!(e && i);- a || JN(i);- let o = hce(a ? e > 0 ? 100 : -100 : 0);- if (r = o, vce(o.video), await gce(o, t), await _ce(o), o.disposed || (yce(dce(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await xN(t.id).catch((e) => {+ if (!(e instanceof aN)) throw e;+ }), n !== DN) return;+ let i = FN, a = !!(e && i);+ a || KN(i);+ let o = vce(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, xce(o.video), await yce(o, t), await bce(o), o.disposed || (Sce(mce(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)), JN(i), o.el.style.transform = ""), o.disposed)) return;- LN = o, r = null, o.video.play()?.catch(() => {}), DN = {- ...DN,+ })), await new Promise((e) => setTimeout(e, 210)), KN(i), o.el.style.transform = ""), o.disposed)) return;+ FN = o, r = null, o.video.play()?.catch(() => {}), TN = {+ ...TN,idle: !1,shown: {item: t,- index: PN,- length: NN.length+ index: MN,+ length: jN.length}- }, bce(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), qN(null);+ }, Cce(o.video, t), B("/api/play", { id: t.id }).catch(() => {}), GN(null);} catch {- JN(r), n === kN && qN(null);+ KN(r), n === DN && GN(null);} finally {- n === kN && (FN = !1);+ n === DN && (NN = !1);}}-async function eP(e) {- if (FN || !DN.open) return;- let t = kN;- if (PN += e, qN("切换中", NN[PN] ?? null), PN >= NN.length - 3 && !IN) {- IN = !0;+async function QN(e) {+ if (NN || !TN.open) return;+ let t = DN;+ if (MN += e, GN("切换中", jN[MN] ?? null), MN >= jN.length - 3 && !PN) {+ PN = !0;try {- jN += 1;- let e = await QN();- t === kN && (NN = cce(NN, e));+ kN += 1;+ let e = await XN();+ t === DN && (jN = dce(jN, e));} catch {} finally {- IN = !1;+ PN = !1;}}- t === kN && (PN >= NN.length && (PN = 0), PN < 0 && (PN = NN.length - 1), await $N(e));+ t === DN && (MN >= jN.length && (MN = 0), MN < 0 && (MN = jN.length - 1), await ZN(e));}-async function xce(e) {- let t = ++kN;- tP(), AN += 1, jN = 0, MN = ice(WN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), DN = {- ...DN,+async function wce(e) {+ let t = ++DN;+ $N(), ON += 1, kN = 0, AN = sce(HN().filters()), V.removeQueries({ queryKey: ["immerse-list"] }), TN = {+ ...TN,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), qN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), GN("加载内容");try {- let n = await QN();+ let n = await XN();if (e && !n.some((t) => t.id === e)) {- let t = await CN(e).catch((e) => {- if (e instanceof sN) return null;+ let t = await xN(e).catch((e) => {+ if (e instanceof aN) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== kN) return;- if (NN = n, !NN.length) {- nP(), WN().warn("当前筛选下没有可直接播放的内容");+ if (t !== DN) return;+ if (jN = n, !jN.length) {+ eP(), HN().warn("当前筛选下没有可直接播放的内容");return;}- PN = Math.max(0, NN.findIndex((t) => t.id === e)), await $N();+ MN = Math.max(0, jN.findIndex((t) => t.id === e)), await ZN();} catch {- if (t !== kN) return;- qN(null), nP();+ if (t !== DN) return;+ GN(null), eP();}}-function tP() {- clearInterval(VN), VN = 0, cP(), oP = null, HN = null, UN = !1, [...RN].forEach(JN), FN = !1;+function $N() {+ clearInterval(zN), zN = 0, oP(), iP = null, BN = null, VN = !1, [...IN].forEach(KN), NN = !1;}-function nP() {- DN.open && (kN++, tP(), DN = wN, document.body.removeAttribute("data-immerse-open"), GN(), WN().closed());+function eP() {+ TN.open && (DN++, $N(), TN = SN, document.body.removeAttribute("data-immerse-open"), UN(), HN().closed());}-var rP = 0, iP = null, aP = 0, oP = null, sP = 0;-function cP() {- clearTimeout(rP), rP = 0, iP = null;+var tP = 0, nP = null, rP = 0, iP = null, aP = 0;+function oP() {+ clearTimeout(tP), tP = 0, nP = null;}-function Sce(e) {- let t = LN?.video;+function Tce(e) {+ let t = FN?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- iP && iP.side === n && r - iP.at <= 280 ? (cP(), DM(t, WN().seekSeconds() * n)) : (rP && (clearTimeout(rP), rP = 0, EM(t)), iP = {+ nP && nP.side === n && r - nP.at <= 280 ? (oP(), wM(t, HN().seekSeconds() * n)) : (tP && (clearTimeout(tP), tP = 0, CM(t)), nP = {side: n,at: r- }, rP = window.setTimeout(() => {- rP = 0, iP = null, DN.open && EM(LN?.video);+ }, tP = window.setTimeout(() => {+ tP = 0, nP = null, TN.open && CM(FN?.video);}, 280));}-function Cce() {- Date.now() < aP || EM(LN?.video);+function Ece() {+ Date.now() < rP || CM(FN?.video);}-var lP = (e) => EN?.bar.toggleAttribute("data-scrubbing", e);-function uP(e) {- EN && (EN.progress.style.width = `${(e * 100).toFixed(2)}%`);+var sP = (e) => wN?.bar.toggleAttribute("data-scrubbing", e);+function cP(e) {+ wN && (wN.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function dP(e) {+function lP(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- oP = null;+ iP = null;return;}- let n = LN?.video;- oP = {+ let n = FN?.video;+ iP = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function fP(e) {- if (!oP || e.touches.length !== 1) return;- let t = e.touches[0].clientX - oP.x, n = e.touches[0].clientY - oP.y;- if (!oP.axis) {+function uP(e) {+ if (!iP || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - iP.x, n = e.touches[0].clientY - iP.y;+ if (!iP.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- oP.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", oP.axis === "x" && lP(!0);+ iP.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", iP.axis === "x" && sP(!0);}- if (oP.axis !== "x") return;- let r = LN?.video, i = r && r.duration || 0;- i && (e.preventDefault(), oP.to = Math.min(i, Math.max(0, oP.from + t / window.innerWidth * i)), uP(oP.to / i));+ if (iP.axis !== "x") return;+ let r = FN?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), iP.to = Math.min(i, Math.max(0, iP.from + t / window.innerWidth * i)), cP(iP.to / i));}-function pP(e) {- if (!oP) return;- let t = oP;- if (oP = null, aP = Date.now() + 700, lP(!1), t.axis === "x") {- let e = LN?.video;+function dP(e) {+ if (!iP) return;+ let t = iP;+ if (iP = null, rP = Date.now() + 700, sP(!1), t.axis === "x") {+ let e = FN?.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 ? (cP(), eP(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Sce(n.clientX));+ Math.abs(i) > 60 ? (oP(), QN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Tce(n.clientX));}-function mP() {- oP = null, lP(!1);+function fP() {+ iP = null, sP(!1);}-function hP(e) {+function pP(e) {let t = Date.now();- t - sP < 260 || (sP = t, eP(e.deltaY > 0 ? 1 : -1));+ t - aP < 260 || (aP = t, QN(e.deltaY > 0 ? 1 : -1));}-function gP(e) {- let t = EN.bar.getBoundingClientRect();+function mP(e) {+ let t = wN.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function wce(e) {- HN?.duration() && (UN = !0, lP(!0), e.currentTarget.setPointerCapture(e.pointerId), uP(gP(e)), e.preventDefault());+function Dce(e) {+ BN?.duration() && (VN = !0, sP(!0), e.currentTarget.setPointerCapture(e.pointerId), cP(mP(e)), e.preventDefault());}-function Tce(e) {- UN && uP(gP(e));+function Oce(e) {+ VN && cP(mP(e));}-function Ece(e) {- if (!UN) return;- UN = !1, lP(!1);- let t = HN?.duration();- HN && t && (HN.video.currentTime = t * gP(e));+function kce(e) {+ if (!VN) return;+ VN = !1, sP(!1);+ let t = BN?.duration();+ BN && t && (BN.video.currentTime = t * mP(e));}-function Dce() {- UN = !1, lP(!1);+function Ace() {+ VN = !1, sP(!1);}-async function _P(e, t) {- let n = await V(nN, {+async function hP(e, t) {+ let n = await B(eN, {id: e,kind: t- }), r = H.getQueryData($M(e));- if (!r) return JM(e, {+ }), r = V.getQueryData(ZM(e));+ if (!r) return KM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33175,7 +33175,7 @@ async function _P(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData($M(e), i), JM(e, {+ return V.setQueryData(ZM(e), i), KM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33183,7 +33183,7 @@ async function _P(e, t) {o_count: i.o_count}), n;}-var Oce = [+var jce = [{kind: "dislike",glyph: "thumbs-down",@@ -33200,31 +33200,31 @@ var Oce = [label: "记一次高潮"}];-function vP(e) {- return Pt({- queryKey: $M(e ?? 0),- queryFn: ({ signal: t }) => cN(e, t),+function gP(e) {+ return Ft({+ queryKey: ZM(e ?? 0),+ queryFn: ({ signal: t }) => oN(e, t),enabled: e != null,staleTime: Infinity}).data;}-function kce({ kind: e, glyph: t, label: n, id: r }) {- let i = vP(r), a = Ft({+function Mce({ kind: e, glyph: t, label: n, id: r }) {+ let i = gP(r), a = It({mutationFn: async (t) => {- let n = H.getQueryData($M(t))?.feedback || null;+ let n = V.getQueryData(ZM(t))?.feedback || null;return {- result: await _P(t, e),+ result: await hP(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- WN().toast(SN(e, t), { undo: async () => {- e === "o" ? await _P(r, "o-undo") : (t.feedback && await _P(r, t.feedback), n && await _P(r, n));+ HN().toast(bN(e, t), { undo: async () => {+ e === "o" ? await hP(r, "o-undo") : (t.feedback && await hP(r, t.feedback), n && await hP(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- eP(1);+ QN(1);}, 260);},- onError: (e) => WN().failure("更新反馈", e)+ onError: (e) => HN().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-immerse-action": "",@@ -33255,12 +33255,12 @@ function kce({ kind: e, glyph: t, label: n, id: r }) {})]});}-function Ace({ shown: e }) {- let t = e?.item ?? null, n = vP(t?.id ?? null), r = n ? lce(n) : null, i = WN(), a = (e) => {- e.preventDefault(), n && (nP(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function Nce({ shown: e }) {+ let t = e?.item ?? null, n = gP(t?.id ?? null), r = n ? fce(n) : null, i = HN(), a = (e) => {+ e.preventDefault(), n && (eP(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (nP(), i.openItem(t.id));- }, s = r ? Za(r.name, r.ref, Ma(r.name), r.kind || "performer") : "";+ t && (eP(), i.openItem(t.id));+ }, s = r ? Qa(r.name, r.ref, Na(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, F.jsxs)("div", {"data-immerse-ui": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -33278,7 +33278,7 @@ function Ace({ shown: e }) {onClick: a,children: r?.who ?? ""}),- /* @__PURE__ */ (0, F.jsx)("span", { children: e && t ? `· ${kn(t.duration)} · ${t.ctx_orient || ""} · ${e.index + 1}/${e.length}` : "" })+ /* @__PURE__ */ (0, F.jsx)("span", { children: e && t ? `· ${An(t.duration)} · ${t.ctx_orient || ""} · ${e.index + 1}/${e.length}` : "" })]}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -33288,18 +33288,18 @@ function Ace({ shown: e }) {})]});}-var jce = { __html: bs("媒体加载中") };-function Mce({ view: e }) {+var Pce = { __html: xs("媒体加载中") };+function Fce({ view: e }) {let t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {let e = t.current;- return EN = {+ return wN = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", dP, { passive: !0 }), e.addEventListener("touchmove", fP, { passive: !1 }), e.addEventListener("touchend", pP, { passive: !1 }), e.addEventListener("touchcancel", mP, { passive: !0 }), e.addEventListener("wheel", hP, { passive: !0 }), () => {- e.removeEventListener("touchstart", dP), e.removeEventListener("touchmove", fP), e.removeEventListener("touchend", pP), e.removeEventListener("touchcancel", mP), e.removeEventListener("wheel", hP), EN = null;+ }, e.addEventListener("touchstart", lP, { passive: !0 }), e.addEventListener("touchmove", uP, { passive: !1 }), e.addEventListener("touchend", dP, { passive: !1 }), e.addEventListener("touchcancel", fP, { passive: !0 }), e.addEventListener("wheel", pP, { passive: !0 }), () => {+ e.removeEventListener("touchstart", lP), e.removeEventListener("touchmove", uP), e.removeEventListener("touchend", dP), e.removeEventListener("touchcancel", fP), e.removeEventListener("wheel", pP), wN = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33316,10 +33316,10 @@ function Mce({ view: e }) {children: [/* @__PURE__ */ (0, F.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: Cce+ onClick: Ece}), /* @__PURE__ */ (0, F.jsx)("div", {"data-immerse-actions": "",- children: Oce.map((e) => /* @__PURE__ */ (0, F.jsx)(kce, {+ children: jce.map((e) => /* @__PURE__ */ (0, F.jsx)(Mce, {...e,id: a}, e.kind))@@ -33332,7 +33332,7 @@ function Mce({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: jce+ dangerouslySetInnerHTML: Pce}), /* @__PURE__ */ (0, F.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -33340,7 +33340,7 @@ function Mce({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: nP,+ onClick: eP,children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-x" })@@ -33349,89 +33349,89 @@ function Mce({ view: e }) {/* @__PURE__ */ (0, F.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: wce,- onPointerMove: Tce,- onPointerUp: Ece,- onPointerCancel: Dce,+ onPointerDown: Dce,+ onPointerMove: Oce,+ onPointerUp: kce,+ onPointerCancel: Ace,children: /* @__PURE__ */ (0, F.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, F.jsx)(Ace, { shown: e.shown })+ /* @__PURE__ */ (0, F.jsx)(Nce, { shown: e.shown })]});}-var Nce = {- open: xce,- close: nP,- isOpen: () => DN.open,- activeVideo: () => DN.open ? LN?.video ?? null : null+var Ice = {+ open: wce,+ close: eP,+ isOpen: () => TN.open,+ activeVideo: () => TN.open ? FN?.video ?? null : null};-function Pce(e) {- if (!DN.open) return;+function Lce(e) {+ if (!TN.open) return;let t = e.target;- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && eP(1), e.key === "ArrowUp" && eP(-1));+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && QN(1), e.key === "ArrowUp" && QN(-1));}-function Fce(e) {- let t = !TN;- return TN = e, t && (document.addEventListener("keydown", Pce), addEventListener("resize", () => {- DN.open && ZN();+function Rce(e) {+ let t = !CN;+ return CN = e, t && (document.addEventListener("keydown", Lce), addEventListener("resize", () => {+ TN.open && YN();}), addEventListener("pagehide", () => {- RN.forEach((e) => cM(e.session));- })), Nce;+ IN.forEach((e) => sM(e.session));+ })), Ice;}-function Ice() {- let e = (0, P.useSyncExternalStore)(pce, () => DN);- return TN ? /* @__PURE__ */ (0, F.jsx)(Mce, { view: e }) : null;+function zce() {+ let e = (0, P.useSyncExternalStore)(gce, () => TN);+ return CN ? /* @__PURE__ */ (0, F.jsx)(Fce, { view: e }) : null;}// src/manage-header.ts-var yP = {+var _P = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, Lce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function Rce(e) {- let t = yP[e.path] ? "cleanup" : e.section;+}, Bce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function Vce(e) {+ let t = _P[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var zce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function bP(e) {+var Hce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function vP(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = yP[e.path] ?? "";+ let n = _P[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: Rce(e),+ pressed: Vce(e),crumb: n,- compact: Lce.has(e.path) || e.section === "configuration",+ compact: Bce.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: zce(e.trash),+ text: Hce(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var xP = (e) => e.replace(/[&<>"']/g, (e) => ({+var yP = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), SP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${xP(e)}"/></svg>`, CP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";-function Bce(e) {- let t = bP(e);+})[e]), bP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${yP(e)}"/></svg>`, xP = "<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 Uce(e) {+ let t = vP(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${xP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${SP(r)}<span>${xP(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${SP("chevron-right")}</li><li aria-current="true"><span>${xP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? CP : `<span data-lede-text="">${xP(t.lede.text)}</span>${t.lede.total ? Vce : ""}`}</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=\"\"" : ""}>${xP(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${yP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${bP(r)}<span>${yP(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${bP("chevron-right")}</li><li aria-current="true"><span>${yP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? xP : `<span data-lede-text="">${yP(t.lede.text)}</span>${t.lede.total ? Wce : ""}`}</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=\"\"" : ""}>${yP(t.title)}</h2>` + i;}-var Vce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Wce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";// src/react/settings-panel/icon.tsx-function wP({ name: e }) {- let { wide: t, viewBox: n } = rn(e);+function SP({ name: e }) {+ let { wide: t, viewBox: n } = an(e);return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: n,className: t ? "iconwide" : void 0,@@ -33439,7 +33439,7 @@ function wP({ name: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function Hce({ name: e }) {+function Gce({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33447,88 +33447,88 @@ function Hce({ name: e }) {});}// node_modules/tailwind-merge/dist/bundle-mjs.mjs-var Uce = (e, t) => {+var Kce = (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;-}, Wce = (e, t) => ({+}, qce = (e, t) => ({classGroupId: e,validator: t-}), TP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), CP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), EP = "-", DP = [], Gce = "arbitrary..", Kce = (e) => {- let t = Jce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), wP = "-", TP = [], Jce = "arbitrary..", Yce = (e) => {+ let t = Zce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return qce(e);- let n = e.split(EP);- return OP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return Xce(e);+ let n = e.split(wP);+ return EP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Uce(i, t) : t : i || DP;+ return t ? i ? Kce(i, t) : t : i || TP;}- return n[e] || DP;+ return n[e] || TP;}};-}, OP = (e, t, n) => {+}, EP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = OP(e, t + 1, i);+ let n = EP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(EP) : e.slice(t).join(EP), s = a.length;+ let o = t === 0 ? e.join(wP) : e.slice(t).join(wP), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, qce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, Xce = (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 ? Gce + r : void 0;-})(), Jce = (e) => {+ return r ? Jce + r : void 0;+})(), Zce = (e) => {let { theme: t, classGroups: n } = e;- return Yce(n, t);-}, Yce = (e, t) => {- let n = TP();+ return Qce(n, t);+}, Qce = (e, t) => {+ let n = CP();for (let r in e) {let i = e[r];- kP(i, n, r, t);+ DP(i, n, r, t);}return n;-}, kP = (e, t, n, r) => {+}, DP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- Xce(i, t, n, r);+ $ce(i, t, n, r);}-}, Xce = (e, t, n, r) => {- typeof e == "string" ? Zce(e, t, n) : typeof e == "function" ? Qce(e, t, n, r) : $ce(e, t, n, r);-}, Zce = (e, t, n) => {- let r = e === "" ? t : AP(t, e);- r.classGroupId = n;-}, Qce = (e, t, n, r) => {- ele(e) ? kP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Wce(n, e)));}, $ce = (e, t, n, r) => {+ typeof e == "string" ? ele(e, t, n) : typeof e == "function" ? tle(e, t, n, r) : nle(e, t, n, r);+}, ele = (e, t, n) => {+ let r = e === "" ? t : OP(t, e);+ r.classGroupId = n;+}, tle = (e, t, n, r) => {+ rle(e) ? DP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(qce(n, e)));+}, nle = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- kP(o, AP(t, a), n, r);+ DP(o, OP(t, a), n, r);}-}, AP = (e, t) => {- let n = e, r = t.split(EP), i = r.length;+}, OP = (e, t) => {+ let n = e, r = t.split(wP), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = TP(), n.nextPart.set(t, i)), n = i;+ i || (i = CP(), n.nextPart.set(t, i)), n = i;}return n;-}, ele = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, tle = (e) => {+}, rle = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ile = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33546,19 +33546,19 @@ var Uce = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, jP = "!", MP = ":", nle = [], NP = (e, t, n, r, i) => ({+}, kP = "!", AP = ":", ale = [], jP = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), rle = (e) => {+}), ole = (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 === MP) {+ if (o === AP) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33570,13 +33570,13 @@ var Uce = (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(jP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(jP) && (c = s.slice(1), l = !0);+ s.endsWith(kP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(kP) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return NP(t, l, c, u);+ return jP(t, l, c, u);};if (t) {- let e = t + MP, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : NP(nle, !1, t, void 0, !0);+ let e = t + AP, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : jP(ale, !1, t, void 0, !0);}if (n) {let e = r;@@ -33586,7 +33586,7 @@ var Uce = (e, t) => {});}return r;-}, ile = (e) => {+}, sle = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33598,18 +33598,18 @@ var Uce = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, ale = (e) => ({- cache: tle(e.cacheSize),- parseClassName: rle(e),- sortModifiers: ile(e),- postfixLookupClassGroupIds: ole(e),- ...Kce(e)-}), ole = (e) => {+}, cle = (e) => ({+ cache: ile(e.cacheSize),+ parseClassName: ole(e),+ sortModifiers: sle(e),+ postfixLookupClassGroupIds: lle(e),+ ...Yce(e)+}), lle = (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;-}, sle = /\s+/, cle = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(sle), l = "";+}, ule = /\s+/, dle = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(ule), 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) {@@ -33629,7 +33629,7 @@ var Uce = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + jP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + kP : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33640,34 +33640,34 @@ var Uce = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, lle = (...e) => {+}, fle = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = PP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = MP(n)) && (i && (i += " "), i += r);return i;-}, PP = (e) => {+}, MP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = PP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = MP(e[r])) && (n && (n += " "), n += t);return n;-}, FP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = ale(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, NP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = cle(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 = cle(e, n);+ let a = dle(e, n);return i(e, a), a;};- return a = o, (...e) => a(lle(...e));-}, ule = [], IP = (e) => {- let t = (t) => t[e] || ule;+ return a = o, (...e) => a(fle(...e));+}, ple = [], PP = (e) => {+ let t = (t) => t[e] || ple;return t.isThemeGetter = !0, t.themeKey = e, t;-}, LP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, RP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, dle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, fle = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ple = /\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$/, mle = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, hle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, gle = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, zP = (e) => dle.test(e), BP = (e) => !!e && !Number.isNaN(Number(e)), VP = (e) => !!e && Number.isInteger(Number(e)), HP = (e) => e.endsWith("%") && BP(e.slice(0, -1)), UP = (e) => fle.test(e), WP = () => !0, _le = (e) => ple.test(e) && !mle.test(e), GP = () => !1, vle = (e) => hle.test(e), yle = (e) => gle.test(e), ble = (e) => !KP(e) && !ZP(e), xle = (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)), Sle = (e) => tF(e, aF, GP), KP = (e) => LP.test(e), qP = (e) => tF(e, oF, _le), JP = (e) => tF(e, Ale, BP), Cle = (e) => tF(e, cF, WP), wle = (e) => tF(e, sF, GP), YP = (e) => tF(e, rF, GP), Tle = (e) => tF(e, iF, yle), XP = (e) => tF(e, lF, vle), ZP = (e) => RP.test(e), QP = (e) => nF(e, oF), Ele = (e) => nF(e, sF), $P = (e) => nF(e, rF), Dle = (e) => nF(e, aF), Ole = (e) => nF(e, iF), eF = (e) => nF(e, lF, !0), kle = (e) => nF(e, cF, !0), tF = (e, t, n) => {- let r = LP.exec(e);+}, FP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, IP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, mle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, hle = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gle = /\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$/, _le = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, vle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, yle = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, LP = (e) => mle.test(e), RP = (e) => !!e && !Number.isNaN(Number(e)), zP = (e) => !!e && Number.isInteger(Number(e)), BP = (e) => e.endsWith("%") && RP(e.slice(0, -1)), VP = (e) => hle.test(e), HP = () => !0, ble = (e) => gle.test(e) && !_le.test(e), UP = () => !1, xle = (e) => vle.test(e), Sle = (e) => yle.test(e), Cle = (e) => !WP(e) && !YP(e), wle = (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)), Tle = (e) => $P(e, rF, UP), WP = (e) => FP.test(e), GP = (e) => $P(e, iF, ble), KP = (e) => $P(e, Nle, RP), Ele = (e) => $P(e, oF, HP), Dle = (e) => $P(e, aF, UP), qP = (e) => $P(e, tF, UP), Ole = (e) => $P(e, nF, Sle), JP = (e) => $P(e, sF, xle), YP = (e) => IP.test(e), XP = (e) => eF(e, iF), kle = (e) => eF(e, aF), ZP = (e) => eF(e, tF), Ale = (e) => eF(e, rF), jle = (e) => eF(e, nF), QP = (e) => eF(e, sF, !0), Mle = (e) => eF(e, oF, !0), $P = (e, t, n) => {+ let r = FP.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, nF = (e, t, n = !1) => {- let r = RP.exec(e);+}, eF = (e, t, n = !1) => {+ let r = IP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, rF = (e) => e === "position" || e === "percentage", iF = (e) => e === "image" || e === "url", aF = (e) => e === "length" || e === "size" || e === "bg-size", oF = (e) => e === "length", Ale = (e) => e === "number", sF = (e) => e === "family-name", cF = (e) => e === "number" || e === "weight", lF = (e) => e === "shadow", uF = () => {- let e = IP("color"), t = IP("font"), n = IP("text"), r = IP("font-weight"), i = IP("tracking"), a = IP("leading"), o = IP("breakpoint"), s = IP("container"), c = IP("spacing"), l = IP("radius"), u = IP("shadow"), d = IP("inset-shadow"), f = IP("text-shadow"), p = IP("drop-shadow"), m = IP("blur"), h = IP("perspective"), g = IP("aspect"), _ = IP("ease"), v = IP("animate"), y = () => [+}, tF = (e) => e === "position" || e === "percentage", nF = (e) => e === "image" || e === "url", rF = (e) => e === "length" || e === "size" || e === "bg-size", iF = (e) => e === "length", Nle = (e) => e === "number", aF = (e) => e === "family-name", oF = (e) => e === "number" || e === "weight", sF = (e) => e === "shadow", cF = () => {+ let e = PP("color"), t = PP("font"), n = PP("text"), r = PP("font-weight"), i = PP("tracking"), a = PP("leading"), o = PP("breakpoint"), s = PP("container"), c = PP("spacing"), l = PP("radius"), u = PP("shadow"), d = PP("inset-shadow"), f = PP("text-shadow"), p = PP("drop-shadow"), m = PP("blur"), h = PP("perspective"), g = PP("aspect"), _ = PP("ease"), v = PP("animate"), y = () => ["auto","avoid","all",@@ -33692,8 +33692,8 @@ var Uce = (e, t) => {"left-bottom"], x = () => [...b(),- ZP,- KP+ YP,+ WP], S = () => ["auto","hidden",@@ -33705,43 +33705,43 @@ var Uce = (e, t) => {"contain","none"], w = () => [- ZP,- KP,+ YP,+ WP,c], T = () => [- zP,+ LP,"full","auto",...w()], E = () => [- VP,+ zP,"none","subgrid",- ZP,- KP+ YP,+ WP], D = () => ["auto",{ span: ["full",- VP,- ZP,- KP+ zP,+ YP,+ WP] },- VP,- ZP,- KP+ zP,+ YP,+ WP], O = () => [- VP,+ zP,"auto",- ZP,- KP+ YP,+ WP], k = () => ["auto","min","max","fr",- ZP,- KP+ YP,+ WP], A = () => ["start","end",@@ -33761,7 +33761,7 @@ var Uce = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], ee = () => [- zP,+ LP,"auto","full","dvw",@@ -33776,7 +33776,7 @@ var Uce = (e, t) => {...w()], te = () => [s,- zP,+ LP,"screen","full","dvw",@@ -33787,7 +33787,7 @@ var Uce = (e, t) => {"fit",...w()], ne = () => [- zP,+ LP,"screen","full","lh",@@ -33800,13 +33800,13 @@ var Uce = (e, t) => {...w()], N = () => [e,- ZP,- KP+ YP,+ WP], re = () => [...b(),- $P,- YP,- { position: [ZP, KP] }+ ZP,+ qP,+ { position: [YP, WP] }], ie = () => ["no-repeat", { repeat: ["","x",@@ -33817,25 +33817,25 @@ var Uce = (e, t) => {"auto","cover","contain",- Dle,- Sle,- { size: [ZP, KP] }+ Ale,+ Tle,+ { size: [YP, WP] }], F = () => [- HP,- QP,- qP+ BP,+ XP,+ GP], ae = () => ["","none","full",l,- ZP,- KP+ YP,+ WP], oe = () => ["",- BP,- QP,- qP+ RP,+ XP,+ GP], se = () => ["solid","dashed",@@ -33859,32 +33859,32 @@ var Uce = (e, t) => {"color","luminosity"], le = () => [+ RP,BP,- HP,- $P,- YP+ ZP,+ qP], ue = () => ["","none",m,- ZP,- KP+ YP,+ WP], de = () => ["none",- BP,- ZP,- KP+ RP,+ YP,+ WP], fe = () => ["none",- BP,- ZP,- KP+ RP,+ YP,+ WP], pe = () => [- BP,- ZP,- KP+ RP,+ YP,+ WP], me = () => [- zP,+ LP,"full",...w()];@@ -33898,17 +33898,17 @@ var Uce = (e, t) => {"bounce"],aspect: ["video"],- blur: [UP],- breakpoint: [UP],- color: [WP],- container: [UP],- "drop-shadow": [UP],+ blur: [VP],+ breakpoint: [VP],+ color: [HP],+ container: [VP],+ "drop-shadow": [VP],ease: ["in","out","in-out"],- font: [ble],+ font: [Cle],"font-weight": ["thin","extralight",@@ -33920,7 +33920,7 @@ var Uce = (e, t) => {"extrabold","black"],- "inset-shadow": [UP],+ "inset-shadow": [VP],leading: ["none","tight",@@ -33937,11 +33937,11 @@ var Uce = (e, t) => {"distant","none"],- radius: [UP],- shadow: [UP],- spacing: ["px", BP],- text: [UP],- "text-shadow": [UP],+ radius: [VP],+ shadow: [VP],+ spacing: ["px", RP],+ text: [VP],+ "text-shadow": [VP],tracking: ["tighter","tight",@@ -33955,9 +33955,9 @@ var Uce = (e, t) => {aspect: [{ aspect: ["auto","square",- zP,- KP,- ZP,+ LP,+ WP,+ YP,g] }],container: ["container"],@@ -33965,15 +33965,15 @@ var Uce = (e, t) => {"","normal","size",- ZP,- KP+ YP,+ WP] }],- "container-named": [xle],+ "container-named": [wle],columns: [{ columns: [- BP,+ RP,"auto",- KP,- ZP,+ WP,+ YP,s] }],"break-after": [{ "break-after": y() }],@@ -34070,13 +34070,13 @@ var Uce = (e, t) => {"collapse"],z: [{ z: [- VP,+ zP,"auto",- ZP,- KP+ YP,+ WP] }],basis: [{ basis: [- zP,+ LP,"full","auto",s,@@ -34094,32 +34094,32 @@ var Uce = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- BP,- zP,+ RP,+ LP,"auto","initial","none",- KP+ WP] }],grow: [{ grow: ["",- BP,- ZP,- KP+ RP,+ YP,+ WP] }],shrink: [{ shrink: ["",- BP,- ZP,- KP+ RP,+ YP,+ WP] }],order: [{ order: [- VP,+ zP,"first","last","none",- ZP,- KP+ YP,+ WP] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34226,15 +34226,15 @@ var Uce = (e, t) => {"font-size": [{ text: ["base",n,- QP,- qP+ XP,+ GP] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- kle,- Cle+ Mle,+ Ele] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34246,15 +34246,15 @@ var Uce = (e, t) => {"expanded","extra-expanded","ultra-expanded",- HP,- KP+ BP,+ WP] }],"font-family": [{ font: [- Ele,- wle,+ kle,+ Dle,t] }],- "font-features": [{ "font-features": [KP] }],+ "font-features": [{ "font-features": [WP] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34263,14 +34263,14 @@ var Uce = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- ZP,- KP+ YP,+ WP] }],"line-clamp": [{ "line-clamp": [- BP,+ RP,"none",- ZP,- JP+ YP,+ KP] }],leading: [{ leading: ["none",@@ -34279,16 +34279,16 @@ var Uce = (e, t) => {] }],"list-image": [{ "list-image": ["none",- ZP,- KP+ YP,+ WP] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- ZP,- KP+ YP,+ WP] }],"text-alignment": [{ text: ["left",@@ -34308,18 +34308,18 @@ var Uce = (e, t) => {],"text-decoration-style": [{ decoration: [...se(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- BP,+ RP,"from-font","auto",- ZP,- qP+ YP,+ GP] }],"text-decoration-color": [{ decoration: N() }],"underline-offset": [{ "underline-offset": [- BP,+ RP,"auto",- ZP,- KP+ YP,+ WP] }],"text-transform": ["uppercase",@@ -34340,9 +34340,9 @@ var Uce = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- VP,- ZP,- KP+ zP,+ YP,+ WP] }],"vertical-align": [{ align: ["baseline",@@ -34353,8 +34353,8 @@ var Uce = (e, t) => {"text-bottom","sub","super",- ZP,- KP+ YP,+ WP] }],whitespace: [{ whitespace: ["normal",@@ -34382,8 +34382,8 @@ var Uce = (e, t) => {] }],content: [{ content: ["none",- ZP,- KP+ YP,+ WP] }],"bg-attachment": [{ bg: ["fixed",@@ -34418,24 +34418,24 @@ var Uce = (e, t) => {"l","tl"] },- VP,- ZP,- KP+ zP,+ YP,+ WP],radial: ["",- ZP,- KP+ YP,+ WP],conic: ["",- VP,- ZP,- KP+ zP,+ YP,+ WP]},- Ole,- Tle+ jle,+ Ole] }],"bg-color": [{ bg: N() }],"gradient-from-pos": [{ from: F() }],@@ -34502,15 +34502,15 @@ var Uce = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"outline-w": [{ outline: ["",- BP,- QP,- qP+ RP,+ XP,+ GP] }],"outline-color": [{ outline: N() }],shadow: [{ shadow: [@@ -34518,35 +34518,35 @@ var Uce = (e, t) => {"inner","none",u,- eF,- XP+ QP,+ JP] }],"shadow-color": [{ shadow: N() }],"inset-shadow": [{ "inset-shadow": ["none",d,- eF,- XP+ QP,+ JP] }],"inset-shadow-color": [{ "inset-shadow": N() }],"ring-w": [{ ring: oe() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: N() }],- "ring-offset-w": [{ "ring-offset": [BP, qP] }],+ "ring-offset-w": [{ "ring-offset": [RP, GP] }],"ring-offset-color": [{ "ring-offset": N() }],"inset-ring-w": [{ "inset-ring": oe() }],"inset-ring-color": [{ "inset-ring": N() }],"text-shadow": [{ "text-shadow": ["none",f,- eF,- XP+ QP,+ JP] }],"text-shadow-color": [{ "text-shadow": N() }],opacity: [{ opacity: [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"mix-blend": [{ "mix-blend": [...ce(),@@ -34568,7 +34568,7 @@ var Uce = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [BP] }],+ "mask-image-linear-pos": [{ "mask-linear": [RP] }],"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],"mask-image-linear-from-color": [{ "mask-linear-from": N() }],@@ -34597,7 +34597,7 @@ var Uce = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": le() }],"mask-image-y-from-color": [{ "mask-y-from": N() }],"mask-image-y-to-color": [{ "mask-y-to": N() }],- "mask-image-radial": [{ "mask-radial": [ZP, KP] }],+ "mask-image-radial": [{ "mask-radial": [YP, WP] }],"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],"mask-image-radial-from-color": [{ "mask-radial-from": N() }],@@ -34608,7 +34608,7 @@ var Uce = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [BP] }],+ "mask-image-conic-pos": [{ "mask-conic": [RP] }],"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],"mask-image-conic-from-color": [{ "mask-conic-from": N() }],@@ -34632,111 +34632,111 @@ var Uce = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- ZP,- KP+ YP,+ WP] }],filter: [{ filter: ["","none",- ZP,- KP+ YP,+ WP] }],blur: [{ blur: ue() }],brightness: [{ brightness: [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],contrast: [{ contrast: [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- eF,- XP+ QP,+ JP] }],"drop-shadow-color": [{ "drop-shadow": N() }],grayscale: [{ grayscale: ["",- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"hue-rotate": [{ "hue-rotate": [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],invert: [{ invert: ["",- BP,- ZP,- KP+ RP,+ YP,+ WP] }],saturate: [{ saturate: [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],sepia: [{ sepia: ["",- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- ZP,- KP+ YP,+ WP] }],"backdrop-blur": [{ "backdrop-blur": ue() }],"backdrop-brightness": [{ "backdrop-brightness": [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"backdrop-contrast": [{ "backdrop-contrast": [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"backdrop-invert": [{ "backdrop-invert": ["",- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"backdrop-opacity": [{ "backdrop-opacity": [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"backdrop-saturate": [{ "backdrop-saturate": [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- BP,- ZP,- KP+ RP,+ YP,+ WP] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34752,39 +34752,39 @@ var Uce = (e, t) => {"shadow","transform","none",- ZP,- KP+ YP,+ WP] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- BP,+ RP,"initial",- ZP,- KP+ YP,+ WP] }],ease: [{ ease: ["linear","initial",_,- ZP,- KP+ YP,+ WP] }],delay: [{ delay: [- BP,- ZP,- KP+ RP,+ YP,+ WP] }],animate: [{ animate: ["none",v,- ZP,- KP+ YP,+ WP] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- ZP,- KP+ YP,+ WP] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: de() }],@@ -34800,8 +34800,8 @@ var Uce = (e, t) => {"skew-x": [{ "skew-x": pe() }],"skew-y": [{ "skew-y": pe() }],transform: [{ transform: [- ZP,- KP,+ YP,+ WP,"","none","gpu",@@ -34815,9 +34815,9 @@ var Uce = (e, t) => {"translate-z": [{ "translate-z": me() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- VP,- ZP,- KP+ zP,+ YP,+ WP] }],accent: [{ accent: N() }],appearance: [{ appearance: ["none", "auto"] }],@@ -34867,8 +34867,8 @@ var Uce = (e, t) => {"nwse-resize","zoom-in","zoom-out",- ZP,- KP+ YP,+ WP] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -34954,15 +34954,15 @@ var Uce = (e, t) => {"scroll","contents","transform",- ZP,- KP+ YP,+ WP] }],fill: [{ fill: ["none", ...N()] }],"stroke-w": [{ stroke: [- BP,- QP,- qP,- JP+ RP,+ XP,+ GP,+ KP] }],stroke: [{ stroke: ["none", ...N()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35220,16 +35220,16 @@ var Uce = (e, t) => {"selection"]};-}, jle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (dF(e, "cacheSize", t), dF(e, "prefix", n), dF(e, "experimentalParseClassName", r), fF(e.theme, a.theme), fF(e.classGroups, a.classGroups), fF(e.conflictingClassGroups, a.conflictingClassGroups), fF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), dF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), dF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), pF(e.theme, i.theme), pF(e.classGroups, i.classGroups), pF(e.conflictingClassGroups, i.conflictingClassGroups), pF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), mF(e, i, "postfixLookupClassGroups"), mF(e, i, "orderSensitiveModifiers"), e), dF = (e, t, n) => {+}, Ple = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (lF(e, "cacheSize", t), lF(e, "prefix", n), lF(e, "experimentalParseClassName", r), uF(e.theme, a.theme), uF(e.classGroups, a.classGroups), uF(e.conflictingClassGroups, a.conflictingClassGroups), uF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), lF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), lF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), dF(e.theme, i.theme), dF(e.classGroups, i.classGroups), dF(e.conflictingClassGroups, i.conflictingClassGroups), dF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), fF(e, i, "postfixLookupClassGroups"), fF(e, i, "orderSensitiveModifiers"), e), lF = (e, t, n) => {n !== void 0 && (e[t] = n);-}, fF = (e, t) => {- if (t) for (let n in t) dF(e, n, t[n]);-}, pF = (e, t) => {- if (t) for (let n in t) mF(e, t, n);-}, mF = (e, t, n) => {+}, uF = (e, t) => {+ if (t) for (let n in t) lF(e, n, t[n]);+}, dF = (e, t) => {+ if (t) for (let n in t) fF(e, t, n);+}, fF = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, Mle = (e, ...t) => typeof e == "function" ? FP(uF, e, ...t) : FP(() => jle(uF(), e), ...t), Nle = [+}, Fle = (e, ...t) => typeof e == "function" ? NP(cF, e, ...t) : NP(() => Ple(cF(), e), ...t), Ile = ["large-title","display-1","display-2",@@ -35243,17 +35243,17 @@ var Uce = (e, t) => {"body-2","caption-1","caption-2"-], Ple = [+], Lle = ["regular","medium","semibold","bold"-], hF = Mle({ extend: { classGroups: { "font-size": [{ text: Nle.flatMap((e) => Ple.map((t) => `${e}-${t}`)) }] } } });-function gF(e) {+], K = Fle({ extend: { classGroups: { "font-size": [{ text: Ile.flatMap((e) => Lle.map((t) => `${e}-${t}`)) }] } } });+function pF(e) {return e;}// src/react/components/pill-tab.tsx-var Fle = typeof window < "u" ? P.useLayoutEffect : P.useEffect, _F = gF({+var Rle = typeof window < "u" ? P.useLayoutEffect : P.useEffect, mF = pF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35275,9 +35275,9 @@ var Fle = typeof window < "u" ? P.useLayoutEffect : P.useEffect, _F = gF({gray: "text-text-primary"}});-function vF({ children: e, className: t, ref: n, container: r, ...i }) {+function hF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, P.useRef)(null), [o, s] = (0, P.useState)(null);- Fle(() => {+ Rle(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35313,7 +35313,7 @@ function vF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: hF("pointer-events-none absolute left-0 top-0", _F.radius[o.variant], _F.thumb[o.variant]),+ className: K("pointer-events-none absolute left-0 top-0", mF.radius[o.variant], mF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35324,43 +35324,68 @@ function vF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {ref: c,role: "group",- className: hF("relative inline-flex items-center gap-1", t),+ className: K("relative inline-flex items-center gap-1", t),...i,children: [l, e]- }) : r ? (0, Lt.createPortal)(l, r) : null;+ }) : r ? (0, Rt.createPortal)(l, r) : null;+}+function zle({ variant: e = "blue", icon: t, isSelected: n, onSelect: r, children: i, className: a, disabled: o }) {+ return /* @__PURE__ */ (0, F.jsxs)("button", {+ type: "button",+ disabled: o,+ "aria-pressed": n,+ "data-pill-selected": n ? "" : void 0,+ "data-pill-variant": e,+ onClick: r,+ className: K("group relative z-10 flex shrink-0 cursor-pointer items-center gap-1 px-2 py-1.25 text-body-medium", mF.radius[e], "outline-none transition-colors duration-150", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a),+ children: [+ /* @__PURE__ */ (0, F.jsx)("span", {+ "aria-hidden": !0,+ className: K("pointer-events-none absolute inset-0 opacity-0", "transition-opacity duration-200 ease-out", mF.radius[e], mF.hover[e], !n && "group-hover:opacity-100")+ }),+ t && /* @__PURE__ */ (0, F.jsx)(t, {+ className: K("relative z-10 size-(--icon-inline) shrink-0", n ? mF.selectedIcon[e] : "text-foreground-icon-secondary"),+ "aria-hidden": !0+ }),+ /* @__PURE__ */ (0, F.jsx)("span", {+ className: K("relative z-10 text-body-medium whitespace-nowrap", n ? mF.selectedLabel[e] : "text-text-secondary"),+ children: i+ })+ ]+ });}// src/react/manage-header/manage-header-island.tsx-var yF = null, bF = null, xF = /* @__PURE__ */ new Set();-function Ile(e) {- return xF.add(e), () => {- xF.delete(e);+var gF = null, _F = null, vF = /* @__PURE__ */ new Set();+function Ble(e) {+ return vF.add(e), () => {+ vF.delete(e);};}-function Lle() {- for (let e of [...xF]) e();+function Vle() {+ for (let e of [...vF]) e();}-var Rle = { render(e) {- bF = e, (0, Lt.flushSync)(Lle);+var Hle = { render(e) {+ _F = e, (0, Rt.flushSync)(Vle);} };-function zle(e) {- return yF = e, bF = null, Rle;+function Ule(e) {+ return gF = e, _F = null, Hle;}-function Ble() {- let e = (0, P.useSyncExternalStore)(Ile, () => bF);- return yF && e ? /* @__PURE__ */ (0, F.jsx)(Vle, {- host: yF,+function Wle() {+ let e = (0, P.useSyncExternalStore)(Ble, () => _F);+ return gF && e ? /* @__PURE__ */ (0, F.jsx)(Gle, {+ host: gF,props: e}) : null;}-function Vle({ host: e, props: t }) {- let n = bP(t);+function Gle({ host: e, props: t }) {+ let n = vP(t);return n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Hle, {+ /* @__PURE__ */ (0, F.jsx)(Kle, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, F.jsx)(Ule, {+ n.crumb ? /* @__PURE__ */ (0, F.jsx)(qle, {host: e,label: n.crumb}) : null,@@ -35369,13 +35394,13 @@ function Vle({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Wle, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Jle, {host: e,lede: n.lede})] }) : null;}-function Hle({ host: e, pressed: t, menu: n }) {+function Kle({ host: e, pressed: t, menu: n }) {let r = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35385,7 +35410,7 @@ function Hle({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, F.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, F.jsx)(vF, {+ children: /* @__PURE__ */ (0, F.jsx)(hF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35399,13 +35424,13 @@ function Hle({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, F.jsx)(wP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, F.jsx)(SP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]}, n);})})});}-function Ule({ host: e, label: t }) {+function qle({ host: e, label: t }) {return /* @__PURE__ */ (0, F.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35415,20 +35440,20 @@ function Ule({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, F.jsx)(wP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {+ }), /* @__PURE__ */ (0, F.jsx)(SP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, F.jsx)("span", { children: t })})] })});}-function Wle({ host: e, lede: t }) {+function Jle({ host: e, lede: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: CP }- }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Gle, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {+ dangerouslySetInnerHTML: { __html: xP }+ }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Yle, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35438,39 +35463,39 @@ function Wle({ host: e, lede: t }) {}) : null] })});}-function Gle({ text: e }) {+function Yle({ text: e }) {let t = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {- Os(t.current, e);+ ks(t.current, e);}, [e]), /* @__PURE__ */ (0, F.jsx)("span", {ref: t,"data-lede-text": ""});}// src/core/text-lang.ts-var Kle = /[-ヿㇰ-ㇿヲ-゚]/, qle = /[㐀-鿿豈-]/, Jle = /[A-Za-z]/;-function SF(e) {+var Xle = /[-ヿㇰ-ㇿヲ-゚]/, Zle = /[㐀-鿿豈-]/, Qle = /[A-Za-z]/;+function yF(e) {let t = String(e ?? "");- if (Kle.test(t)) return "ja";- if (!qle.test(t) && Jle.test(t)) return "en";+ if (Xle.test(t)) return "ja";+ if (!Zle.test(t) && Qle.test(t)) return "en";}-var Yle = (e) => {- let t = SF(e);+var $le = (e) => {+ let t = yF(e);return t ? ` lang="${t}"` : "";-}, Xle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Zle = (e, t = e?.name) => {+}, eue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, tue = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(Xle, "") : n;-}, Qle = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), $le = (e) => {+ return e?.is_jav ? n.replace(eue, "") : n;+}, nue = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), rue = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(Qle) || t[0] || "";+ return t.find(nue) || t[0] || "";};-function CF(e, t = e?.name) {- let n = Zle(e, t), r = String(e?.code || "").trim().toUpperCase();+function bF(e, t = e?.name) {+ let n = tue(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 = $le(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 = rue(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) => ["中字","无码","无码破解"@@ -35481,26 +35506,26 @@ function CF(e, t = e?.name) {badges: f};}-var wF = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = CF(e, t);+var xF = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = bF(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function TF(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = CF(e, t);- if (!n) return z(r);- let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : 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"${Yle(r)}>${z(r)}</span>` : ""}`;+function SF(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = bF(e, t);+ if (!n) return R(r);+ let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${R(e)}</small>`).join("");+ return `<span class="ui-javidentity"><strong class="ui-javcode">${R(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${$le(r)}>${R(r)}</span>` : ""}`;}// src/react/activity/tasks.ts-var EF = "/api/tasks", DF = ["tasks"], eue = (e, t) => B(`${EF}?${new URLSearchParams({+var CF = "/api/tasks", wF = ["tasks"], iue = (e, t) => z(`${CF}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function tue(...e) {+function aue(...e) {let t = /* @__PURE__ */ new Map();for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);return [...t.values()].sort((e, t) => {@@ -35508,26 +35533,26 @@ function tue(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var nue = 2e3, rue = 1e4, OF = (e) => e?.running?.length ? nue : rue, kF = (e) => B(EF, e);-async function iue(e) {- await H.fetchQuery({- queryKey: DF,- queryFn: () => kF(e)+var oue = 2e3, sue = 1e4, TF = (e) => e?.running?.length ? oue : sue, EF = (e) => z(CF, e);+async function cue(e) {+ await V.fetchQuery({+ queryKey: wF,+ queryFn: () => EF(e)});}-var aue = {+var lue = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, oue = {+}, uue = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, sue = (e) => oue[e] || e, AF = {+}, due = (e) => uue[e] || e, DF = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -35604,7 +35629,7 @@ var aue = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, cue = [+}, fue = ["gone_count","unclear_count","source_failed",@@ -35626,14 +35651,14 @@ var aue = {"paused_count","miss","incomplete"-], lue = ["face_match_unavailable"], jF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || lue.some((t) => e.result_summary?.[t] === !0) || cue.some((t) => Number(e.result_summary?.[t]) > 0);-function uue(e) {+], pue = ["face_match_unavailable"], OF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || pue.some((t) => e.result_summary?.[t] === !0) || fue.some((t) => Number(e.result_summary?.[t]) > 0);+function mue(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 MF = /* @__PURE__ */ new Set(["library-processing"]);-function due(e, t = !0) {- if (!jF(e) && e.status !== "failed" || MF.has(e.task_key) && !t) return null;+var kF = /* @__PURE__ */ new Set(["library-processing"]);+function hue(e, t = !0) {+ if (!OF(e) && e.status !== "failed" || kF.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -35651,12 +35676,12 @@ function due(e, t = !0) {label: n[1]} : null;}-function fue(e) {+function gue(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) MF.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) kF.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 pue(e) {+function _ue(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -35665,7 +35690,7 @@ function pue(e) {}return t;}-function mue(e, t) {+function vue(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -35687,12 +35712,12 @@ function mue(e, t) {}return n;}-var hue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !jF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), NF = (e) => e.status === "pending" || e.status === "running";-function gue(e) {+var yue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !OF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), AF = (e) => e.status === "pending" || e.status === "running";+function bue(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, IF(e.error) || GF(o) || (NF(e) && i > 0 ? `${FF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, NF(e.error) || HF(o) || (AF(e) && i > 0 ? `${MF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function PF(e) {+function jF(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35701,19 +35726,19 @@ function PF(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function FF(e, t) {+function MF(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function _ue(e) {+function xue(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 IF(e) {- let t = _ue(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);- return n ? tn(n[1]) : t;+function NF(e) {+ let t = xue(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+ return n ? nn(n[1]) : t;}-var LF = {+var PF = {partial: "处理已结束,部分项目需处理",complete: "处理完成",interrupted: "处理已中断",@@ -35730,11 +35755,11 @@ var LF = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, RF = {+}, FF = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, zF = {+}, IF = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -35745,8 +35770,8 @@ var LF = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, BF = (e) => LF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${RF[t.toLowerCase()]} 资料页` : `已保存来自 ${RF[t.toLowerCase()]} 的资料`);-function VF(e) {+}, LF = (e) => PF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${FF[t.toLowerCase()]} 资料页` : `已保存来自 ${FF[t.toLowerCase()]} 的资料`);+function RF(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35756,7 +35781,7 @@ function VF(e) {minute: "2-digit"});}-var HF = /* @__PURE__ */ new Set([+var zF = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -35765,14 +35790,14 @@ var HF = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function UF(e) {- let t = WF(e);+function BF(e) {+ let t = VF(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function WF(e) {- return Object.entries(e || {}).filter(([e, t]) => !HF.has(e) && (e in AF || 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" ? IF(String(t)) : e === "outcome" || e === "result" ? BF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${AF[e]} ${jn(Number(t))}` : e === "operation" ? `操作:${zF[String(t)] || "批量操作"}` : `${AF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function VF(e) {+ return Object.entries(e || {}).filter(([e, t]) => !zF.has(e) && (e in DF || 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" ? NF(String(t)) : e === "outcome" || e === "result" ? LF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${DF[e]} ${Mn(Number(t))}` : e === "operation" ? `操作:${IF[String(t)] || "批量操作"}` : `${DF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var GF = (e) => UF(e).join(" · "), KF = gF({+var HF = (e) => BF(e).join(" · "), UF = pF({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",@@ -35783,20 +35808,20 @@ var GF = (e) => UF(e).join(" · "), KF = gF({small: "size-4 shrink-0"}});-function qF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function WF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, F.jsx)("button", {ref: i,type: r,- className: hF(KF.base, KF.size[t], n),+ className: K(UF.base, UF.size[t], n),...a,children: /* @__PURE__ */ (0, F.jsx)(e, {- className: KF.icon[t],+ className: UF.icon[t],"aria-hidden": !0})});}// src/react/components/glass-drift.tsx-function JF() {+function GF() {return /* @__PURE__ */ (0, F.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -35810,7 +35835,7 @@ function JF() {});}// src/react/components/use-stuck.ts-function YF(e) {+function KF(e) {(0, P.useEffect)(() => {let t = e.current;if (!t) return;@@ -35827,31 +35852,31 @@ function YF(e) {}, [e]);}// src/react/components/use-horizontal-scroller.ts-function XF(e, t = !0) {+function qF(e, t = !0) {let [n, r] = (0, P.useState)(null), i = (0, P.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);return (0, P.useLayoutEffect)(() => {if (!n || !t) return;n.dataset.horizontalScroll = "";- let e = cc(n);+ let e = lc(n);return () => {e.destroy(), delete n.dataset.horizontalScroll, delete n.dataset.overflowLeft, delete n.dataset.overflowRight;};}, [n, t]), i;}// src/react/components/filter-glass.tsx-var ZF = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var JF = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,className: e,- dangerouslySetInnerHTML: { __html: bs("正在处理") }+ dangerouslySetInnerHTML: { __html: xs("正在处理") }});-function QF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, F.jsx)(qF, {+function YF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsx)(WF, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? ZF : t,+ icon: n && r === "spinner" ? JF : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -35861,9 +35886,9 @@ function QF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function $F({ title: e, children: t }) {+function XF({ title: e, children: t }) {let n = (0, P.useRef)(null);- return YF(n), /* @__PURE__ */ (0, F.jsxs)("div", {+ return KF(n), /* @__PURE__ */ (0, F.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -35876,20 +35901,20 @@ function $F({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, F.jsx)(JF, {})+ /* @__PURE__ */ (0, F.jsx)(GF, {})]});}-function eI({ 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, P.useRef)(null), f = XF(), p = XF(u);- return YF(d), /* @__PURE__ */ (0, F.jsxs)("div", {+function ZF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, P.useRef)(null), f = qF(), p = qF(u);+ return KF(d), /* @__PURE__ */ (0, F.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: hF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: K("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, F.jsx)("div", {@@ -35897,37 +35922,37 @@ function eI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: hF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: K("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, F.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: hF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: K("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, F.jsx)(JF, {})+ /* @__PURE__ */ (0, F.jsx)(GF, {})]});}-var tI = "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 nI({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var QF = "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 $F({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: hF(tI, r),+ className: K(QF, r),onClick: n,children: e});}-var rI = "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 iI({ children: e, onPress: t, busy: n = !1 }) {+var eI = "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 tI({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glass-pill": "",- className: rI,+ className: eI,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -35937,13 +35962,13 @@ function iI({ children: e, onPress: t, busy: n = !1 }) {});}// src/react/components/use-view-glide.ts-var aI = (e, t) => [+var nI = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function oI(e, t, n) {+function rI(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;@@ -35967,17 +35992,17 @@ function oI(e, t, n) {h: e.offsetHeight};}-function sI(e, t, n, r, { axis: i = "x" } = {}) {+function iI(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, P.useRef)(null), o = (0, P.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 ? oI(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? rI(u, l, i) : null;if (!d || !d.w || !d.h) {- wc(s), s.hidden = !0, a.current = null;+ Tc(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && aI(f, d)) && Sc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && nI(f, d)) && Cc(s, o ? f : null, d, i);}, [e,t,@@ -35998,8 +36023,8 @@ function sI(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 ? oI(o, r, i) : null, l = a.current;- s && l && aI(s, l) || c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? rI(o, r, i) : null, l = a.current;+ s && l && nI(s, l) || c();}), u = t.current;if (u && r) {l.observe(u);@@ -36025,12 +36050,12 @@ function sI(e, t, n, r, { axis: i = "x" } = {}) {e.pointerType !== "touch" && o(null, !0);}, [o]),sync: (0, P.useCallback)(() => {- wc(e.current), o(null, !1);+ Tc(e.current), o(null, !1);}, [e, o])};}// src/react/boardui/components/base/buttons/button.tsx-var cI = gF({+var aI = pF({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",@@ -36063,52 +36088,52 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, F.jsxs)("button", {ref: c,type: s,- className: hF(cI.base, cI.size[t], cI.variant[e], n && cI.iconOnlySize[t], o),+ className: K(aI.base, aI.size[t], aI.variant[e], n && aI.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, F.jsx)(r, {- className: cI.icon[t],+ className: aI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: cI.label[t],+ className: aI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {- className: cI.icon[t],+ className: aI.icon[t],"aria-hidden": !0}) : null]});}-function lI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function oI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, F.jsxs)("a", {ref: s,- className: hF(cI.base, cI.size[t], cI.variant[e], n && cI.iconOnlySize[t], o),+ className: K(aI.base, aI.size[t], aI.variant[e], n && aI.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, F.jsx)(r, {- className: cI.icon[t],+ className: aI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: cI.label[t],+ className: aI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {- className: cI.icon[t],+ className: aI.icon[t],"aria-hidden": !0}) : null]});}// node_modules/react-aria-components/dist/private/utils.mjs-var uI = Symbol("default");-function dI({ values: e, children: t }) {+var sI = Symbol("default");+function cI({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ P.createElement(n.Provider, { value: r }, t);return t;}-function fI(e) {+function lI(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, P.useMemo)(() => {let e, l, u;@@ -36142,11 +36167,11 @@ function fI(e) {c]);}-function pI(e, t) {+function uI(e, t) {let n = (0, P.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || uI;+ let e = t || sI;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}.`);@@ -36155,8 +36180,8 @@ function pI(e, t) {}return n;}-function mI(e, t, n) {- let { ref: r, ...i } = pI(n, e.slot) || {}, a = eS((0, P.useMemo)(() => Gx(t, r), [t, r])), o = K(i, e);+function dI(e, t, n) {+ let { ref: r, ...i } = uI(n, e.slot) || {}, a = Qx((0, P.useMemo)(() => Ux(t, r), [t, r])), o = G(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,@@ -36174,42 +36199,42 @@ function mI(e, t, n) {...e.style}), [o, a];}-function hI(e = !0) {+function fI(e = !0) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return Hb(() => {+ return Bb(() => {r.current || n(!1);}, []), [i, t];}-function gI(e) {+function pI(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function _I(e, t, n) {- let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => Gx(n, a), [n, a]);- Hb(() => {}, [e, r]);+function mI(e, t, n) {+ let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => Ux(n, a), [n, a]);+ Bb(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ P.createElement(e, s);}-var vI = {}, yI = new Proxy({}, { get(e, t) {+var hI = {}, gI = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = vI[t];- return n || (n = /*#__PURE__*/ (0, P.forwardRef)(_I.bind(null, t)), vI[t] = n), n;-} }), bI = /*#__PURE__*/ (0, P.createContext)(null), xI = /*#__PURE__*/ (0, P.createContext)(null), SI = /*#__PURE__*/ (0, P.createContext)(null), CI = {+ let n = hI[t];+ return n || (n = /*#__PURE__*/ (0, P.forwardRef)(mI.bind(null, t)), hI[t] = n), n;+} }), _I = /*#__PURE__*/ (0, P.createContext)(null), vI = /*#__PURE__*/ (0, P.createContext)(null), yI = /*#__PURE__*/ (0, P.createContext)(null), bI = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return wI(e, null, t);+ return xI(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return wI(e, t, n);+ return xI(e, t, n);}};-function wI(e, t, n) {- return vb({+function xI(e, t, n) {+ return gb({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36219,11 +36244,11 @@ function wI(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, TI(e, t, n));+ }), r, SI(e, t, n));}});}-function TI(e, t, n) {+function SI(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);@@ -36242,24 +36267,24 @@ function TI(e, t, n) {}return s;}-var EI = /*#__PURE__*/ (0, P.createContext)(CI);-function DI(e) {+var CI = /*#__PURE__*/ (0, P.createContext)(bI);+function wI(e) {return (0, P.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var OI = /*#__PURE__*/ (0, P.createContext)({}), kI = /*#__PURE__*/ aS(function(e, t) {- [e, t] = mI(e, t, OI);- let { elementType: n = "label", ...r } = e, i = yI[n];+var TI = /*#__PURE__*/ (0, P.createContext)({}), EI = /*#__PURE__*/ rS(function(e, t) {+ [e, t] = dI(e, t, TI);+ let { elementType: n = "label", ...r } = e, i = gI[n];return /*#__PURE__*/ P.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), AI = /*#__PURE__*/ (0, P.createContext)(null), jI = /*#__PURE__*/ (0, P.createContext)({}), MI = /*#__PURE__*/ aS(function(e, t) {- [e, t] = mI(e, t, jI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = hie(e, t);- i = yue(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = KT(e), { hoverProps: l, isHovered: u } = XT({+}), DI = /*#__PURE__*/ (0, P.createContext)(null), OI = /*#__PURE__*/ (0, P.createContext)({}), kI = /*#__PURE__*/ rS(function(e, t) {+ [e, t] = dI(e, t, OI);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = vie(e, t);+ i = Cue(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = UT(e), { hoverProps: l, isHovered: u } = qT({...e,isDisabled: e.isDisabled || r}), d = {@@ -36269,25 +36294,25 @@ var OI = /*#__PURE__*/ (0, P.createContext)({}), kI = /*#__PURE__*/ aS(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = fI({+ }, f = lI({...e,values: d,defaultClassName: "react-aria-Button"- }), p = Ux(i.id), m = Ux(), h = i["aria-labelledby"];+ }), p = Vx(i.id), m = Vx(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, P.useRef)(r);(0, P.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && BC(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && LC(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = qS(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ P.createElement(yI.button, {- ...K(_, f, i, o, l),+ let _ = GS(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ P.createElement(gI.button, {+ ...G(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,ref: t,@@ -36300,61 +36325,61 @@ var OI = /*#__PURE__*/ (0, P.createContext)({}), kI = /*#__PURE__*/ aS(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ P.createElement(AI.Provider, { value: { id: m } }, f.children));-}), vue = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function yue(e, t) {+ }, /*#__PURE__*/ P.createElement(DI.Provider, { value: { id: m } }, f.children));+}), Sue = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Cue(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !vue.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Sue.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 NI = /*#__PURE__*/ (0, P.createContext)({}), PI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, NI);- let { children: n, level: r = 3, className: i, ...a } = e, o = yI[`h${r}`];+var AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, AI);+ let { children: n, level: r = 3, className: i, ...a } = e, o = gI[`h${r}`];return /*#__PURE__*/ P.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), FI = /*#__PURE__*/ (0, P.createContext)({}), bue = /*#__PURE__*/ aS(function(e, t) {- [e, t] = mI(e, t, FI);- let { elementType: n = "span", ...r } = e, i = yI[n];+}), MI = /*#__PURE__*/ (0, P.createContext)({}), wue = /*#__PURE__*/ rS(function(e, t) {+ [e, t] = dI(e, t, MI);+ let { elementType: n = "span", ...r } = e, i = gI[n];return /*#__PURE__*/ P.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), II = /*#__PURE__*/ (0, P.createContext)(null), LI = /*#__PURE__*/ (0, P.createContext)(null), RI = /*#__PURE__*/ (0, P.createContext)(null), zI = /*#__PURE__*/ (0, P.createContext)(null), xue = /*#__PURE__*/ (0, P.createContext)(null), BI = /*#__PURE__*/ (0, P.createContext)(null);-function Sue(e, t) {- let { validationBehavior: n } = pI(LI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(xue), a = eS((0, P.useMemo)(() => Gx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...gI(e),+}), NI = /*#__PURE__*/ (0, P.createContext)(null), PI = /*#__PURE__*/ (0, P.createContext)(null), FI = /*#__PURE__*/ (0, P.createContext)(null), II = /*#__PURE__*/ (0, P.createContext)(null), Tue = /*#__PURE__*/ (0, P.createContext)(null), LI = /*#__PURE__*/ (0, P.createContext)(null);+function Eue(e, t) {+ let { validationBehavior: n } = uI(PI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Tue), a = Qx((0, P.useMemo)(() => Ux(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...pI(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? Tie(o, i, a) : mw(o, yw(e), a), a];+ return [i ? kie(o, i, a) : dw(o, gw(e), a), a];}-var Cue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+var Due = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = mI(r, t, RI);- let [i, a] = Sue(e, n);- return /*#__PURE__*/ P.createElement(BI.Provider, { value: {+ [e, t] = dI(r, t, FI);+ let [i, a] = Eue(e, n);+ return /*#__PURE__*/ P.createElement(LI.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ P.createElement(wue, {+ } }, /*#__PURE__*/ P.createElement(Oue, {...e,ref: t}));-}), wue = /*#__PURE__*/ (0, P.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, P.useContext)(BI), { isFocused: p, isFocusVisible: m, focusProps: h } = KT(), g = a || o, { hoverProps: _, isHovered: v } = XT({+}), Oue = /*#__PURE__*/ (0, P.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, P.useContext)(LI), { isFocused: p, isFocusVisible: m, focusProps: h } = UT(), g = a || o, { hoverProps: _, isHovered: v } = qT({...e,isDisabled: g- }), y = fI({+ }), y = lI({...e,defaultClassName: u,values: {@@ -36369,9 +36394,9 @@ var Cue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = qS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(yI.label, {- ...K(b, n, _, y),+ }), b = GS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(gI.label, {+ ...G(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -36384,20 +36409,20 @@ var Cue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ P.createElement(Ow, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {- ...K(r, h),+ }, /*#__PURE__*/ P.createElement(Tw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ ...G(r, h),ref: l})), y.children);-}), VI = /*#__PURE__*/ (0, P.createContext)({}), HI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, VI);+}), RI = /*#__PURE__*/ (0, P.createContext)({}), zI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, RI);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 } = XT({+ let { hoverProps: l, isHovered: u } = qT({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = KT({ within: !0 }), m = fI({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = UT({ within: !0 }), m = lI({...e,values: {isHovered: u,@@ -36408,8 +36433,8 @@ var Cue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ P.createElement(yI.div, {- ...K(c, p, l),+ return /*#__PURE__*/ P.createElement(gI.div, {+ ...G(c, p, l),...m,ref: t,role: e.role ?? "group",@@ -36421,18 +36446,18 @@ var Cue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), UI = /*#__PURE__*/ (0, P.createContext)({}), Tue = (e) => {+}), BI = /*#__PURE__*/ (0, P.createContext)({}), kue = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Eue = /*#__PURE__*/ aS(function(e, t) {- [e, t] = mI(e, t, UI);- let { hoverProps: n, isHovered: r } = XT({+}, Aue = /*#__PURE__*/ rS(function(e, t) {+ [e, t] = dI(e, t, BI);+ let { hoverProps: n, isHovered: r } = qT({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = KT({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = UT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = fI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = lI({...e,values: {isHovered: r,@@ -36443,8 +36468,8 @@ var Cue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ P.createElement(yI.input, {- ...K(Tue(e), o, n),+ return /*#__PURE__*/ P.createElement(gI.input, {+ ...G(kue(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -36453,24 +36478,24 @@ var Cue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Due = 0, Oue = 100, kue = 1;-function Aue(e) {- let { isDisabled: t = !1, minValue: n = Due, maxValue: r = Oue, numberFormatter: i, step: a = kue, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {+}), jue = 0, Mue = 100, Nue = 1;+function Pue(e) {+ let { isDisabled: t = !1, minValue: n = jue, maxValue: r = Mue, numberFormatter: i, step: a = Nue, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {let e = (r - n) / 10;- return e = Sw(e, 0, e + a, a), Math.max(e, a);+ return e = yw(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, P.useCallback)((e) => e?.map((t, i) => Sw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, P.useCallback)((e) => e?.map((t, i) => yw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, P.useMemo)(() => c(GI(e.value)), [e.value, c]), u = (0, P.useMemo)(() => c(GI(e.defaultValue) ?? [n]), [+ ]), l = (0, P.useMemo)(() => c(HI(e.value)), [e.value, c]), u = (0, P.useMemo)(() => c(HI(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = KI(e.value, e.defaultValue, e.onChange), f = KI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = vw(l, u, d), [h] = (0, P.useState)(p), [g, _] = (0, P.useState)(Array(p.length).fill(!1)), v = (0, P.useRef)(Array(p.length).fill(!0)), [y, b] = (0, P.useState)(void 0), x = (0, P.useRef)(p), S = (0, P.useRef)(g), C = (e) => {+ ]), d = UI(e.value, e.defaultValue, e.onChange), f = UI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = hw(l, u, d), [h] = (0, P.useState)(p), [g, _] = (0, P.useState)(Array(p.length).fill(!1)), v = (0, P.useRef)(Array(p.length).fill(!0)), [y, b] = (0, P.useState)(void 0), x = (0, P.useRef)(p), S = (0, P.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36493,15 +36518,15 @@ function Aue(e) {function A(e, n) {if (t || !O(e)) return;let r = E(e), i = D(e);- n = Sw(n, r, i, a);- let o = WI(x.current, e, n);+ n = yw(n, r, i, a);+ let o = VI(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 = WI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = VI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let M = (0, P.useRef)(null);function ee(e = p) {@@ -36522,15 +36547,15 @@ function Aue(e) {return Math.round((e - n) / a) * a + n;}function N(e) {- return bw(ne(e * (r - n) + n), n, r);+ return _w(ne(e * (r - n) + n), n, r);}function re(e, t = 1) {let i = Math.max(t, a);- A(e, Sw(p[e] + i, n, r, a));+ A(e, yw(p[e] + i, n, r, a));}function ie(e, t = 1) {let i = Math.max(t, a);- A(e, Sw(p[e] - i, n, r, a));+ A(e, yw(p[e] - i, n, r, a));}return {values: p,@@ -36559,31 +36584,31 @@ function Aue(e) {isDisabled: t};}-function WI(e, t, n) {+function VI(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function GI(e) {+function HI(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function KI(e, t, n) {+function UI(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 jue = /*#__PURE__*/ (0, P.createContext)(null), qI = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.createContext)(null), Mue = /*#__PURE__*/ (0, P.createContext)(null), Nue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, jue);- let n = (0, P.useRef)(null), r = Aie(e.formatOptions), i = Aue({+var Fue = /*#__PURE__*/ (0, P.createContext)(null), WI = /*#__PURE__*/ (0, P.createContext)(null), GI = /*#__PURE__*/ (0, P.createContext)(null), Iue = /*#__PURE__*/ (0, P.createContext)(null), Lue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, Fue);+ let n = (0, P.useRef)(null), r = Pie(e.formatOptions), i = Pue({...e,numberFormatter: r- }), [a, o] = hI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = jie({+ }), [a, o] = fI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Fie({...e,label: o- }, i, n), d = fI({+ }, i, n), d = lI({...e,values: {orientation: i.orientation,@@ -36591,32 +36616,32 @@ var jue = /*#__PURE__*/ (0, P.createContext)(null), qI = /*#__PURE__*/ (0, P.crestate: i},defaultClassName: "react-aria-Slider"- }), f = qS(e, { global: !0 });- return delete f.id, /*#__PURE__*/ P.createElement(dI, { values: [- [qI, i],- [JI, {+ }), f = GS(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ P.createElement(cI, { values: [+ [WI, i],+ [GI, {...c,ref: n}],- [Mue, u],- [OI, {+ [Iue, u],+ [TI, {...l,ref: a}]- ] }, /*#__PURE__*/ P.createElement(yI.div, {- ...K(f, d, s),+ ] }, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Pue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, JI);- let n = (0, P.useContext)(qI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = XT({+}), Rue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, GI);+ let n = (0, P.useContext)(WI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = qT({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = fI({+ }), l = lI({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -36626,22 +36651,22 @@ var jue = /*#__PURE__*/ (0, P.createContext)(null), qI = /*#__PURE__*/ (0, P.crestate: n}});- return /*#__PURE__*/ P.createElement(yI.div, {- ...K(o, s),+ return /*#__PURE__*/ P.createElement(gI.div, {+ ...G(o, s),...l,ref: t,"data-hovered": c || void 0,"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Fue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, P.useContext)(qI), { ref: i } = pI(JI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = hI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Mie({+}), zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, P.useContext)(WI), { ref: i } = uI(GI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = fI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Iie({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = KT(), { hoverProps: v, isHovered: y } = XT(e), b = fI({+ }, r), { focusProps: g, isFocusVisible: _ } = UT(), { hoverProps: v, isHovered: y } = qT(e), b = lI({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36652,9 +36677,9 @@ var jue = /*#__PURE__*/ (0, P.createContext)(null), qI = /*#__PURE__*/ (0, P.creisFocusVisible: _,isDisabled: h}- }), x = qS(e, { global: !0 });- return delete x.id, /*#__PURE__*/ P.createElement(yI.div, {- ...K(x, u, v),+ }), x = GS(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(x, u, v),...b,ref: t,style: {@@ -36666,330 +36691,330 @@ var jue = /*#__PURE__*/ (0, P.createContext)(null), qI = /*#__PURE__*/ (0, P.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ P.createElement(Ow, null, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(Tw, null, /*#__PURE__*/ P.createElement("input", {ref: s,- ...K(d, g)- })), /*#__PURE__*/ P.createElement(dI, { values: [[OI, {+ ...G(d, g)+ })), /*#__PURE__*/ P.createElement(cI, { values: [[TI, {...f,ref: c}]] }, b.children));-}), YI = {};-YI = {+}), KI = {};+KI = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",tableResizer: "أداة تغيير الحجم"};// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var XI = {};-XI = {+var qI = {};+qI = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",tableResizer: "Преоразмерител"};// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var ZI = {};-ZI = {+var JI = {};+JI = {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 QI = {};-QI = {+var YI = {};+YI = {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 $I = {};-$I = {+var XI = {};+XI = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",tableResizer: "Größenanpassung"};// node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var eL = {};-eL = {+var ZI = {};+ZI = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",tableResizer: "Αλλαγή μεγέθους"};// node_modules/react-aria-components/dist/private/intl/en-US.mjs-var tL = {};-tL = {+var QI = {};+QI = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",colorSwatchPicker: "Color swatches"};// node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var nL = {};-nL = {+var $I = {};+$I = {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 rL = {};-rL = {+var eL = {};+eL = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",tableResizer: "Suuruse muutja"};// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var iL = {};-iL = {+var tL = {};+tL = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",tableResizer: "Koon muuttaja"};// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var aL = {};-aL = {+var nL = {};+nL = {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 oL = {};-oL = {+var rL = {};+rL = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",tableResizer: "שינוי גודל"};// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var sL = {};-sL = {+var iL = {};+iL = {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 cL = {};-cL = {+var aL = {};+aL = {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 lL = {};-lL = {+var oL = {};+oL = {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 uL = {};-uL = {+var sL = {};+sL = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",tableResizer: "サイズ変更ツール"};// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var dL = {};-dL = {+var cL = {};+cL = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",tableResizer: "크기 조정기"};// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var fL = {};-fL = {+var lL = {};+lL = {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 pL = {};-pL = {+var uL = {};+uL = {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 mL = {};-mL = {+var dL = {};+dL = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",tableResizer: "Størrelsesendrer"};// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var hL = {};-hL = {+var fL = {};+fL = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",tableResizer: "Resizer"};// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var gL = {};-gL = {+var pL = {};+pL = {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 _L = {};-_L = {+var mL = {};+mL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var vL = {};-vL = {+var hL = {};+hL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var yL = {};-yL = {+var gL = {};+gL = {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 bL = {};-bL = {+var _L = {};+_L = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",tableResizer: "Средство изменения размера"};// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var xL = {};-xL = {+var vL = {};+vL = {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 SL = {};-SL = {+var yL = {};+yL = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",tableResizer: "Spreminjanje velikosti"};// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var CL = {};-CL = {+var bL = {};+bL = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",tableResizer: "Promena veličine"};// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var wL = {};-wL = {+var xL = {};+xL = {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 TL = {};-TL = {+var SL = {};+SL = {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 EL = {};-EL = {+var CL = {};+CL = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",tableResizer: "Засіб змінення розміру"};// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var DL = {};-DL = {+var wL = {};+wL = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",tableResizer: "尺寸调整器"};// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var OL = {};-OL = {+var TL = {};+TL = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",tableResizer: "大小調整器"};// node_modules/react-aria-components/dist/private/intlStrings.mjs-var kL = {};-kL = {- "ar-AE": YI,- "bg-BG": XI,- "cs-CZ": ZI,- "da-DK": QI,- "de-DE": $I,- "el-GR": eL,- "en-US": tL,- "es-ES": nL,- "et-EE": rL,- "fi-FI": iL,- "fr-FR": aL,- "he-IL": oL,- "hr-HR": sL,- "hu-HU": cL,- "it-IT": lL,- "ja-JP": uL,- "ko-KR": dL,- "lt-LT": fL,- "lv-LV": pL,- "nb-NO": mL,- "nl-NL": hL,- "pl-PL": gL,- "pt-BR": _L,- "pt-PT": vL,- "ro-RO": yL,- "ru-RU": bL,- "sk-SK": xL,- "sl-SI": SL,- "sr-SP": CL,- "sv-SE": wL,- "tr-TR": TL,- "uk-UA": EL,- "zh-CN": DL,- "zh-TW": OL+var EL = {};+EL = {+ "ar-AE": KI,+ "bg-BG": qI,+ "cs-CZ": JI,+ "da-DK": YI,+ "de-DE": XI,+ "el-GR": ZI,+ "en-US": QI,+ "es-ES": $I,+ "et-EE": eL,+ "fi-FI": tL,+ "fr-FR": nL,+ "he-IL": rL,+ "hr-HR": iL,+ "hu-HU": aL,+ "it-IT": oL,+ "ja-JP": sL,+ "ko-KR": cL,+ "lt-LT": lL,+ "lv-LV": uL,+ "nb-NO": dL,+ "nl-NL": fL,+ "pl-PL": pL,+ "pt-BR": mL,+ "pt-PT": hL,+ "ro-RO": gL,+ "ru-RU": _L,+ "sk-SK": vL,+ "sl-SI": yL,+ "sr-SP": bL,+ "sv-SE": xL,+ "tr-TR": SL,+ "uk-UA": CL,+ "zh-CN": wL,+ "zh-TW": TL};// node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var AL = /*#__PURE__*/ (0, P.createContext)({}), jL = /*#__PURE__*/ (0, P.createContext)(null), Iue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { render: n } = (0, P.useContext)(jL);+var DL = /*#__PURE__*/ (0, P.createContext)({}), OL = /*#__PURE__*/ (0, P.createContext)(null), Bue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { render: n } = (0, P.useContext)(OL);return /*#__PURE__*/ P.createElement(P.Fragment, null, n(e, t));});-function ML(e, t) {+function kL(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, P.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(Iue, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(Bue, { target: e });}, [t?.target,r,@@ -36997,7 +37022,7 @@ function ML(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function NL(e, t, n) {+function AL(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;@@ -37018,13 +37043,13 @@ function NL(e, t, n) {return (0, P.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);}// node_modules/react-aria-components/dist/private/Header.mjs-var PL = /*#__PURE__*/ (0, P.createContext)({}), Lue = /*#__PURE__*/ (0, P.createContext)(null);-function FL(e) {+var jL = /*#__PURE__*/ (0, P.createContext)({}), Vue = /*#__PURE__*/ (0, P.createContext)(null);+function ML(e) {let t = (0, P.useRef)({});- return /*#__PURE__*/ P.createElement(Lue.Provider, { value: t }, e.children);+ return /*#__PURE__*/ P.createElement(Vue.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var IL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), LL = /*#__PURE__*/ (0, P.createContext)({}), Rue = /*#__PURE__*/ pS(class extends ub {+var NL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), PL = /*#__PURE__*/ (0, P.createContext)({}), Hue = /*#__PURE__*/ dS(class extends cb {static {this.type = "separator";}@@ -37037,17 +37062,17 @@ var IL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), LL = /*#__PURE_return null;}}, function(e, t) {- [e, t] = mI(e, t, LL);+ [e, t] = dI(e, t, PL);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = yI[c], { separatorProps: u } = zae({+ let l = gI[c], { separatorProps: u } = Uae({...s,elementType: n,orientation: r- }), d = qS(e, { global: !0 });+ }), d = GS(e, { global: !0 });return /*#__PURE__*/ P.createElement(l, {render: e.render,- ...K(d, u),+ ...G(d, u),style: i,className: a ?? "react-aria-Separator",ref: t,@@ -37055,12 +37080,12 @@ var IL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), LL = /*#__PURE_});});// node_modules/react-aria/dist/private/utils/inertValue.mjs-function RL(e) {+function FL(e) {let t = P.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}// node_modules/react-stately/dist/private/list/ListCollection.mjs-var zL = class {+var IL = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -37104,19 +37129,19 @@ var zL = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, BL = class e extends Set {+}, LL = 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 zue(e, t) {+function Uue(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function VL(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = vw((0, P.useMemo)(() => HL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => HL(e.defaultSelectedKeys, new BL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);+function RL(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = hw((0, P.useMemo)(() => zL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => zL(e.defaultSelectedKeys, new LL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, P.useRef)(i);return (0, P.useEffect)(() => {@@ -37143,17 +37168,17 @@ function VL(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !zue(e, d)) && f(e);+ (r || !Uue(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function HL(e, t) {- return e ? e === "all" ? "all" : new BL(e) : t;+function zL(e, t) {+ return e ? e === "all" ? "all" : new LL(e) : t;}// node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var UL = class e {+var BL = 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;}@@ -37209,7 +37234,7 @@ var UL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && PT(this.collection, n, e) < 0) && (e = n);+ (!e || n && jT(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -37217,7 +37242,7 @@ var UL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && PT(this.collection, n, e) > 0) && (e = n);+ (!e || n && jT(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -37236,10 +37261,10 @@ var UL = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new BL([t], t, t);+ if (this.state.selectedKeys === "all") n = new LL([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new BL(e, r, t);+ n = new LL(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);}@@ -37247,7 +37272,7 @@ var UL = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? PT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? jT(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);@@ -37273,19 +37298,19 @@ var UL = class e {}let t = this.getKey(e);if (t == null) return;- let n = new BL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new LL(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 BL([t], t, t) : new BL();+ let n = this.canSelectItem(t) ? new LL([t], t, t) : new LL();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new BL();+ let t = new LL();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -37297,7 +37322,7 @@ var UL = 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(jT(AT(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(OT(DT(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -37308,7 +37333,7 @@ var UL = 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 BL());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new LL());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -37349,9 +37374,9 @@ var UL = class e {fullCollection: this.fullCollection ?? this.collection});}-}, Bue = class {+}, Wue = class {build(e, t) {- return this.context = t, WL(() => this.iterateCollection(e));+ return this.context = t, VL(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -37433,10 +37458,10 @@ var UL = class e {...a,key: l,index: s,- wrapper: Vue(e.wrapper, a.wrapper)+ wrapper: Gue(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 <${GL(t.type)}> in <${GL(r?.type ?? "unknown parent type")}>. Only <${GL(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 <${HL(t.type)}> in <${HL(r?.type ?? "unknown parent type")}>. Only <${HL(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -37458,7 +37483,7 @@ var UL = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: WL(function* () {+ childNodes: VL(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -37477,7 +37502,7 @@ var UL = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function WL(e) {+function VL(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -37485,17 +37510,17 @@ function WL(e) {for (let e of n) t.push(e), yield e;} };}-function Vue(e, t) {+function Gue(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function GL(e) {+function HL(e) {return e[0].toUpperCase() + e.slice(1);}// node_modules/react-stately/dist/private/collections/useCollection.mjs-function KL(e, t, n) {- let r = (0, P.useMemo)(() => new Bue(), []), { children: i, items: a, collection: o } = e;+function UL(e, t, n) {+ let r = (0, P.useMemo)(() => new Wue(), []), { children: i, items: a, collection: o } = e;return (0, P.useMemo)(() => o || t(r.build({children: i,items: a@@ -37509,27 +37534,27 @@ function KL(e, t, n) {]);}// node_modules/react-stately/dist/private/list/useListState.mjs-function qL(e) {- let { filter: t, layoutDelegate: n } = e, r = VL(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = KL(e, (0, P.useCallback)((e) => t ? new zL(t(e)) : new zL(e), [t]), (0, P.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, P.useMemo)(() => new UL(a, r, { layoutDelegate: n }), [+function WL(e) {+ let { filter: t, layoutDelegate: n } = e, r = RL(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = UL(e, (0, P.useCallback)((e) => t ? new IL(t(e)) : new IL(e), [t]), (0, P.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, P.useMemo)(() => new BL(a, r, { layoutDelegate: n }), [a,r,n]);- return JL(a, o), {+ return GL(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Hue(e, t) {+function Kue(e, t) {let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return JL(n, r), {+ return GL(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function JL(e, t) {+function GL(e, t) {let n = (0, P.useRef)(null);(0, P.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -37556,15 +37581,15 @@ function JL(e, t) {}, [e, t]);}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function YL(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = jS((e) => {+function KL(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = kS((e) => {for (let t of e) t.isIntersecting && r && r();});- Hb(() => {+ Bb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: WC(t?.current),+ root: VC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37579,42 +37604,42 @@ function YL(e, t) {]);}// node_modules/react-aria-components/dist/private/ListBox.mjs-var XL = /*#__PURE__*/ (0, P.createContext)(null), ZL = /*#__PURE__*/ (0, P.createContext)(null), Uue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, XL);- let n = (0, P.useContext)(ZL);- return n ? /*#__PURE__*/ P.createElement(QL, {+var qL = /*#__PURE__*/ (0, P.createContext)(null), JL = /*#__PURE__*/ (0, P.createContext)(null), que = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, qL);+ let n = (0, P.useContext)(JL);+ return n ? /*#__PURE__*/ P.createElement(YL, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ P.createElement(uS, { content: /*#__PURE__*/ P.createElement(_S, e) }, (n) => /*#__PURE__*/ P.createElement(Wue, {+ }) : /*#__PURE__*/ P.createElement(cS, { content: /*#__PURE__*/ P.createElement(hS, e) }, (n) => /*#__PURE__*/ P.createElement(Jue, {props: e,listBoxRef: t,collection: n}));});-function Wue({ props: e, listBoxRef: t, collection: n }) {+function Jue({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, P.useContext)(EI), i = qL({+ let { layoutDelegate: r } = (0, P.useContext)(CI), i = WL({...e,layoutDelegate: r});- return /*#__PURE__*/ P.createElement(QL, {+ return /*#__PURE__*/ P.createElement(YL, {state: i,props: e,listBoxRef: t});}-function QL({ state: e, props: t, listBoxRef: n }) {- [t, n] = mI(t, n, bI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Hue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = zS(), { disabledBehavior: p, disabledKeys: m } = l, h = zT({+function YL({ state: e, props: t, listBoxRef: n }) {+ [t, n] = dI(t, n, _I);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Kue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = LS(), { disabledBehavior: p, disabledKeys: m } = l, h = IT({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(EI), b = (0, P.useMemo)(() => t.keyboardDelegate || new Vw({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(CI), b = (0, P.useMemo)(() => t.keyboardDelegate || new Rw({collection: c,collator: h,ref: n,@@ -37635,7 +37660,7 @@ function QL({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = aae({+ ]), { listBoxProps: x } = lae({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37667,7 +37692,7 @@ function QL({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: O, isFocused: k, isFocusVisible: A } = KT(), j = s.collection.size === 0, M = {+ let { focusProps: O, isFocused: k, isFocusVisible: A } = UT(), j = s.collection.size === 0, M = {isDropTarget: T,isEmpty: j,isFocused: k,@@ -37675,7 +37700,7 @@ function QL({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = fI({+ }, ee = lI({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -37685,9 +37710,9 @@ function QL({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(M)));- let ne = qS(t, { global: !0 });- return /*#__PURE__*/ P.createElement(_C, null, /*#__PURE__*/ P.createElement(yI.div, {- ...K(ne, ee, x, O, w?.collectionProps),+ let ne = GS(t, { global: !0 });+ return /*#__PURE__*/ P.createElement(hC, null, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(ne, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,onScroll: t.onScroll,@@ -37697,60 +37722,60 @@ function QL({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": A || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ P.createElement(dI, { values: [- [XL, t],- [ZL, s],- [AL, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [qL, t],+ [JL, s],+ [DL, {dragAndDropHooks: r,dragState: S,dropState: C}],- [LL, { elementType: "div" }],- [jL, { render: que }],- [SI, {+ [PL, { elementType: "div" }],+ [OL, { render: Zue }],+ [yI, {name: "ListBoxSection",- render: Gue+ render: Yue}]- ] }, /*#__PURE__*/ P.createElement(FL, null, /*#__PURE__*/ P.createElement(y, {+ ] }, /*#__PURE__*/ P.createElement(ML, null, /*#__PURE__*/ P.createElement(y, {collection: c,scrollRef: n,- persistedKeys: NL(l, r, C),- renderDropIndicator: ML(r, C)+ persistedKeys: AL(l, r, C),+ renderDropIndicator: kL(r, C)}))), te, E));}-function Gue(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, P.useContext)(ZL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(AL), { CollectionBranch: s } = (0, P.useContext)(EI), [c, l] = hI(), { headingProps: u, groupProps: d } = oae({+function Yue(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, P.useContext)(JL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(DL), { CollectionBranch: s } = (0, P.useContext)(CI), [c, l] = fI(), { headingProps: u, groupProps: d } = uae({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = fI({+ }), f = lI({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = qS(e, { global: !0 });- return delete p.id, /*#__PURE__*/ P.createElement(yI.section, {- ...K(p, f, d),+ }), p = GS(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ P.createElement(gI.section, {+ ...G(p, f, d),ref: t- }, /*#__PURE__*/ P.createElement(PL.Provider, { value: {+ }, /*#__PURE__*/ P.createElement(jL.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ P.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: ML(a, o)+ renderDropIndicator: kL(a, o)})));}-var Kue = /*#__PURE__*/ pS(pb, function(e, t, n) {- let r = eS(t), i = (0, P.useContext)(ZL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(AL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = sae({+var Xue = /*#__PURE__*/ dS(db, function(e, t, n) {+ let r = Qx(t), i = (0, P.useContext)(JL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(DL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = dae({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = XT({+ }, i, r), { hoverProps: p, isHovered: m } = qT({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = $x(e), { focusProps: g } = Yx(e), _ = null;+ }), { keyboardProps: h } = Zx(e), { focusProps: g } = qx(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37761,7 +37786,7 @@ var Kue = /*#__PURE__*/ pS(pb, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = fI({+ let y = o && o.isDragging(n.key), b = lI({...e,id: void 0,children: e.children,@@ -37779,9 +37804,9 @@ var Kue = /*#__PURE__*/ pS(pb, function(e, t, n) {(0, P.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? yI.a : yI.div, S = qS(e, { global: !0 });+ let x = e.href ? gI.a : gI.div, S = GS(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ P.createElement(x, {- ...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),+ ...G(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,"data-allows-dragging": !!o || void 0,"data-selected": f.isSelected || void 0,@@ -37793,29 +37818,29 @@ var Kue = /*#__PURE__*/ pS(pb, 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__*/ P.createElement(dI, { values: [[FI, { slots: {- [uI]: u,+ }, /*#__PURE__*/ P.createElement(cI, { values: [[MI, { slots: {+ [sI]: u,label: u,description: d- } }], [IL, { isSelected: f.isSelected }]] }, b.children));+ } }], [NL, { isSelected: f.isSelected }]] }, b.children));});-function que(e, t) {- t = eS(t);- let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(AL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ P.createElement(Yue, {+function Zue(e, t) {+ t = Qx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(DL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ P.createElement($ue, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function Jue(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = fI({+function Que(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = lI({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(gI.div, {...n,...a,role: "option",@@ -37823,10 +37848,10 @@ function Jue(e, t) {"data-drop-target": r || void 0}));}-var Yue = /*#__PURE__*/ (0, P.forwardRef)(Jue);-pS(fb, function(e, t, n) {- let r = (0, P.useContext)(ZL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);- YL((0, P.useMemo)(() => ({+var $ue = /*#__PURE__*/ (0, P.forwardRef)(Que);+dS(ub, function(e, t, n) {+ let r = (0, P.useContext)(JL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);+ KL((0, P.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -37836,7 +37861,7 @@ pS(fb, function(e, t, n) {o,r?.collection]), c);- let l = fI({+ let l = lI({...s,id: void 0,children: n.rendered,@@ -37849,7 +37874,7 @@ pS(fb, function(e, t, n) {width: 0,height: 0},- inert: RL(!0)+ inert: FL(!0)}, /*#__PURE__*/ P.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -37858,18 +37883,18 @@ pS(fb, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(yI.div, {- ...K(qS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(GS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var Xue = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });+var ede = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function $L(e) {- let [t, n] = vw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);+function XL(e) {+ let [t, n] = hw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);return {isOpen: t,setOpen: n,@@ -37887,15 +37912,15 @@ function $L(e) {};}// node_modules/react-aria/dist/private/utils/animation.mjs-function eR(e, t = !0, n) {+function ZL(e, t = !0, n) {let [r, i] = (0, P.useState)(!0), a = r && t;- return Hb(() => {- if (!t && e.current) return zx(Tb(e.current, "opacity", "0"), Tb(e.current, "clip", "rect(0 0 0 0)"), Tb(e.current, "clip-path", "inset(50%)"), Tb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), Hb(() => {+ return Bb(() => {+ if (!t && e.current) return Lx(Cb(e.current, "opacity", "0"), Cb(e.current, "clip", "rect(0 0 0 0)"), Cb(e.current, "clip-path", "inset(50%)"), Cb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), Bb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), nR(e, a, n, (0, P.useCallback)(() => i(!1), [])), a;+ }, [e, a]), $L(e, a, n, (0, P.useCallback)(() => i(!1), [])), a;}-function tR(e, t, n) {+function QL(e, t, n) {let [r, i] = (0, P.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -37905,13 +37930,13 @@ function tR(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return nR(e, a, n, (0, P.useCallback)(() => {+ return $L(e, a, n, (0, P.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function nR(e, t, n, r) {- let i = (0, P.useRef)(null), a = jS(n);- Hb(() => {+function $L(e, t, n, r) {+ let i = (0, P.useRef)(null), a = kS(n);+ Bb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -37923,7 +37948,7 @@ function nR(e, t, n, r) {return;}Promise.all([n, ...o.map((e) => e.finished)]).then(() => {- (0, Lt.flushSync)(() => {+ (0, Rt.flushSync)(() => {r();});}).catch(() => {});@@ -37936,9 +37961,9 @@ function nR(e, t, n, r) {]);}// node_modules/react-aria-components/dist/private/Popover.mjs-var rR = /*#__PURE__*/ (0, P.createContext)(null), iR = /*#__PURE__*/ (0, P.createContext)(null), aR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, rR);- let n = (0, P.useContext)(_R), r = $L(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = tR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = oS(), { direction: c } = zS();+var eR = /*#__PURE__*/ (0, P.createContext)(null), tR = /*#__PURE__*/ (0, P.createContext)(null), nR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, eR);+ let n = (0, P.useContext)(mR), r = XL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = QL(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = iS(), { direction: c } = LS();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -37949,7 +37974,7 @@ var rR = /*#__PURE__*/ (0, P.createContext)(null), iR = /*#__PURE__*/ (0, P.creadefaultChildren: null})), /*#__PURE__*/ P.createElement(P.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(Zue, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(tde, {...e,triggerRef: e.triggerRef,state: i,@@ -37958,13 +37983,13 @@ var rR = /*#__PURE__*/ (0, P.createContext)(null), iR = /*#__PURE__*/ (0, P.creadir: c});});-function Zue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(iR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Nae({+function tde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(tR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Lae({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = eR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = fI({+ }, e), g = i.popoverRef, _ = ZL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = lI({...i,defaultClassName: "react-aria-Popover",values: {@@ -37974,10 +37999,10 @@ function Zue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, P.useState)(i.trigger === "PreviewTrigger");- Hb(() => {+ Bb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, P.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Dx() !== "pointer") && g.current && !jb(g.current) && Rx(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Tx() !== "pointer") && g.current && !kb(g.current) && Ix(g.current);}, [x,g,@@ -37985,12 +38010,12 @@ function Zue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, P.useMemo)(() => {let e = y.children;- for (let t of [rR, ...r ?? []]) e = /*#__PURE__*/ P.createElement(t.Provider, { value: null }, e);+ for (let t of [eR, ...r ?? []]) e = /*#__PURE__*/ P.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, P.useState)(null), E = (0, P.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- Hb(E, [E]), JE({+ Bb(E, [E]), GE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38000,9 +38025,9 @@ function Zue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- Hb(() => LD(() => u(!0)), []);- let O = /*#__PURE__*/ P.createElement(yI.div, {- ...K(qS(i, { global: !0 }), d),+ Bb(() => PD(() => u(!0)), []);+ let O = /*#__PURE__*/ P.createElement(gI.div, {+ ...G(GS(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38017,17 +38042,17 @@ function Zue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ P.createElement(AD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(Xue.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ P.createElement(DD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(ede.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ P.createElement(AD, { onDismiss: e.close }));- return c ? /*#__PURE__*/ P.createElement(WT, {+ } }, C), /*#__PURE__*/ P.createElement(DD, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ P.createElement(VT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, O) : /*#__PURE__*/ P.createElement(WT, {+ }, O) : /*#__PURE__*/ P.createElement(VT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -38042,13 +38067,13 @@ function Zue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ P.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ P.createElement(iR.Provider, { value: o }, O)));+ }, /*#__PURE__*/ P.createElement(tR.Provider, { value: o }, O)));}// node_modules/react-aria-components/dist/private/Keyboard.mjs-var Que = /*#__PURE__*/ (0, P.createContext)({});+var nde = /*#__PURE__*/ (0, P.createContext)({});// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function oR(e) {- let t = $L(e), [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)([]), o = () => {+function rR(e) {+ let t = XL(e), [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -38073,7 +38098,7 @@ function oR(e) {};}// node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var $ue = class {+var rde = 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) => {@@ -38116,8 +38141,8 @@ var $ue = class {}};// node_modules/react-stately/dist/private/tree/useTreeState.mjs-function sR(e) {- let { onExpandedChange: t } = e, [n, r] = vw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = VL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = KL(e, (0, P.useCallback)((e) => new $ue(e, { expandedKeys: n }), [n]), null);+function iR(e) {+ let { onExpandedChange: t } = e, [n, r] = hw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = RL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = UL(e, (0, P.useCallback)((e) => new rde(e, { expandedKeys: n }), [n]), null);return (0, P.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38125,31 +38150,31 @@ function sR(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(ede(n, e));+ r(ide(n, e));},setExpandedKeys: r,- selectionManager: new UL(o, i)+ selectionManager: new BL(o, i)};}-function ede(e, t) {+function ide(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 cR = /*#__PURE__*/ (0, P.createContext)(null), lR = /*#__PURE__*/ (0, P.createContext)(null), uR = /*#__PURE__*/ (0, P.createContext)(null), dR = /*#__PURE__*/ (0, P.createContext)(null);-function tde(e) {- let t = oR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = TT({+var aR = /*#__PURE__*/ (0, P.createContext)(null), oR = /*#__PURE__*/ (0, P.createContext)(null), sR = /*#__PURE__*/ (0, P.createContext)(null), cR = /*#__PURE__*/ (0, P.createContext)(null);+function ade(e) {+ let t = rR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = ST({...e,type: "menu"}, t, n), a = (0, P.useRef)(null);- return oS() ? null : /*#__PURE__*/ P.createElement(dI, { values: [- [cR, {+ return iS() ? null : /*#__PURE__*/ P.createElement(cI, { values: [+ [aR, {...i,ref: a}],- [_R, t],- [uR, t],- [rR, {+ [mR, t],+ [sR, t],+ [eR, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -38157,14 +38182,14 @@ function tde(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ P.createElement(Wie, {+ ] }, /*#__PURE__*/ P.createElement(Jie, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var nde = /*#__PURE__*/ (0, P.createContext)(null);-(class extends ub {+var ode = /*#__PURE__*/ (0, P.createContext)(null);+(class extends cb {static {this.type = "submenutrigger";}@@ -38177,24 +38202,24 @@ var nde = /*#__PURE__*/ (0, P.createContext)(null);return null;}});-var rde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return [e, t] = mI(e, t, cR), /*#__PURE__*/ P.createElement(uS, { content: /*#__PURE__*/ P.createElement(_S, e) }, (n) => /*#__PURE__*/ P.createElement(ide, {+var sde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ return [e, t] = dI(e, t, aR), /*#__PURE__*/ P.createElement(cS, { content: /*#__PURE__*/ P.createElement(hS, e) }, (n) => /*#__PURE__*/ P.createElement(cde, {props: e,collection: n,menuRef: t}));});-function ide({ props: e, collection: t, menuRef: n }) {- [e, n] = mI(e, n, bI);- let { filter: r, ...i } = e, a = (0, P.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = sR({+function cde({ props: e, collection: t, menuRef: n }) {+ [e, n] = dI(e, n, _I);+ let { filter: r, ...i } = e, a = (0, P.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = iR({...e,collection: a,children: void 0- }), s = (0, P.useContext)(uR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(EI), { menuProps: u } = cae({+ }), s = (0, P.useContext)(sR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(CI), { menuProps: u } = fae({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = fI({+ }, o, n), d = lI({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38204,36 +38229,36 @@ function ide({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(_C, null, /*#__PURE__*/ P.createElement(yI.div, {- ...K(p, d, u),+ let p = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(hC, null, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ P.createElement(dI, { values: [- [lR, o],- [LL, { elementType: "div" }],- [SI, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [oR, o],+ [PL, { elementType: "div" }],+ [yI, {name: "MenuSection",- render: fR+ render: lR}],- [nde, {+ [ode, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [mR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [bI, null],- [xI, null],- [dR, o.selectionManager],- [uR, s ?? oR({})]- ] }, /*#__PURE__*/ P.createElement(FL, null, /*#__PURE__*/ P.createElement(l, {+ [dR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [_I, null],+ [vI, null],+ [cR, o.selectionManager],+ [sR, s ?? rR({})]+ ] }, /*#__PURE__*/ P.createElement(ML, null, /*#__PURE__*/ P.createElement(l, {collection: o.collection,- persistedKeys: DI(o.selectionManager.focusedKey),+ persistedKeys: wI(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var ade = class extends UL {+var lde = class extends BL {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38253,11 +38278,11 @@ var ade = class extends UL {return this.parent.childFocusStrategy;}};-function fR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, P.useContext)(lR), { CollectionBranch: a } = (0, P.useContext)(EI), [o, s] = hI(), { headingProps: c, groupProps: l } = uae({+function lR(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, P.useContext)(oR), { CollectionBranch: a } = (0, P.useContext)(CI), [o, s] = fI(), { headingProps: c, groupProps: l } = mae({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = fI({+ }), u = lI({...e,id: void 0,children: void 0,@@ -38265,31 +38290,31 @@ function fR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, P.useContext)(dR), f = VL(e), p = e.selectionMode == null ? d : new ade(d, f), m = pI(mR)?.shouldCloseOnSelect, h = qS(e, { global: !0 });- return delete h.id, /*#__PURE__*/ P.createElement(yI.section, {- ...K(h, u, l),+ }), d = (0, P.useContext)(cR), f = RL(e), p = e.selectionMode == null ? d : new lde(d, f), m = uI(dR)?.shouldCloseOnSelect, h = GS(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ P.createElement(gI.section, {+ ...G(h, u, l),ref: t- }, /*#__PURE__*/ P.createElement(dI, { values: [- [PL, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [jL, {...c,ref: o}],- [dR, p],- [mR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [cR, p],+ [dR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ P.createElement(a, {collection: i.collection,parent: n})));}-var pR = /*#__PURE__*/ mS(Hne, fR), mR = /*#__PURE__*/ (0, P.createContext)(null), hR = /*#__PURE__*/ pS(pb, function(e, t, n) {- [e, t] = mI(e, t, mR);- let r = pI(mR)?.id, i = (0, P.useContext)(lR), a = eS(t), o = (0, P.useContext)(dR), { isVirtualized: s } = (0, P.useContext)(EI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = lae({+var uR = /*#__PURE__*/ fS(Gne, lR), dR = /*#__PURE__*/ (0, P.createContext)(null), fR = /*#__PURE__*/ dS(db, function(e, t, n) {+ [e, t] = dI(e, t, dR);+ let r = uI(dR)?.id, i = (0, P.useContext)(oR), a = Qx(t), o = (0, P.useContext)(cR), { isVirtualized: s } = (0, P.useContext)(CI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = pae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = XT({ isDisabled: f.isDisabled }), h = fI({+ }, i, a), { hoverProps: p, isHovered: m } = qT({ isDisabled: f.isDisabled }), h = lI({...e,id: void 0,children: n.rendered,@@ -38303,9 +38328,9 @@ var pR = /*#__PURE__*/ mS(Hne, fR), mR = /*#__PURE__*/ (0, P.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? yI.a : yI.div, _ = qS(e, { global: !0 });+ }), g = e.href ? gI.a : gI.div, _ = GS(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(g, {- ...K(_, h, c, p),+ ...G(_, h, c, p),ref: a,"data-disabled": f.isDisabled || void 0,"data-hovered": m || void 0,@@ -38316,19 +38341,19 @@ var pR = /*#__PURE__*/ mS(Hne, fR), mR = /*#__PURE__*/ (0, P.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__*/ P.createElement(dI, { values: [- [FI, { slots: {- [uI]: l,+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [MI, { slots: {+ [sI]: l,label: l,description: u} }],- [Que, d],- [IL, { isSelected: f.isSelected }]+ [nde, d],+ [NL, { isSelected: f.isSelected }]] }, h.children));});-pS(fb, function(e, t, n) {- let r = (0, P.useContext)(lR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);- YL((0, P.useMemo)(() => ({+dS(ub, function(e, t, n) {+ let r = (0, P.useContext)(oR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);+ KL((0, P.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38338,7 +38363,7 @@ pS(fb, function(e, t, n) {o,r?.collection]), c);- let l = fI({+ let l = lI({...s,id: void 0,children: n.rendered,@@ -38351,7 +38376,7 @@ pS(fb, function(e, t, n) {width: 0,height: 0},- inert: RL(!0)+ inert: FL(!0)}, /*#__PURE__*/ P.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38360,89 +38385,89 @@ pS(fb, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(yI.div, {- ...K(qS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(GS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/Dialog.mjs-var gR = /*#__PURE__*/ (0, P.createContext)(null), _R = /*#__PURE__*/ (0, P.createContext)(null), vR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+var pR = /*#__PURE__*/ (0, P.createContext)(null), mR = /*#__PURE__*/ (0, P.createContext)(null), hR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = mI(e, t, gR);- let { dialogProps: r, titleProps: i, contentProps: a } = Kie({+ [e, t] = dI(e, t, pR);+ let { dialogProps: r, titleProps: i, contentProps: a } = Xie({...e,"aria-labelledby": n- }, t), o = (0, P.useContext)(_R);+ }, t), o = (0, P.useContext)(mR);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = fI({+ let s = lI({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.section, {- ...K(c, s, r),+ }), c = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(gI.section, {+ ...G(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ P.createElement(dI, { values: [- [NI, { slots: {- [uI]: {},+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [AI, { slots: {+ [sI]: {},title: {...i,level: 2}} }],- [FI, { slots: {- [uI]: {},+ [MI, { slots: {+ [sI]: {},description: a} }],- [jI, { slots: {- [uI]: {},+ [OI, { slots: {+ [sI]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), yR = typeof document < "u" && window.visualViewport;-function ode() {- let e = dx(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {+}), gR = typeof document < "u" && window.visualViewport;+function ude() {+ let e = lx(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {width: 0,height: 0- } : bR());+ } : _R());return (0, P.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- yR && yR.scale > 1 || e(bR());+ gR && gR.scale > 1 || e(_R());}, i = (n) => {- yR && yR.scale > 1 || OS(G(n)) && (t.current = LD((t) => {+ gR && gR.scale > 1 || ES(W(n)) && (t.current = PD((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(bR()), $b() && ex() && window.addEventListener("blur", i, !0), yR ? yR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), $b() && ex() && window.removeEventListener("blur", i, !0), yR ? yR.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(_R()), Zb() && Qb() && window.addEventListener("blur", i, !0), gR ? gR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), Zb() && Qb() && window.removeEventListener("blur", i, !0), gR ? gR.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function bR() {+function _R() {return {- width: yR ? Math.min(yR.width * yR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: yR ? yR.height * yR.scale : document.documentElement.clientHeight+ width: gR ? Math.min(gR.width * gR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: gR ? gR.height * gR.scale : document.documentElement.clientHeight};}// node_modules/react-aria-components/dist/private/Modal.mjs-var sde = /*#__PURE__*/ (0, P.createContext)(null), xR = /*#__PURE__*/ (0, P.createContext)(null), cde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- if ((0, P.useContext)(xR)) return /*#__PURE__*/ P.createElement(CR, {+var dde = /*#__PURE__*/ (0, P.createContext)(null), vR = /*#__PURE__*/ (0, P.createContext)(null), fde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ if ((0, P.useContext)(vR)) return /*#__PURE__*/ P.createElement(bR, {...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__*/ P.createElement(SR, {+ return /*#__PURE__*/ P.createElement(yR, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -38452,15 +38477,15 @@ var sde = /*#__PURE__*/ (0, P.createContext)(null), xR = /*#__PURE__*/ (0, P.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ P.createElement(CR, {+ }, /*#__PURE__*/ P.createElement(bR, {...f,modalRef: t}, s));});-function lde(e, t) {- [e, t] = mI(e, t, sde);- let n = (0, P.useContext)(_R), r = $L(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = eS(t), o = (0, P.useRef)(null), s = tR(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = tR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = dx();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(ude, {+function pde(e, t) {+ [e, t] = dI(e, t, dde);+ let n = (0, P.useContext)(mR), r = XL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Qx(t), o = (0, P.useRef)(null), s = QL(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = QL(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = lx();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(mde, {...e,state: i,isExiting: u,@@ -38469,12 +38494,12 @@ function lde(e, t) {onExitRef: c});}-var SR = /*#__PURE__*/ (0, P.forwardRef)(lde);-function ude({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = eR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = xae({+var yR = /*#__PURE__*/ (0, P.forwardRef)(pde);+function mde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = ZL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Tae({...n,isEntering: c- }, i, r), d = (0, P.useContext)(gR), f = t ? dde(d, { isEntering: c }) : d, p = fI({+ }, i, r), d = (0, P.useContext)(pR), f = t ? hde(d, { isEntering: c }) : d, p = lI({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38482,9 +38507,9 @@ function ude({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = ode(), h, g;+ }), m = ude(), h, g;if (typeof document < "u") {- let e = UC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = BC(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 _ = {@@ -38494,18 +38519,18 @@ function ude({ 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 Hb(() => LD(() => o(!0)), []), /*#__PURE__*/ P.createElement(WT, {+ return Bb(() => PD(() => o(!0)), []), /*#__PURE__*/ P.createElement(VT, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ P.createElement(yI.div, {- ...K(qS(n, { global: !0 }), u),+ }, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(GS(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ P.createElement(dI, { values: [- [xR, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [vR, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -38513,11 +38538,11 @@ function ude({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [_R, i],- [gR, f]+ [mR, i],+ [pR, f]] }, p.children)));}-function dde(e, t) {+function hde(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -38534,8 +38559,8 @@ function dde(e, t) {...t};}-function CR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(xR), s = (0, P.useContext)(_R), c = eS((0, P.useMemo)(() => Gx(e.modalRef, n), [e.modalRef, n])), l = eR(c, o, e.onEnter), u = fI({+function bR(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(vR), s = (0, P.useContext)(mR), c = Qx((0, P.useMemo)(() => Ux(e.modalRef, n), [e.modalRef, n])), l = ZL(c, o, e.onEnter), u = lI({...e,defaultClassName: "react-aria-Modal",values: {@@ -38544,20 +38569,20 @@ function CR(e) {state: s}});- return Hb(() => {+ return Bb(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ P.createElement(yI.div, {- ...K(qS(e, { global: !0 }), t),+ }), /*#__PURE__*/ P.createElement(gI.div, {+ ...G(GS(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ P.createElement(AD, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ P.createElement(DD, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var fde = Math.round(Math.random() * 1e10), pde = 0;-function mde(e) {- let t = (0, P.useMemo)(() => e.name || `radio-group-${fde}-${++pde}`, [e.name]), [n, r] = vw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = lw({+var gde = Math.round(Math.random() * 1e10), _de = 0;+function vde(e) {+ let t = (0, P.useMemo)(() => e.name || `radio-group-${gde}-${++_de}`, [e.name]), [n, r] = hw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = ow({...e,value: n}), c = (t) => {@@ -38579,16 +38604,16 @@ function mde(e) {};}// node_modules/react-aria-components/dist/private/RadioGroup.mjs-var hde = /*#__PURE__*/ (0, P.createContext)(null), gde = /*#__PURE__*/ (0, P.createContext)(null), wR = /*#__PURE__*/ (0, P.createContext)(null), TR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, hde);- let { validationBehavior: n } = pI(LI) || {}, r = e.validationBehavior ?? n ?? "native", i = mde({+var yde = /*#__PURE__*/ (0, P.createContext)(null), bde = /*#__PURE__*/ (0, P.createContext)(null), xR = /*#__PURE__*/ (0, P.createContext)(null), SR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, yde);+ let { validationBehavior: n } = uI(PI) || {}, r = e.validationBehavior ?? n ?? "native", i = vde({...e,validationBehavior: r- }), [a, o] = hI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Fae({+ }), [a, o] = fI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = zae({...e,label: o,validationBehavior: r- }, i), f = fI({+ }, i), f = lI({...e,values: {orientation: e.orientation || "vertical",@@ -38599,9 +38624,9 @@ var hde = /*#__PURE__*/ (0, P.createContext)(null), gde = /*#__PURE__*/ (0, P.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.div, {- ...K(p, f, s),+ }), p = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(gI.div, {+ ...G(p, f, s),ref: t,slot: e.slot || void 0,"data-orientation": e.orientation || "vertical",@@ -38609,39 +38634,39 @@ var hde = /*#__PURE__*/ (0, P.createContext)(null), gde = /*#__PURE__*/ (0, P.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ P.createElement(dI, { values: [- [wR, i],- [OI, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [xR, i],+ [TI, {...c,ref: a,elementType: "span"}],- [FI, { slots: {+ [MI, { slots: {description: l,errorMessage: u} }],- [II, d]- ] }, /*#__PURE__*/ P.createElement(FL, null, f.children)));-}), ER = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [NI, d]+ ] }, /*#__PURE__*/ P.createElement(ML, null, f.children)));+}), CR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = mI(r, t, gde);- let i = P.useContext(wR), a = eS((0, P.useMemo)(() => Gx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Pae({- ...gI(e),+ [e, t] = dI(r, t, bde);+ let i = P.useContext(xR), a = Qx((0, P.useMemo)(() => Ux(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Rae({+ ...pI(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ P.createElement(DR.Provider, { value: {+ return /*#__PURE__*/ P.createElement(wR.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ P.createElement(_de, {+ } }, /*#__PURE__*/ P.createElement(xde, {...e,ref: t}));-}), DR = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(DR), l = P.useContext(wR), { isFocused: u, isFocusVisible: d, focusProps: f } = KT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = XT({+}), wR = /*#__PURE__*/ (0, P.createContext)(null), xde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(wR), l = P.useContext(xR), { isFocused: u, isFocusVisible: d, focusProps: f } = UT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = qT({...e,isDisabled: p- }), g = fI({+ }), g = lI({...e,defaultClassName: s,values: {@@ -38655,9 +38680,9 @@ var hde = /*#__PURE__*/ (0, P.createContext)(null), gde = /*#__PURE__*/ (0, P.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = qS(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(yI.label, {- ...K(_, n, m, g),+ }), _ = GS(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(gI.label, {+ ...G(_, n, m, g),ref: t,"data-selected": i || void 0,"data-pressed": o || void 0,@@ -38668,18 +38693,18 @@ var hde = /*#__PURE__*/ (0, P.createContext)(null), gde = /*#__PURE__*/ (0, P.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ P.createElement(Ow, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {- ...K(r, f),+ }, /*#__PURE__*/ P.createElement(Tw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ ...G(r, f),ref: c})), g.children);});// node_modules/react-stately/dist/private/select/useSelectState.mjs-function vde(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = $L(e), [i, a] = (0, P.useState)(null), o = (0, P.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Sde(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = XL(e), [i, a] = (0, P.useState)(null), o = (0, P.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = vw((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = hw((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -38691,12 +38716,12 @@ function vde(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = qL({+ }, d = WL({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, P.useMemo)(() => yde(l), [l]),+ selectedKeys: (0, P.useMemo)(() => Cde(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -38706,7 +38731,7 @@ function vde(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = lw({+ }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = ow({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, P.useState)(!1), [_] = (0, P.useState)(l);@@ -38733,15 +38758,15 @@ function vde(e) {setFocused: g};}-function yde(e) {+function Cde(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}// node_modules/react-aria-components/dist/private/Select.mjs-function bde(e) {+function wde(e) {return e && e.__esModule ? e.default : e;}-var OR = /*#__PURE__*/ (0, P.createContext)(null), kR = /*#__PURE__*/ (0, P.createContext)(null), xde = /*#__PURE__*/ aS(function(e, t) {- [e, t] = mI(e, t, OR);+var TR = /*#__PURE__*/ (0, P.createContext)(null), ER = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ rS(function(e, t) {+ [e, t] = dI(e, t, TR);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, P.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -38756,24 +38781,24 @@ var OR = /*#__PURE__*/ (0, P.createContext)(null), kR = /*#__PURE__*/ (0, P.creai,a]);- return /*#__PURE__*/ P.createElement(uS, { content: o }, (n) => /*#__PURE__*/ P.createElement(Cde, {+ return /*#__PURE__*/ P.createElement(cS, { content: o }, (n) => /*#__PURE__*/ P.createElement(Dde, {props: e,collection: n,selectRef: t}));-}), Sde = [+}), Ede = [+ TI,OI,- jI,- FI+ MI];-function Cde({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = pI(LI) || {}, i = e.validationBehavior ?? r ?? "native", a = vde({+function Dde({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = uI(PI) || {}, i = e.validationBehavior ?? r ?? "native", a = Sde({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = KT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = hI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Iae({- ...gI(e),+ }), { isFocusVisible: o, focusProps: s } = UT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = fI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Bae({+ ...pI(e),label: u,validationBehavior: i}, a, c), y = (0, P.useMemo)(() => ({@@ -38790,49 +38815,49 @@ function Cde({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = fI({+ ]), b = lI({...e,values: y,defaultClassName: "react-aria-Select"- }), x = qS(e, { global: !0 });+ }), x = GS(e, { global: !0 });delete x.id;let S = (0, P.useRef)(null);- return /*#__PURE__*/ P.createElement(dI, { values: [- [OR, e],- [kR, a],- [AR, p],- [OI, {+ return /*#__PURE__*/ P.createElement(cI, { values: [+ [TR, e],+ [ER, a],+ [DR, p],+ [TI, {...d,ref: l,elementType: "span"}],- [jI, {+ [OI, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [_R, a],- [rR, {+ [mR, a],+ [eR, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: Sde+ clearContexts: Ede}],- [XL, {+ [qL, {...m,ref: S}],- [ZL, a],- [FI, { slots: {+ [JL, a],+ [MI, { slots: {description: h,errorMessage: g} }],- [II, v]- ] }, /*#__PURE__*/ P.createElement(yI.div, {- ...K(x, b, s),+ [NI, v]+ ] }, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(x, b, s),ref: t,slot: e.slot || void 0,"data-focused": a.isFocused || void 0,@@ -38841,14 +38866,14 @@ function Cde({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ P.createElement(Rae, {+ }, b.children, /*#__PURE__*/ P.createElement(Hae, {..._,autoComplete: e.autoComplete})));}-for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(function(e, t) {- [e, t] = mI(e, t, AR);- let n = (0, P.useContext)(kR), { placeholder: r } = pI(OR), i = n.selectedItems.map((e) => {+for (var DR = /*#__PURE__*/ (0, P.createContext)(null), Ode = /*#__PURE__*/ rS(function(e, t) {+ [e, t] = dI(e, t, DR);+ let n = (0, P.useContext)(ER), { placeholder: r } = uI(TR), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -38860,7 +38885,7 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = qie(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = Zie(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -38875,7 +38900,7 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(fa,o,i- ]), u = GS(bde(kL), "react-aria-components"), d = fI({+ ]), u = US(wde(EL), "react-aria-components"), d = lI({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -38886,33 +38911,33 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.span, {+ }), f = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(gI.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ P.createElement(FI.Provider, { value: void 0 }, d.children));-}), Tde = /*#__PURE__*/ (0, P.createContext)(null), jR = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ P.createElement(MI.Provider, { value: void 0 }, d.children));+}), kde = /*#__PURE__*/ (0, P.createContext)(null), OR = /*#__PURE__*/ (0, P.createContext)(null), Ade = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = mI(r, t, Tde);- let i = eS((0, P.useMemo)(() => Gx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = yw(e), o = Bae({- ...gI(e),+ [e, t] = dI(r, t, kde);+ let i = Qx((0, P.useMemo)(() => Ux(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = gw(e), o = Wae({+ ...pI(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ P.createElement(dI, { values: [[jR, a], [MR, {+ return /*#__PURE__*/ P.createElement(cI, { values: [[OR, a], [kR, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ P.createElement(Dde, {+ }]] }, /*#__PURE__*/ P.createElement(jde, {...e,ref: t}));-}), MR = /*#__PURE__*/ (0, P.createContext)(null), Dde = /*#__PURE__*/ (0, P.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, P.useContext)(MR), { isFocused: f, isFocusVisible: p, focusProps: m } = KT(), h = a || o, g = (0, P.useContext)(jR), { hoverProps: _, isHovered: v } = XT({+}), kR = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ (0, P.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, P.useContext)(kR), { isFocused: f, isFocusVisible: p, focusProps: m } = UT(), h = a || o, g = (0, P.useContext)(OR), { hoverProps: _, isHovered: v } = qT({...e,isDisabled: h- }), y = fI({+ }), y = lI({...e,defaultClassName: u,values: {@@ -38927,9 +38952,9 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(fisRequired: d || !1,state: g}- }), b = qS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(yI.label, {- ...K(b, n, _, y),+ }), b = GS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(gI.label, {+ ...G(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -38941,11 +38966,11 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ P.createElement(Ow, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {- ...K(r, m),+ }, /*#__PURE__*/ P.createElement(Tw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ ...G(r, m),ref: l})), y.children);-}), NR = 10, PR = 5, FR = class {+}), AR = 10, jR = 5, MR = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -38955,7 +38980,7 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(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) > PR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > NR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > jR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > AR && (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);@@ -39034,11 +39059,11 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > PR && i) {+ if (Math.abs(r - c.lastSwitchY) > jR && 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 > NR && a) {+ if (l > AR && 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;}@@ -39053,7 +39078,7 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(fboundaryContext: null};}-}, Ode = class {+}, Mde = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -39123,8 +39148,8 @@ for (var AR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ aS(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, IR = "row-header-column-" + Math.random().toString(36).slice(2), LR = "row-header-column-" + Math.random().toString(36).slice(2); IR === LR;) LR = "row-header-column-" + Math.random().toString(36).slice(2);-function RR(e, t) {+}, NR = "row-header-column-" + Math.random().toString(36).slice(2), PR = "row-header-column-" + Math.random().toString(36).slice(2); NR === PR;) PR = "row-header-column-" + Math.random().toString(36).slice(2);+function FR(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -39208,13 +39233,13 @@ function RR(e, t) {textValue: ""}));}-var kde = class extends Ode {+var Nde = class extends Mde {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: IR,+ key: NR,value: null,textValue: "",level: 0,@@ -39229,7 +39254,7 @@ var kde = class extends Ode {if (n?.showDragButtons) {let e = {type: "column",- key: LR,+ key: PR,value: null,textValue: "",level: 0,@@ -39256,7 +39281,7 @@ var kde = class extends Ode {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = RR(s, a);+ let l = FR(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -39282,10 +39307,10 @@ var kde = class extends Ode {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return jT(this.body.childNodes)?.key ?? null;+ return OT(this.body.childNodes)?.key ?? null;}getLastKey() {- return NT(this.body.childNodes)?.key ?? null;+ return AT(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -39316,15 +39341,15 @@ var kde = class extends Ode {}};// node_modules/react-stately/dist/private/table/TableUtils.mjs-function Ade(e) {+function Pde(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function jde(e) {+function Fde(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function zR(e, t) {+function IR(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");@@ -39332,19 +39357,19 @@ function zR(e, t) {}return e;}-function BR(e, t) {- return e == null ? 2 ** 53 - 1 : zR(e, t);+function LR(e, t) {+ return e == null ? 2 ** 53 - 1 : IR(e, t);}-function VR(e, t) {- return e == null ? 0 : zR(e, t);+function RR(e, t) {+ return e == null ? 0 : IR(e, t);}-function Mde(e, t, n, r, i) {+function Ide(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;- Ade(o) ? (l = zR(o, e), s = !0) : (u = jde(o), u <= 0 && (s = !0));- let f = VR(t.minWidth ?? i?.(a) ?? 0, e), p = BR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ Pde(o) ? (l = IR(o, e), s = !0) : (u = Fde(o), u <= 0 && (s = !0));+ let f = RR(t.minWidth ?? i?.(a) ?? 0, e), p = LR(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,@@ -39378,14 +39403,14 @@ function Mde(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Nde(l);+ let u = Lde(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 Nde(e) {+function Lde(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -39393,7 +39418,7 @@ function Nde(e) {}), r;}// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Pde = class {+var Rde = 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);}@@ -39422,18 +39447,18 @@ var Pde = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Mde(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Ide(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, VR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, BR(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, RR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, LR(a.props.maxWidth, e));}), this.columnWidths;}};// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Fde(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, P.useState)(null), s = (0, P.useMemo)(() => new Pde({+function zde(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, P.useState)(null), s = (0, P.useMemo)(() => new Rde({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, P.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, P.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, P.useState)(t.collection.columns);@@ -39484,19 +39509,19 @@ function Fde(e, t) {]);}// node_modules/react-stately/dist/private/grid/useGridState.mjs-function Ide(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || VL(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function Bde(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || RL(e), i = (0, P.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 = AT(n, t);- e = r === "last" ? NT(i)?.key ?? null : jT(i)?.key ?? null;+ let i = DT(n, t);+ e = r === "last" ? AT(i)?.key ?? null : OT(i)?.key ?? null;}}a(e, r);};- let o = (0, P.useMemo)(() => new UL(t, r), [t, r]), s = (0, P.useRef)(null);+ let o = (0, P.useMemo)(() => new BL(t, r), [t, r]), s = (0, P.useRef)(null);return (0, P.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;@@ -39516,7 +39541,7 @@ function Ide(e) {}}if (u) {- let i = u.hasChildNodes ? [...AT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...DT(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);}@@ -39534,11 +39559,11 @@ function Ide(e) {};}// node_modules/react-stately/dist/private/table/useTableState.mjs-var Lde = {+var Vde = {ascending: "descending",descending: "ascending"};-function Rde(e) {+function Hde(e) {let [t, n] = (0, P.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, P.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -39549,11 +39574,11 @@ function Rde(e) {i,r,a- ]), c = KL(e, (0, P.useCallback)((e) => new kde(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Ide({+ ]), c = UL(e, (0, P.useCallback)((e) => new Nde(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Bde({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = vw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = hw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -39565,7 +39590,7 @@ function Rde(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Lde[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? Vde[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -39578,7 +39603,7 @@ function Rde(e) {treeColumn: o};}-function zde(e, t) {+function Ude(e, t) {let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -39587,10 +39612,10 @@ function zde(e, t) {};}// node_modules/react-aria-components/dist/private/Table.mjs-function Bde(e) {+function Wde(e) {return e && e.__esModule ? e.default : e;}-var Vde = class extends mb {+var Gde = class extends fb {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39605,7 +39630,7 @@ var Vde = class extends mb {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new XR(-2);+ return new qR(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -39631,7 +39656,7 @@ var Vde = class extends mb {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = RR(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 = FR(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;@@ -39712,28 +39737,28 @@ var Vde = class extends mb {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new KR(-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 UR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, HR = /*#__PURE__*/ (0, P.createContext)(null), Hde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let n = eS(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);- Hb(() => {+}, zR = /*#__PURE__*/ (0, P.createContext)(null), Kde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let n = Qx(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);+ Bb(() => {let e = r.current;- for (; e && e !== n.current && !UC(e);) e = e.parentElement;+ for (; e && e !== n.current && !BC(e);) e = e.parentElement;i.current = e;- }, [n]), JE({+ }, [n]), GE({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), Hb(() => {+ }), Bb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, P.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Fde,+ useTableColumnResizeState: zde,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -39744,17 +39769,17 @@ var Vde = class extends mb {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(gI.div, {render: e.render,- ...qS(e, { global: !0 }),+ ...GS(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ P.createElement(HR.Provider, { value: s }, e.children));-}), Ude = /*#__PURE__*/ (0, P.createContext)(null), UR = /*#__PURE__*/ (0, P.createContext)(null), WR = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, Ude);- let n = VL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({+ }, /*#__PURE__*/ P.createElement(zR.Provider, { value: s }, e.children));+}), qde = /*#__PURE__*/ (0, P.createContext)(null), BR = /*#__PURE__*/ (0, P.createContext)(null), VR = /*#__PURE__*/ (0, P.createContext)(null), Jde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, qde);+ let n = RL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -39764,26 +39789,26 @@ var Vde = class extends mb {i,a,o- ]), c = /*#__PURE__*/ P.createElement(qde.Provider, { value: s }, /*#__PURE__*/ P.createElement(_S, e));- return /*#__PURE__*/ P.createElement(uS, {+ ]), c = /*#__PURE__*/ P.createElement(Zde.Provider, { value: s }, /*#__PURE__*/ P.createElement(hS, e));+ return /*#__PURE__*/ P.createElement(cS, {content: c,- createCollection: () => new Vde()- }, (r) => /*#__PURE__*/ P.createElement(Kde, {+ createCollection: () => new Gde()+ }, (r) => /*#__PURE__*/ P.createElement(Xde, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), Gde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}), Yde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);+ return n ? /*#__PURE__*/ P.createElement(gI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.table, {+ }) : /*#__PURE__*/ P.createElement(gI.table, {...e,ref: t});-}), GR = {+}), HR = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -39793,26 +39818,26 @@ var Vde = class extends mb {rtl: "ArrowRight"}};-function Kde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = mI(e, t, bI);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(HR);- t = eS((0, P.useMemo)(() => Gx(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = vw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+function Xde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = dI(e, t, _I);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(zR);+ t = Qx((0, P.useMemo)(() => Ux(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = hw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, P.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = Rde({+ let d = Hde({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = zde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(EI), { dragAndDropHooks: _ } = e, { gridProps: v } = Gae({+ }), f = Ude(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(CI), { dragAndDropHooks: _ } = e, { gridProps: v } = Yae({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, P.useRef)(b), (0, P.useRef)(x), (0, P.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = zS(), [k] = (0, P.useState)(() => new FR());+ let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = LS(), [k] = (0, P.useState)(() => new MR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -39827,7 +39852,7 @@ function Kde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new Vw({+ let e = new Rw({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -39847,12 +39872,12 @@ function Kde({ 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 === GR.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === GR.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === HR.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === HR.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 } = KT(), ee = fI({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = UT(), ee = lI({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -39868,20 +39893,20 @@ function Kde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let re = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(dI, { values: [- [UR, f],- [WR, N],- [AL, {+ let re = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(cI, { values: [+ [BR, f],+ [VR, N],+ [DL, {dragAndDropHooks: _,dragState: S,dropState: C}],- [jL, { render: rfe }],- [bI, null],- [xI, null]- ] }, /*#__PURE__*/ P.createElement(_C, null, /*#__PURE__*/ P.createElement(Gde, {- ...K(re, ee, v, A, w?.collectionProps),+ [OL, { render: sfe }],+ [_I, null],+ [vI, null]+ ] }, /*#__PURE__*/ P.createElement(hC, null, /*#__PURE__*/ P.createElement(Yde, {+ ...G(re, ee, v, A, w?.collectionProps),style: ne,ref: t,slot: e.slot || void 0,@@ -39890,55 +39915,55 @@ function Kde({ 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__*/ P.createElement(FL, null, /*#__PURE__*/ P.createElement(g, {+ }, /*#__PURE__*/ P.createElement(ML, null, /*#__PURE__*/ P.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: NL(y, _, C)+ persistedKeys: AL(y, _, C)})))), E);}-var qde = /*#__PURE__*/ (0, P.createContext)(null), KR = class extends ub {+var Zde = /*#__PURE__*/ (0, P.createContext)(null), UR = class extends cb {static {this.type = "tableheader";}-}, Jde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}, Qde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);+ return n ? /*#__PURE__*/ P.createElement(gI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.thead, {+ }) : /*#__PURE__*/ P.createElement(gI.thead, {...e,ref: t});-}), qR = /*#__PURE__*/ mS(KR, (e, t) => {- let n = (0, P.useContext)(UR).collection, r = vb({+}), WR = /*#__PURE__*/ fS(UR, (e, t) => {+ let n = (0, P.useContext)(BR).collection, r = gb({items: n.headerRows,children: (0, P.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ P.createElement(Xde, { item: e });+ case "headerrow": return /*#__PURE__*/ P.createElement(efe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = $O(), { hoverProps: a, isHovered: o } = XT({+ }), { rowGroupProps: i } = XO(), { hoverProps: a, isHovered: o } = qT({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = fI({+ }), s = lI({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ P.createElement(Jde, {- ...K(qS(e, { global: !0 }), i, a),+ return /*#__PURE__*/ P.createElement(Qde, {+ ...G(GS(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ P.createElement(_S, {+}, (e) => /*#__PURE__*/ P.createElement(hS, {dependencies: e.dependencies,items: e.columns-}, e.children)), Yde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);+}, e.children)), $de = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);return n ? /*#__PURE__*/ P.createElement("div", {...e,ref: t@@ -39947,41 +39972,41 @@ var qde = /*#__PURE__*/ (0, P.createContext)(null), KR = class extends ub {ref: t});});-function Xde({ item: e }) {- let t = (0, P.useRef)(null), n = (0, P.useContext)(UR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(EI), { rowProps: a } = Zae({+function efe({ item: e }) {+ let t = (0, P.useRef)(null), n = (0, P.useContext)(BR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(CI), { rowProps: a } = toe({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = ioe(n);- return /*#__PURE__*/ P.createElement(Yde, {+ }, n, t), { checkboxProps: o } = coe(n);+ return /*#__PURE__*/ P.createElement($de, {...a,ref: t- }, /*#__PURE__*/ P.createElement(dI, { values: [[RI, { slots: { selection: o } }], [zI, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [[FI, { slots: { selection: o } }], [II, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {collection: n.collection,parent: e})));}-var Zde = class extends ub {+var tfe = class extends cb {static {this.type = "column";}-}, Qde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}, nfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);+ return n ? /*#__PURE__*/ P.createElement(gI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.th, {+ }) : /*#__PURE__*/ P.createElement(gI.th, {...e,ref: t});-}), JR = /*#__PURE__*/ pS(Zde, (e, t, n) => {- let r = eS(t), i = (0, P.useContext)(UR), { isVirtualized: a } = (0, P.useContext)(EI), { columnHeaderProps: o, isPressed: s } = Jae({+}), GR = /*#__PURE__*/ dS(tfe, (e, t, n) => {+ let r = Qx(t), i = (0, P.useContext)(BR), { isVirtualized: a } = (0, P.useContext)(CI), { columnHeaderProps: o, isPressed: s } = Qae({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = KT(), d = (0, P.useContext)(WR), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = UT(), d = (0, P.useContext)(VR), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = XT({ isDisabled: !e.allowsSorting }), h = fI({+ let { hoverProps: p, isHovered: m } = qT({ isDisabled: !e.allowsSorting }), h = lI({...e,id: void 0,children: n.rendered,@@ -40007,9 +40032,9 @@ var Zde = class extends ub {...g,width: d.getColumnWidth(n.key)});- let _ = qS(e, { global: !0 });- return delete _.id, /*#__PURE__*/ P.createElement(Qde, {- ...K(_, o, u, p),+ let _ = GS(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ P.createElement(nfe, {+ ...G(_, o, u, p),...h,style: g,ref: r,@@ -40020,29 +40045,29 @@ var Zde = class extends ub {"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__*/ P.createElement(dI, { values: [[YR, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [[KR, {column: n,triggerRef: r- }], [EI, CI]] }, h.children));-}), YR = /*#__PURE__*/ (0, P.createContext)(null), $de = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let n = (0, P.useContext)(WR);+ }], [CI, bI]] }, h.children));+}), KR = /*#__PURE__*/ (0, P.createContext)(null), rfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let n = (0, P.useContext)(VR);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = GS(Bde(kL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(HR), { column: s, triggerRef: c } = (0, P.useContext)(YR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Xae({+ let r = US(Wde(EL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(zR), { column: s, triggerRef: c } = (0, P.useContext)(KR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = eoe({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 } = KT(), { hoverProps: _, isHovered: v } = XT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = zS(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = UT(), { hoverProps: _, isHovered: v } = qT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = LS(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = eS(t), [w, T] = (0, P.useState)("");+ let C = Qx(t), [w, T] = (0, P.useState)("");(0, P.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = fI({+ let E = lI({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -40052,11 +40077,11 @@ var Zde = class extends ub {isHovered: v,resizableDirection: S}- }), D = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.div, {+ }), D = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(gI.div, {ref: C,role: "presentation",- ...K(D, E, u, _),+ ...G(D, E, u, _),"data-hovered": v || void 0,"data-focused": h || void 0,"data-focus-visible": g || void 0,@@ -40064,8 +40089,8 @@ var Zde = class extends ub {"data-resizable-direction": S}, E.children, /*#__PURE__*/ P.createElement("input", {ref: l,- ...K(d, m)- }), f && p && /*#__PURE__*/ Lt.createPortal(/*#__PURE__*/ P.createElement("div", {+ ...G(d, m)+ }), f && p && /*#__PURE__*/ Rt.createPortal(/*#__PURE__*/ P.createElement("div", {style: {position: "fixed",top: 0,@@ -40076,24 +40101,24 @@ var Zde = class extends ub {},"data-testid": "cursor-overlay"}), document.body));-}), XR = class extends db {+}), qR = class extends lb {static {this.type = "tablebody";}-}, efe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}, ife = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);+ return n ? /*#__PURE__*/ P.createElement(gI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.tbody, {+ }) : /*#__PURE__*/ P.createElement(gI.tbody, {...e,ref: t});-}), ZR = /*#__PURE__*/ mS(XR, (e, t, n) => {- let r = (0, P.useContext)(UR), { isVirtualized: i } = (0, P.useContext)(EI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(EI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(AL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), JR = /*#__PURE__*/ fS(qR, (e, t, n) => {+ let r = (0, P.useContext)(BR), { isVirtualized: i } = (0, P.useContext)(CI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(CI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(DL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = fI({+ }, p = lI({...e,id: void 0,children: void 0,@@ -40102,33 +40127,33 @@ var Zde = class extends ub {}), 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__*/ P.createElement($R, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ P.createElement(XR, {role: "row",...t,style: r- }, /*#__PURE__*/ P.createElement(tz, {+ }, /*#__PURE__*/ P.createElement(QR, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = $O(), _ = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(efe, {- ...K(_, p, g),+ let { rowGroupProps: g } = XO(), _ = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(ife, {+ ...G(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ P.createElement(cfe, null), /*#__PURE__*/ P.createElement(o, {+ }, l && /*#__PURE__*/ P.createElement(ffe, null), /*#__PURE__*/ P.createElement(o, {collection: a,parent: n,- renderDropIndicator: ML(s, c)+ renderDropIndicator: kL(s, c)}), m);});-(class extends db {+(class extends lb {static {this.type = "tablefooter";}});-var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tfe = class extends ub {+var YR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), afe = class extends cb {static {this.type = "item";}@@ -40140,31 +40165,31 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tf}return null;}-}, $R = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}, XR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);+ return n ? /*#__PURE__*/ P.createElement(gI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.tr, {+ }) : /*#__PURE__*/ P.createElement(gI.tr, {...e,ref: t});-}), ez = /*#__PURE__*/ mS(tfe, (e, t, n) => {- let r = eS(t), i = (0, P.useContext)(UR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(AL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(EI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = eoe({+}), ZR = /*#__PURE__*/ fS(afe, (e, t, n) => {+ let r = Qx(t), i = (0, P.useContext)(BR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(DL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(CI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ioe({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = KT(), { isFocusVisible: _, focusProps: v } = KT({ within: !0 }), { hoverProps: y, isHovered: b } = XT({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = UT(), { isFocusVisible: _, focusProps: v } = UT({ within: !0 }), { hoverProps: y, isHovered: b } = qT({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = roe({ key: n.key }, i), S;+ }), { checkboxProps: x } = soe({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = Dw();+ let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = ww();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -40174,7 +40199,7 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tf(0, P.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 = fI({+ 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 = lI({...k,id: void 0,defaultClassName: "react-aria-Row",@@ -40195,11 +40220,11 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tfisExpanded: j,level: n.level + 1}- }), ee = qS(e, { global: !0 });- return delete ee.id, delete ee.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement($R, {+ }), ee = GS(e, { global: !0 });+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(XR, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ P.createElement(tz, {+ }, /*#__PURE__*/ P.createElement(QR, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -40208,8 +40233,8 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tf...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ P.createElement($R, {- ...K(ee, M, d, g, y, S?.dragProps, v),+ }))), /*#__PURE__*/ P.createElement(XR, {+ ...G(ee, M, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,"data-selected": p.isSelected || void 0,@@ -40224,17 +40249,17 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tf"data-expanded": j || void 0,"data-has-child-items": A || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ P.createElement(dI, { values: [- [RI, { slots: {- [uI]: {},+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [FI, { slots: {+ [sI]: {},selection: x} }],- [zI, { slots: {- [uI]: {},+ [II, { slots: {+ [sI]: {},selection: x} }],- [jI, { slots: {- [uI]: {},+ [OI, { slots: {+ [sI]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -40242,8 +40267,8 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tfstyle: { pointerEvents: "none" }}} }],- [IL, { isSelected: p.isSelected }],- [QR, { isFocusVisibleWithinRow: _ }]+ [NL, { isSelected: p.isSelected }],+ [YR, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ P.createElement(l, {collection: i.collection,parent: n@@ -40251,34 +40276,34 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tf}, (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__*/ P.createElement(_S, {+ return /*#__PURE__*/ P.createElement(hS, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), nfe = class extends ub {+}), ofe = class extends cb {static {this.type = "cell";}-}, tz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}, QR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);+ return n ? /*#__PURE__*/ P.createElement(gI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.td, {+ }) : /*#__PURE__*/ P.createElement(gI.td, {...e,ref: t});-}), nz = /*#__PURE__*/ pS(nfe, (e, t, n) => {- let r = eS(t), i = (0, P.useContext)(UR), { dragState: a } = (0, P.useContext)(AL), { isVirtualized: o } = (0, P.useContext)(EI);+}), $R = /*#__PURE__*/ dS(ofe, (e, t, n) => {+ let r = Qx(t), i = (0, P.useContext)(BR), { dragState: a } = (0, P.useContext)(DL), { isVirtualized: o } = (0, P.useContext)(CI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Kae({+ let { gridCellProps: s, isPressed: c } = Xae({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = KT(), { hoverProps: f, isHovered: p } = XT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(QR), 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 = fI({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = UT(), { hoverProps: f, isHovered: p } = qT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(YR), 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 = lI({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40297,9 +40322,9 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tflevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = qS(e, { global: !0 });- return delete S.id, /*#__PURE__*/ P.createElement(tz, {- ...K(S, x, s, d, f),+ }), S = GS(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ P.createElement(QR, {+ ...G(S, x, s, d, f),ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,@@ -40312,14 +40337,14 @@ var QR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), tf"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ P.createElement(EI.Provider, { value: CI }, x.children));+ }, /*#__PURE__*/ P.createElement(CI.Provider, { value: bI }, x.children));});-function rfe(e, t) {- t = eS(t);- let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(AL), i = (0, P.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function sfe(e, t) {+ t = Qx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(DL), i = (0, P.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__*/ P.createElement(sfe, {+ return /*#__PURE__*/ P.createElement(dfe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -40328,40 +40353,40 @@ function rfe(e, t) {ref: t});}-var ife = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+var cfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);+ return n ? /*#__PURE__*/ P.createElement(gI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.tr, {+ }) : /*#__PURE__*/ P.createElement(gI.tr, {...e,ref: t});-}), afe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(EI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}), lfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(CI);+ return n ? /*#__PURE__*/ P.createElement(gI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.td, {+ }) : /*#__PURE__*/ P.createElement(gI.td, {...e,ref: t});});-function ofe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(UR), { visuallyHiddenProps: c } = Dw(), l = fI({+function ufe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(BR), { visuallyHiddenProps: c } = ww(), l = lI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(ife, {- ...qS(e, { global: !0 }),+ return /*#__PURE__*/ P.createElement(cfe, {+ ...GS(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ P.createElement(afe, {+ }, /*#__PURE__*/ P.createElement(lfe, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -40372,14 +40397,14 @@ function ofe(e, t) {ref: i}), l.children));}-var sfe = /*#__PURE__*/ (0, P.forwardRef)(ofe);-function cfe() {- let e = (0, P.useContext)(UR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(AL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Dw();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement($R, {+var dfe = /*#__PURE__*/ (0, P.forwardRef)(ufe);+function ffe() {+ let e = (0, P.useContext)(BR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(DL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = ww();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(XR, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ P.createElement(tz, {+ }, /*#__PURE__*/ P.createElement(QR, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -40390,9 +40415,9 @@ function cfe() {ref: r})));}-pS(fb, function(e, t, n) {- let r = (0, P.useContext)(UR), { isVirtualized: i } = (0, P.useContext)(EI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);- YL((0, P.useMemo)(() => ({+dS(ub, function(e, t, n) {+ let r = (0, P.useContext)(BR), { isVirtualized: i } = (0, P.useContext)(CI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);+ KL((0, P.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -40402,7 +40427,7 @@ pS(fb, function(e, t, n) {s,r?.collection]), u);- let d = fI({+ let d = lI({...c,id: void 0,children: n.rendered,@@ -40410,10 +40435,10 @@ pS(fb, 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__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement($R, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(XR, {style: { height: 0 },- inert: RL(!0)- }, /*#__PURE__*/ P.createElement(tz, { style: {+ inert: FL(!0)+ }, /*#__PURE__*/ P.createElement(QR, { style: {padding: 0,border: 0} }, /*#__PURE__*/ P.createElement("div", {@@ -40424,22 +40449,22 @@ pS(fb, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ P.createElement($R, {- ...K(qS(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ P.createElement(XR, {+ ...G(GS(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ P.createElement(tz, {+ }, /*#__PURE__*/ P.createElement(QR, {role: "rowheader",...p,style: m}, d.children)));});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function lfe(e) {- let [t, n] = vw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = qL({+function pfe(e) {+ let [t, n] = hw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = WL({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40461,24 +40486,24 @@ function lfe(e) {};}// node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function ufe(e) {- let t = lfe({+function mfe(e) {+ let t = pfe({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? rz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? ez(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, P.useRef)(i);return (0, P.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = rz(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 = ez(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 rz(e, t) {+function ez(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);@@ -40487,24 +40512,24 @@ function rz(e, t) {return n;}// node_modules/react-aria-components/dist/private/Tabs.mjs-var iz = /*#__PURE__*/ (0, P.createContext)(null), az = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, iz);+var tz = /*#__PURE__*/ (0, P.createContext)(null), nz = /*#__PURE__*/ (0, P.createContext)(null), hfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, tz);let { children: n, orientation: r = "horizontal" } = e;return n = (0, P.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ P.createElement(uS, { content: n }, (n) => /*#__PURE__*/ P.createElement(ffe, {+ }) : n, [n, r]), /*#__PURE__*/ P.createElement(cS, { content: n }, (n) => /*#__PURE__*/ P.createElement(gfe, {props: e,collection: n,tabsRef: t}));});-function ffe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = ufe({+function gfe({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = mfe({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = KT({ within: !0 }), c = (0, P.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = UT({ within: !0 }), c = (0, P.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -40512,33 +40537,33 @@ function ffe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = fI({+ ]), l = lI({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.div, {- ...K(u, l, a),+ }), u = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(gI.div, {+ ...G(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__*/ P.createElement(dI, { values: [[iz, e], [az, i]] }, l.children));+ }, /*#__PURE__*/ P.createElement(cI, { values: [[tz, e], [nz, i]] }, l.children));}-var oz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return (0, P.useContext)(az) ? /*#__PURE__*/ P.createElement(pfe, {+var rz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ return (0, P.useContext)(nz) ? /*#__PURE__*/ P.createElement(_fe, {props: e,forwardedRef: t- }) : /*#__PURE__*/ P.createElement(_S, e);+ }) : /*#__PURE__*/ P.createElement(hS, e);});-function pfe({ props: e, forwardedRef: t }) {- let n = (0, P.useContext)(az), { CollectionRoot: r } = (0, P.useContext)(EI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = pI(iz), o = eS(t), { tabListProps: s } = soe({+function _fe({ props: e, forwardedRef: t }) {+ let n = (0, P.useContext)(nz), { CollectionRoot: r } = (0, P.useContext)(CI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = uI(tz), o = Qx(t), { tabListProps: s } = doe({...e,orientation: i,keyboardActivation: a- }, n, o), c = fI({+ }, n, o), c = lI({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40546,30 +40571,30 @@ function pfe({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = qS(e, { global: !0 });- return delete l.id, /*#__PURE__*/ P.createElement(yI.div, {- ...K(l, c, s),+ }), l = GS(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ P.createElement(FL, null, /*#__PURE__*/ P.createElement(r, {+ }, /*#__PURE__*/ P.createElement(ML, null, /*#__PURE__*/ P.createElement(r, {collection: n.collection,- persistedKeys: DI(n.selectionManager.focusedKey)+ persistedKeys: wI(n.selectionManager.focusedKey)})));}-var mfe = /*#__PURE__*/ pS(class extends ub {+var vfe = /*#__PURE__*/ dS(class extends cb {static {this.type = "item";}}, (e, t, n) => {- let r = (0, P.useContext)(az), i = eS(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = aoe({+ let r = (0, P.useContext)(nz), i = Qx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = loe({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = KT(), { hoverProps: f, isHovered: p } = XT({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = UT(), { hoverProps: f, isHovered: p } = qT({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = fI({+ }), m = lI({...e,id: void 0,children: n.rendered,@@ -40582,9 +40607,9 @@ var mfe = /*#__PURE__*/ pS(class extends ub {isPressed: c,isHovered: p}- }), h = n.props.href ? yI.a : yI.div, g = qS(e, { global: !0 });+ }), h = n.props.href ? gI.a : gI.div, g = GS(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ P.createElement(h, {- ...K(g, m, a, l, f),+ ...G(g, m, a, l, f),ref: i,"data-selected": o || void 0,"data-disabled": s || void 0,@@ -40592,54 +40617,54 @@ var mfe = /*#__PURE__*/ pS(class extends ub {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ P.createElement(IL.Provider, { value: { isSelected: o } }, m.children));-}), hfe = /*#__PURE__*/ aS(function(e, t) {- let n = (0, P.useContext)(az), r = eS(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ P.createElement(NL.Provider, { value: { isSelected: o } }, m.children));+}), yfe = /*#__PURE__*/ rS(function(e, t) {+ let n = (0, P.useContext)(nz), r = Qx(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = tR(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(gfe, {+ let s = QL(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(bfe, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function gfe(e) {- let t = (0, P.useContext)(az), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = coe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = KT(), d = t.selectedKey === e.id, f = eR(r) && !i, p = fI({+function bfe(e) {+ let t = (0, P.useContext)(nz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = foe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = UT(), d = t.selectedKey === e.id, f = ZL(r) && !i, p = lI({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: RL(!d),+ isInert: FL(!d),isEntering: f,isExiting: a,state: t}- }), m = qS(o, { global: !0 });+ }), m = GS(o, { global: !0 });delete m.id;- let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ P.createElement(yI.div, {+ let h = d ? G(m, s, c, p) : G(m, p);+ return /*#__PURE__*/ P.createElement(gI.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: RL(!d || e.inert),+ inert: FL(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ P.createElement(dI, { values: [[iz, null], [az, null]] }, /*#__PURE__*/ P.createElement(EI.Provider, { value: CI }, p.children)));+ }, /*#__PURE__*/ P.createElement(cI, { values: [[tz, null], [nz, null]] }, /*#__PURE__*/ P.createElement(CI.Provider, { value: bI }, p.children)));}// node_modules/react-aria-components/dist/private/TextArea.mjs-var sz = /*#__PURE__*/ (0, P.createContext)({}), _fe = (e) => {+var iz = /*#__PURE__*/ (0, P.createContext)({}), xfe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, vfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = mI(e, t, sz);- let { hoverProps: n, isHovered: r } = XT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = KT({+}, Sfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = dI(e, t, iz);+ let { hoverProps: n, isHovered: r } = qT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = UT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = fI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = lI({...e,values: {isHovered: r,@@ -40650,8 +40675,8 @@ var sz = /*#__PURE__*/ (0, P.createContext)({}), _fe = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ P.createElement(yI.textarea, {- ...K(_fe(e), o, n),+ return /*#__PURE__*/ P.createElement(gI.textarea, {+ ...G(xfe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -40660,18 +40685,18 @@ var sz = /*#__PURE__*/ (0, P.createContext)({}), _fe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), yfe = /*#__PURE__*/ (0, P.createContext)(null), bfe = /*#__PURE__*/ aS(function(e, t) {- [e, t] = mI(e, t, yfe);- let { validationBehavior: n } = pI(LI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);- [e, i] = mI(e, i, xI);- let [a, o] = hI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = kie({- ...gI(e),+}), Cfe = /*#__PURE__*/ (0, P.createContext)(null), wfe = /*#__PURE__*/ rS(function(e, t) {+ [e, t] = dI(e, t, Cfe);+ let { validationBehavior: n } = uI(PI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);+ [e, i] = dI(e, i, vI);+ let [a, o] = fI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Nie({+ ...pI(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, P.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = fI({+ }, [i]), h = lI({...e,values: {isDisabled: e.isDisabled || !1,@@ -40680,8 +40705,8 @@ var sz = /*#__PURE__*/ (0, P.createContext)({}), _fe = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = qS(e, { global: !0 });- return delete g.id, /*#__PURE__*/ P.createElement(yI.div, {+ }), g = GS(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ P.createElement(gI.div, {...g,...h,ref: t,@@ -40690,31 +40715,31 @@ var sz = /*#__PURE__*/ (0, P.createContext)({}), _fe = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ P.createElement(dI, { values: [- [OI, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [TI, {...l,ref: a}],- [UI, {+ [BI, {...u,ref: m}],- [sz, {+ [iz, {...u,ref: m}],- [VI, {+ [RI, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [FI, { slots: {+ [MI, { slots: {description: d,errorMessage: f} }],- [II, p]+ [NI, p]] }, h.children));-}), xfe = class e extends mb {+}), Tfe = class e extends fb {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;@@ -40786,16 +40811,16 @@ var sz = /*#__PURE__*/ (0, P.createContext)({}), _fe = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, Sfe = /*#__PURE__*/ (0, P.createContext)(null), cz = /*#__PURE__*/ (0, P.createContext)(null), Cfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return [e, t] = mI(e, t, Sfe), /*#__PURE__*/ P.createElement(uS, {- content: /*#__PURE__*/ P.createElement(_S, e),- createCollection: () => new xfe()- }, (n) => /*#__PURE__*/ P.createElement(wfe, {+}, Efe = /*#__PURE__*/ (0, P.createContext)(null), az = /*#__PURE__*/ (0, P.createContext)(null), Dfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ return [e, t] = dI(e, t, Efe), /*#__PURE__*/ P.createElement(cS, {+ content: /*#__PURE__*/ P.createElement(hS, e),+ createCollection: () => new Tfe()+ }, (n) => /*#__PURE__*/ P.createElement(Ofe, {props: e,collection: n,treeRef: t}));-}), lz = {+}), oz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -40805,17 +40830,17 @@ var sz = /*#__PURE__*/ (0, P.createContext)({}), _fe = (e) => {rtl: "ArrowRight"}};-function wfe({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = zS(), a = zT({+function Ofe({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = LS(), a = IT({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, P.useRef)(o), l = (0, P.useRef)(s);(0, P.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, P.useContext)(EI), [y, b] = vw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, P.useState)(t), [C, w] = (0, P.useState)(y), [T, E] = (0, P.useState)(() => t.withExpandedKeys(C, y));- jfe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));- let D = sR({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, P.useContext)(CI), [y, b] = hw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, P.useState)(t), [C, w] = (0, P.useState)(y), [T, E] = (0, P.useState)(() => t.withExpandedKeys(C, y));+ Ffe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let D = iR({...e,selectionMode: u,expandedKeys: y,@@ -40823,7 +40848,7 @@ function wfe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: O } = loe({+ }), { gridProps: O } = poe({...e,isVirtualized: g,layoutDelegate: _@@ -40837,7 +40862,7 @@ function wfe({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;ee = r.renderDragPreview ? /*#__PURE__*/ P.createElement(e, { ref: te }, r.renderDragPreview) : null;}- let [ne] = (0, P.useState)(() => new FR());+ let [ne] = (0, P.useState)(() => new MR());if (s && r) {A = r.useDroppableCollectionState({collection: D.collection,@@ -40845,7 +40870,7 @@ function wfe({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });ne.setup(e, D, i);- let t = new Vw({+ let t = new Rw({collection: D.collection,collator: a,ref: n,@@ -40867,12 +40892,12 @@ function wfe({ 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 === lz.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === lz.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);+ (e.key === oz.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === oz.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);}}}, A, n), M = A.isDropTarget({ type: "root" });}- let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = KT(), ae = {+ let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = UT(), ae = {isEmpty: D.collection.size === 0,isFocused: ie,isFocusVisible: F,@@ -40880,7 +40905,7 @@ function wfe({ props: e, collection: t, treeRef: n }) {selectionMode: D.selectionManager.selectionMode,allowsDragging: !!N,state: D- }, oe = fI({+ }, oe = lI({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -40897,9 +40922,9 @@ function wfe({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let ce = qS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(_C, null, /*#__PURE__*/ P.createElement(yI.div, {- ...K(ce, oe, O, re, j?.collectionProps),+ let ce = GS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(hC, null, /*#__PURE__*/ P.createElement(gI.div, {+ ...G(ce, oe, O, re, j?.collectionProps),ref: n,slot: e.slot || void 0,"data-empty": D.collection.size === 0 || void 0,@@ -40908,54 +40933,54 @@ function wfe({ props: e, collection: t, treeRef: n }) {"data-focus-visible": F || void 0,"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,"data-allows-dragging": !!N || void 0- }, /*#__PURE__*/ P.createElement(dI, { values: [- [cz, D],- [AL, {+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [az, D],+ [DL, {dragAndDropHooks: r,dragState: k,dropState: A}],- [jL, { render: Dfe }]- ] }, s && /*#__PURE__*/ P.createElement(Afe, null), /*#__PURE__*/ P.createElement(FL, null, /*#__PURE__*/ P.createElement(h, {+ [OL, { render: jfe }]+ ] }, s && /*#__PURE__*/ P.createElement(Pfe, null), /*#__PURE__*/ P.createElement(ML, null, /*#__PURE__*/ P.createElement(h, {collection: D.collection,- persistedKeys: NL(D.selectionManager, r, A),+ persistedKeys: AL(D.selectionManager, r, A),scrollRef: n,- renderDropIndicator: ML(r, A)+ renderDropIndicator: kL(r, A)}))), se)), ee);}-var Tfe = /*#__PURE__*/ pS(class extends ub {+var kfe = /*#__PURE__*/ dS(class extends cb {static {this.type = "content";}}, function(e) {- let t = (0, P.useContext)(uz), n = fI({+ let t = (0, P.useContext)(sz), n = lI({children: e.children,values: t});- return /*#__PURE__*/ P.createElement(EI.Provider, { value: CI }, n.children);-}), uz = /*#__PURE__*/ (0, P.createContext)(null), Efe = /*#__PURE__*/ mS(class extends ub {+ return /*#__PURE__*/ P.createElement(CI.Provider, { value: bI }, n.children);+}), sz = /*#__PURE__*/ (0, P.createContext)(null), Afe = /*#__PURE__*/ fS(class extends cb {static {this.type = "item";}}, (e, t, n) => {- let r = (0, P.useContext)(cz);- t = eS(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(AL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Lk({+ let r = (0, P.useContext)(az);+ t = Qx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(DL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Pk({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: _ } = XT({+ }, 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: _ } = qT({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = KT(), { isFocusVisible: b, focusProps: x } = KT({ within: !0 }), { checkboxProps: S } = iae({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = UT(), { isFocusVisible: b, focusProps: x } = UT({ within: !0 }), { checkboxProps: S } = cae({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, P.useRef)(null), E = (0, P.useRef)(null), D = (0, P.useRef)(null), { visuallyHiddenProps: O } = Dw();+ let w = null, T = (0, P.useRef)(null), E = (0, P.useRef)(null), D = (0, P.useRef)(null), { visuallyHiddenProps: O } = ww();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -40994,7 +41019,7 @@ var Tfe = /*#__PURE__*/ pS(class extends ub {A,M,j- ]), te = fI({+ ]), te = lI({...e,id: void 0,children: n.rendered,@@ -41011,7 +41036,7 @@ var Tfe = /*#__PURE__*/ pS(class extends ub {(0, P.useEffect)(() => {a && ne.current;}, []);- let N = vb({+ let N = gb({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41021,7 +41046,7 @@ var Tfe = /*#__PURE__*/ pS(class extends ub {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), re = Ux(), ie = qS(e, { global: !0 });+ }), re = Vx(), ie = GS(e, { global: !0 });return delete ie.id, delete ie.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, w && !w.isHidden && /*#__PURE__*/ P.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -41044,8 +41069,8 @@ var Tfe = /*#__PURE__*/ pS(class extends ub {"aria-labelledby": `${re} ${c.id}`,tabIndex: -1,ref: D- }))), /*#__PURE__*/ P.createElement(yI.div, {- ...K(ie, c, y, g, x, C?.dragProps),+ }))), /*#__PURE__*/ P.createElement(gI.div, {+ ...G(ie, c, y, g, x, C?.dragProps),...te,ref: t,"data-expanded": m && p || void 0,@@ -41064,17 +41089,17 @@ var Tfe = /*#__PURE__*/ pS(class extends ub {}, /*#__PURE__*/ P.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ P.createElement(dI, { values: [- [RI, { slots: {- [uI]: {},+ }, /*#__PURE__*/ P.createElement(cI, { values: [+ [FI, { slots: {+ [sI]: {},selection: S} }],- [zI, { slots: {- [uI]: {},+ [II, { slots: {+ [sI]: {},selection: S} }],- [jI, { slots: {- [uI]: {},+ [OI, { slots: {+ [sI]: {},chevron: {...u,ref: T@@ -41085,13 +41110,13 @@ var Tfe = /*#__PURE__*/ pS(class extends ub {style: { pointerEvents: "none" }}} }],- [uz, { ...ee }],- [IL, { isSelected: f.isSelected }]+ [sz, { ...ee }],+ [NL, { isSelected: f.isSelected }]] }, N))));});-pS(fb, function(e, t, n) {- let { isVirtualized: r } = (0, P.useContext)(EI), i = (0, P.useContext)(cz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);- YL((0, P.useMemo)(() => ({+dS(ub, function(e, t, n) {+ let { isVirtualized: r } = (0, P.useContext)(CI), i = (0, P.useContext)(az), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);+ KL((0, P.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -41100,11 +41125,11 @@ pS(fb, function(e, t, n) {o,s,i?.collection- ]), l), t = eS(t);- let { rowProps: u, gridCellProps: d } = Lk({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = Qx(t);+ let { rowProps: u, gridCellProps: d } = Pk({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = fI({+ }, m = lI({...c,id: void 0,children: n.rendered,@@ -41117,7 +41142,7 @@ pS(fb, function(e, t, n) {width: 0,height: 0},- inert: RL(!0)+ inert: FL(!0)}, /*#__PURE__*/ P.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -41126,9 +41151,9 @@ pS(fb, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ P.createElement(yI.div, {+ })), a && m.children && /*#__PURE__*/ P.createElement(gI.div, {ref: t,- ...K(qS(e), p),+ ...G(GS(e), p),...m,"data-level": f}, /*#__PURE__*/ P.createElement("div", {@@ -41136,12 +41161,12 @@ pS(fb, function(e, t, n) {style: h}, m.children)));});-function Dfe(e, t) {- t = eS(t);- let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(AL), i = (0, P.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function jfe(e, t) {+ t = Qx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(DL), i = (0, P.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__*/ P.createElement(kfe, {+ return /*#__PURE__*/ P.createElement(Nfe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -41150,8 +41175,8 @@ function Dfe(e, t) {level: c});}-function Ofe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = Dw(), c = fI({+function Mfe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = ww(), c = lI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41160,7 +41185,7 @@ function Ofe(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(gI.div, {...c,role: "row","aria-level": a,@@ -41173,9 +41198,9 @@ function Ofe(e, t) {ref: i}), c.children));}-var kfe = /*#__PURE__*/ (0, P.forwardRef)(Ofe);-function Afe() {- let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(AL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = Dw();+var Nfe = /*#__PURE__*/ (0, P.forwardRef)(Mfe);+function Pfe() {+ let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(DL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = ww();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ P.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41187,13 +41212,13 @@ function Afe() {ref: n})));}-function jfe(e, t) {+function Ffe(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 Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+var Ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41201,7 +41226,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41209,7 +41234,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41217,7 +41242,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41225,7 +41250,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41233,7 +41258,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41241,7 +41266,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41249,7 +41274,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41257,7 +41282,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41265,7 +41290,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41273,7 +41298,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41281,7 +41306,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41289,7 +41314,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41297,7 +41322,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41305,7 +41330,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41313,7 +41338,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41321,7 +41346,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41329,7 +41354,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41337,7 +41362,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41345,7 +41370,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41353,7 +41378,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41361,7 +41386,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41369,7 +41394,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), $fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41377,7 +41402,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), epe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41385,7 +41410,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), tpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41393,7 +41418,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), npe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41401,7 +41426,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), $fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), rpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41409,7 +41434,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), epe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), ipe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41417,7 +41442,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41425,7 +41450,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41433,7 +41458,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), tpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), ape = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41441,7 +41466,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41449,7 +41474,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41457,7 +41482,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), npe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41465,7 +41490,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), rpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41473,7 +41498,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), ipe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41481,7 +41506,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), ape = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41489,7 +41514,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41497,7 +41522,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41505,7 +41530,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41513,7 +41538,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41521,7 +41546,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41529,7 +41554,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41537,7 +41562,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41545,7 +41570,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41553,7 +41578,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41561,7 +41586,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Tz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41569,7 +41594,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41577,7 +41602,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41585,7 +41610,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41593,7 +41618,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), _pe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41601,7 +41626,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), vpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41609,7 +41634,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41617,7 +41642,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Ez = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41625,7 +41650,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41633,7 +41658,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), bpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41641,7 +41666,7 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), _pe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), xpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41651,11 +41676,11 @@ var Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => PclassName: "remixicon " + (n || "")}, P.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" }));// src/react/boardui/components/base/input/label.tsx-function Oz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, F.jsxs)(kI, {+function Tz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsxs)(EI, {"data-label": "true",...a,- className: hF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: K("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, F.jsx)("span", {@@ -41663,7 +41688,7 @@ function Oz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, F.jsx)(ipe, {+ n && /* @__PURE__ */ (0, F.jsx)(cpe, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -41671,32 +41696,32 @@ function Oz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr});}// src/react/boardui/components/base/input/hint-text.tsx-function kz({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, F.jsx)(bue, {+function Ez({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, F.jsx)(wue, {slot: e ? "errorMessage" : "description",...n,- className: hF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: K("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}// src/react/boardui/components/base/input/input.tsx-var Az = (0, P.createContext)({});-function jz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, F.jsx)(Az.Provider, {+var Dz = (0, P.createContext)({});+function Oz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsx)(Dz.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, F.jsx)(bfe, {+ children: /* @__PURE__ */ (0, F.jsx)(wfe, {...a,"data-input-size": e,- className: hF("group flex h-max w-full flex-col items-start gap-1", r),+ className: K("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-jz.displayName = "TextField";-var Mz = gF({+Oz.displayName = "TextField";+var kz = pF({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",@@ -41711,44 +41736,44 @@ var Mz = gF({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 Nz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, P.useContext)(Az), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, F.jsx)(HI, {+function Az({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, P.useContext)(Dz), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, F.jsx)(zI, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => hF(Mz.field, d ? Mz.fieldWithAddonSize[u] : Mz.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 }) => K(kz.field, d ? kz.fieldWithAddonSize[u] : kz.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, F.jsxs)("div", {- className: Mz.content,+ className: kz.content,children: [/* @__PURE__ */ (0, F.jsxs)("div", {- className: Mz.leftSection,+ className: kz.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, F.jsx)(t, {- className: Mz.icon,+ className: kz.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, F.jsx)(Eue, {+ }) : null, /* @__PURE__ */ (0, F.jsx)(Aue, {ref: o,...c,- className: hF(Mz.input, l.inputClassName, a)+ className: K(kz.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, F.jsx)(n, {- className: Mz.icon,+ className: kz.icon,"aria-hidden": !0}) : null]})});}-Nz.displayName = "InputBase";-function Pz({ 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, F.jsx)(jz, {+Az.displayName = "InputBase";+function jz({ 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, F.jsx)(Oz, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- e && /* @__PURE__ */ (0, F.jsx)(Oz, {+ e && /* @__PURE__ */ (0, F.jsx)(Tz, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, F.jsx)(Nz, {+ /* @__PURE__ */ (0, F.jsx)(Az, {ref: c,groupRef: l,placeholder: r,@@ -41757,24 +41782,24 @@ function Pz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, F.jsx)(kz, {+ t && /* @__PURE__ */ (0, F.jsx)(Ez, {isInvalid: d,children: t})] })});}-Pz.displayName = "Input";+jz.displayName = "Input";// src/react/components/modal-frame.tsx-var vpe = {+var Spe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};-function Fz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = Ax();- return /* @__PURE__ */ (0, F.jsx)(SR, {+function Mz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+ let { isFocusVisible: a } = Ox();+ return /* @__PURE__ */ (0, F.jsx)(yR, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -41782,11 +41807,11 @@ function Fz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, F.jsx)(cde, {+ children: /* @__PURE__ */ (0, F.jsx)(fde, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${vpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, F.jsx)(vR, {+ className: `flex max-h-full w-full ${Spe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, F.jsx)(hR, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -41794,7 +41819,7 @@ function Fz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function Iz({ children: e }) {+function Nz({ children: e }) {return /* @__PURE__ */ (0, F.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",@@ -41802,12 +41827,12 @@ function Iz({ children: e }) {});}// src/react/components/note.tsx-function Lz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function Pz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-note-layout": "",- className: hF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: K("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, F.jsxs)("div", {- className: hF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: K("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -41824,37 +41849,37 @@ function Lz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, F.jsx)("div", {role: "status",- className: hF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: K("@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, F.jsx)("div", {role: "status",- className: hF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: K("@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, F.jsx)("div", {role: "note",- className: hF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: K("@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, F.jsx)("div", {role: "alert",- className: hF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: K("@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, F.jsx)("div", {role: "note",- className: hF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: K("@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 ype = {+var Cpe = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function bpe({ target: e, children: t }) {+function wpe({ target: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "secondary",@@ -41862,11 +41887,11 @@ function bpe({ target: e, children: t }) {children: t});}-function Rz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function Fz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${ype[i]}`,+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Cpe[i]}`,children: [/* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,@@ -41892,11 +41917,11 @@ function Rz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }});}// src/react/components/sprite-glyph.tsx-var zz = /* @__PURE__ */ new Map();-function Bz(e) {- let t = zz.get(e);+var Iz = /* @__PURE__ */ new Map();+function Lz(e) {+ let t = Iz.get(e);if (t) return t;- let { wide: n, viewBox: r } = rn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, F.jsx)("svg", {+ let { wide: n, viewBox: r } = an(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,viewBox: r,className: `iconwide shrink-0 fill-current ${t ?? "h-4 w-auto"}`,@@ -41910,10 +41935,10 @@ function Bz(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, zz.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, Iz.set(e, i), i;}// src/react/components/settings-dialog-close.tsx-function Vz({ label: e, id: t, onPress: n }) {+function Rz({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",id: t,@@ -41928,60 +41953,60 @@ function Vz({ label: e, id: t, onPress: n }) {});}// src/react/settings/busy-props.ts-function Hz(e) {+function zz(e) {return e ? {"aria-busy": !0,"aria-disabled": !0} : {};}// src/react/library-shortcuts/library-shortcuts.ts-var Uz = ["library-shortcuts"], Wz = "/api/library-shortcuts";-function Gz(e = !0) {- return Pt({- queryKey: Uz,- queryFn: ({ signal: e }) => B(Wz, e),+var Bz = ["library-shortcuts"], Vz = "/api/library-shortcuts";+function Hz(e = !0) {+ return Ft({+ queryKey: Bz,+ queryFn: ({ signal: e }) => z(Vz, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function Kz() {- return Ft({- mutationKey: Uz,- mutationFn: (e) => V(Wz, e),+function Uz() {+ return It({+ mutationKey: Bz,+ mutationFn: (e) => B(Vz, e),onSuccess: (e, t) => {- H.setQueryData(Uz, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));+ V.setQueryData(Bz, e), t.action === "favorite" && t.scope === "online" && (V.invalidateQueries({ queryKey: ["follow", "tags"] }), V.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function qz(e, t) {+function Wz(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 xpe(e) {- return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : hn(e.kind, e.name, e.entity_id);+function Tpe(e) {+ return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : gn(e.kind, e.name, e.entity_id);}// src/react/library-shortcuts/shortcut-controls.tsx-var Jz = Bz("star"), Spe = Bz("bookmark-plus"), Yz = Bz("chevron-right"), Xz = {+var Gz = Lz("star"), Epe = Lz("bookmark-plus"), Kz = Lz("chevron-right"), qz = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, Zz = {- all: Bz("star"),- performer: Bz("user-round"),- creator: Bz("user-round"),- studio: Bz("clapperboard"),- series: Bz("film"),- agency: Bz("briefcase"),- tag: Bz("tags"),- filters: Bz("list-filter")-}, Qz = [+}, Jz = {+ all: Lz("star"),+ performer: Lz("user-round"),+ creator: Lz("user-round"),+ studio: Lz("clapperboard"),+ series: Lz("film"),+ agency: Lz("briefcase"),+ tag: Lz("tags"),+ filters: Lz("list-filter")+}, Yz = [["all", "全部"],- ...Object.entries(Xz),+ ...Object.entries(qz),["filters", "保存的筛选"]];-function $z({ label: e, children: t, ...n }) {+function Xz({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",...n,@@ -41991,19 +42016,19 @@ function $z({ label: e, children: t, ...n }) {children: t});}-function eB({ item: e }) {- return /* @__PURE__ */ (0, F.jsx)(Cpe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function Zz({ item: e }) {+ return /* @__PURE__ */ (0, F.jsx)(Dpe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Cpe({ item: e }) {- let t = Gz(!1), n = (0, P.useRef)(t.data), r = Kz(), i = t.data && t.data !== n.current ? qz(t.data.favorites || [], e) : e.favorite ?? (t.data ? qz(t.data.favorites || [], e) : !1);+function Dpe({ item: e }) {+ let t = Hz(!1), n = (0, P.useRef)(t.data), r = Uz(), i = t.data && t.data !== n.current ? Wz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Wz(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, F.jsx)($z, {+ /* @__PURE__ */ (0, F.jsx)(Xz, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,- ...Hz(r.isPending),+ ...zz(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -42013,12 +42038,12 @@ function Cpe({ item: e }) {},children: r.isPending ? /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- dangerouslySetInnerHTML: { __html: bs("") }- }) : /* @__PURE__ */ (0, F.jsx)(Jz, {})+ dangerouslySetInnerHTML: { __html: xs("") }+ }) : /* @__PURE__ */ (0, F.jsx)(Gz, {})}),- r.isError ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ r.isError ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",- children: Wn(r.error)+ children: Gn(r.error)}) : null,t.isError ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -42030,50 +42055,50 @@ function Cpe({ item: e }) {]});}-function tB({ currentHref: e, kind: t }) {+function Qz({ currentHref: e, kind: t }) {let [n, r] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, F.jsx)(QF, {+ children: /* @__PURE__ */ (0, F.jsx)(YF, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: Jz,+ icon: Gz,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, F.jsx)(Fz, {+ }), /* @__PURE__ */ (0, F.jsx)(Mz, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, F.jsx)(wpe, {+ children: n ? /* @__PURE__ */ (0, F.jsx)(Ope, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function wpe({ currentHref: e, kind: t, close: n }) {- let r = Gz(), i = Kz(), [a, o] = (0, P.useState)(""), [s, c] = (0, P.useState)(t || "all"), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), p = (0, P.useId)(), [m, h] = (0, P.useState)(() => matchMedia("(max-width: 760px)").matches);+function Ope({ currentHref: e, kind: t, close: n }) {+ let r = Hz(), i = Uz(), [a, o] = (0, P.useState)(""), [s, c] = (0, P.useState)(t || "all"), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), p = (0, P.useId)(), [m, h] = (0, P.useState)(() => matchMedia("(max-width: 760px)").matches);(0, P.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(s), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = sI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(s), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = iI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, P.useLayoutEffect)(() => {- b.current && (x.current = vo(b.current) || null);+ b.current && (x.current = yo(b.current) || null);}, []), (0, P.useLayoutEffect)(() => {- let e = cc(g.current);+ let e = lc(g.current);return () => e?.destroy();}, []), (0, P.useLayoutEffect)(() => {b.current && (b.current.scrollTop = 0);}, [s]), (0, P.useLayoutEffect)(() => {- v.current !== s && Ns(_.current, "h2"), v.current = s;+ v.current !== s && Ps(_.current, "h2"), v.current = s;}, [s]), (0, P.useLayoutEffect)(() => {x.current?.();});- let C = Qz.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = Yz.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;@@ -42096,7 +42121,7 @@ function wpe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, F.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, F.jsx)(Vz, {+ }), /* @__PURE__ */ (0, F.jsx)(Rz, {label: "关闭我的收藏",onPress: n})]@@ -42126,8 +42151,8 @@ function wpe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- Qz.map(([e, t]) => {- let n = Zz[e] || Jz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ Yz.map(([e, t]) => {+ let n = Jz[e] || Gz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "tab",@@ -42159,17 +42184,17 @@ function wpe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, F.jsx)(Jz, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, F.jsx)(Gz, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, F.jsx)(Yz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, F.jsx)(Kz, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, F.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, F.jsx)(Spe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, F.jsx)(Epe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, F.jsx)(Yz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, F.jsx)(Kz, { "aria-hidden": !0 })]})]})]@@ -42188,25 +42213,25 @@ function wpe({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ r.isError ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",onClick: () => void r.refetch(),children: "立即重试"}),- children: Wn(r.error)+ children: Gn(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ i.isError ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",- children: Wn(i.error)+ children: Gn(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, F.jsx)(Rz, {+ E.filters.length ? null : /* @__PURE__ */ (0, F.jsx)(Fz, {size: "compact",- icon: Bz("list-filter"),+ icon: Lz("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, F.jsx)(lI, {+ actions: /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: "/",onClick: n,@@ -42225,7 +42250,7 @@ function wpe({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...Hz(i.isPending),+ ...zz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -42240,7 +42265,7 @@ function wpe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, F.jsx)(Pz, {+ /* @__PURE__ */ (0, F.jsx)(jz, {label: "筛选名称",value: a,onChange: o,@@ -42249,7 +42274,7 @@ function wpe({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, F.jsx)(q, {type: "submit",disabled: !a.trim(),- ...Hz(i.isPending),+ ...zz(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, F.jsx)("span", {@@ -42260,16 +42285,16 @@ function wpe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Pz, {+ /* @__PURE__ */ (0, F.jsx)(jz, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: Bz("search"),+ leadingIcon: Lz("search"),value: l,onChange: u}),- D.length ? null : /* @__PURE__ */ (0, F.jsx)(Rz, {+ D.length ? null : /* @__PURE__ */ (0, F.jsx)(Fz, {size: "compact",- icon: Jz,+ icon: Gz,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",@@ -42279,7 +42304,7 @@ function wpe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, F.jsx)(lI, {+ }) : /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: "/",onClick: n,@@ -42293,25 +42318,25 @@ function wpe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, F.jsxs)("a", {- href: xpe(e),+ href: Tpe(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, F.jsx)(Tpe, { item: e }, e.image_url), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(kpe, { item: e }, e.image_url), /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "truncate",children: e.name}), /* @__PURE__ */ (0, F.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : Xz[e.kind]+ children: e.scope === "online" ? "在线标签" : qz[e.kind]})]})]}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small","aria-label": `取消收藏${e.name}`,- ...Hz(i.isPending),+ ...zz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -42329,8 +42354,8 @@ function wpe({ currentHref: e, kind: t, close: n }) {]});}-function Tpe({ item: e }) {- let t = Zz[e.kind] || Jz;+function kpe({ item: e }) {+ let t = Jz[e.kind] || Gz;return /* @__PURE__ */ (0, F.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -42348,19 +42373,19 @@ function Tpe({ item: e }) {});}// node_modules/react-router/dist/production/lib/router/url.js-var Epe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, nB = /^[\\/]{2}/;-function Dpe(e, t) {+var Ape = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, $z = /^[\\/]{2}/;+function jpe(e, t) {return t + e.replace(/\\/g, "/");}// node_modules/react-router/dist/production/lib/router/history.js-var rB = "popstate";-function iB(e) {+var eB = "popstate";+function tB(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function Ope(e = {}) {+function Mpe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return cB("", {+ return aB("", {pathname: r,search: i,hash: a@@ -42371,14 +42396,14 @@ function Ope(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : lB(t);+ return typeof t == "string" ? t : oB(t);}- return Ape(t, n, null, e);+ return Ppe(t, n, null, e);}-function aB(e, t) {+function nB(e, t) {if (e === !1 || e == null) throw Error(t);}-function oB(e, t) {+function rB(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -42386,10 +42411,10 @@ function oB(e, t) {} catch {}}}-function kpe() {+function Npe() {return Math.random().toString(36).substring(2, 10);}-function sB(e, t) {+function iB(e, t) {return {usr: e.state,key: e.key,@@ -42401,21 +42426,21 @@ function sB(e, t) {} : void 0};}-function cB(e, t, n = null, r, i) {+function aB(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? uB(t) : t,+ ...typeof t == "string" ? sB(t) : t,state: n,- key: t && t.key || r || kpe(),+ key: t && t.key || r || Npe(),mask: i};}-function lB({ pathname: e = "/", search: t = "", hash: n = "" }) {+function oB({ pathname: e = "/", search: t = "", hash: n = "" }) {return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;}-function uB(e) {+function sB(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -42425,7 +42450,7 @@ function uB(e) {}return t;}-function Ape(e, t, n, r = {}) {+function Ppe(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -42445,9 +42470,9 @@ function Ape(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = iB(e) ? e : cB(h.location, e, t);+ let r = tB(e) ? e : aB(h.location, e, t);n && n(r, e), l = u() + 1;- let d = sB(r, l), f = h.createHref(r.mask || r);+ let d = iB(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -42462,9 +42487,9 @@ function Ape(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = iB(e) ? e : cB(h.location, e, t);+ let r = tB(e) ? e : aB(h.location, e, t);n && n(r, e), l = u();- let i = sB(r, l), d = h.createHref(r.mask || r);+ let i = iB(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -42472,7 +42497,7 @@ function Ape(e, t, n, r = {}) {});}function m(e) {- return jpe(i, e);+ return Fpe(i, e);}let h = {get action() {@@ -42483,8 +42508,8 @@ function Ape(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(rB, d), c = e, () => {- i.removeEventListener(rB, d), c = null;+ return i.addEventListener(eB, d), c = e, () => {+ i.removeEventListener(eB, d), c = null;};},createHref(e) {@@ -42507,28 +42532,28 @@ function Ape(e, t, n, r = {}) {};return h;}-function jpe(e, t, n = !1) {+function Fpe(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), aB(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : lB(t);- return i = i.replace(/ $/, "%20"), !n && nB.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), nB(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : oB(t);+ return i = i.replace(/ $/, "%20"), !n && $z.test(i) && (i = r + i), new URL(i, r);}// node_modules/react-router/dist/production/lib/router/utils.js-function Mpe(e, t, n = "/") {- return Npe(e, t, n, !1);+function Ipe(e, t, n = "/") {+ return Lpe(e, t, n, !1);}-function Npe(e, t, n, r, i) {- let a = _B((typeof t == "string" ? uB(t) : t).pathname || "/", n);+function Lpe(e, t, n, r, i) {+ let a = mB((typeof t == "string" ? sB(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Ppe(e), s = null, c = qpe(a);- for (let e = 0; s == null && e < o.length; ++e) s = Kpe(o[e], c, r);+ let o = i ?? Rpe(e), s = null, c = Zpe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = Xpe(o[e], c, r);return s;}-function Ppe(e) {- let t = dB(e);- return Fpe(t), t;+function Rpe(e) {+ let t = cB(e);+ return zpe(t), t;}-function dB(e, t = [], n = [], r = "", i = !1) {+function cB(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -42538,14 +42563,14 @@ function dB(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- aB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ nB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = xB([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (aB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), dB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = vB([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (nB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), cB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: Wpe(l, e.index),+ score: Jpe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = gB(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = pB(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -42556,68 +42581,68 @@ function dB(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of fB(e.path)) a(e, t, !0, n);+ else for (let n of lB(e.path)) a(e, t, !0, n);}), t;}-function fB(e) {+function lB(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = fB(r.join("/")), s = [];+ let o = lB(r.join("/")), s = [];return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);}-function Fpe(e) {- e.sort((e, t) => e.score === t.score ? Gpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function zpe(e) {+ e.sort((e, t) => e.score === t.score ? Ype(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Ipe = /^:[\w-]+$/, Lpe = /^:[\w-]+/, Rpe = 3.5, zpe = 3, Bpe = 2, Vpe = 1, Hpe = 10, Upe = -2, pB = (e) => e === "*";-function Wpe(e, t) {+var Bpe = /^:[\w-]+$/, Vpe = /^:[\w-]+/, Hpe = 3.5, Upe = 3, Wpe = 2, Gpe = 1, Kpe = 10, qpe = -2, uB = (e) => e === "*";+function Jpe(e, t) {let n = e.split("/"), r = n.length;- return n.some(pB) && (r += Upe), t && (r += Bpe), n.filter((e) => !pB(e)).reduce((e, t) => e + (Ipe.test(t) ? zpe : Lpe.test(t) ? Rpe : t === "" ? Vpe : Hpe), r);+ return n.some(uB) && (r += qpe), t && (r += Wpe), n.filter((e) => !uB(e)).reduce((e, t) => e + (Bpe.test(t) ? Upe : Vpe.test(t) ? Hpe : t === "" ? Gpe : Kpe), r);}-function Gpe(e, t) {+function Ype(e, t) {return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;}-function Kpe(e, t, n = !1) {+function Xpe(e, t, n = !1) {let { routesMeta: r } = e, i = {}, a = "/", o = [];for (let e = 0; e < r.length; ++e) {let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? hB(u, l, s.matcher, s.compiledParams) : mB(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = mB({+ }, d = s.matcher && s.compiledParams ? fB(u, l, s.matcher, s.compiledParams) : dB(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = dB({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: xB([a, d.pathname]),- pathnameBase: Qpe(xB([a, d.pathnameBase])),+ pathname: vB([a, d.pathname]),+ pathnameBase: nme(vB([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = xB([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = vB([a, d.pathnameBase]));}return o;}-function mB(e, t) {+function dB(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = gB(e.path, e.caseSensitive, e.end);- return hB(e, t, n, r);+ let [n, r] = pB(e.path, e.caseSensitive, e.end);+ return fB(e, t, n, r);}-function hB(e, t, n, r) {+function fB(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = SB(a, 1), s = i.slice(1);+ let a = i[0], o = yB(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = SB(a.slice(0, a.length - e.length), 1);+ o = yB(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -42627,8 +42652,8 @@ function hB(e, t, n, r) {pattern: e};}-function gB(e, t = !1, n = !0) {- oB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function pB(e, t = !1, n = !0) {+ rB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -42641,46 +42666,46 @@ function gB(e, t = !1, n = !0) {}).replace(/\/((?:[^/?()[\]*^\\]|\\.)+)\?(?=\/|$|\()/g, "(?:/$1)?");return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];}-function qpe(e) {+function Zpe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return oB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return rB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function _B(e, t) {+function mB(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function Jpe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? uB(e) : e, a;- return n ? (n = bB(n), a = n.startsWith("/") || n.startsWith("\\") ? vB(n.substring(1), "/") : vB(n, t)) : a = t, {+function Qpe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? sB(e) : e, a;+ return n ? (n = _B(n), a = n.startsWith("/") || n.startsWith("\\") ? hB(n.substring(1), "/") : hB(n, t)) : a = t, {pathname: a,- search: $pe(r),- hash: eme(i)+ search: rme(r),+ hash: ime(i)};}-function vB(e, t) {- let n = SB(t).split("/");+function hB(e, t) {+ let n = yB(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function yB(e, t, n, r) {+function gB(e, t, n, r) {return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;}-function Ype(e) {+function $pe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function Xpe(e) {- let t = Ype(e);+function eme(e) {+ let t = $pe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function Zpe(e, t, n, r = !1) {+function tme(e, t, n, r = !1) {let i;- typeof e == "string" ? i = uB(e) : (i = { ...e }, aB(!i.pathname || !i.pathname.includes("?"), yB("?", "pathname", "search", i)), aB(!i.pathname || !i.pathname.includes("#"), yB("#", "pathname", "hash", i)), aB(!i.search || !i.search.includes("#"), yB("#", "search", "hash", i)));+ typeof e == "string" ? i = sB(e) : (i = { ...e }, nB(!i.pathname || !i.pathname.includes("?"), gB("?", "pathname", "search", i)), nB(!i.pathname || !i.pathname.includes("#"), gB("#", "pathname", "hash", i)), nB(!i.search || !i.search.includes("#"), gB("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -42692,16 +42717,16 @@ function Zpe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = Jpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = Qpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var bB = (e) => e.replace(/[\\/]{2,}/g, "/"), xB = (e) => bB(e.join("/"));-function SB(e, t = 0) {+var _B = (e) => e.replace(/[\\/]{2,}/g, "/"), vB = (e) => _B(e.join("/"));+function yB(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var Qpe = (e) => SB(e).replace(/^\/*/, "/"), $pe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, eme = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, tme = class {+var nme = (e) => yB(e).replace(/^\/*/, "/"), rme = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, ime = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, ame = class {status;statusText;data;@@ -42711,26 +42736,26 @@ var Qpe = (e) => SB(e).replace(/^\/*/, "/"), $pe = (e) => !e || e === "?" ? "" :this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function nme(e) {+function ome(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function rme(e) {- return xB(e.map((e) => e.route.path).filter(Boolean)) || "/";+function sme(e) {+ return vB(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var CB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function ime(e, t) {+var bB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function cme(e, t) {let n = e;- if (typeof n != "string" || !Epe.test(n)) return {+ if (typeof n != "string" || !Ape.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (CB) try {- let e = new URL(window.location.href), r = nB.test(n) ? new URL(Dpe(n, e.protocol)) : new URL(n), a = _B(r.pathname, t);+ if (bB) try {+ let e = new URL(window.location.href), r = $z.test(n) ? new URL(jpe(n, e.protocol)) : new URL(n), a = mB(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- oB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ rB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -42739,44 +42764,44 @@ function ime(e, t) {};}// node_modules/react-router/dist/production/lib/router/navigation.js-var wB = new URL("http://localhost");-function TB(e) {+var xB = new URL("http://localhost");+function SB(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), wB);+ return new URL(e.createHref("/"), xB);} catch {- return wB;+ return xB;}}-function EB(e, t) {+function CB(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function ame(e, t) {+function lme(e, t) {if (e.startsWith("//")) return !0;let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;}-function DB(e, t, n, r) {+function wB(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !EB(i, n), s = !EB(a, n);+ let a = new URL(t, n), o = i != null && !CB(i, n), s = !CB(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !ame(e, i) || !EB(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !lme(e, i) || !CB(i, a))) throw Error("External navigation is not allowed");}// node_modules/react-router/dist/production/lib/router/router.js-var OB = [+var TB = ["POST","PUT","PATCH","DELETE"];-new Set(OB);-var ome = ["GET", ...OB];-new Set(ome);-var sme = [+new Set(TB);+var ume = ["GET", ...TB];+new Set(ume);+var dme = ["about:","blob:","chrome:",@@ -42788,82 +42813,82 @@ var sme = ["filesystem:","javascript:"];-function cme(e) {+function fme(e) {try {- return sme.includes(new URL(e).protocol);+ return dme.includes(new URL(e).protocol);} catch {return !1;}}// node_modules/react-router/dist/production/lib/context.js-var kB = P.createContext(null);-kB.displayName = "DataRouter";-var lme = P.createContext(null);-lme.displayName = "DataRouterState";-var AB = P.createContext(null);-AB.displayName = "DataRouterData";-var ume = P.createContext(null);-ume.displayName = "DataRouterNavigation";-var dme = P.createContext(!1), fme = P.createContext({ isTransitioning: !1 });-fme.displayName = "ViewTransition";+var EB = P.createContext(null);+EB.displayName = "DataRouter";var pme = P.createContext(null);-pme.displayName = "Fetchers";+pme.displayName = "DataRouterState";+var DB = P.createContext(null);+DB.displayName = "DataRouterData";var mme = P.createContext(null);-mme.displayName = "Await";-var jB = P.createContext(null);-jB.displayName = "Navigation";-var MB = P.createContext(null);-MB.displayName = "Location";-var NB = P.createContext({+mme.displayName = "DataRouterNavigation";+var hme = P.createContext(!1), gme = P.createContext({ isTransitioning: !1 });+gme.displayName = "ViewTransition";+var _me = P.createContext(null);+_me.displayName = "Fetchers";+var vme = P.createContext(null);+vme.displayName = "Await";+var OB = P.createContext(null);+OB.displayName = "Navigation";+var kB = P.createContext(null);+kB.displayName = "Location";+var AB = P.createContext({outlet: null,matches: [],isDataRoute: !1});-NB.displayName = "Route";-var PB = P.createContext(!1);-PB.displayName = "IsDataRoute";-var FB = P.createContext(void 0);-FB.displayName = "RouteId";-var IB = P.createContext(null);-IB.displayName = "RouteError";+AB.displayName = "Route";+var jB = P.createContext(!1);+jB.displayName = "IsDataRoute";+var MB = P.createContext(void 0);+MB.displayName = "RouteId";+var NB = P.createContext(null);+NB.displayName = "RouteError";// node_modules/react-router/dist/production/lib/errors.js-var LB = "REACT_ROUTER_ERROR", hme = "REDIRECT", gme = "ROUTE_ERROR_RESPONSE";-function _me(e) {- if (e.startsWith(`${LB}:${hme}:{`)) try {+var PB = "REACT_ROUTER_ERROR", yme = "REDIRECT", bme = "ROUTE_ERROR_RESPONSE";+function xme(e) {+ if (e.startsWith(`${PB}:${yme}:{`)) try {let t = JSON.parse(e.slice(28));if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;} catch {}}-function vme(e) {- if (e.startsWith(`${LB}:${gme}:{`)) try {+function Sme(e) {+ if (e.startsWith(`${PB}:${bme}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new tme(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new ame(t.status, t.statusText, t.data);} catch {}}// node_modules/react-router/dist/production/lib/hooks.js-function RB() {- return P.useContext(MB) != null;+function FB() {+ return P.useContext(kB) != null;}-function zB() {- return aB(RB(), "useLocation() may be used only in the context of a <Router> component."), P.useContext(MB).location;+function IB() {+ return nB(FB(), "useLocation() may be used only in the context of a <Router> component."), P.useContext(kB).location;}-var BB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function yme() {- return P.useContext(PB) ? jme() : bme();+var LB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function Cme() {+ return P.useContext(jB) ? Fme() : wme();}-function bme() {- aB(RB(), "useNavigate() may be used only in the context of a <Router> component.");- let e = P.useContext(kB), { basename: t, navigator: n } = P.useContext(jB), { matches: r } = P.useContext(NB), { pathname: i } = zB(), a = JSON.stringify(Xpe(r)), o = P.useRef(!1);+function wme() {+ nB(FB(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = P.useContext(EB), { basename: t, navigator: n } = P.useContext(OB), { matches: r } = P.useContext(AB), { pathname: i } = IB(), a = JSON.stringify(eme(r)), o = P.useRef(!1);return P.useLayoutEffect(() => {o.current = !0;}), P.useCallback((r, s = {}) => {- if (oB(o.current, BB), !o.current) return;+ if (rB(o.current, LB), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = Zpe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : xB([t, c.pathname])), DB(typeof r == "string" ? r : lB(r), n.createHref(c), TB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = tme(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : vB([t, c.pathname])), wB(typeof r == "string" ? r : oB(r), n.createHref(c), SB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -42873,19 +42898,19 @@ function bme() {]);}P.createContext(null);-function xme(e, t) {- return VB(e, t);+function Tme(e, t) {+ return RB(e, t);}-function VB(e, t, n) {- aB(RB(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = P.useContext(jB), { matches: i } = P.useContext(NB), a = i[i.length - 1], o = a ? a.params : {};+function RB(e, t, n) {+ nB(FB(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = P.useContext(OB), { matches: i } = P.useContext(AB), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = zB(), l;+ let c = IB(), l;if (t) {- let e = typeof t == "string" ? uB(t) : t;- aB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? sB(t) : t;+ nB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -42893,13 +42918,13 @@ function VB(e, t, n) {d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");}let f;- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Mpe(e, { pathname: d });- let p = Dme(f && f.map((e) => Object.assign({}, e, {+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Ipe(e, { pathname: d });+ let p = jme(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: xB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : xB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: vB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : vB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ P.createElement(MB.Provider, { value: {+ return t && p ? /* @__PURE__ */ P.createElement(kB.Provider, { value: {location: {pathname: "/",search: "",@@ -42912,14 +42937,14 @@ function VB(e, t, n) {navigationType: "POP"} }, p) : p;}-function Sme() {- let e = Ame(), t = nme(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function Eme() {+ let e = Pme(), t = ome(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ P.createElement(P.Fragment, null, /* @__PURE__ */ P.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ P.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ P.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var Cme = /* @__PURE__ */ P.createElement(Sme, null), wme = class extends P.Component {+var Dme = /* @__PURE__ */ P.createElement(Eme, null), Ome = class extends P.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -42927,7 +42952,7 @@ var Cme = /* @__PURE__ */ P.createElement(Sme, null), wme = class extends P.Comperror: e.error};}- static contextType = dme;+ static contextType = hme;static getDerivedStateFromError(e) {return { error: e };}@@ -42948,30 +42973,30 @@ var Cme = /* @__PURE__ */ P.createElement(Sme, null), wme = class extends P.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = vme(e.digest);+ let t = Sme(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ P.createElement(NB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ P.createElement(PB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ P.createElement(FB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ P.createElement(IB.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ P.createElement(AB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ P.createElement(jB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ P.createElement(MB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ P.createElement(NB.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ P.createElement(Tme, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ P.createElement(kme, { error: e }, t) : t;}-}, HB = /* @__PURE__ */ new WeakMap();-function Tme({ children: e, error: t }) {- let { basename: n, navigator: r } = P.useContext(jB);+}, zB = /* @__PURE__ */ new WeakMap();+function kme({ children: e, error: t }) {+ let { basename: n, navigator: r } = P.useContext(OB);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = _me(t.digest);+ let e = xme(t.digest);if (e) {- let i = HB.get(t);+ let i = zB.get(t);if (i) throw i;- let a = ime(e.location, n), o = a.absoluteURL || a.to;- if (DB(e.location, o, TB(r), "allow-explicit"), cme(o)) throw Error("Invalid redirect location");- if (CB && !HB.get(t)) {+ let a = cme(e.location, n), o = a.absoluteURL || a.to;+ if (wB(e.location, o, SB(r), "allow-explicit"), fme(o)) throw Error("Invalid redirect location");+ if (bB && !zB.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw HB.set(t, n), n;+ throw zB.set(t, n), n;}}return /* @__PURE__ */ P.createElement("meta", {@@ -42982,11 +43007,11 @@ function Tme({ children: e, error: t }) {}return e;}-function Eme({ routeContext: e, match: t, children: n }) {- let r = P.useContext(kB);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ P.createElement(NB.Provider, { value: e }, /* @__PURE__ */ P.createElement(PB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ P.createElement(FB.Provider, { value: t.route.id }, n)));+function Ame({ routeContext: e, match: t, children: n }) {+ let r = P.useContext(EB);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ P.createElement(AB.Provider, { value: e }, /* @__PURE__ */ P.createElement(jB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ P.createElement(MB.Provider, { value: t.route.id }, n)));}-function Dme(e, t = [], n) {+function jme(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -42997,7 +43022,7 @@ function Dme(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- aB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ nB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -43017,16 +43042,16 @@ function Dme(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: rme(r.matches),+ pattern: sme(r.matches),errorInfo: t});} : void 0;return i.reduceRight((e, n, c) => {let u, d = !1, f = null, p = null;- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Cme, o && (s < 0 && c === 0 ? (Mme("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Dme, o && (s < 0 && c === 0 ? (Ime("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));let m = t.concat(i.slice(0, c + 1)), h = () => {let t;- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ P.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ P.createElement(Eme, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ P.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ P.createElement(Ame, {match: n,routeContext: {outlet: e,@@ -43036,7 +43061,7 @@ function Dme(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ P.createElement(wme, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ P.createElement(Ome, {location: r.location,revalidation: r.revalidation,component: f,@@ -43051,50 +43076,50 @@ function Dme(e, t = [], n) {}) : h();}, null);}-function UB(e) {+function BB(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function Ome(e) {- let t = P.useContext(kB);- return aB(t, UB(e)), t;+function Mme(e) {+ let t = P.useContext(EB);+ return nB(t, BB(e)), t;}-function kme(e) {- let t = P.useContext(AB);- return aB(t, UB(e)), t;+function Nme(e) {+ let t = P.useContext(DB);+ return nB(t, BB(e)), t;}-function WB(e) {- let t = P.useContext(FB);- return aB(t, `${e} can only be used on routes that contain a unique "id"`), t;+function VB(e) {+ let t = P.useContext(MB);+ return nB(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function Ame() {- let e = P.useContext(IB), t = kme("useRouteError"), n = WB("useRouteError");+function Pme() {+ let e = P.useContext(NB), t = Nme("useRouteError"), n = VB("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function jme() {- let { router: e } = Ome("useNavigate"), t = WB("useNavigate"), n = P.useRef(!1);+function Fme() {+ let { router: e } = Mme("useNavigate"), t = VB("useNavigate"), n = P.useRef(!1);return P.useLayoutEffect(() => {n.current = !0;}), P.useCallback(async (r, i = {}) => {- oB(n.current, BB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ rB(n.current, LB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var GB = {};-function Mme(e, t, n) {- !t && !GB[e] && (GB[e] = !0, oB(!1, n));+var HB = {};+function Ime(e, t, n) {+ !t && !HB[e] && (HB[e] = !0, rB(!1, n));}// node_modules/react-router/dist/production/lib/dom/ssr/components.js-var KB = P.createContext(void 0);-KB.displayName = "FrameworkContext", P.memo(Nme);-function Nme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = P.useContext(kB);- aB(a, "You must render this element inside a <DataRouterContext.Provider> element");- let o = P.useContext(KB)?.routeDiscoveryRuntime;+var UB = P.createContext(void 0);+UB.displayName = "FrameworkContext", P.memo(Lme);+function Lme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = P.useContext(EB);+ nB(a, "You must render this element inside a <DataRouterContext.Provider> element");+ let o = P.useContext(UB)?.routeDiscoveryRuntime;return P.useEffect(() => {n.initialized && o?.markReady();- }, [n.initialized, o]), VB(e, void 0, {+ }, [n.initialized, o]), RB(e, void 0, {router: a.router,manifest: t,state: n,@@ -43102,11 +43127,11 @@ function Nme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function qB(e) {- aB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");+function WB(e) {+ nB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");}-function Pme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- aB(!RB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function Rme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ nB(!FB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = P.useMemo(() => ({basename: s,navigator: i,@@ -43119,9 +43144,9 @@ function Pme({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = uB(n));+ typeof n == "string" && (n = sB(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = P.useMemo(() => {- let e = _B(l, s);+ let e = mB(l, s);return e == null ? null : {location: {pathname: e,@@ -43143,27 +43168,27 @@ function Pme({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return oB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ P.createElement(jB.Provider, { value: c }, /* @__PURE__ */ P.createElement(MB.Provider, {+ return rB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ P.createElement(OB.Provider, { value: c }, /* @__PURE__ */ P.createElement(kB.Provider, {children: t,value: h}));}-function JB({ children: e, location: t }) {- return xme(YB(e), t);+function GB({ children: e, location: t }) {+ return Tme(KB(e), t);}P.Component;-function YB(e, t = []) {+function KB(e, t = []) {let n = [];return P.Children.forEach(e, (e, r) => {if (!P.isValidElement(e)) return;let i = [...t, r];if (e.type === P.Fragment) {- n.push.apply(n, YB(e.props.children, i));+ n.push.apply(n, KB(e.props.children, i));return;}- aB(e.type === qB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ nB(e.type === WB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- aB(!a.index || !a.children, "An index route cannot have child routes.");+ nB(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -43182,15 +43207,15 @@ function YB(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = YB(a.children, i)), n.push(o);+ a.children && (o.children = KB(a.children, i)), n.push(o);}), n;}// src/react/components/board-navigation-link.tsx-function Fme(e) {+function zme(e) {return /* @__PURE__ */ (0, F.jsx)("a", { ...e });}// src/react/boardui/components/foundations/icons/chevrons.tsx-function Ime(e) {+function Bme(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43204,7 +43229,7 @@ function Ime(e) {})});}-function Lme(e) {+function Vme(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -43218,7 +43243,7 @@ function Lme(e) {})});}-function XB(e) {+function qB(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -43231,55 +43256,55 @@ function XB(e) {});}// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function Rme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function Hme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = P.Children.toArray(e).filter(P.isValidElement);return /* @__PURE__ */ (0, F.jsx)("nav", {ref: r,"aria-label": t,- className: hF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: K("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, F.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, F.jsx)(Lme, {+ children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, F.jsx)(Vme, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function ZB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function JB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t && /* @__PURE__ */ (0, F.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, F.jsx)("li", {"aria-current": "page",- className: hF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: K("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = hF("-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 = K("-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, F.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, F.jsx)(Fme, {+ children: n ? /* @__PURE__ */ (0, F.jsx)(zme, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: r,- className: hF("cursor-pointer", s),+ className: K("cursor-pointer", s),children: o})});}// src/react/boardui/components/foundations/direction/direction.tsx-function QB() {- return zS().direction;+function YB() {+ return LS().direction;}// src/react/boardui/components/base/dropdown/menu-styles.ts-var $B = "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", zme = "w-[266px]", Bme = "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", tV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+var XB = "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", Ume = "w-[266px]", Wme = "flex w-full flex-col gap-1 outline-none", ZB = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", QB = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";// src/react/boardui/components/base/tree-view/tree-view.tsx-function Vme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = QB(), l = (0, P.useContext)(EI), u = l === CI && !s.dragAndDropHooks ? rV : l;+function Gme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = YB(), l = (0, P.useContext)(CI), u = l === bI && !s.dragAndDropHooks ? eV : l;return /* @__PURE__ */ (0, F.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -43296,23 +43321,23 @@ function Vme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, F.jsx)(EI.Provider, {+ children: /* @__PURE__ */ (0, F.jsx)(CI.Provider, {value: u,- children: /* @__PURE__ */ (0, F.jsx)(Cfe, {+ children: /* @__PURE__ */ (0, F.jsx)(Dfe, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => hF("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 === rV ? "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) => K("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === eV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)})})});}-function nV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = QB();- return /* @__PURE__ */ (0, F.jsxs)(Efe, {+function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = YB();+ return /* @__PURE__ */ (0, F.jsxs)(Afe, {...u,ref: l,textValue: t,@@ -43320,11 +43345,11 @@ function nV({ 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) => hF("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, F.jsx)(Tfe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? _z : gz : Zfe);+ className: (e) => K("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, F.jsx)(kfe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? mz : pz : tpe);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Ume, {+ /* @__PURE__ */ (0, F.jsx)(qme, {state: l,id: u,level: c,@@ -43334,20 +43359,20 @@ function nV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, F.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, F.jsx)(MI, {+ children: [t ? /* @__PURE__ */ (0, F.jsx)(kI, {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, F.jsx)(pz, {+ children: /* @__PURE__ */ (0, F.jsx)(uz, {"aria-hidden": !0,- className: hF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: K("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: hF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: K("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, F.jsx)(f, {"aria-hidden": !0,- className: hF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: K("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -43362,24 +43387,24 @@ function nV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var rV = {- ...CI,- CollectionRoot: Hme+var eV = {+ ...bI,+ CollectionRoot: Kme};-function Hme({ collection: e, ...t }) {- let n = (0, P.useContext)(cz);- return n ? /* @__PURE__ */ (0, F.jsx)(wy, {+function Kme({ collection: e, ...t }) {+ let n = (0, P.useContext)(az);+ return n ? /* @__PURE__ */ (0, F.jsx)(Sy, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(Wme, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(Jme, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, F.jsx)(CI.CollectionRoot, {+ }) : /* @__PURE__ */ (0, F.jsx)(bI.CollectionRoot, {collection: e,...t});}-function Ume({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function qme({ 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;@@ -43412,7 +43437,7 @@ function Ume({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: hF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: K("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, F.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -43438,9 +43463,9 @@ function Ume({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function Wme({ state: e, children: t }) {- let n = xy(), r = tb(), [i, a] = (0, P.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(lb.div, {+function Jme({ state: e, children: t }) {+ let n = yy(), r = $y(), [i, a] = (0, P.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(sb.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43479,14 +43504,14 @@ function Wme({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, F.jsx)(cz.Provider, {+ children: /* @__PURE__ */ (0, F.jsx)(az.Provider, {value: n ? e : i,children: t})});}// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var iV = {+var tV = {md: {box: "size-4",glyph: "size-4",@@ -43500,11 +43525,11 @@ var iV = {gap: "gap-1.5"}};-function aV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = iV[t], c = n || r, l = o && !a;+function nV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: hF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? hF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : hF("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: K("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? K("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : K("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, F.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43527,41 +43552,41 @@ function aV({ state: e, size: t = "md" }) {});}// src/react/boardui/components/base/checkbox/checkbox.tsx-function oV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = iV[n];- return /* @__PURE__ */ (0, F.jsx)(Cue, {+function rV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = tV[n];+ return /* @__PURE__ */ (0, F.jsx)(Due, {ref: r,...i,- className: (t) => hF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(aV, {+ className: (t) => K("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(nV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: hF(a.label, "text-text-primary"),+ className: K(a.label, "text-text-primary"),children: t})] })});}// src/react/components/overlay-scrollbar.ts-function sV() {+function iV() {let e = (0, P.useRef)(null), t = (0, P.useRef)(null);return (0, P.useEffect)(() => {t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {node: e.current,- control: vo(e.current)+ control: yo(e.current)} : null);}), (0, P.useEffect)(() => () => {t.current?.control?.destroy(), t.current = null;}, []), e;}// src/history/settings-route.ts-var cV = {+var aV = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, lV = {+}, oV = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -43569,37 +43594,37 @@ var cV = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function uV(e) {- return lV[e.split("/")[2]] || lV.library;+function sV(e) {+ return oV[e.split("/")[2]] || oV.library;}-var dV = ["/settings", ...Object.keys(cV).map((e) => `/settings/${e}`)], fV = (e) => dV.includes(e);-function pV(e) {- return cV[e.split("/")[2]] || cV.appearance;+var cV = ["/settings", ...Object.keys(aV).map((e) => `/settings/${e}`)], lV = (e) => cV.includes(e);+function uV(e) {+ return aV[e.split("/")[2]] || aV.appearance;}-function mV(e) {+function dV(e) {return `/settings/${Object.entries({- ...cV,- ...lV+ ...aV,+ ...oV}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var hV = (e) => {+var fV = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, gV = [+}, pV = ["/assets/:id","/posts/:id","/works/:code"-], Gme = [+], Yme = ["mix","parts","editions","playlist"];-function _V(e, t = "") {+function mV(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of gV) {- let r = mB(n, e);+ for (let n of pV) {+ let r = dB(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -43616,7 +43641,7 @@ function _V(e, t = "") {let a = Number(i[0]);if (!Number.isSafeInteger(a) || a <= 0) return null;if (n === "/assets/:id") {- let e = new URLSearchParams(t), r = Gme.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = Yme.filter((t) => e.has(t));if (r.length === 1) {let t = r[0], i = e.get(t), o = Number(i);if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {@@ -43640,8 +43665,8 @@ function _V(e, t = "") {}return null;}-var vV = (e, t = "") => _V(e, t)?.target ?? null, yV = (e) => fV(e.split(/[?#]/)[0]) || gV.some((t) => mB(t, e.split(/[?#]/)[0]) !== null);-function bV(e) {+var hV = (e, t = "") => mV(e, t)?.target ?? null, gV = (e) => lV(e.split(/[?#]/)[0]) || pV.some((t) => dB(t, e.split(/[?#]/)[0]) !== null);+function _V(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -43649,34 +43674,34 @@ function bV(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var xV = null, SV = null;-function CV() {+var vV = null, yV = null;+function bV() {let { pathname: e, search: t, hash: n } = window.location;- yV(e) || (xV = {+ gV(e) || (vV = {pathname: e,search: t,...n ? { hash: n } : {}});}-function wV() {- xV = null, SV = null;+function xV() {+ vV = null, yV = null;}-function Kme(e) {- let t = bV(e);- t && (xV = t, SV = t.pathname + t.search + (t.hash || ""));+function Xme(e) {+ let t = _V(e);+ t && (vV = t, yV = t.pathname + t.search + (t.hash || ""));}-function TV() {- let e = SV;- return SV = null, e;+function SV() {+ let e = yV;+ return yV = null, e;}-function EV(e) {- return xV ? {- backgroundLocation: { ...xV },+function CV(e) {+ return vV ? {+ backgroundLocation: { ...vV },overlay: e} : void 0;}// src/history/canonical-path.ts-function DV(e) {+function wV(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -43699,16 +43724,16 @@ function DV(e) {}[t.pathname] || t.pathname, t.pathname + t.search + t.hash;}// src/history/route-meta.ts-var OV = {+var TV = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(cV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(aV).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(lV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(oV).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -43844,14 +43869,14 @@ var OV = {title: "播放墙"}};-function kV(e) {- if (Object.hasOwn(OV, e)) return OV[e];- let t = _V(e);- if (t) return OV[t.path];+function EV(e) {+ if (Object.hasOwn(TV, e)) return TV[e];+ let t = mV(e);+ if (t) return TV[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(OV, `/${n}`) ? OV[`/${n}`] : null;- let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Wt({+ if (!r.length) return Object.hasOwn(TV, `/${n}`) ? TV[`/${n}`] : null;+ let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Gt({performers: "performer",studios: "studio",creators: "creator",@@ -43859,124 +43884,124 @@ function kV(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(OV, i) ? {- ...OV[i],+ return Object.hasOwn(TV, i) ? {+ ...TV[i],title: a || "资料"} : null;}// src/history/managed.ts-var AV = () => {}, jV = new Promise((e) => {- AV = e;+var DV = () => {}, OV = new Promise((e) => {+ DV = e;});-jV.catch(() => {});-var MV = null, NV = /* @__PURE__ */ new Map(), PV = /* @__PURE__ */ new Map(), FV = 0, IV = /* @__PURE__ */ new Set();-function qme(e) {- AV(e);+OV.catch(() => {});+var kV = null, AV = /* @__PURE__ */ new Map(), jV = /* @__PURE__ */ new Map(), MV = 0, NV = /* @__PURE__ */ new Set();+function Zme(e) {+ DV(e);}-function LV(e) {- return NV.get(e) ?? null;+function PV(e) {+ return AV.get(e) ?? null;}-function RV(e) {- return !!e && (NV.has(e) || PV.has(e));+function FV(e) {+ return !!e && (AV.has(e) || jV.has(e));}-var zV = () => [...NV.values()];-function Jme(e) {- return IV.add(e), () => {- IV.delete(e);+var IV = () => [...AV.values()];+function Qme(e) {+ return NV.add(e), () => {+ NV.delete(e);};}-function BV(e) {- let t = zV();- for (let n of [...IV]) n(t, e);+function LV(e) {+ let t = IV();+ for (let n of [...NV]) n(t, e);}-async function VV(e, t, n) {+async function RV(e, t, n) {let { container: r } = n;- if (UV(r), !n.isCurrent()) return !1;- FV += 1;+ if (BV(r), !n.isCurrent()) return !1;+ MV += 1;let i = {- revision: FV,+ revision: MV,controller: new AbortController()};- PV.set(r, i);- let a = MV;- MV = null, a?.();- let o = await jV;- if (PV.get(r) !== i) return !1;+ jV.set(r, i);+ let a = kV;+ kV = null, a?.();+ let o = await OV;+ if (jV.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (PV.get(r) !== i || (PV.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : Yme(r);- return NV.set(r, {+ if (jV.get(r) !== i || (jV.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : $me(r);+ return AV.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), BV(!0), !0;+ }), LV(!0), !0;}-function Yme(e) {+function $me(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function HV(e, t) {- let n = e ? NV.get(e) : void 0;- n && (NV.set(n.container, {+function zV(e, t) {+ let n = e ? AV.get(e) : void 0;+ n && (AV.set(n.container, {...n,props: {...n.props,...t}- }), BV(!1));+ }), LV(!1));}-function UV(e, ...t) {+function BV(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = PV.get(r);- e && (e.controller.abort(), PV.delete(r));- let t = NV.get(r);- t && (NV.delete(r), n.push(t));+ let e = jV.get(r);+ e && (e.controller.abort(), jV.delete(r));+ let t = AV.get(r);+ t && (AV.delete(r), n.push(t));}if (n.length) {- BV(!0);+ LV(!0);for (let e of n) e.resident || e.host.remove();}}-function Xme() {- let [e, ...t] = /* @__PURE__ */ new Set([...NV.keys(), ...PV.keys()]);- e && UV(e, ...t);+function ehe() {+ let [e, ...t] = /* @__PURE__ */ new Set([...AV.keys(), ...jV.keys()]);+ e && BV(e, ...t);}-function Zme(e, t) {- let n = NV.get(e);- n?.revision === t && (NV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- BV(!1);+function the(e, t) {+ let n = AV.get(e);+ n?.revision === t && (AV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ LV(!1);}));}// src/history/index.ts-var WV = Ope({ v5Compat: !0 }), GV = 0, KV = 0, qV = {- action: WV.action,- location: WV.location,- seq: GV,- openEpoch: KV,+var VV = Mpe({ v5Compat: !0 }), HV = 0, UV = 0, WV = {+ action: VV.action,+ location: VV.location,+ seq: HV,+ openEpoch: UV,claimed: !0-}, JV = /* @__PURE__ */ new Set(), YV = !1, XV = !0;-WV.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = DV(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = WV.location), GV += 1, YV || (KV += 1), e !== "REPLACE" && (XV = !1), qV = {+}, GV = /* @__PURE__ */ new Set(), KV = !1, qV = !0;+VV.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = wV(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = VV.location), HV += 1, KV || (UV += 1), e !== "REPLACE" && (qV = !1), WV = {action: e,location: t,- seq: GV,- openEpoch: KV,- claimed: YV+ seq: HV,+ openEpoch: UV,+ claimed: KV};- for (let e of [...JV]) e(qV);+ for (let e of [...GV]) e(WV);});-function ZV(e) {- if (typeof e == "string") return DV(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = DV(t.href);+function JV(e) {+ if (typeof e == "string") return wV(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = wV(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -43986,77 +44011,77 @@ function ZV(e) {hash: r.hash};}-var QV = {+var YV = {get navigation() {- return qV;+ return WV;},listen(e) {- return JV.add(e), () => {- JV.delete(e);+ return GV.add(e), () => {+ GV.delete(e);};},- createHref: (e) => WV.createHref(e),- createURL: (e) => WV.createURL(e),- encodeLocation: (e) => WV.encodeLocation(e),- go: (e) => WV.go(e),- push: (e, t) => WV.push(ZV(e), t),- replace: (e, t) => WV.replace(ZV(e), t)+ createHref: (e) => VV.createHref(e),+ createURL: (e) => VV.createURL(e),+ encodeLocation: (e) => VV.encodeLocation(e),+ go: (e) => VV.go(e),+ push: (e, t) => VV.push(JV(e), t),+ replace: (e, t) => VV.replace(JV(e), t)};-function $V(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = DV(`${r.pathname}${r.search}${r.hash}`);- YV = !0;+function XV(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = wV(`${r.pathname}${r.search}${r.hash}`);+ KV = !0;try {- t ? WV.replace(i, n) : WV.push(i, n);+ t ? VV.replace(i, n) : VV.push(i, n);} finally {- YV = !1;+ KV = !1;}}-var eH = () => XV;-function tH() {- if (fV(qV.location.pathname)) {- let e = XV ? null : hV(qV.location.state);- return e ? bV(e.state) || e : null;+var ZV = () => qV;+function QV() {+ if (lV(WV.location.pathname)) {+ let e = qV ? null : fV(WV.location.state);+ return e ? _V(e.state) || e : null;}- return XV ? null : bV(qV.location.state);+ return qV ? null : _V(WV.location.state);}// src/react/providers.tsx-var nH = null;-function Qme() {- return nH?.isConnected || (nH = document.createElement("div"), nH.className = "peach-react", nH.dataset.reactOverlays = "", document.body.append(nH)), nH;+var $V = null;+function nhe() {+ return $V?.isConnected || ($V = document.createElement("div"), $V.className = "peach-react", $V.dataset.reactOverlays = "", document.body.append($V)), $V;}-function rH({ children: e }) {+function eH({ children: e }) {return /* @__PURE__ */ (0, F.jsx)(se, {- client: H,- children: /* @__PURE__ */ (0, F.jsx)(Bte, {+ client: V,+ children: /* @__PURE__ */ (0, F.jsx)(Ute, {reducedMotion: "user",- children: /* @__PURE__ */ (0, F.jsx)(VT, {- getContainer: Qme,+ children: /* @__PURE__ */ (0, F.jsx)(RT, {+ getContainer: nhe,children: e})})});}// node_modules/sonner/dist/index.mjs-function $me(e) {+function rhe(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 ehe = (e) => {+var ihe = (e) => {switch (e) {- case "success": return rhe;- case "info": return ahe;- case "warning": return ihe;- case "error": return ohe;+ case "success": return she;+ case "info": return lhe;+ case "warning": return che;+ case "error": return uhe;default: return null;}-}, the = Array(12).fill(0), nhe = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {+}, ahe = Array(12).fill(0), ohe = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, the.map((e, t) => /*#__PURE__*/ P.createElement("div", {+}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, ahe.map((e, t) => /*#__PURE__*/ P.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), rhe = /*#__PURE__*/ P.createElement("svg", {+})))), she = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44067,7 +44092,7 @@ var ehe = (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"-})), ihe = /*#__PURE__*/ P.createElement("svg", {+})), che = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44078,7 +44103,7 @@ var ehe = (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"-})), ahe = /*#__PURE__*/ P.createElement("svg", {+})), lhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44089,7 +44114,7 @@ var ehe = (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"-})), ohe = /*#__PURE__*/ P.createElement("svg", {+})), uhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44100,7 +44125,7 @@ var ehe = (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"-})), she = /*#__PURE__*/ P.createElement("svg", {+})), dhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44121,7 +44146,7 @@ var ehe = (e) => {y1: "6",x2: "18",y2: "18"-})), che = () => {+})), fhe = () => {let [e, t] = P.useState(document.hidden);return P.useEffect(() => {let e = () => {@@ -44129,7 +44154,7 @@ var ehe = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, lhe = 1, uhe = 100, iH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : lhe++, aH = new class {+}, phe = 1, mhe = 100, tH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : phe++, nH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44139,10 +44164,10 @@ var ehe = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - uhe;+ let e = this.toasts.length - mhe;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 = iH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = tH(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({@@ -44217,7 +44242,7 @@ var ehe = (e) => {type: "default",message: e});- else if (fhe(e) && !e.ok) {+ else if (ghe(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" && !P.isValidElement(r) ? r : { message: r };this.create({@@ -44261,7 +44286,7 @@ var ehe = (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 = iH(t);+ let n = tH(t);return this.create({...t,jsx: e(n),@@ -44270,37 +44295,37 @@ var ehe = (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();}-}(), dhe = (e, t) => aH.message(e, t), fhe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", oH = Object.assign(dhe, {- success: aH.success,- info: aH.info,- warning: aH.warning,- error: aH.error,- custom: aH.custom,- message: aH.message,- promise: aH.promise,- dismiss: aH.dismiss,- loading: aH.loading+}(), hhe = (e, t) => nH.message(e, t), ghe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", rH = Object.assign(hhe, {+ success: nH.success,+ info: nH.info,+ warning: nH.warning,+ error: nH.error,+ custom: nH.custom,+ message: nH.message,+ promise: nH.promise,+ dismiss: nH.dismiss,+ loading: nH.loading}, {- getHistory: () => aH.toasts,- getToasts: () => aH.getActiveToasts()+ getHistory: () => nH.toasts,+ getToasts: () => nH.getActiveToasts()});-$me("[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 sH(e) {+rhe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");+function iH(e) {return e.label !== void 0;}-var phe = 3, mhe = "24px", hhe = "16px", cH = 4e3, ghe = 356, _he = 14, vhe = 45, yhe = 200;-function lH(...e) {+var _he = 3, vhe = "24px", yhe = "16px", aH = 4e3, bhe = 356, xhe = 14, She = 45, Che = 200;+function oH(...e) {return e.filter(Boolean).join(" ");}-function bhe(e) {+function whe(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var xhe = (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] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, ee] = P.useState(!1), [te, ne] = P.useState(!1), [N, re] = P.useState(!1), [ie, F] = P.useState(!1), [ae, oe] = P.useState(0), [se, ce] = P.useState(0), le = P.useRef(n.duration || y || cH), ue = P.useRef(null), de = P.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", I = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = P.useMemo(() => n.duration || y || cH, [n.duration, y]), xe = P.useRef(0), Se = P.useRef(0), Ce = P.useRef(0), we = P.useRef(null), [Te, Ee] = b.split("-"), De = P.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = che(), ke = P.useMemo(() => e.swipeDirections ?? bhe(b), [e.swipeDirections, b]), Ae = n.invert || t, je = me === "loading";- Se.current = P.useMemo(() => ve * x + De, [ve, De]), P.useEffect(() => {- le.current = be;- }, [be]), P.useEffect(() => {+var The = (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] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, ee] = P.useState(!1), [te, ne] = P.useState(!1), [N, re] = P.useState(!1), [ie, F] = P.useState(!1), [ae, oe] = P.useState(0), [se, ce] = P.useState(0), le = P.useRef(n.duration || y || aH), ue = P.useRef(null), de = P.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = P.useMemo(() => n.duration || y || aH, [n.duration, y]), Se = P.useRef(0), Ce = P.useRef(0), we = P.useRef(0), Te = P.useRef(null), [Ee, De] = b.split("-"), Oe = P.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = fhe(), Ae = P.useMemo(() => e.swipeDirections ?? whe(b), [e.swipeDirections, b]), je = n.invert || t, Me = me === "loading";+ Ce.current = P.useMemo(() => ye * x + Oe, [ye, Oe]), P.useEffect(() => {+ le.current = xe;+ }, [xe]), P.useEffect(() => {j(!0);}, []), P.useEffect(() => {let e = de.current;@@ -44335,52 +44360,52 @@ var xhe = (e) => {n.action,n.cancel]);- let Me = P.useCallback(() => {- ee(!0), oe(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {+ let Ne = P.useCallback(() => {+ ee(!0), oe(Ce.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, yhe);+ }, Che);}, [n,d,a,- Se+ Ce]);P.useEffect(() => {if (n.promise && me === "loading" || n.duration === Infinity || n.type === "loading") return;let e;- return u || i || Oe ? (() => {- if (Ce.current < xe.current) {- let e = (/* @__PURE__ */ new Date()).getTime() - xe.current;+ return u || i || ke ? (() => {+ if (we.current < Se.current) {+ let e = (/* @__PURE__ */ new Date()).getTime() - Se.current;le.current -= e;}- Ce.current = (/* @__PURE__ */ new Date()).getTime();- })() : le.current !== Infinity && (xe.current = (/* @__PURE__ */ new Date()).getTime(), e = setTimeout(() => {- n.onAutoClose == null || n.onAutoClose.call(n, n), Me();+ we.current = (/* @__PURE__ */ new Date()).getTime();+ })() : le.current !== Infinity && (Se.current = (/* @__PURE__ */ new Date()).getTime(), e = setTimeout(() => {+ n.onAutoClose == null || n.onAutoClose.call(n, n), Ne();}, le.current)), () => clearTimeout(e);}, [u,i,n,me,- Oe,- Me+ ke,+ Ne]), P.useEffect(() => {- n.delete && (Me(), n.onDismiss == null || n.onDismiss.call(n, n));- }, [Me, n.delete]);- function Ne() {+ n.delete && (Ne(), n.onDismiss == null || n.onDismiss.call(n, n));+ }, [Ne, n.delete]);+ function Pe() {return w?.loading ? /*#__PURE__*/ P.createElement("div", {- className: lH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: oH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": me === "loading"- }, w.loading) : /*#__PURE__*/ P.createElement(nhe, {- className: lH(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ P.createElement(ohe, {+ className: oH(C?.loader, n?.classNames?.loader),visible: me === "loading"});}- let Pe = n.icon || w?.[me] || ehe(me);+ let Fe = n.icon || w?.[me] || ihe(me);return /*#__PURE__*/ P.createElement("li", {tabIndex: 0,ref: de,- className: lH(_, ge, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),+ className: oH(_, _e, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -44389,14 +44414,14 @@ var xhe = (e) => {"data-swiped": ie,"data-removed": M,"data-visible": pe,- "data-y-position": Te,- "data-x-position": Ee,+ "data-y-position": Ee,+ "data-x-position": De,"data-index": c,"data-front": fe,"data-swiping": te,- "data-dismissible": I,+ "data-dismissible": ge,"data-type": me,- "data-invert": Ae,+ "data-invert": je,"data-swipe-out": N,"data-swipe-direction": O,"data-expanded": !!(u || S && A),@@ -44405,25 +44430,25 @@ var xhe = (e) => {"--index": c,"--toasts-before": c,"--z-index": l.length - c,- "--offset": `${M ? ae : Se.current}px`,+ "--offset": `${M ? ae : Ce.current}px`,"--initial-height": S ? "auto" : `${se}px`,...m,...n.style},onDragEnd: () => {- ne(!1), D(null), we.current = null;+ ne(!1), D(null), Te.current = null;},onPointerDown: (e) => {- e.button !== 2 && !je && I && (ue.current = /* @__PURE__ */ new Date(), oe(Se.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (ne(!0), we.current = {+ e.button !== 2 && !Me && ge && (ue.current = /* @__PURE__ */ new Date(), oe(Ce.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (ne(!0), Te.current = {x: e.clientX,y: e.clientY}));},onPointerUp: () => {- if (N || !I) return;- we.current = null;+ if (N || !ge) return;+ Te.current = null;let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.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) >= vhe || a > .11)) oe(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), re(!0);+ if ((E === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= She || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), re(!0);else {var o, s;(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), F(!1), ne(!1), D(null);@@ -44431,23 +44456,23 @@ var xhe = (e) => {},onPointerMove: (e) => {var t, n;- if (!we.current || !I || window.getSelection()?.toString().length > 0) return;- let r = e.clientY - we.current.y, i = e.clientX - we.current.x;+ if (!Te.current || !ge || window.getSelection()?.toString().length > 0) return;+ let r = e.clientY - Te.current.y, i = e.clientX - Te.current.x;!E && (Math.abs(i) > 1 || Math.abs(r) > 1) && D(Math.abs(i) > Math.abs(r) ? "x" : "y");let a = {x: 0,y: 0}, o = (e) => 1 / (1.5 + Math.abs(e) / 20);if (E === "y") {- if (ke.includes("top") || ke.includes("bottom")) {- if (ke.includes("top") && r < 0 || ke.includes("bottom") && r > 0) a.y = r;+ if (Ae.includes("top") || Ae.includes("bottom")) {+ if (Ae.includes("top") && r < 0 || Ae.includes("bottom") && r > 0) a.y = r;else {let e = r * o(r);a.y = Math.abs(e) < Math.abs(r) ? e : r;}}- } else if (E === "x" && (ke.includes("left") || ke.includes("right"))) {- if (ke.includes("left") && i < 0 || ke.includes("right") && i > 0) a.x = i;+ } else if (E === "x" && (Ae.includes("left") || Ae.includes("right"))) {+ if (Ae.includes("left") && i < 0 || Ae.includes("right") && i > 0) a.x = i;else {let e = i * o(i);a.x = Math.abs(e) < Math.abs(i) ? e : i;@@ -44455,53 +44480,53 @@ var xhe = (e) => {}(Math.abs(a.x) > 0 || Math.abs(a.y) > 0) && F(!0), (t = de.current) == null || t.style.setProperty("--swipe-amount-x", `${a.x}px`), (n = de.current) == null || n.style.setProperty("--swipe-amount-y", `${a.y}px`);}- }, ye && !n.jsx && me !== "loading" ? /*#__PURE__*/ P.createElement("button", {+ }, be && !n.jsx && me !== "loading" ? /*#__PURE__*/ P.createElement("button", {"aria-label": T,- "data-disabled": je,+ "data-disabled": Me,"data-close-button": !0,- onClick: je || !I ? () => {} : () => {- Me(), n.onDismiss == null || n.onDismiss.call(n, n);+ onClick: Me || !ge ? () => {} : () => {+ Ne(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: lH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? she) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {+ className: oH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? dhe) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {"data-icon": "",- className: lH(C?.icon, n?.classNames?.icon)- }, me === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, me === "loading" ? null : Pe) : null, /*#__PURE__*/ P.createElement("div", {+ className: oH(C?.icon, n?.classNames?.icon)+ }, me === "loading" ? n.icon || Pe() : n.promise ? Pe() : null, me === "loading" ? null : Fe) : null, /*#__PURE__*/ P.createElement("div", {"data-content": "",- className: lH(C?.content, n?.classNames?.content)+ className: oH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ P.createElement("div", {"data-title": "",- className: lH(C?.title, n?.classNames?.title)+ className: oH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ P.createElement("div", {"data-description": "",- className: lH(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ P.isValidElement(n.cancel) ? n.cancel : n.cancel && sH(n.cancel) ? /*#__PURE__*/ P.createElement("button", {+ className: oH(v, ve, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ P.isValidElement(n.cancel) ? n.cancel : n.cancel && iH(n.cancel) ? /*#__PURE__*/ P.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- sH(n.cancel) && I && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ iH(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());},- className: lH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ P.isValidElement(n.action) ? n.action : n.action && sH(n.action) ? /*#__PURE__*/ P.createElement("button", {+ className: oH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ P.isValidElement(n.action) ? n.action : n.action && iH(n.action) ? /*#__PURE__*/ P.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- sH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ iH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());},- className: lH(C?.actionButton, n?.classNames?.actionButton)+ className: oH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function uH() {+function sH() {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 She(e, t) {+function Ehe(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? hhe : mhe;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? yhe : vhe;function o(e) {["top",@@ -44522,18 +44547,18 @@ function She(e, t) {}) : o(a);}), n;}-var dH = /*#__PURE__*/ P.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 = phe, toastOptions: g, dir: _ = uH(), gap: v = _he, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, ee] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = P.useRef(null), ne = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), N = P.useRef(null), re = P.useRef(!1), ie = P.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || aH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var cH = /*#__PURE__*/ P.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 = _he, toastOptions: g, dir: _ = sH(), gap: v = xhe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, ee] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = P.useRef(null), ne = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), N = P.useRef(null), re = P.useRef(!1), ie = P.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || nH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return P.useEffect(() => aH.subscribe((e) => {+ return P.useEffect(() => nH.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,delete: !0} : t));}) : setTimeout(() => {- Lt.flushSync(() => {+ Rt.flushSync(() => {C((t) => {let n = t.findIndex((t) => t.id === e.id);return n === -1 ? [e, ...t] : [@@ -44595,7 +44620,7 @@ var dH = /*#__PURE__*/ P.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ P.createElement("ol", {key: t,- dir: _ === "auto" ? uH() : _,+ dir: _ === "auto" ? sH() : _,tabIndex: -1,ref: te,className: c,@@ -44605,10 +44630,10 @@ var dH = /*#__PURE__*/ P.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${ghe}px`,+ "--width": `${bhe}px`,"--gap": `${v}px`,...m,- ...She(l, u)+ ...Ehe(l, u)},onBlur: (e) => {re.current && !e.currentTarget.contains(e.relatedTarget) && (re.current = !1, N.current &&= (N.current.focus({ preventScroll: !0 }), null));@@ -44626,7 +44651,7 @@ var dH = /*#__PURE__*/ P.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__*/ P.createElement(xhe, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ P.createElement(The, {key: n.id,icons: y,index: i,@@ -44656,35 +44681,35 @@ var dH = /*#__PURE__*/ P.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), fH = "/api/library-processing", pH = ["library-processing"], Che = (e, t, n) => {+}), lH = "/api/library-processing", uH = ["library-processing"], Dhe = (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(`${fH}?${r}`, t);-}, whe = {+ 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), z(`${lH}?${r}`, t);+}, Ohe = {fetching_cover: "封面",querying_metadata: "资料"};-function mH(e) {+function dH(e) {if (e?.status !== "running" || e.current_asset_id == null) return null;- let t = whe[e.current_action || ""];+ let t = Ohe[e.current_action || ""];return !t || (e.waited_seconds || 0) < 120 ? null : {what: t,source: e.current_source};}-function hH({ what: e, source: t }) {+function fH({ what: e, source: t }) {return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;}-var gH = (e) => !!e && [+var pH = (e) => !!e && ["running","pausing","paused","stopping"-].includes(e.status), _H = (e) => e?.status === "failed" && e.outcome === "partial", vH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", yH = "/?loc=&thumb=0";-function bH(e) {- if (!gH(e)) return "";+].includes(e.status), mH = (e) => e?.status === "failed" && e.outcome === "partial", hH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", gH = "/?loc=&thumb=0";+function _H(e) {+ if (!pH(e)) return "";if (e.status === "stopping") return "正在停止,等待当前步骤退出;已取得的结果会保留";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";@@ -44695,18 +44720,18 @@ function bH(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 xH = (e) => B(fH, e);-async function SH(e) {- await H.fetchQuery({- queryKey: pH,- queryFn: () => xH(e)+var vH = (e) => z(lH, e);+async function yH(e) {+ await V.fetchQuery({+ queryKey: uH,+ queryFn: () => vH(e)});}-var The = 2e3, Ehe = 1e4, CH = "连接中断,正在重新读取处理进度";-function wH(e, t) {- return gH(e) ? The : t ? Ehe : !1;+var khe = 2e3, Ahe = 1e4, bH = "连接中断,正在重新读取处理进度";+function xH(e, t) {+ return pH(e) ? khe : t ? Ahe : !1;}-var Dhe = {+var jhe = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -44715,25 +44740,25 @@ var Dhe = {skipped: "已跳过",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, TH = {+}, SH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function Ohe(e) {- let t = Object.entries(e).filter(([e, t]) => TH[e] && t > 0).map(([e, t]) => `${TH[e]} ${t.toLocaleString()} 部`);+function Mhe(e) {+ let t = Object.entries(e).filter(([e, t]) => SH[e] && t > 0).map(([e, t]) => `${SH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function khe(e) {+function Nhe(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = Dhe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${PF(e.waited_seconds)}` : "";+ let t = jhe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${jF(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function Ahe(e) {- let t = e.total ? `${FF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return khe(e) + (t ? ` · ${t}` : "");+function Phe(e) {+ let t = e.total ? `${MF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return Nhe(e) + (t ? ` · ${t}` : "");}-function jhe(e) {+function Fhe(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -44747,22 +44772,22 @@ function jhe(e) {log: e.issues_log || ""} : null;}-var EH = "peach.library-processing.announced", Mhe = 120;-function DH(e) {+var CH = "peach.library-processing.announced", Ihe = 120;+function wH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < Mhe;+ return !!e.job_id && t >= 0 && t < Ihe;}-function Nhe(e, t, n) {- if (e.status === "complete" && (n || DH(e))) {+function Lhe(e, t, n) {+ if (e.status === "complete" && (n || wH(e))) {try {- if (e.job_id && localStorage.getItem(EH) === e.job_id) return;- e.job_id && localStorage.setItem(EH, e.job_id);+ if (e.job_id && localStorage.getItem(CH) === e.job_id) return;+ e.job_id && localStorage.setItem(CH, 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 OH = gF({+var TH = pF({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",@@ -44779,15 +44804,15 @@ var OH = gF({secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"}});-function kH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = hF(OH.base, OH.size[t], OH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [+function EH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = K(TH.base, TH.size[t], TH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n ? /* @__PURE__ */ (0, F.jsx)(n, {- className: OH.icon[t],+ className: TH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, F.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, F.jsx)(r, {- className: OH.icon[t],+ className: TH.icon[t],"aria-hidden": !0}) : null] });@@ -44813,7 +44838,7 @@ function kH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili});}// src/react/settings/use-action.ts-function AH(e = "") {+function DH(e = "") {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(""), [i, a] = (0, P.useState)(e);(0, P.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -44825,7 +44850,7 @@ function AH(e = "") {s.signal.aborted || i(e);} catch (e) {if (s.signal.aborted) return;- o ? o(e) : a(Wn(e));+ o ? o(e) : a(Gn(e));} finally {t.current === s && (t.current = null), s.signal.aborted || r("");}@@ -44838,10 +44863,10 @@ function AH(e = "") {};}// src/react/library-processing/slow-item.tsx-function jH({ state: e }) {- let t = AH(), n = (e) => {- t.busy || t.run(e.action, (t) => V(fH, e, "POST", t), (e) => {- H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });+function OH({ state: e }) {+ let t = DH(), n = (e) => {+ t.busy || t.run(e.action, (t) => B(lH, e, "POST", t), (e) => {+ V.setQueryData(uH, e), V.invalidateQueries({ queryKey: uH });});};return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -44853,7 +44878,7 @@ function jH({ state: e }) {size: "small",variant: "secondary",disabled: e.skip_requested,- ...Hz(t.busy === "skip_current"),+ ...zz(t.busy === "skip_current"),onClick: () => {e.job_id && e.current_asset_id != null && n({action: "skip_current",@@ -44877,37 +44902,37 @@ function jH({ state: e }) {]});}-function Phe({ state: e, slow: t }) {- return /* @__PURE__ */ (0, F.jsx)(Lz, {+function Rhe({ state: e, slow: t }) {+ return /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "warning",- action: /* @__PURE__ */ (0, F.jsx)(jH, { state: e }),- children: hH(t)+ action: /* @__PURE__ */ (0, F.jsx)(OH, { state: e }),+ children: fH(t)});}-function Fhe({ state: e, slow: t }) {+function zhe({ state: e, slow: t }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-processing-slow": "",className: "flex min-w-0 flex-wrap items-center justify-between gap-3",children: [/* @__PURE__ */ (0, F.jsx)("p", {className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",- children: hH(t)- }), /* @__PURE__ */ (0, F.jsx)(jH, { state: e })]+ children: fH(t)+ }), /* @__PURE__ */ (0, F.jsx)(OH, { state: e })]});}// src/react/components/use-moving-surface.ts-var Ihe = {+var Bhe = {selection: {- type: Jf,+ type: Yf,duration: .16,bounce: 0},hover: {- type: Jf,+ type: Yf,duration: .08,bounce: 0}};-function MH(e) {+function kH(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!t) return;@@ -44928,7 +44953,7 @@ function MH(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 = Vne(n, { transform: [r, E] }, Ihe[e]);+ l = Wne(n, { transform: [r, E] }, Bhe[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -44964,24 +44989,24 @@ function MH(e) {}, [t, e]), n;}// src/react/components/menu-dialog.tsx-function NH(e) {- let t = MH("hover");- return /* @__PURE__ */ (0, F.jsx)(vR, {+function AH(e) {+ let t = kH("hover");+ return /* @__PURE__ */ (0, F.jsx)(hR, {...e,ref: t});}// src/react/library-processing/processing-effort.tsx-var PH = [+var jH = ["low","standard","high"-], FH = [+], MH = ["低占用","标准","全速"-], IH = Bz("snail"), LH = Bz("zap");-function RH({ className: e }) {+], NH = Lz("snail"), PH = Lz("zap");+function FH({ className: e }) {return /* @__PURE__ */ (0, F.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45012,12 +45037,12 @@ function RH({ className: e }) {]});}-var Lhe = [- IH,- LH,- RH+var Vhe = [+ NH,+ PH,+ FH];-function Rhe({ animate: e }) {+function Hhe({ animate: e }) {let [t, n] = (0, P.useState)(document.hidden);return (0, P.useEffect)(() => {let e = () => n(document.hidden);@@ -45049,8 +45074,8 @@ function Rhe({ animate: e }) {} }, t))]});}-function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, PH.indexOf(e)), [a, o] = (0, P.useState)(i);+function IH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, jH.indexOf(e)), [a, o] = (0, P.useState)(i);return (0, P.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45061,7 +45086,7 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), FH[a]]+ }), MH[a]]}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45069,19 +45094,19 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, F.jsx)(IH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, F.jsx)(NH, {}), "最慢"]}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, F.jsx)(LH, {}), "标准"]+ children: [/* @__PURE__ */ (0, F.jsx)(PH, {}), "标准"]}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, F.jsx)(RH, {}), "最快"]+ children: [/* @__PURE__ */ (0, F.jsx)(FH, {}), "最快"]})]}),- /* @__PURE__ */ (0, F.jsxs)(Nue, {+ /* @__PURE__ */ (0, F.jsxs)(Lue, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45090,10 +45115,10 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(PH[e]);+ e !== i && n(jH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, F.jsx)(kI, {+ children: [/* @__PURE__ */ (0, F.jsx)(EI, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45113,11 +45138,11 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, F.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, F.jsx)(Rhe, { animate: r }) : null,- /* @__PURE__ */ (0, F.jsx)(Pue, {+ a === 2 ? /* @__PURE__ */ (0, F.jsx)(Hhe, { animate: r }) : null,+ /* @__PURE__ */ (0, F.jsx)(Rue, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, F.jsx)(Fue, {- "aria-label": FH[a],+ children: /* @__PURE__ */ (0, F.jsx)(zue, {+ "aria-label": MH[a],className: "processing-effort-thumb"})})@@ -45131,8 +45156,8 @@ function zH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function zhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(!1), s = Math.max(0, PH.indexOf(e));+function Uhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(!1), s = Math.max(0, jH.indexOf(e));return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45140,28 +45165,28 @@ function zhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${FH[s]}`,+ "aria-label": `处理速度:${MH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: Lhe[s],- trailingIcon: dz,+ leadingIcon: Vhe[s],+ trailingIcon: cz,onClick: () => {t || o(!a);},- children: FH[s]+ children: MH[s]})- }), /* @__PURE__ */ (0, F.jsx)(aR, {+ }), /* @__PURE__ */ (0, F.jsx)(nR, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: $B,- children: /* @__PURE__ */ (0, F.jsx)(NH, {+ className: XB,+ children: /* @__PURE__ */ (0, F.jsx)(AH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, F.jsx)(zH, {+ children: /* @__PURE__ */ (0, F.jsx)(IH, {value: e,busy: t,onChange: n,@@ -45171,10 +45196,10 @@ function zhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {})] });}// src/react/library-processing/processing-controls.tsx-function BH({ state: e, disabled: t = !1 }) {- let n = AH(), r = gH(e), i = e.status === "stopping", a = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", o = (e) => {- t || n.busy || n.run(e.action, (t) => V(fH, e, "POST", t), (e) => {- H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });+function LH({ state: e, disabled: t = !1 }) {+ let n = DH(), r = pH(e), i = e.status === "stopping", a = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", o = (e) => {+ t || n.busy || n.run(e.action, (t) => B(lH, e, "POST", t), (e) => {+ V.setQueryData(uH, e), V.invalidateQueries({ queryKey: uH });});};return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45183,7 +45208,7 @@ function BH({ state: e, disabled: t = !1 }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(zhe, {+ /* @__PURE__ */ (0, F.jsx)(Uhe, {value: e.speed_mode || "standard",busy: t || !!n.busy || i,animate: e.status !== "paused" && e.status !== "pausing",@@ -45197,11 +45222,11 @@ function BH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? Sz : xz,+ leadingIcon: e.status === "paused" ? yz : vz,"aria-label": a,title: a,disabled: t || !e.job_id || e.status === "pausing" || i,- ...Hz(n.busy === "pause" || n.busy === "resume"),+ ...zz(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && o({action: e.status === "paused" ? "resume" : "pause",@@ -45213,7 +45238,7 @@ function BH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",disabled: t || !e.job_id || i,- ...Hz(n.busy === "cancel"),+ ...zz(n.busy === "cancel"),onClick: () => {e.job_id && o({action: "cancel",@@ -45231,11 +45256,11 @@ function BH({ state: e, disabled: t = !1 }) {});}// src/react/library-processing/use-library-processing.ts-function VH({ toast: e, mode: t, monitor: n }) {- let r = t === "notice" || !!n, i = Pt({- queryKey: pH,- queryFn: ({ signal: e }) => xH(e),- refetchInterval: (e) => wH(e.state.data, r)+function RH({ toast: e, mode: t, monitor: n }) {+ let r = t === "notice" || !!n, i = Ft({+ queryKey: uH,+ queryFn: ({ signal: e }) => vH(e),+ refetchInterval: (e) => xH(e.state.data, r)}), [a, o] = (0, P.useState)(null), s = (0, P.useRef)(void 0), c = i.data;return (0, P.useEffect)(() => {if (!c) return;@@ -45246,8 +45271,8 @@ function VH({ toast: e, mode: t, monitor: n }) {"pausing","paused","stopping"- ].includes(n) && !gH(c);- r && o(c), (r || t === "notice") && Nhe(c, e, r);+ ].includes(n) && !pH(c);+ r && o(c), (r || t === "notice") && Lhe(c, e, r);}, [c,t,@@ -45259,37 +45284,37 @@ function VH({ toast: e, mode: t, monitor: n }) {};}// src/react/components/card.tsx-var Bhe = "min-w-0", Vhe = {+var Whe = "min-w-0", Ghe = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, Hhe = {+}, Khe = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, Uhe = {+}, qhe = {line: "border border-border-button-default",soft: "border border-separator-border"-}, Whe = {+}, Jhe = {none: "",default: "p-5"-}, Ghe = "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", Khe = "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 HH(e = {}) {+}, Yhe = "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", Xhe = "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 zH(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 [- Bhe,- Vhe[t],- Hhe[s],- Whe[n],- a ? Uhe[a] : "",- r ? Ghe : "",- i ? Khe : "",+ Whe,+ Ghe[t],+ Khe[s],+ Jhe[n],+ a ? qhe[a] : "",+ r ? Yhe : "",+ i ? Xhe : "",o ?? ""].filter(Boolean).join(" ");}// src/react/components/loading-dots.tsx-function UH({ label: e }) {+function BH({ label: e }) {return /* @__PURE__ */ (0, F.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -45308,21 +45333,21 @@ function UH({ label: e }) {});}// src/react/components/progress.tsx-var WH = 100, qhe = .4;-function GH({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * WH;+var VH = 100, Zhe = .4;+function HH({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * VH;return /* @__PURE__ */ (0, F.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${WH} 1`,+ viewBox: `0 0 ${VH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, F.jsx)("rect", {- width: WH,+ width: VH,height: 1,className: "fill-background-tertiary-default"}),@@ -45333,7 +45358,7 @@ function GH({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, F.jsx)("rect", {x: o(e),- width: qhe,+ width: Zhe,height: 1,className: "fill-background-secondary-default"}, e))@@ -45341,26 +45366,26 @@ function GH({ label: e, value: t, max: n = 100, stops: r = [] }) {});}// src/react/components/task-progress.tsx-function KH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function UH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : HH({+ className: r ? "flex flex-col gap-1.5" : zH({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(GH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(HH, {label: e,value: t,max: n}), /* @__PURE__ */ (0, F.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, F.jsx)(UH, { label: e })+ })] }) : /* @__PURE__ */ (0, F.jsx)(BH, { label: e })});}// src/react/library-processing/processing-line.tsx-function qH(e) {+function WH(e) {let [t, n] = (0, P.useState)({snapshot: e,seconds: 0@@ -45376,17 +45401,17 @@ function qH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return Ahe(a ? {+ return Phe(a ? {...e,waited_seconds: r + a} : e);}-function Jhe({ state: e }) {- return qH(e);+function Qhe({ state: e }) {+ return WH(e);}-function Yhe({ state: e }) {- let t = qH(e);- return /* @__PURE__ */ (0, F.jsx)(KH, {+function $he({ state: e }) {+ let t = WH(e);+ return /* @__PURE__ */ (0, F.jsx)(UH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -45394,18 +45419,18 @@ function Yhe({ state: e }) {});}// src/react/components/collapse-region.tsx-function JH({ open: e, children: t, ...n }) {+function GH({ open: e, children: t, ...n }) {let r = (0, P.useRef)(null), i = (0, P.useRef)(!1);return (0, P.useLayoutEffect)(() => {let t = r.current;- t && (i.current ? xo(t, e) : (i.current = !0, t.hidden = !e, t.inert = !e, t.classList.add("ui-fcollapse"), t.classList.toggle("ui-fcollapse-settled", e)));+ t && (i.current ? So(t, e) : (i.current = !0, t.hidden = !e, t.inert = !e, t.classList.add("ui-fcollapse"), t.classList.toggle("ui-fcollapse-settled", e)));}, [e]), /* @__PURE__ */ (0, F.jsx)("div", {...n,ref: r,children: t});}-function YH(e) {+function KH(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {...e,"aria-hidden": !0,@@ -45420,21 +45445,21 @@ function YH(e) {});}// src/react/boardui/components/application/settings/settings-rows.tsx-function XH({ className: e, children: t }) {+function qH({ className: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {- className: hF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: K("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function ZH({ className: e, children: t }) {+function JH({ className: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {- className: hF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: K("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function Xhe({ label: e, description: t, children: n }) {+function ege({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {- className: hF("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: K("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, F.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, F.jsx)("p", {@@ -45448,7 +45473,7 @@ function Xhe({ label: e, description: t, children: n }) {});}// src/react/settings/section.tsx-function Zhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function tge({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -45456,12 +45481,12 @@ function Zhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, F.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, F.jsx)(ZH, { children: o })+ children: /* @__PURE__ */ (0, F.jsx)(JH, { children: o })}), /* @__PURE__ */ (0, F.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, F.jsx)(ZH, { children: o }), /* @__PURE__ */ (0, F.jsx)(XH, { children: a })] });+ }) : /* @__PURE__ */ (0, F.jsx)(JH, { children: o }), /* @__PURE__ */ (0, F.jsx)(qH, { children: a })] });return i ? /* @__PURE__ */ (0, F.jsx)("form", {id: n,"aria-label": e,@@ -45476,13 +45501,13 @@ function Zhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function Qhe({ children: e }) {+function nge({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function $he({ divided: e = !1, children: t }) {+function rge({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, F.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -45491,7 +45516,7 @@ function $he({ divided: e = !1, children: t }) {children: t});}-function ege({ label: e, html: t }) {+function ige({ label: e, html: t }) {let [n] = (0, P.useState)(t);return /* @__PURE__ */ (0, F.jsx)("div", {className: "contents",@@ -45501,7 +45526,7 @@ function ege({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function tge({ status: e, children: t }) {+function age({ status: e, children: t }) {return /* @__PURE__ */ (0, F.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, F.jsx)("div", {@@ -45510,34 +45535,34 @@ function tge({ status: e, children: t }) {}) : null, t]});}-function QH({ role: e, children: t }) {+function YH({ role: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function $H({ children: e }) {+function XH({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function eU({ children: e }) {+function ZH({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function nge({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, F.jsx)(kH, {+function oge({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, F.jsx)(EH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: hz,+ trailingIcon: fz,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -45545,13 +45570,13 @@ function nge({ href: e, children: t, leadingIcon: n }) {})});}-function rge({ children: e }) {+function sge({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function ige({ term: e, children: t }) {+function cge({ term: e, children: t }) {return /* @__PURE__ */ (0, F.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, F.jsx)("dt", {@@ -45563,10 +45588,10 @@ function ige({ term: e, children: t }) {})]});}-function tU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function QH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, P.useId)(), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(!1), [d, f] = (0, P.useState)(n ?? t);return (0, P.useLayoutEffect)(() => {- n !== void 0 && n !== d && c.current && l.current && (bo(c.current, l.current, n), f(n));+ n !== void 0 && n !== d && c.current && l.current && (xo(c.current, l.current, n), f(n));}, [n, d]), /* @__PURE__ */ (0, F.jsxs)("details", {ref: (e) => {c.current = e, e && (n ?? t) && !u.current && (u.current = !0, e.open = !0);@@ -45575,16 +45600,16 @@ function tU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:"aria-expanded": d,"aria-controls": s,onClick: (e) => {- e.preventDefault(), c.current && l.current && (bo(c.current, l.current, !d), f(!d), a?.(!d));+ e.preventDefault(), c.current && l.current && (xo(c.current, l.current, !d), f(!d), a?.(!d));},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [- i ? null : /* @__PURE__ */ (0, F.jsx)(pz, {+ i ? null : /* @__PURE__ */ (0, F.jsx)(uz, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, F.jsx)(pz, {+ i ? /* @__PURE__ */ (0, F.jsx)(uz, {"aria-hidden": !0,className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -45594,13 +45619,13 @@ function tU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, F.jsx)("div", {- className: hF("flex flex-col gap-2 pt-3", o),+ className: K("flex flex-col gap-2 pt-3", o),children: r})})]});}-function age({ name: e }) {+function lge({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -45610,34 +45635,34 @@ function age({ name: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function nU({ mark: e }) {+function $H({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, F.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(age, { name: e });+ }) : /* @__PURE__ */ (0, F.jsx)(lge, { name: e });}// src/react/components/source-label.tsx-var rU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, oge = Object.fromEntries(Object.entries(Zo).map(([e, t]) => [e, function({ className: e }) {+var eU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, uge = Object.fromEntries(Object.entries(Qo).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, F.jsx)(nU, { mark: t })+ children: /* @__PURE__ */ (0, F.jsx)($H, { mark: t })});}]));-function sge({ className: e }) {+function dge({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, F.jsx)(nU, { mark: "database" })+ children: /* @__PURE__ */ (0, F.jsx)($H, { mark: "database" })});}-var iU = (e) => oge[rU(e)] ?? sge;-function cge({ site: e, label: t }) {+var tU = (e) => uge[eU(e)] ?? dge;+function fge({ site: e, label: t }) {let [n, r] = (0, P.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, F.jsx)(nU, { mark: "globe" }) : /* @__PURE__ */ (0, F.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, F.jsx)($H, { mark: "globe" }) : /* @__PURE__ */ (0, F.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -45645,24 +45670,24 @@ function cge({ site: e, label: t }) {}), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]});}-function aU({ source: e, label: t }) {- let n = rU(e);+function nU({ source: e, label: t }) {+ let n = eU(e);return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(nU, { mark: Zo[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)($H, { mark: Qo[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 truncate",children: t})]});}// src/react/library-processing/processing-traffic.tsx-var oU = (e) => jn(e).replace(/\s/g, ""), sU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : oU(e), lge = (e, t) => {- if (e === t) return oU(t);- let [n, r] = jn(e).split(" "), [i, a] = jn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${oU(e)}-${oU(t)}`;-}, cU = (e, t, n) => e === void 0 ? lge(t, n) : `${e > 0 ? "约 " : ""}${oU(e)}`;-function lU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = sV(), [a, o] = (0, P.useState)(!1), s = (0, P.useId)(), c = n ?? a;+var rU = (e) => Mn(e).replace(/\s/g, ""), iU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : rU(e), pge = (e, t) => {+ if (e === t) return rU(t);+ let [n, r] = Mn(e).split(" "), [i, a] = Mn(t).split(" ");+ return r === a ? `${n}-${i}${a}` : `${rU(e)}-${rU(t)}`;+}, aU = (e, t, n) => e === void 0 ? pge(t, n) : `${e > 0 ? "约 " : ""}${rU(e)}`;+function oU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = iV(), [a, o] = (0, P.useState)(!1), s = (0, P.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45704,25 +45729,25 @@ function lU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, F.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(vz, {+ children: [/* @__PURE__ */ (0, F.jsx)(hz, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: cU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: aU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, F.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- cU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ aU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, F.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.partial ? "约 " : "", oU(e.used_bytes)] }),+ /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.partial ? "约 " : "", rU(e.used_bytes)] })," · 代理 ",- oU(e.metered_used_bytes)+ rU(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, F.jsxs)("section", {@@ -45731,25 +45756,25 @@ function lU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, F.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(_pe, {+ children: [/* @__PURE__ */ (0, F.jsx)(xpe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, F.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", oU(e.disk.estimated_bytes)]+ children: ["约 ", rU(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, F.jsxs)("p", { children: ["抽帧临时文件约 ", sU(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, F.jsxs)("p", { children: ["抽帧临时文件约 ", iU(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, F.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : oU(e.free_bytes)+ e.free_bytes == null ? "未取得" : rU(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, F.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", oU(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", rU(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, F.jsx)("p", {@@ -45765,7 +45790,7 @@ function lU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? Ffe : dz,+ trailingIcon: c ? zfe : cz,onClick: () => {o(!c), r?.(!c);},@@ -45784,12 +45809,12 @@ function lU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, F.jsx)(aU, {+ children: [e.root ? /* @__PURE__ */ (0, F.jsx)(nU, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(nU, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, F.jsx)($H, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, F.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -45811,7 +45836,7 @@ function lU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- sU(e.workload.metadata_average_bytes || 0),+ iU(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -45821,8 +45846,8 @@ function lU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- oU(e.used_bytes)- ] }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["预计 ", cU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ rU(e.used_bytes)+ ] }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["预计 ", aU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -45833,15 +45858,15 @@ function lU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })});}// src/react/library-processing/library-processing-notice.tsx-var uU = "peach.library-processing.collapsed";-function dU(e) {+var sU = "peach.library-processing.collapsed";+function cU(e) {try {- return !e || sessionStorage.getItem(uU) !== e;+ return !e || sessionStorage.getItem(sU) !== e;} catch {return !0;}}-function uge({ value: e, max: t }) {+function mge({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, F.jsxs)("svg", {role: "progressbar",@@ -45871,14 +45896,14 @@ function uge({ value: e, max: t }) {})]});}-function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {- let [i, a] = (0, P.useState)(() => dU(e?.job_id)), o = (0, P.useId)(), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(null), u = !t && _H(e), d = e?.status === "failed" && !u, f = gH(e);+function lU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {+ let [i, a] = (0, P.useState)(() => cU(e?.job_id)), o = (0, P.useId)(), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(null), u = !t && mH(e), d = e?.status === "failed" && !u, f = pH(e);(0, P.useEffect)(() => {- a(dU(e?.job_id)), c(!1);+ a(cU(e?.job_id)), c(!1);}, [e?.job_id]);let p = () => {try {- i && e?.job_id ? sessionStorage.setItem(uU, e.job_id) : sessionStorage.removeItem(uU);+ i && e?.job_id ? sessionStorage.setItem(sU, e.job_id) : sessionStorage.removeItem(sU);} catch {}i && c(!1), a(!i);};@@ -45893,14 +45918,14 @@ function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {t = !0, i.disconnect(), document.documentElement.style.removeProperty("--processing-toast-space");};}, [n]), e?.archived && !t || !t && !f && !d && !u) return null;- let m = t ? null : mH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";+ let m = t ? null : dH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";return /* @__PURE__ */ (0, F.jsxs)("aside", {ref: l,"data-processing-dock": "","data-processing-tone": d ? "error" : h ? "warning" : "neutral","aria-label": "扫描任务",role: d ? "alert" : "status",- className: hF("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: K("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",@@ -45908,13 +45933,13 @@ function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- f && e?.total ? /* @__PURE__ */ (0, F.jsx)(uge, {+ f && e?.total ? /* @__PURE__ */ (0, F.jsx)(mge, {value: e.checked || 0,max: e.total- }) : d || h ? /* @__PURE__ */ (0, F.jsx)(Jfe, {+ }) : d || h ? /* @__PURE__ */ (0, F.jsx)(Qfe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(ape, {+ }) : /* @__PURE__ */ (0, F.jsx)(lpe, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -45926,14 +45951,14 @@ function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), f ? /* @__PURE__ */ (0, F.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: bH(e)+ children: _H(e)}) : null]}),/* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: YH,+ leadingIcon: KH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": i ? "收起任务详情" : "展开任务详情",@@ -45945,31 +45970,31 @@ function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: mz,+ leadingIcon: dz,"aria-label": "隐藏任务提示",onClick: r}) : null]}),- /* @__PURE__ */ (0, F.jsx)(lU, {+ /* @__PURE__ */ (0, F.jsx)(oU, {traffic: e?.traffic,detailsOpen: s,onDetailsChange: c}),- m ? /* @__PURE__ */ (0, F.jsx)(Fhe, {+ m ? /* @__PURE__ */ (0, F.jsx)(zhe, {state: e,slow: m}) : null]}),- /* @__PURE__ */ (0, F.jsx)(JH, {+ /* @__PURE__ */ (0, F.jsx)(GH, {id: o,open: i,"data-processing-body": "",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, F.jsxs)("div", {- className: hF("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),+ className: K("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, F.jsx)("ol", {"aria-label": "处理步骤",@@ -45977,16 +46002,16 @@ function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {children: e.steps.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: hF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: K("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, F.jsx)(Vfe, {+ e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Gfe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(Hfe, {+ }) : /* @__PURE__ */ (0, F.jsx)(Kfe, {"aria-hidden": !0,- className: hF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: K("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, F.jsx)(Ow, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, F.jsx)(Tw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -45999,11 +46024,11 @@ function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}) : null,/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(Jhe, { state: e }))+ children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(Qhe, { state: e }))}),u ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: vH+ children: hH}) : null,f && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, F.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -46020,20 +46045,20 @@ function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",children: [- /* @__PURE__ */ (0, F.jsx)(kH, {+ /* @__PURE__ */ (0, F.jsx)(EH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: fz,+ trailingIcon: lz,children: t || d || u ? "打开扫描与采集" : "任务详情"}),- u ? /* @__PURE__ */ (0, F.jsx)(kH, {- href: yH,+ u ? /* @__PURE__ */ (0, F.jsx)(EH, {+ href: gH,size: "small",- trailingIcon: fz,+ trailingIcon: lz,children: "查看全部内容"}) : null,- f ? /* @__PURE__ */ (0, F.jsx)(BH, {+ f ? /* @__PURE__ */ (0, F.jsx)(LH, {state: e,disabled: !!t}) : null@@ -46042,67 +46067,67 @@ function fU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {]});}-function dge(e) {- let { job: t } = VH(e);- return /* @__PURE__ */ (0, F.jsx)(fU, {+function hge(e) {+ let { job: t } = RH(e);+ return /* @__PURE__ */ (0, F.jsx)(lU, {state: t.data,- problem: t.isError ? t.data ? CH : Wn(t.error) : ""+ problem: t.isError ? t.data ? bH : Gn(t.error) : ""});}// src/react/library-processing/processing-notice-visibility.ts-var pU = "peach.library-processing.visibility", mU = /* @__PURE__ */ new Set(), hU = "";-function fge() {+var uU = "peach.library-processing.visibility", dU = /* @__PURE__ */ new Set(), fU = "";+function gge() {try {- return sessionStorage.getItem(pU) || "";+ return sessionStorage.getItem(uU) || "";} catch {- return hU;+ return fU;}}-function pge(e) {- return mU.add(e), () => {- mU.delete(e);+function _ge(e) {+ return dU.add(e), () => {+ dU.delete(e);};}-function gU(e, t) {- hU = `${t ? "shown" : "hidden"}:${e}`;+function pU(e, t) {+ fU = `${t ? "shown" : "hidden"}:${e}`;try {- sessionStorage.setItem(pU, hU);+ sessionStorage.setItem(uU, fU);} catch {}- mU.forEach((e) => e());+ dU.forEach((e) => e());}-function _U(e) {- let t = (0, P.useSyncExternalStore)(pge, fge, () => "");+function mU(e) {+ let t = (0, P.useSyncExternalStore)(_ge, gge, () => "");return {hidden: t === `hidden:${e}`,requested: t === `shown:${e}`};}// src/react/library-processing/library-processing-dock.tsx-var vU = "peach-library-processing";-function mge({ toast: e }) {- let { job: t, settled: n } = VH({+var hU = "peach-library-processing";+function vge({ toast: e }) {+ let { job: t, settled: n } = RH({toast: e,mode: "notice"- }), r = (0, P.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = _U(a), c = t.isError ? i ? CH : Wn(t.error) : "";+ }), r = (0, P.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = mU(a), c = t.isError ? i ? bH : Gn(t.error) : "";return (0, P.useEffect)(() => {- let e = gH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || DH(i));- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && oH.dismiss(vU), r.current = !1) : (oH.custom(() => /* @__PURE__ */ (0, F.jsx)("div", {+ let e = pH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || wH(i));+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && rH.dismiss(hU), r.current = !1) : (rH.custom(() => /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, F.jsx)(fU, {+ children: /* @__PURE__ */ (0, F.jsx)(lU, {state: i,problem: c,measure: !0,- onHide: () => gU(a, !1)+ onHide: () => pU(a, !1)})}), {- id: vU,+ id: hU,toasterId: "processing",duration: Infinity,dismissible: !1,closeButton: !1,className: "processing-task-toast",onDismiss: () => {- gU(a, !1), r.current = !1;+ pU(a, !1), r.current = !1;}}), r.current = !0);}, [@@ -46113,22 +46138,22 @@ function mge({ toast: e }) {o,s]), (0, P.useEffect)(() => () => {- r.current && oH.dismiss(vU), r.current = !1;+ r.current && rH.dismiss(hU), r.current = !1;}, []), null;}// src/react/network-banner.tsx-var hge = ["network-status"], gge = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function _ge(e) {+var yge = ["network-status"], bge = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function xge(e) {return e?.state === "online" ? 12e4 : 3e4;}-function vge() {- let e = Pt({- queryKey: hge,- queryFn: ({ signal: e }) => B("/api/network-status", e),- refetchInterval: (e) => _ge(e.state.data),+function Sge() {+ let e = Ft({+ queryKey: yge,+ queryFn: ({ signal: e }) => z("/api/network-status", e),+ refetchInterval: (e) => xge(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");- return e.data?.state !== "offline" || !t ? null : (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("aside", {+ return e.data?.state !== "offline" || !t ? null : (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("aside", {className: "ui-project-banner ui-project-banner-warning",role: "status","data-network-offline": "",@@ -46136,22 +46161,22 @@ function vge() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, F.jsx)("p", { children: gge })] }), /* @__PURE__ */ (0, F.jsx)("a", {+ }), /* @__PURE__ */ (0, F.jsx)("p", { children: bge })] }), /* @__PURE__ */ (0, F.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]}), t);}// src/react/client-updates.tsx-var yge = 12e4, bge = 15e3, yU = () => document.visibilityState !== "hidden", bU = /* @__PURE__ */ new Set([+var Cge = 12e4, wge = 15e3, gU = () => document.visibilityState !== "hidden", _U = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), xU = "/settings/maintenance#releaseUpdates";-function xge() {+]), vU = "/settings/maintenance#releaseUpdates";+function Tge() {try {let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");return typeof e?.version == "string" && typeof e?.build_id == "string" ? {@@ -46162,23 +46187,23 @@ function xge() {return null;}}-function SU() {- let e = (0, P.useRef)(xge()), [t, n] = (0, P.useState)(null);+function yU() {+ let e = (0, P.useRef)(Tge()), [t, n] = (0, P.useState)(null);return (0, P.useEffect)(() => {let t = !1, r, i, a = async () => {- if (t || !yU()) return;+ if (t || !gU()) return;let o = new AbortController();i = o;- let s = setTimeout(() => o.abort(), bge);+ let s = setTimeout(() => o.abort(), wge);o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });try {- let r = await B("/api/client-updates", o.signal);+ let r = await z("/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 && yU() && (r = setTimeout(a, yge)));+ clearTimeout(s), i === o && (i = void 0, !t && gU() && (r = setTimeout(a, Cge)));}}, o = () => {- clearTimeout(r), i?.abort(), i = void 0, yU() && a();+ clearTimeout(r), i?.abort(), i = void 0, gU() && 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);@@ -46188,19 +46213,19 @@ function SU() {refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)};}-function Sge({ navigate: e }) {- let { snapshot: t, refresh: n } = SU(), [r, i] = (0, P.useState)(""), a = document.querySelector("[data-network-banner]");+function Ege({ navigate: e }) {+ let { snapshot: t, refresh: n } = yU(), [r, i] = (0, P.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" : bU.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" : _U.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;if (!l) return null;- let u = (s.state === "ready" || bU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [+ let u = (s.state === "ready" || _U.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [l,c.version,c.build_id] : [l, u]);if (d === r) return null;let f = l === "refresh" ? "Peach 已更新,刷新页面即可使用。" : l === "ready" ? "更新已准备好,可重启安装。" : l === "preparing" ? "正在准备更新。" : "有可用更新。";- return (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("aside", {+ return (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("aside", {className: "ui-project-banner peach-react",role: "status","data-client-update": l,@@ -46216,22 +46241,22 @@ function Sge({ navigate: e }) {children: [" Peach ", u]}) : null] })] }), /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex-wrap",- children: [l === "refresh" ? /* @__PURE__ */ (0, F.jsx)(kH, {+ children: [l === "refresh" ? /* @__PURE__ */ (0, F.jsx)(EH, {variant: "secondary",size: "small",onClick: () => window.location.reload(),"data-copy-key": "clientUpdates.refresh.action",children: "刷新页面"- }) : /* @__PURE__ */ (0, F.jsx)(kH, {+ }) : /* @__PURE__ */ (0, F.jsx)(EH, {variant: "secondary",size: "small",- href: xU,+ href: vU,onClick: (t) => {- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(xU));+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(vU));},"data-copy-key": `clientUpdates.${l}.action`,children: l === "preparing" ? "查看进度" : "查看更新"- }), /* @__PURE__ */ (0, F.jsx)(kH, {+ }), /* @__PURE__ */ (0, F.jsx)(EH, {variant: "secondary",size: "small",onClick: () => i(d),@@ -46242,20 +46267,20 @@ function Sge({ navigate: e }) {}, d), a);}// src/react/router/pages/settings.tsx-function Cge() {- let e = (0, P.useContext)(DU), { pathname: t } = zB();+function Dge() {+ let e = (0, P.useContext)(wU), { pathname: t } = IB();return (0, P.useEffect)(() => {- e?.openSettings?.(pV(t));+ e?.openSettings?.(uV(t));}, [e, t]), (0, P.useEffect)(() => () => {queueMicrotask(() => {- fV(QV.navigation.location.pathname) || e?.closeSettings?.();+ lV(YV.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}// src/react/router/pages/overlay.tsx-var CU = () => cu, wge = () => lu;-function Tge() {- let e = (0, P.useContext)(DU), t = (0, P.useSyncExternalStore)(yu, wge), n = (0, P.useSyncExternalStore)(yu, CU);+var bU = () => lu, Oge = () => uu;+function kge() {+ let e = (0, P.useContext)(wU), t = (0, P.useSyncExternalStore)(bu, Oge), n = (0, P.useSyncExternalStore)(bu, bU);return (0, P.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -46270,11 +46295,11 @@ function Tge() {e]), null;}-function wU(e, t = !1) {- let n = (0, P.useSyncExternalStore)(yu, CU), r = (0, P.useRef)(void 0);+function xU(e, t = !1) {+ let n = (0, P.useSyncExternalStore)(bu, bU), r = (0, P.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = QV.navigation;- r.current = cu === 0 || eH() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = YV.navigation;+ r.current = lu === 0 || ZV() ? "boot" : e && !t ? null : "history";}let i = (0, P.useRef)(e);(0, P.useEffect)(() => {@@ -46290,22 +46315,22 @@ function wU(e, t = !1) {}));}, [n]);}-function Ege() {- let e = (0, P.useContext)(DU), t = (0, P.useRef)(e);+function Age() {+ let e = (0, P.useContext)(wU), t = (0, P.useRef)(e);return (0, P.useLayoutEffect)(() => {t.current = e;- }, [e]), wU((t) => {- let n = QV.navigation.location, { pathname: r, search: i } = fV(n.pathname) && hV(n.state) || n, a = vV(r, i);- e && a && (wV(), t || Kme(QV.navigation.location.state), e.openOverlay(a));+ }, [e]), xU((t) => {+ let n = YV.navigation.location, { pathname: r, search: i } = lV(n.pathname) && fV(n.state) || n, a = hV(r, i);+ e && a && (xV(), t || Xme(YV.navigation.location.state), e.openOverlay(a));}, !0), (0, P.useEffect)(() => () => {queueMicrotask(() => {- yV(QV.navigation.location.pathname) || t.current?.closeStage();+ gV(YV.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function Dge({ path: e }) {- EU();- let { location: t, seq: n, action: r } = QV.navigation, i = fV(t.pathname) ? hV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, P.useRef)({+function jge({ path: e }) {+ CU();+ let { location: t, seq: n, action: r } = YV.navigation, i = lV(t.pathname) ? fV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, P.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -46316,161 +46341,161 @@ function Dge({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, F.jsx)(Ege, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, F.jsx)(Age, {}, `${e} ${o.current.seq}`);}-function Oge() {- let e = (0, P.useContext)(DU);- return wU(() => {+function Mge() {+ let e = (0, P.useContext)(wU);+ return xU(() => {e?.follow?.ground();}), null;}-function kge() {- return /* @__PURE__ */ (0, F.jsx)(Oge, {}, EU());+function Nge() {+ return /* @__PURE__ */ (0, F.jsx)(Mge, {}, CU());}// src/react/router/router.tsx-var TU = (0, P.createContext)(0), EU = () => (0, P.useContext)(TU), DU = (0, P.createContext)(null);-function Age({ children: e }) {- let [t, n] = (0, P.useState)(() => QV.navigation);- return (0, P.useLayoutEffect)(() => (n(QV.navigation), QV.listen((e) => {- (0, Lt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, F.jsx)(TU.Provider, {+var SU = (0, P.createContext)(0), CU = () => (0, P.useContext)(SU), wU = (0, P.createContext)(null);+function Pge({ children: e }) {+ let [t, n] = (0, P.useState)(() => YV.navigation);+ return (0, P.useLayoutEffect)(() => (n(YV.navigation), YV.listen((e) => {+ (0, Rt.flushSync)(() => n(e));+ })), []), /* @__PURE__ */ (0, F.jsx)(SU.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, F.jsx)(Pme, {+ children: /* @__PURE__ */ (0, F.jsx)(Rme, {location: t.location,navigationType: t.action,- navigator: QV,+ navigator: YV,children: e})});}-function jge({ target: e }) {- let t = yme();+function Fge({ target: e }) {+ let t = Cme();return (0, P.useLayoutEffect)(() => {e.current = t;}), null;}-function Mge(e, t, n) {+function Ige(e, t, n) {let r = new URL(e, window.location.href);- P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Nge() {- let e = (0, P.useContext)(DU), [t, n] = (0, P.useState)(zV), r = (0, P.useRef)(null);- (0, P.useLayoutEffect)(() => (n(zV()), Jme((e, t) => {- t ? (0, Lt.flushSync)(() => n(e)) : n(e);+function Lge() {+ let e = (0, P.useContext)(wU), [t, n] = (0, P.useState)(IV), r = (0, P.useRef)(null);+ (0, P.useLayoutEffect)(() => (n(IV()), Qme((e, t) => {+ t ? (0, Rt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, P.useMemo)(() => (t) => {- e && r.current && Mge(t, e, r.current);+ e && r.current && Ige(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(jge, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(Pge, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Fge, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(Rge, {entry: t,- children: /* @__PURE__ */ (0, F.jsx)(Fge, {+ children: /* @__PURE__ */ (0, F.jsx)(zge, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Pge = class extends P.Component {+var Rge = class extends P.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- Zme(this.props.entry.container, this.props.entry.revision);+ the(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, Fge = (0, P.memo)(function({ entry: e, actions: t, go: n }) {- return J6(e.path) ? (0, Lt.createPortal)(Kje(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, zge = (0, P.memo)(function({ entry: e, actions: t, go: n }) {+ return q6(e.path) ? (0, Rt.createPortal)(eMe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function Ige({ children: e }) {- let t = zB();- EU();- let n = tH(), r = fV(t.pathname) && !eH() ? hV(t.state) : null;+function Bge({ children: e }) {+ let t = IB();+ CU();+ let n = QV(), r = lV(t.pathname) && !ZV() ? fV(t.state) : null;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsxs)(JB, {+ /* @__PURE__ */ (0, F.jsxs)(GB, {location: n ?? t,children: [- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(qB, {+ Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,element: t.element}, e)),- Object.entries(Hje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(qB, {+ Object.entries(Xje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,element: t.element}, e)),- Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(qB, {+ Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,element: t.element}, e)),- Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(qB, {+ Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,element: t.element}, e)),- Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(qB, {+ Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,element: t.element}, e)),- q6.map((e) => /* @__PURE__ */ (0, F.jsx)(qB, {+ K6.map((e) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,- element: V6["/"].element+ element: B6["/"].element}, e)),- Object.entries(Uje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(qB, {+ Object.entries(Zje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,element: t.element}, e)),- gV.map((e) => /* @__PURE__ */ (0, F.jsx)(qB, {+ pV.map((e) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(kge, {}) : V6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(Nge, {}) : B6["/"].element}, e)),- dV.map((e) => /* @__PURE__ */ (0, F.jsx)(qB, {+ cV.map((e) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,element: null}, e)),- /* @__PURE__ */ (0, F.jsx)(qB, {+ /* @__PURE__ */ (0, F.jsx)(WB, {path: "*",element: e})]}),- /* @__PURE__ */ (0, F.jsxs)(JB, {+ /* @__PURE__ */ (0, F.jsxs)(GB, {location: r ?? t,- children: [gV.map((e) => /* @__PURE__ */ (0, F.jsx)(qB, {+ children: [pV.map((e) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,- element: /* @__PURE__ */ (0, F.jsx)(Dge, { path: e })- }, e)), /* @__PURE__ */ (0, F.jsx)(qB, {+ element: /* @__PURE__ */ (0, F.jsx)(jge, { path: e })+ }, e)), /* @__PURE__ */ (0, F.jsx)(WB, {path: "*",element: null})]}),- /* @__PURE__ */ (0, F.jsxs)(JB, { children: [dV.map((e) => /* @__PURE__ */ (0, F.jsx)(qB, {+ /* @__PURE__ */ (0, F.jsxs)(GB, { children: [cV.map((e) => /* @__PURE__ */ (0, F.jsx)(WB, {path: e,- element: /* @__PURE__ */ (0, F.jsx)(Cge, {})- }, e)), /* @__PURE__ */ (0, F.jsx)(qB, {+ element: /* @__PURE__ */ (0, F.jsx)(Dge, {})+ }, e)), /* @__PURE__ */ (0, F.jsx)(WB, {path: "*",element: null})] })] });}-function Lge({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, F.jsxs)(rH, { children: [n, /* @__PURE__ */ (0, F.jsx)(DU.Provider, {+function Vge({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, F.jsxs)(eH, { children: [n, /* @__PURE__ */ (0, F.jsx)(wU.Provider, {value: t,- children: /* @__PURE__ */ (0, F.jsxs)(Age, { children: [- /* @__PURE__ */ (0, F.jsx)(Nge, {}),- /* @__PURE__ */ (0, F.jsx)(Tge, {}),- r && t ? /* @__PURE__ */ (0, F.jsx)(mge, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, F.jsx)(vge, {}) : null,- r && t ? /* @__PURE__ */ (0, F.jsx)(Sge, { navigate: t.navigate }) : null,- /* @__PURE__ */ (0, F.jsx)(Ige, { children: e })+ children: /* @__PURE__ */ (0, F.jsxs)(Pge, { children: [+ /* @__PURE__ */ (0, F.jsx)(Lge, {}),+ /* @__PURE__ */ (0, F.jsx)(kge, {}),+ r && t ? /* @__PURE__ */ (0, F.jsx)(vge, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, F.jsx)(Sge, {}) : null,+ r && t ? /* @__PURE__ */ (0, F.jsx)(Ege, { navigate: t.navigate }) : null,+ /* @__PURE__ */ (0, F.jsx)(Bge, { children: e })] })})] });}-var Rge = { onCaughtError: (e) => {+var Hge = { onCaughtError: (e) => {globalThis.reportError?.(e);} };// src/react/boardui/utils/use-dismiss-on-outside-press.ts-function zge(e, t, n) {+function Uge(e, t, n) {(0, P.useEffect)(() => {if (!e) return;let r = (e) => {@@ -46484,7 +46509,7 @@ function zge(e, t, n) {n]);}-function Bge(e, t) {+function Wge(e, t) {let n = (0, P.useRef)(!1);return (0, P.useEffect)(() => {if (!e) return;@@ -46497,33 +46522,33 @@ function Bge(e, t) {}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;}// src/react/boardui/components/base/select/select.tsx-var OU = (0, P.createContext)("md");-function kU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var TU = (0, P.createContext)("md");+function EU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, P.useRef)(null), u = (0, P.useRef)(null), [d, f] = (0, P.useState)(!1);- zge(d, () => f(!1), [l, u]);- let p = Bge(d, l);- return /* @__PURE__ */ (0, F.jsx)(xde, {+ Uge(d, () => f(!1), [l, u]);+ let p = Wge(d, l);+ return /* @__PURE__ */ (0, F.jsx)(Tde, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: hF("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(MI, {+ className: K("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(kI, {ref: l,- className: hF("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, F.jsx)(wde, {- className: hF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: K("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, F.jsx)(Ode, {+ className: K("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, F.jsx)(Ime, { className: hF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, F.jsx)(aR, {+ }), /* @__PURE__ */ (0, F.jsx)(Bme, { className: K("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, F.jsx)(nR, {ref: u,isNonModal: !0,offset: 4,- className: hF(zme, $B, "p-2", n),- children: /* @__PURE__ */ (0, F.jsx)(Uue, {+ className: K(Ume, XB, "p-2", n),+ children: /* @__PURE__ */ (0, F.jsx)(que, {items: a,- className: hF(Bme, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, F.jsx)(OU.Provider, {+ className: K(Wme, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, F.jsx)(TU.Provider, {value: r,children: i})@@ -46531,23 +46556,23 @@ function kU({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function AU({ className: e, children: t, ...n }) {- let r = (0, P.useContext)(OU);- return /* @__PURE__ */ (0, F.jsx)(Kue, {+function DU({ className: e, children: t, ...n }) {+ let r = (0, P.useContext)(TU);+ return /* @__PURE__ */ (0, F.jsx)(Xue, {...n,- className: (t) => hF(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),+ className: (t) => K(ZB, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}// src/react/catalog-folders/catalog-folders.ts-var jU = {+var OU = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function MU(e, t = "", n = "") {+function kU(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -46556,17 +46581,17 @@ function MU(e, t = "", n = "") {return {queryKey: ["catalog-folders", r.toString()],staleTime: 3e4,- queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)+ queryFn: ({ signal: e }) => z(`/api/folders?${r}`, e)};}-function NU(e, t) {+function AU(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 Vge({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, P.useContext)(DU), a = AH(), [o, s] = (0, P.useState)(t?.purpose || "category"), [c, l] = (0, P.useState)(t?.name || ""), [u, d] = (0, P.useState)(t?.recursive ?? !0), [f, p] = (0, P.useState)(t?.future ?? !1), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(!1), v = {+function Gge({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, P.useContext)(wU), a = DH(), [o, s] = (0, P.useState)(t?.purpose || "category"), [c, l] = (0, P.useState)(t?.name || ""), [u, d] = (0, P.useState)(t?.recursive ?? !0), [f, p] = (0, P.useState)(t?.future ?? !1), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -46575,27 +46600,27 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {}, y = () => {h(null), a.setError("");}, b = (e) => {- H.invalidateQueries({ queryKey: ["catalog-folders"] }), i?.receipt(e), r(), _u({ pageOpens: cu + 1 });- }, x = () => a.run("preview", (e) => V("/api/folders/preview", v, "POST", e), h), S = () => {- m && a.run("save", (e) => V("/api/folders/rule", {+ V.invalidateQueries({ queryKey: ["catalog-folders"] }), i?.receipt(e), r(), vu({ pageOpens: lu + 1 });+ }, x = () => a.run("preview", (e) => B("/api/folders/preview", v, "POST", e), h), S = () => {+ m && a.run("save", (e) => B("/api/folders/rule", {...v,action: "save",plan_version: m.plan_version,expected_revision: n}, "POST", e), (e) => b(`已保存目录用途${e.applied ? `,关联 ${e.applied} 项` : ""}`));}, C = async () => {- (0, Lt.flushSync)(() => _(!0)), (await Vc({+ (0, Rt.flushSync)(() => _(!0)), (await Hc({title: "移除目录规则",body: `「${e.name}」的目录规则将被移除,并撤回这条规则建立的关联。`,confirmLabel: "移除目录规则",- onConfirm: () => V("/api/folders/rule", {+ onConfirm: () => B("/api/folders/rule", {folder: e.id,action: "remove",expected_revision: n})})).confirmed ? b("已移除目录规则") : _(!1);- }, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, F.jsx)(Fz, {+ }, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs(t) } }), t] }) : null;+ return g ? null : /* @__PURE__ */ (0, F.jsx)(Mz, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -46609,7 +46634,7 @@ function Vge({ 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, F.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, F.jsx)(PI, {+ children: [/* @__PURE__ */ (0, F.jsx)(jI, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -46617,7 +46642,7 @@ function Vge({ 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, F.jsx)(Vz, {+ }), /* @__PURE__ */ (0, F.jsx)(Rz, {label: "关闭目录用途",onPress: () => {w || r();@@ -46629,20 +46654,20 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, F.jsx)(Oz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, F.jsx)(kU, {+ children: [/* @__PURE__ */ (0, F.jsx)(Tz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, F.jsx)(EU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(jU).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(AU, {+ children: Object.entries(OU).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(DU, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, F.jsx)(Pz, {+ o === "category" ? null : /* @__PURE__ */ (0, F.jsx)(jz, {label: "关联名称",value: c,onChange: (e) => {@@ -46653,7 +46678,7 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, F.jsx)(oV, {+ /* @__PURE__ */ (0, F.jsx)(rV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -46661,7 +46686,7 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, F.jsx)(oV, {+ /* @__PURE__ */ (0, F.jsx)(rV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -46698,9 +46723,9 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ m.conflicts.length ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "warning",- extra: /* @__PURE__ */ (0, F.jsx)(tU, {+ extra: /* @__PURE__ */ (0, F.jsx)(QH, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, F.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -46718,7 +46743,7 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ a.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",children: a.error}) : null@@ -46733,7 +46758,7 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...Hz(a.busy === "remove"),+ ...zz(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, F.jsx)(q, {@@ -46745,13 +46770,13 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary",- ...Hz(a.busy === "save"),+ ...zz(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...Hz(a.busy === "preview"),+ ...zz(a.busy === "preview"),onClick: () => {x();},@@ -46764,7 +46789,7 @@ function Vge({ folder: e, rule: t, revision: n, close: r }) {});}// src/react/catalog-folders/use-folder-sticky-offset.ts-function Hge(e, t) {+function Kge(e, t) {(0, P.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -46787,35 +46812,35 @@ function Hge(e, t) {}, [e, t]);}// src/react/catalog-folders/catalog-folders-page.tsx-function PU() {- return RB() ? /* @__PURE__ */ (0, F.jsx)(Uge, {}) : null;+function jU() {+ return FB() ? /* @__PURE__ */ (0, F.jsx)(qge, {}) : null;}-function Uge() {- let e = zB(), t = (0, P.useContext)(DU);- if (!fn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;+function qge() {+ let e = IB(), t = (0, P.useContext)(wU);+ if (!pn(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, F.jsx)(qF, {+ return /* @__PURE__ */ (0, F.jsx)(WF, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: gz,- onClick: () => t?.navigate(NU(e, r ? {+ icon: pz,+ onClick: () => t?.navigate(AU(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function Wge({ children: e, enabled: t }) {- return RB() ? /* @__PURE__ */ (0, F.jsx)(Gge, {+function Jge({ children: e, enabled: t }) {+ return FB() ? /* @__PURE__ */ (0, F.jsx)(Yge, {enabled: t,children: e}) : /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: e });}-function Gge({ children: e, enabled: t }) {- let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o = zB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function Yge({ children: e, enabled: t }) {+ let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o = IB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, F.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -46834,7 +46859,7 @@ function Gge({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, F.jsx)(FU, {+ n && i ? /* @__PURE__ */ (0, F.jsx)(MU, {treeTarget: n,headerTarget: i,enabled: t@@ -46842,14 +46867,14 @@ function Gge({ children: e, enabled: t }) {]});}-function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = zB(), i = (0, P.useContext)(DU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function MU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = IB(), i = (0, P.useContext)(wU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- Hge(o, e);- let c = a.get("folder") || "", l = Pt({- ...MU(s, c),+ Kge(o, e);+ let c = a.get("folder") || "", l = Ft({+ ...kU(s, c),enabled: o}), [u, d] = (0, P.useState)(!1), [f, p] = (0, P.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, P.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -46863,11 +46888,11 @@ function FU({ 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(NU(r, {+ d(!1), i.navigate(AU(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(qge, {+ }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(Zge, {scope: s,selected: c,current: _,@@ -46875,8 +46900,8 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {reportedError: u ? null : l.error});return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- (0, Lt.createPortal)(v, m),- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("div", {+ (0, Rt.createPortal)(v, m),+ (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("div", {className: "catalog-folder-heading",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -46884,21 +46909,21 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, F.jsx)(qF, {+ children: /* @__PURE__ */ (0, F.jsx)(WF, {"aria-label": "打开文件夹目录",- icon: upe,+ icon: mpe,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, F.jsxs)(Rme, {+ /* @__PURE__ */ (0, F.jsxs)(Hme, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, F.jsx)(ZB, {+ children: [/* @__PURE__ */ (0, F.jsx)(JB, {current: !c,onClick: () => g(""),- icon: gz,+ icon: pz,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, F.jsx)(ZB, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, F.jsx)(JB, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, F.jsx)("span", {@@ -46908,15 +46933,15 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, F.jsx)(qF, {+ _?.selected ? /* @__PURE__ */ (0, F.jsx)(WF, {"aria-label": "设置目录用途",- icon: tpe,+ icon: ape,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ l.error && !u ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -46926,9 +46951,9 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {},children: "立即重试"}),- children: Wn(l.error)+ children: Gn(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, F.jsxs)(Lz, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, F.jsxs)(Pz, {tone: "warning",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -46940,14 +46965,14 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, F.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, F.jsx)(oV, {+ children: [/* @__PURE__ */ (0, F.jsx)(rV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(NU(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(AU(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, F.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${jU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${OU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -46957,13 +46982,13 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, F.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, F.jsx)(Kge, {+ _?.children.length ? /* @__PURE__ */ (0, F.jsx)(Xge, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, F.jsxs)(Fz, {+ /* @__PURE__ */ (0, F.jsxs)(Mz, {isOpen: u,onOpenChange: d,width: "form",@@ -46973,7 +46998,7 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, F.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, F.jsx)(Vz, {+ }), /* @__PURE__ */ (0, F.jsx)(Rz, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -46982,7 +47007,7 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(Vge, {+ f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(Gge, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -46990,7 +47015,7 @@ function FU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function Kge({ nodes: e, go: t }) {+function Xge({ nodes: e, go: t }) {let [n, r] = (0, P.useState)(!1), i = (0, P.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47001,7 +47026,7 @@ function Kge({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: gz,+ leadingIcon: pz,onClick: () => t(e.id),children: /* @__PURE__ */ (0, F.jsx)("span", {className: "truncate",@@ -47018,28 +47043,28 @@ function Kge({ nodes: e, go: t }) {}) : null]});}-function qge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = Pt(MU(e)), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)(""), u = (0, P.useDeferredValue)(c), d = Pt({- ...MU(e, "", u),+function Zge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = Ft(kU(e)), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)(""), u = (0, P.useDeferredValue)(c), d = Ft({+ ...kU(e, "", u),enabled: !!u.trim()- }), f = sV();+ }), f = iV();(0, P.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 = Mt({ queries: p.map((t) => MU(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = Nt({ queries: p.map((t) => kU(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, F.jsx)(nV, {+ return /* @__PURE__ */ (0, F.jsx)($B, {id: e.id,label: e.name,- icon: gz,- expandedIcon: _z,+ icon: pz,+ expandedIcon: mz,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, F.jsx)(nV, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, F.jsx)($B, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47055,15 +47080,15 @@ function qge({ 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, F.jsx)(Pz, {+ /* @__PURE__ */ (0, F.jsx)(jz, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: Tz,+ leadingIcon: Sz,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ v ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -47075,7 +47100,7 @@ function qge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {},children: "立即重试"}),- children: Wn(v)+ children: Gn(v)}) : null,/* @__PURE__ */ (0, F.jsx)("div", {className: "folder-tree-frame relative flex min-h-0 flex-col overflow-hidden rounded-3xl",@@ -47098,20 +47123,20 @@ function qge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ }) : d.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",- children: Wn(d.error)+ children: Gn(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: gz,+ leadingIcon: pz,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, F.jsx)(Rz, {+ }, e.id)) : /* @__PURE__ */ (0, F.jsx)(Fz, {size: "compact",- icon: Tz,+ icon: Sz,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, F.jsx)(q, {size: "small",@@ -47120,7 +47145,7 @@ function qge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, F.jsx)(Vme, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, F.jsx)(Gme, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -47128,11 +47153,11 @@ function qge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, F.jsx)(Rz, {+ }) : /* @__PURE__ */ (0, F.jsx)(Fz, {size: "compact",- icon: gz,+ icon: pz,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, F.jsx)(lI, {+ actions: /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47145,53 +47170,53 @@ function qge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {});}// src/react/components/segmented.tsx-function Jge(e) {- let t = XF(MH("selection"));- return /* @__PURE__ */ (0, F.jsx)(oz, {+function Qge(e) {+ let t = qF(kH("selection"));+ return /* @__PURE__ */ (0, F.jsx)(rz, {...e,ref: t});}-function IU(e) {- let t = XF(MH("selection"));- return /* @__PURE__ */ (0, F.jsx)(TR, {+function NU(e) {+ let t = qF(kH("selection"));+ return /* @__PURE__ */ (0, F.jsx)(SR, {...e,ref: t});}-var LU = "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", RU = "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", Yge = "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", zU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", BU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";+var PU = "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", FU = "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", $ge = "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", IU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", LU = "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)";// src/react/catalog-grid/catalog-view-toggle.tsx-function VU() {- let e = FM();- return /* @__PURE__ */ (0, F.jsxs)(TR, {+function RU() {+ let e = MM();+ return /* @__PURE__ */ (0, F.jsxs)(SR, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: NM,+ onChange: AM,"data-entity-layout": "",- className: zU,- children: [/* @__PURE__ */ (0, F.jsx)(ER, {+ className: IU,+ children: [/* @__PURE__ */ (0, F.jsx)(CR, {value: "cards","aria-label": "卡片",- className: BU,+ className: LU,"data-glass-segment": "",children: /* @__PURE__ */ (0, F.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, F.jsx)(bz, {+ children: /* @__PURE__ */ (0, F.jsx)(_z, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, F.jsx)(ER, {+ }), /* @__PURE__ */ (0, F.jsx)(CR, {value: "list","aria-label": "列表",- className: BU,+ className: LU,"data-glass-segment": "",children: /* @__PURE__ */ (0, F.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, F.jsx)(cpe, {+ children: /* @__PURE__ */ (0, F.jsx)(fpe, {"aria-hidden": "true",className: "size-4"})@@ -47200,8 +47225,8 @@ function VU() {});}// src/react/components/icon-swap.tsx-function HU({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = Ax();+function zU({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = Ox();return /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47217,114 +47242,114 @@ function HU({ a: e, b: t, state: n, className: r }) {})]});}-function UU({ className: e }) {- return /* @__PURE__ */ (0, F.jsx)(HU, {- a: Pfe,- b: Nfe,+function BU({ className: e }) {+ return /* @__PURE__ */ (0, F.jsx)(zU, {+ a: Rfe,+ b: Lfe,className: e});}// src/react/follow-feed/follow-marks.ts-var WU = (e) => typeof e == "string" ? e : "", GU = (e) => e.aliases;-function KU(e, t = "") {- let n = ki(e);- return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";+var VU = (e) => typeof e == "string" ? e : "", HU = (e) => e.aliases;+function UU(e, t = "") {+ let n = Ai(e);+ return n ? `<img data-follow-site-icon="" src="${n}" alt="${R(t)}"${t ? ` title="${R(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function qU(e, t = "") {- let n = z(Hr(t || e)), r = ki(e);+function WU(e, t = "") {+ let n = R(Ur(t || e)), r = Ai(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 JU = (e) => WU(e.title).trim() || "未命名内容", YU = (e, t) => Vr(e, GU(t));-function XU(e) {+var GU = (e) => VU(e.title).trim() || "未命名内容", KU = (e, t) => Hr(e, HU(t));+function qU(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 = WU(n.entity_name);- return Ut("creator", r, n.entity_id), r;+ let n = t[0], r = VU(n.entity_name);+ return Wt("creator", r, n.entity_id), r;}-function ZU(e, t) {- let { src: n, fallback: r } = Ur(e), i = Hr(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 JU(e, t) {+ let { src: n, fallback: r } = Wr(e), i = Ur(t);+ if (!n) return `<span class="favatar none" title="没有可用头像">${R(i)}</span>`;+ let a = r ? ` data-fallbacks="${R(r)}"` : "";+ return `<img class="favatar" src="${R(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${R(i)}" data-drop-class="favatar none">`;}-function QU(e, t, n) {- let r = GU(n), i = e.credit, a = i?.poster;+function YU(e, t, n) {+ let r = HU(n), i = e.credit, a = i?.poster;if (!a) {- let n = Vr(t, r);+ let n = Hr(t, r);return {- author: n || WU(e.author) || WU(e.source_label) || "创作者未取得",- avatar: ZU(t, n),+ author: n || VU(e.author) || VU(e.source_label) || "创作者未取得",+ avatar: JU(t, n),credited: "",- entityName: XU(t)+ entityName: qU(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 && Vr(c, r) || a;+ 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 && Hr(c, r) || a;return {author: l,- avatar: ZU(c, l),+ avatar: JU(c, l),credited: i.credited || "",- entityName: XU(c)+ entityName: qU(c)};}-function $U(e, t = e.primary) {+function XU(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 = WU(e.primary.version);- i && n.push(r("version", z(i)));- let a = WU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let i = VU(e.primary.version);+ i && n.push(r("version", R(i)));+ let a = VU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function eW(e, t = e.primary) {+function ZU(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]) => KU(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>`;+ let r = [...n].map(([e, t]) => UU(e, t) || `<span>${R(t)}</span>`).join("");+ return `<span data-follow-seealso="" title="另见 ${R([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function tW(e, t) {- let n = WU(e.media_error);+function QU(e, t) {+ let n = VU(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var Xge = 864e5, Zge = (e, t) => {+var e_e = 864e5, t_e = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > Xge;+ return Number.isFinite(n) && n - t > e_e;};-function nW(e, t) {- let n = WU(e.published_at);+function $U(e, t) {+ let n = VU(e.published_at);if (!n) return null;- let r = e.published_precision === "approximate", i = ir(n);+ let r = e.published_precision === "approximate", i = ar(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: Zge(n, t) ? " · 晚于现在" : ""+ suffix: t_e(n, t) ? " · 晚于现在" : ""};}-function rW(e, t = Date.now()) {- let n = nW(e, t);+function eW(e, t = Date.now()) {+ let n = $U(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function Qge(e, t = Date.now()) {- let n = nW(e, t);+function n_e(e, t = Date.now()) {+ let n = $U(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 iW = /* @__PURE__ */ new Set(), aW = [], oW = null;-function sW() {- if (oW = null, !aW.length) return;- let e = aW.splice(0, 200);- on("/api/follow/image-dims", {+var tW = /* @__PURE__ */ new Set(), nW = [], rW = null;+function iW() {+ if (rW = null, !nW.length) return;+ let e = nW.splice(0, 200);+ sn("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), aW.length && (oW = setTimeout(sW, 800));+ }).catch(() => {}), nW.length && (rW = setTimeout(iW, 800));}-function $ge(e, t, n, r) {+function r_e(e, t, n, r) {let i = `${e}:${t ?? ""}`;- iW.has(i) || (iW.add(i), aW.push(t === null ? {+ tW.has(i) || (tW.add(i), nW.push(t === null ? {item: e,width: n,height: r@@ -47333,25 +47358,25 @@ function $ge(e, t, n, r) {width: n,height: r,media: t- }), oW ||= setTimeout(sW, 800));+ }), rW ||= setTimeout(iW, 800));}// src/react/entity-filter/entity-filter.ts-var e_e = (e) => e === "videos", cW = () => /* @__PURE__ */ (0, F.jsx)("span", {+var i_e = (e) => e === "videos", aW = () => /* @__PURE__ */ (0, F.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), t_e = Bz("shuffle"), n_e = Bz("arrow-up"), r_e = Bz("arrow-down");-function i_e(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = e_e(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), a_e = Lz("shuffle"), o_e = Lz("arrow-up"), s_e = Lz("arrow-down");+function c_e(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = i_e(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, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = sI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = sI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, P.useRef)(null), w = (0, P.useRef)(null), T = u?.mediaCounts ? u : null, E = sI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = iI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = iI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, P.useRef)(null), w = (0, P.useRef)(null), T = u?.mediaCounts ? u : null, E = iI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, P.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(dW, {+ }, [c]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(oW, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, F.jsx)(eI, {+ }), /* @__PURE__ */ (0, F.jsx)(ZF, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -47380,19 +47405,19 @@ function i_e(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(uW, {+ n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(f_e, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, F.jsx)(cW, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(o_e, {+ }), d ? /* @__PURE__ */ (0, F.jsx)(aW, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(u_e, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, F.jsx)(cW, {})] }) : null,+ }), /* @__PURE__ */ (0, F.jsx)(aW, {})] }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -47413,11 +47438,11 @@ function i_e(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, F.jsx)(cW, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, F.jsx)(aW, {}) : null]}), /* @__PURE__ */ (0, F.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, F.jsxs)(nI, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, F.jsxs)($F, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47426,17 +47451,17 @@ function i_e(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, F.jsx)(lW, {+ }, e.k)) : u ? /* @__PURE__ */ (0, F.jsx)(d_e, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, F.jsx)(fW, { ...e })+ bottom: /* @__PURE__ */ (0, F.jsx)(sW, { ...e })})] });}-var a_e = [[+var l_e = [["videos","视频","play",@@ -47447,7 +47472,7 @@ var a_e = [["pics","image"]];-function o_e({ head: e, row: t, glide: n, onMedia: r }) {+function u_e({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {ref: t,role: "group",@@ -47455,7 +47480,7 @@ function o_e({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: a_e.map(([t, i, a, o]) => {+ children: l_e.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -47468,12 +47493,12 @@ function o_e({ head: e, row: t, glide: n, onMedia: r }) {onClick: () => {e.media !== t && r(t);},- dangerouslySetInnerHTML: { __html: R(a) }+ dangerouslySetInnerHTML: { __html: L(a) }}, t);})});}-function lW({ head: e, actions: t }) {+function d_e({ head: e, actions: t }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -47483,10 +47508,10 @@ function lW({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: KU(n) }+ dangerouslySetInnerHTML: { __html: UU(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(cW, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)(nI, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(aW, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)($F, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -47499,7 +47524,7 @@ function lW({ head: e, actions: t }) {}, e.k))] });}-function uW({ keys: e, view: t, row: n, glide: r, onView: i }) {+function f_e({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47542,12 +47567,12 @@ function uW({ keys: e, view: t, row: n, glide: r, onView: i }) {title: c,onPointerEnter: r.hover,onClick: () => i(e),- dangerouslySetInnerHTML: { __html: R(o) }+ dangerouslySetInnerHTML: { __html: L(o) }}, e);})});}-function dW({ items: e, hidden: t, actions: n }) {+function oW({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -47567,7 +47592,7 @@ function dW({ items: e, hidden: t, actions: n }) {})] }) : null});}-function fW(e) {+function sW(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, F.jsxs)("button", {@@ -47576,30 +47601,30 @@ function fW(e) {onClick: o.photoBack,children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R("chevron-left") }+ dangerouslySetInnerHTML: { __html: L("chevron-left") }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, F.jsx)(pW, {+ /* @__PURE__ */ (0, F.jsx)(cW, {text: n,busy: r}),- /* @__PURE__ */ (0, F.jsx)(tB, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, F.jsx)(gW, {+ /* @__PURE__ */ (0, F.jsx)(Qz, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, F.jsx)(dW, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, F.jsx)(yW, {+ t === "photos" && a ? /* @__PURE__ */ (0, F.jsx)(mW, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, F.jsx)(vW, {+ t === "online" && e.online ? /* @__PURE__ */ (0, F.jsx)(pW, {head: e.online,actions: o}) : null] });}-function pW({ text: e, busy: t }) {+function cW({ text: e, busy: t }) {return /* @__PURE__ */ (0, F.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, F.jsx)("span", {@@ -47609,22 +47634,22 @@ function pW({ text: e, busy: t }) {}) : e});}-function mW({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, F.jsx)(TR, {+function lW({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, F.jsx)(SR, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: zU,+ className: IU,children: r.map(([e, t, n]) => {- let r = Bz(n);- return /* @__PURE__ */ (0, F.jsx)(ER, {+ let r = Lz(n);+ return /* @__PURE__ */ (0, F.jsx)(CR, {value: e,"aria-label": t,"data-glass-segment": "",- className: BU,+ className: LU,children: /* @__PURE__ */ (0, F.jsx)("span", {title: t,className: "contents",@@ -47634,38 +47659,38 @@ function mW({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function hW({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, F.jsx)(QF, {+function uW({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, F.jsx)(YF, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: t_e,+ icon: a_e,onPress: e});}-function gW({ head: e, actions: t }) {- let n = FM();+function dW({ head: e, actions: t }) {+ let n = MM();return /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(hW, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, F.jsx)(mW, {+ /* @__PURE__ */ (0, F.jsx)(uW, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, F.jsx)(lW, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, F.jsx)(VU, {}),- /* @__PURE__ */ (0, F.jsx)(PU, {}),- /* @__PURE__ */ (0, F.jsx)(_W, {+ /* @__PURE__ */ (0, F.jsx)(RU, {}),+ /* @__PURE__ */ (0, F.jsx)(jU, {}),+ /* @__PURE__ */ (0, F.jsx)(fW, {sorts: e.sorts,onSort: t.setSort})]});}-function _W({ sorts: e, onSort: t }) {+function fW({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -47673,20 +47698,20 @@ function _W({ 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, F.jsx)(HU, {- a: n_e,- b: r_e,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, F.jsx)(zU, {+ a: o_e,+ b: s_e,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function vW({ head: e, actions: t }) {+function pW({ head: e, actions: t }) {return /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(hW, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(mW, {+ /* @__PURE__ */ (0, F.jsx)(uW, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lW, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47703,30 +47728,30 @@ function vW({ head: e, actions: t }) {"aria-hidden": "true"}) : null, /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R("captions-off") }+ dangerouslySetInnerHTML: { __html: L("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, F.jsx)(_W, {+ /* @__PURE__ */ (0, F.jsx)(fW, {sorts: e.sorts,onSort: t.onlineSort})]});}-function yW({ head: e, actions: t, helpers: n }) {+function mW({ head: e, actions: t, helpers: n }) {let [r, i] = (0, P.useState)(!1), a = (0, P.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, P.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, F.jsx)(hW, {+ e.shuffle ? /* @__PURE__ */ (0, F.jsx)(uW, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, F.jsx)(mW, {+ /* @__PURE__ */ (0, F.jsx)(lW, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47741,8 +47766,8 @@ function yW({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var bW = "peach.catalog.tiers.v1";-function xW() {+var hW = "peach.catalog.tiers.v1";+function gW() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -47756,41 +47781,41 @@ function xW() {};}}-function SW(e) {+function _W(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(bW, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(hW, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-var CW = "";-function wW(e) {- let t = !e.tiers, n = MW(e.comboHost);+var vW = "";+function yW(e) {+ let t = !e.tiers, n = DW(e.comboHost);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(dW, {+ n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(oW, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, F.jsx)(DW, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, F.jsx)(TW, { ...e })+ /* @__PURE__ */ (0, F.jsx)(SW, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, F.jsx)(bW, { ...e })]});}-function TW(e) {- let { actions: t, helpers: n } = e, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = sI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function bW(e) {+ let { actions: t, helpers: n } = e, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = iI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, P.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = NW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = OW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, P.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -47806,8 +47831,8 @@ function TW(e) {e.layout,e.sorts]), (0, P.useLayoutEffect)(() => {- Ms(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, F.jsx)(eI, {+ Ns(o.current, "tagbar");+ }, [f]), /* @__PURE__ */ (0, F.jsx)(ZF, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -47851,17 +47876,17 @@ function TW(e) {}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, F.jsx)(kW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, F.jsx)(EW, {+ children: [e.empty || d ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, F.jsx)(xW, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, F.jsx)(AW, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, F.jsx)(TW, { ...e })});}-function EW({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, F.jsxs)(nI, {+function xW({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, F.jsxs)($F, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47872,14 +47897,14 @@ function EW({ tag: e, onPress: t }) {})]});}-function DW(e) {+function SW(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = !e.tiers, a = e.empty || i, o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useCallback)((e) => () => t.moreTops(e), [t]), l = NW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = NW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, P.useMemo)(() => i ? xW() : 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, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useCallback)((e) => () => t.moreTops(e), [t]), l = OW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = OW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, P.useMemo)(() => i ? gW() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, P.useEffect)(() => {- i || SW({+ i || _W({performers: f,studios: p});@@ -47900,7 +47925,7 @@ function DW(e) {children: [f ? /* @__PURE__ */ (0, F.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, F.jsx)(kW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -47917,18 +47942,18 @@ function DW(e) {}) : null, p ? /* @__PURE__ */ (0, F.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, F.jsx)(kW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, F.jsx)(OW, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, F.jsx)(CW, { studio: e }), e.name]}, e.name))}) : null]});}-function OW({ studio: e }) {+function CW({ studio: e }) {let [t, n] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("span", {"data-tier-mark": "",@@ -47946,7 +47971,7 @@ function OW({ studio: e }) {}) : e.fallback});}-function kW({ kind: e }) {+function wW({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-catalog-placeholder": "tag",@@ -47962,46 +47987,46 @@ function kW({ kind: e }) {children: [/* @__PURE__ */ (0, F.jsx)("span", {}), /* @__PURE__ */ (0, F.jsx)("span", { children: "\xA0" })]}, t)) });}-function AW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = FM(), [o, s] = (0, P.useState)(!1);+function TW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = MM(), [o, s] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, F.jsx)(jW, { count: e }), /* @__PURE__ */ (0, F.jsx)(tB, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, F.jsx)(EW, { count: e }), /* @__PURE__ */ (0, F.jsx)(Qz, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(hW, {+ /* @__PURE__ */ (0, F.jsx)(uW, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, F.jsx)(mW, {+ n && a === "cards" ? /* @__PURE__ */ (0, F.jsx)(lW, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, F.jsx)(VU, {}),- /* @__PURE__ */ (0, F.jsx)(PU, {}),- /* @__PURE__ */ (0, F.jsx)(_W, {+ /* @__PURE__ */ (0, F.jsx)(RU, {}),+ /* @__PURE__ */ (0, F.jsx)(jU, {}),+ /* @__PURE__ */ (0, F.jsx)(fW, {sorts: r,onSort: i.setSort})]})] });}-function jW({ count: e }) {+function EW({ count: e }) {let t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, P.useLayoutEffect)(() => {if (e === !1) return;if (!e) {- Gs(n.current);+ Ks(n.current);return;}let i = t.current;- i && (CW && i.dataset.popCount === void 0 && (i.dataset.popCount = CW), CW = r, ks(i, r));+ i && (vW && i.dataset.popCount === void 0 && (i.dataset.popCount = vW), vW = r, As(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, F.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, F.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48017,7 +48042,7 @@ function jW({ count: e }) {})}, "skeleton");}-function MW(e) {+function DW(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!e) return;@@ -48027,7 +48052,7 @@ function MW(e) {};}, [e]), t;}-function NW(e, t, n, r, i) {+function OW(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48070,11 +48095,11 @@ function NW(e, t, n, r, i) {}), l.slice(0, c.limit);}// src/react/components/grid-reveal.tsx-var PW = "100% 0px";-function FW(e, t) {+var kW = "100% 0px";+function AW(e, t) {let [n, r] = (0, P.useState)(e ? "skeleton" : "none"), [i] = (0, P.useState)(() => e ? t() : ""), a = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {- a.current && Gs(a.current);+ a.current && Ks(a.current);}, []), (0, P.useLayoutEffect)(() => {if (e || n !== "skeleton") return;let t = !!a.current && !a.current.querySelector(".skeleton-awaiting");@@ -48097,20 +48122,20 @@ function FW(e, t) {fading: n === "fade"};}-function IW({ message: e, onRetry: t }) {+function jW({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-media-error": "",onClick: (e) => {e.target.closest("[data-note-action]") && t();},- dangerouslySetInnerHTML: { __html: ys(e, {+ dangerouslySetInnerHTML: { __html: bs(e, {variant: "error",actionLabel: "立即重试"}) }});}// src/react/components/art-slot.tsx-function LW({ artwork: e, identity: t = e.html, relayout: n }) {+function MW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, P.useState)({identity: t,artwork: e@@ -48129,63 +48154,63 @@ function LW({ artwork: e, identity: t = e.html, relayout: n }) {});}// src/library-catalog.ts-var RW = "peach.library-colors.v1", zW = null, BW = /* @__PURE__ */ new Set();-function VW() {+var NW = "peach.library-colors.v1", PW = null, FW = /* @__PURE__ */ new Set();+function IW() {try {- let e = JSON.parse(localStorage.getItem(RW) || "{}");+ let e = JSON.parse(localStorage.getItem(NW) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function HW(e) {- zW = e;+function LW(e) {+ PW = e;try {- localStorage.setItem(RW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(NW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- BW.forEach((t) => t(e));+ FW.forEach((t) => t(e));}-function UW() {- return zW;+function RW() {+ return PW;}-function WW(e) {- return BW.add(e), () => {- BW.delete(e);+function zW(e) {+ return FW.add(e), () => {+ FW.delete(e);};}// src/react/components/library-tint.ts-var GW = /* @__PURE__ */ new Map(), KW = !1, qW = /* @__PURE__ */ new Set();-function JW(e) {+var BW = /* @__PURE__ */ new Map(), VW = !1, HW = /* @__PURE__ */ new Set();+function UW(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 YW(e) {- GW = e;+function WW(e) {+ BW = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...GW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${JW(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...BW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${UW(e.color)}}`).join("\n");}-function XW(e) {- YW(e), qW.forEach((e) => e());+function GW(e) {+ WW(e), HW.forEach((e) => e());}-var ZW = (e) => new Map(e.map((e) => [e.id, {+var KW = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,- icon: Zo[e.icon || ""] || e.icon || "database",+ icon: Qo[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), QW = !1;-function $W() {- if (QW) return;- QW = !0, WW((e) => XW(ZW(e)));- let e = UW();+}])), qW = !1;+function JW() {+ if (qW) return;+ qW = !0, zW((e) => GW(KW(e)));+ let e = RW();if (e) {- YW(ZW(e));+ WW(KW(e));return;}- let t = Object.entries(VW()).filter(([, e]) => e);- t.length && YW(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(IW()).filter(([, e]) => e);+ t.length && WW(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48193,73 +48218,73 @@ function $W() {color: t}])));}-function eG() {- KW || UW() || (KW = !0, B("/api/libraries").then((e) => HW(e.libraries || [])).catch(() => {- KW = !1;+function YW() {+ VW || RW() || (VW = !0, z("/api/libraries").then((e) => LW(e.libraries || [])).catch(() => {+ VW = !1;}));}-function tG(e, t) {- let n = GW.get(e) ?? {+function XW(e, t) {+ let n = BW.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- XW(new Map([...GW, [e, {+ GW(new Map([...BW, [e, {...n,color: t}]]));}-function nG(e) {- return qW.add(e), () => {- qW.delete(e);+function ZW(e) {+ return HW.add(e), () => {+ HW.delete(e);};}-function rG({ names: e = !1 } = {}) {- return $W(), e && eG(), (0, P.useSyncExternalStore)(nG, () => GW, () => GW);+function QW({ names: e = !1 } = {}) {+ return JW(), e && YW(), (0, P.useSyncExternalStore)(ZW, () => BW, () => BW);}// src/react/components/row-click.ts-var iG = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";-function aG(e, t) {+var $W = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+function eG(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(iG);+ let r = n.closest($W);return !r || !t.contains(r) || r === t;}-function oG(e) {+function tG(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var sG = 9 / 16, cG = "未命名视频";-function lG({ name: e }) {+var nG = 9 / 16, rG = "未命名视频";+function iG({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-var uG = {+var aG = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, dG = {+}, oG = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function fG({ item: e }) {+function sG({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && dG[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && oG[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, F.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function pG({ item: e, actions: t }) {+function cG({ item: e, actions: t }) {let [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48271,18 +48296,18 @@ function pG({ item: e, actions: t }) {},"aria-busy": n || void 0,"aria-disabled": n || void 0,- children: n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs(`正在${s}`) } }), /* @__PURE__ */ (0, F.jsx)("span", { children: `正在${s}` })] }) : /* @__PURE__ */ (0, F.jsx)("span", { children: s })+ children: n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs(`正在${s}`) } }), /* @__PURE__ */ (0, F.jsx)("span", { children: `正在${s}` })] }) : /* @__PURE__ */ (0, F.jsx)("span", { children: s })}), i ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-operation-error": "",role: "alert",children: i}) : null] });}-function mG(e, t, n) {- return t === "short" ? sG : VA(n);+function lG(e, t, n) {+ return t === "short" ? nG : RA(n);}-function hG(e) {- let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = uo(e), s = i[0] || "", c = Ya(e);+function uG(e) {+ let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = fo(e), s = i[0] || "", c = Xa(e);return {avatar: r ? /* @__PURE__ */ (0, F.jsx)("div", {"data-media-avatars": "",@@ -48294,7 +48319,7 @@ function hG(e) {"data-entity-name": e,title: `打开${c}页:${e}`,style: { "--media-avatar-index": t },- dangerouslySetInnerHTML: { __html: Qa(e, a[t] ?? null, "performer") }+ dangerouslySetInnerHTML: { __html: $a(e, a[t] ?? null, "performer") }}, `${e}:${t}`))}) : t ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48302,10 +48327,10 @@ function hG(e) {"data-entity-kind": t,"data-entity-name": n,title: `打开${t === "performer" ? c : "资料"}页`,- dangerouslySetInnerHTML: { __html: Qa(n, t === "performer" ? a[0] ?? null : e.creator_entity ?? null, t) }+ dangerouslySetInnerHTML: { __html: $a(n, t === "performer" ? a[0] ?? null : e.creator_entity ?? null, t) }}) : /* @__PURE__ */ (0, F.jsx)("span", {"data-media-avatar": "",- dangerouslySetInnerHTML: { __html: Qa(n, null, "") }+ dangerouslySetInnerHTML: { __html: $a(n, null, "") }}),who: r ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -48313,7 +48338,7 @@ function hG(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, F.jsx)(lG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, F.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48323,16 +48348,16 @@ function hG(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, F.jsx)(lG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, F.jsx)(lG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]})};}-function gG() {+function dG() {return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-media-preview": "",@@ -48351,7 +48376,7 @@ function gG() {})]});}-function _G({ item: e, actions: t, on: n, onChange: r }) {+function fG({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("div", {"data-media-later": "",@@ -48366,11 +48391,11 @@ function _G({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: n ? "check" : "bookmark-plus" })})});}-function vG({ reason: e }) {+function pG({ reason: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {ref: t,@@ -48384,15 +48409,15 @@ function vG({ reason: e }) {e.stopPropagation(), r(!0);},children: e- }), /* @__PURE__ */ (0, F.jsx)(aR, {+ }), /* @__PURE__ */ (0, F.jsx)(nR, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: $B,- children: /* @__PURE__ */ (0, F.jsx)(vR, {+ className: XB,+ children: /* @__PURE__ */ (0, F.jsx)(hR, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -48400,17 +48425,17 @@ function vG({ reason: e }) {})})] });}-function yG(e, t) {+function mG(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 bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- let u = (0, P.useRef)(null), [d, f] = (0, P.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = rG(), 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, P.useRef)(e);+function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ let u = (0, P.useRef)(null), [d, f] = (0, P.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = QW(), 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, P.useRef)(e);_.current = e;let v = (0, P.useCallback)((e) => {let t = _.current;- u.current && u.current !== e && kl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && jl(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 = mG(e, t, n), w = S ? n.size : "small", T = C === sG && !!e.is_jav, E = T ? so(e, !1) : ao(e, w, !1, n.javImage), D = T || w === "small" ? E.html : ao(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || cG, A = o.titleHtml(e, O).trim() || z(cG), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: ne } = hG(e), N = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {+ u.current && u.current !== e && Al(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Ml(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 = lG(e, t, n), w = S ? n.size : "small", T = C === nG && !!e.is_jav, E = T ? co(e, !1) : oo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : oo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || rG, A = o.titleHtml(e, O).trim() || R(rG), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: ne } = uG(e), N = (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;@@ -48437,13 +48462,13 @@ function bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSel && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, ie = /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === sG ? "" : void 0,+ "data-pic-portrait": C === nG ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, F.jsx)(LW, {+ E.html ? /* @__PURE__ */ (0, F.jsx)(MW, {artwork: E,identity: D,- relayout: (e) => xl(e, w)+ relayout: (e) => Sl(e, w)}) : /* @__PURE__ */ (0, F.jsx)("span", {"data-media-nopic": "",children: "无预览"@@ -48454,11 +48479,11 @@ function bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "check" })}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, F.jsx)(lG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-group": "",@@ -48471,9 +48496,9 @@ function bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}) : null,/* @__PURE__ */ (0, F.jsx)("span", {"data-media-duration": "",- children: kn(M)+ children: An(M)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)(pG, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)(cG, {item: e,actions: s}) : null,@@ -48489,22 +48514,22 @@ function bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-scrub": "",children: /* @__PURE__ */ (0, F.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, F.jsx)(gG, {}),+ /* @__PURE__ */ (0, F.jsx)(dG, {}),p || g.length ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, F.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: "bookmark" })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, F.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: "heart" })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, F.jsx)(_G, {+ i ? null : /* @__PURE__ */ (0, F.jsx)(fG, {item: e,actions: s,on: p,@@ -48519,27 +48544,27 @@ function bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), yG(u.current, -a);+ e.stopPropagation(), mG(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), yG(u.current, a);+ e.stopPropagation(), mG(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "rotate-cw" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: "expand" })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "expand" })})]})@@ -48558,7 +48583,7 @@ function bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: re,- onMouseDown: oG,+ onMouseDown: tG,children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48600,15 +48625,15 @@ function bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, F.jsx)(lG, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "calendar" }), e.release_date]}) : null, /* @__PURE__ */ (0, F.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, F.jsx)(lG, { name: "hard-drive" }), Number(j) > 0 ? jn(Number(j)) : "大小未知"]+ children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "hard-drive" }), Number(j) > 0 ? Mn(Number(j)) : "大小未知"]})]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, F.jsx)(vG, { reason: e.why }) : null : N.length || e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, F.jsx)(pG, { reason: e.why }) : null : N.length || e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-media-tags": "",children: N.map((t) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48618,15 +48643,15 @@ function bG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, F.jsx)(fG, { item: e })+ /* @__PURE__ */ (0, F.jsx)(sG, { item: e })]})]})]});}-function xG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, P.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : uG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function gG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, P.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : aG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, F.jsxs)("article", {ref: o,"data-media-card": "",@@ -48638,14 +48663,14 @@ function xG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpeonClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: oG,+ onMouseDown: tG,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, F.jsx)(lG, { name: u }), /* @__PURE__ */ (0, F.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: u }), /* @__PURE__ */ (0, F.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-art": "thumb",@@ -48657,13 +48682,13 @@ function xG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "check" })}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, F.jsx)(lG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, F.jsx)(pG, {+ n ? null : /* @__PURE__ */ (0, F.jsx)(cG, {item: e,actions: i})@@ -48674,7 +48699,7 @@ function xG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(lG, { name: u })+ children: /* @__PURE__ */ (0, F.jsx)(iG, { name: u })}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-text": "",children: [@@ -48682,7 +48707,7 @@ function xG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-title": "","data-middle-truncate": "",title: c,- dangerouslySetInnerHTML: { __html: z(c || "未命名资源") }+ dangerouslySetInnerHTML: { __html: R(c || "未命名资源") }}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-byline": "",@@ -48697,34 +48722,34 @@ function xG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}) : null,/* @__PURE__ */ (0, F.jsx)("span", {"data-media-size": "",- children: Number(e.size) > 0 ? jn(Number(e.size)) : "大小未知"+ children: Number(e.size) > 0 ? Mn(Number(e.size)) : "大小未知"})]}),e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, F.jsx)(fG, { item: e })+ /* @__PURE__ */ (0, F.jsx)(sG, { item: e })]})]})]});}-function SG(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(xG, { ...e }) : /* @__PURE__ */ (0, F.jsx)(bG, { ...e });+function _G(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(gG, { ...e }) : /* @__PURE__ */ (0, F.jsx)(hG, { ...e });}-var CG = (0, P.memo)(SG), wG = 1100, TG = 340, EG = 5e3;-function DG(e, t, n) {+var vG = (0, P.memo)(_G), yG = 1100, bG = 340, xG = 5e3;+function SG(e, t, n) {return new Promise((r) => {let i = new Image();n && (i.referrerPolicy = n);let a = !1, o = (e) => {a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));- }, s = () => o(!1), c = setTimeout(s, EG);+ }, s = () => o(!1), c = setTimeout(s, xG);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 OG({ load: e, canFlip: t, referrerPolicy: n }) {+function CG({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, P.useState)([]), [a, o] = (0, P.useState)(0), [s, c] = (0, P.useState)(null), l = (0, P.useRef)({live: !1,generation: 0,@@ -48766,11 +48791,11 @@ function OG({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => DG(t, e, n)));+ let s = await Promise.all(a.map((t) => SG(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, wG);+ p(), e.cycle = setInterval(p, yG);}));};return (0, P.useEffect)(() => d, [d]), {@@ -48779,7 +48804,7 @@ function OG({ 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(TG, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(bG, () => {e.armed = null, m();});},@@ -48789,8 +48814,8 @@ function OG({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var kG = Bz("play");-function AG({ src: e }) {+var wG = Lz("play");+function TG({ src: e }) {let [t, n] = (0, P.useState)(!1);return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {"data-mix-poster": "",@@ -48803,8 +48828,8 @@ function AG({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var jG = "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 MG({ faces: e, fallback: t, onOpenEntity: n }) {+var EG = "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 DG({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, F.jsx)("button", {@@ -48812,18 +48837,18 @@ function MG({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${jG} cursor-pointer outline-none`,- dangerouslySetInnerHTML: { __html: Za(e.name, e, Ma(e.name), e.kind) }+ className: `${EG} cursor-pointer outline-none`,+ dangerouslySetInnerHTML: { __html: Qa(e.name, e, Na(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${jG} mt-0.5`,+ className: `${EG} mt-0.5`,children: t});}-function NG({ 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 = OG({+function OG({ 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 = CG({load: i,canFlip: a}), x = (0, P.useRef)(b.onPointerLeave);@@ -48850,11 +48875,11 @@ function NG({ 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, F.jsx)(LW, {+ f?.html ? /* @__PURE__ */ (0, F.jsx)(MW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, F.jsx)(AG, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, F.jsx)(TG, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -48884,7 +48909,7 @@ function NG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, F.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, F.jsx)(kG, {+ children: [/* @__PURE__ */ (0, F.jsx)(wG, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -48897,10 +48922,10 @@ function NG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, F.jsx)(kG, {})- }) : /* @__PURE__ */ (0, F.jsx)(MG, {+ children: /* @__PURE__ */ (0, F.jsx)(wG, {})+ }) : /* @__PURE__ */ (0, F.jsx)(DG, {faces: o,- fallback: Fn(e),+ fallback: In(e),onOpenEntity: s}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -48921,7 +48946,7 @@ function NG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:});}// src/react/video-wall/folia/blockReflows.ts-var PG = [+var kG = [[[{@@ -52482,7 +52507,7 @@ var PG = [}]]-], FG = [+], AG = [[{x: 0,@@ -52779,89 +52804,89 @@ var PG = [rows: 2}]-], IG = (e) => e.map((e) => ({+], jG = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), LG = (e) => e.map((e) => ({+})), MG = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), RG = [+})), NG = [(e) => e,- IG,- LG,- (e) => IG(LG(e))-], zG = FG.flatMap((e) => RG.map((t) => t(e))), BG = PG.flatMap((e) => RG.map((t) => e.map(t)));-zG.length;-var VG = (e, t) => {+ jG,+ MG,+ (e) => jG(MG(e))+], PG = AG.flatMap((e) => NG.map((t) => t(e))), FG = kG.flatMap((e) => NG.map((t) => e.map(t)));+PG.length;+var IG = (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;-}, HG = (e, t) => {- let n = FG.length;- return ((e + t * 2) % n + n) % n * RG.length + VG(e, t) % RG.length;-}, UG = (e, t) => zG[HG(e, t)], WG = (e, t, n) => n < 0 || n >= 12 ? null : BG[HG(e, t)][n], GG = 103.36, KG = 6.08, qG = 12 * GG, JG = 8 * GG, YG = 12, XG = (e, t) => (e % t + t) % t, ZG = (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 QG(e, t) {- let n = Math.max(1, Math.ceil(e / YG)), r = t ? 3 : Math.min(3, n);+}, LG = (e, t) => {+ let n = AG.length;+ return ((e + t * 2) % n + n) % n * NG.length + IG(e, t) % NG.length;+}, RG = (e, t) => PG[LG(e, t)], zG = (e, t, n) => n < 0 || n >= 12 ? null : FG[LG(e, t)][n], BG = 103.36, VG = 6.08, HG = 12 * BG, UG = 8 * BG, WG = 12, GG = (e, t) => (e % t + t) % t, KG = (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 qG(e, t) {+ let n = Math.max(1, Math.ceil(e / WG)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * qG,- height: Math.ceil(n / r) * JG+ width: r * HG,+ height: Math.ceil(n / r) * UG};}-function $G(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = UG(e, t)[n];+function JG(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = RG(e, t)[n];return {- x: e * qG + r * GG,- y: t * JG + i * GG,- width: a * GG - KG,- height: o * GG - KG+ x: e * HG + r * BG,+ y: t * UG + i * BG,+ width: a * BG - VG,+ height: o * BG - VG};}-function eK(e) {+function YG(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function tK(e, t, n) {+function XG(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 >= YG) return null;- let o = QG(e, t), s = o.height / JG;+ ].every(Number.isInteger) || a < 0 || a >= WG) return null;+ let o = qG(e, t), s = o.height / UG;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : XG(r, o.columns), l = ((t ? i : XG(i, s)) * o.columns + c) * YG + a;+ let c = t ? r : GG(r, o.columns), l = ((t ? i : GG(i, s)) * o.columns + c) * WG + a;return t && l >= e ? null : {- ...$G(r, i, a),+ ...JG(r, i, a),index: l % e,key: n};}-function nK(e, t) {+function ZG(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / YG);- return tK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % YG}`);+ let n = Math.floor(t / WG);+ return XG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % WG}`);}-function rK(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = WG(r, i, a);+function QG(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = zG(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * qG + e.x * GG,- y: i * JG + e.y * GG,- width: e.cols * GG - KG,- height: e.rows * GG - KG+ x: r * HG + e.x * BG,+ y: i * UG + e.y * BG,+ width: e.cols * BG - VG,+ height: e.rows * BG - VG}]));}-function iK(e) {+function $G(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / YG), i = $G(e % 3, Math.floor(e / 3), r % YG);+ let e = Math.floor(r / WG), i = JG(e % 3, Math.floor(e / 3), r % WG);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * qG - KG : t,+ width: e >= 36 ? 3 * HG - VG : t,height: n};}-function aK(e, t, n, r) {+function eK(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 {@@ -52870,22 +52895,22 @@ function aK(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function oK(e, t, n, r) {+function tK(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 = QG(e, t), s = o.height / JG, c = [];- for (let n = Math.floor(a.y / JG); n <= Math.floor((a.y + a.height) / JG); n += 1) for (let r = Math.floor(a.x / qG); r <= Math.floor((a.x + a.width) / qG); r += 1) {+ }, o = qG(e, t), s = o.height / UG, c = [];+ for (let n = Math.floor(a.y / UG); n <= Math.floor((a.y + a.height) / UG); n += 1) for (let r = Math.floor(a.x / HG); r <= Math.floor((a.x + a.width) / HG); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : XG(r, o.columns), l = t ? n : XG(n, s);- for (let s = 0; s < YG; s += 1) {- let u = (l * o.columns + i) * YG + s;+ let i = t ? r : GG(r, o.columns), l = t ? n : GG(n, s);+ for (let s = 0; s < WG; s += 1) {+ let u = (l * o.columns + i) * WG + s;if (t && u >= e) continue;- let d = $G(r, n, s);- ZG(d, a) && c.push({+ let d = JG(r, n, s);+ KG(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -52894,7 +52919,7 @@ function oK(e, t, n, r) {}return c;}-var sK = class {+var nK = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -52906,7 +52931,7 @@ var sK = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : tK(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : XG(t, !1, e);return r ? {...r,index: n@@ -52936,7 +52961,7 @@ var sK = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * qG,+ x: (e + 2) * HG,y: 0};}@@ -52949,10 +52974,10 @@ var sK = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / qG)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / HG)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, cK = [+}, rK = ["q","performer","series",@@ -52967,16 +52992,16 @@ var sK = class {"dur_max","region"];-function lK(e = {}) {- return cK.some((t) => !!e[t]);+function iK(e = {}) {+ return rK.some((t) => !!e[t]);}// src/react/video-wall/use-wall-camera.ts-var uK = {+var aK = {x: 16,y: 16,scale: 1};-function dK(e, t, n = uK, r = !1) {+function oK(e, t, n = aK, r = !1) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)({width: 0,height: 0@@ -52996,7 +53021,7 @@ function dK(e, t, n = uK, r = !1) {let f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(!1), h = (0, P.useRef)(null), g = (0, P.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, P.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = aK(e, o.current, iK(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = eK(e, o.current, $G(r), c && !f && !n);s.current = p;let m = window.devicePixelRatio || 1;a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));@@ -53067,7 +53092,7 @@ function dK(e, t, n = uK, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || v() ? _(a, !0, n) : p.current = zne(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = Hne(0, 1, {duration: .42,ease: [.22,@@ -53096,7 +53121,7 @@ function dK(e, t, n = uK, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...uK }, !0);+ g(), _({ ...aK }, !0);},pan: (e, t) => {g(), _({@@ -53157,16 +53182,16 @@ function dK(e, t, n = uK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var fK = {+var sK = {type: "spring",stiffness: 300,damping: 34-}, pK = {+}, cK = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function mK(e, t, n) {+function lK(e, t, n) {let [r, i] = (0, P.useState)({paused: !0,time: 0,@@ -53207,15 +53232,15 @@ function mK(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function hK({ 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 = tb(), x = mK(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function uK({ 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 = $y(), x = lK(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(tn(e));+ y(nn(e));}};- return /* @__PURE__ */ (0, F.jsxs)(lb.div, {+ return /* @__PURE__ */ (0, F.jsxs)(sb.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53225,7 +53250,7 @@ function hK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : pK,+ transition: b ? { duration: 0 } : cK,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53233,11 +53258,11 @@ function hK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouptype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...Hz(C),+ ...zz(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),- children: C ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs() } }) : /* @__PURE__ */ (0, F.jsx)("svg", {+ children: C ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs() } }) : /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: w ? "#i-play" : "#i-player-pause" })@@ -53283,12 +53308,12 @@ function hK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",- ...Hz(d),+ ...zz(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,onClick: g,- children: d ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs() } }) : /* @__PURE__ */ (0, F.jsx)("svg", {+ children: d ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs() } }) : /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-bookmark" })@@ -53297,9 +53322,9 @@ function hK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group/* @__PURE__ */ (0, F.jsxs)("span", {"data-wall-time": "",children: [- x.time > 0 ? kn(x.time) : "00:00",+ x.time > 0 ? An(x.time) : "00:00"," / ",- S > 0 ? kn(S) : "00:00"+ S > 0 ? An(S) : "00:00"]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -53329,7 +53354,7 @@ function hK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group});}// src/react/components/mix-queue.tsx-function gK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function dK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, P.useRef)(null), l = (0, P.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -53355,7 +53380,7 @@ function gK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,title: "关闭","aria-label": "关闭",onClick: r,- dangerouslySetInnerHTML: { __html: R("x") }+ dangerouslySetInnerHTML: { __html: L("x") }})]})]}), /* @__PURE__ */ (0, F.jsx)("div", {@@ -53365,7 +53390,7 @@ function gK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function _K({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function fK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-item-text": "",children: a@@ -53388,7 +53413,7 @@ function _K({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var vK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {+var pK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53397,106 +53422,106 @@ var vK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function yK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function mK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, F.jsx)(gK, {+ children: /* @__PURE__ */ (0, F.jsx)(dK, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(_K, {+ children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(fK, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? xN(e.part_label) : "",+ e.part_label ? yN(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, F.jsx)(LW, { artwork: ao(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, F.jsx)(MW, { artwork: oo(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, F.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, F.jsx)("span", { children: [e.edition_label,- e.part_label ? xN(e.part_label) : "",- kn(e.duration)+ e.part_label ? yN(e.part_label) : "",+ An(e.duration)].filter(Boolean).join(" · ") })]}, e.id))})});}// src/react/video-wall/wall-route.ts-function bK(e = `${location.pathname}${location.search}`, t = {}) {+function hK(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",studios: "studio",series: "series",tags: "tag"- }[r || ""], o = fn(n.pathname) && n.pathname !== "/junk-files" || n.pathname === "/jav" || !!(a && i.length), s = new URLSearchParams(o ? n.search : "");+ }[r || ""], o = pn(n.pathname) && n.pathname !== "/junk-files" || n.pathname === "/jav" || !!(a && i.length), s = new URLSearchParams(o ? n.search : "");for (let [e, n] of Object.entries(t)) n && (o || ["jav", "loc"].includes(e)) && s.set(e, n);- if (o && un[n.pathname] && s.set("state", un[n.pathname]), a && i.length) {- let e = decodeURIComponent(i.join("/")), t = /^[0-9]+$/.test(e) ? Wt(a, Number(e)) : e;+ if (o && dn[n.pathname] && s.set("state", dn[n.pathname]), a && i.length) {+ let e = decodeURIComponent(i.join("/")), t = /^[0-9]+$/.test(e) ? Gt(a, Number(e)) : e;t && a === "tag" ? (s.set("tag", [.../* @__PURE__ */ new Set([t, ...(s.get("tag") || "").split(",").filter(Boolean)])].join(",")), s.set("tag_match", "all")) : t && !s.has(a) && s.set(a, t);}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function xK(e = `${location.pathname}${location.search}`) {+function gK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of cK) t.delete(e);+ for (let e of rK) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function SK() {- let e = new URLSearchParams(QV.navigation.location.search).get("returnTo") || "/";- QV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function _K() {+ let e = new URLSearchParams(YV.navigation.location.search).get("returnTo") || "/";+ YV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsx-var CK = /* @__PURE__ */ new Map(), wK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {- let i = ao(!e.is_jav && t === "thumbnail" && e.has_thumb ? {+var vK = /* @__PURE__ */ new Map(), yK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+ let i = oo(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1} : e, n || r >= 1 ? "small" : "big", !0, t), a = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {a.current?.querySelectorAll("img.cover").forEach((e) => {- e.complete && e.naturalWidth && sl(e, r);+ e.complete && e.naturalWidth && cl(e, r);});}, [r, i.html]), /* @__PURE__ */ (0, F.jsx)("span", {ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, F.jsx)(LW, {+ children: /* @__PURE__ */ (0, F.jsx)(MW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {- e.complete && e.naturalWidth && sl(e, r);+ e.complete && e.naturalWidth && cl(e, r);})})});});-function TK({ 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 bK({ 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, P.useState)(() => {- let e = CK.get(f);+ let e = vK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, P.useState)(() => m?.exploration || new sK()), g = (0, P.useRef)(!1), [_, v] = (0, P.useState)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = (0, P.useRef)(null), C = (0, P.useRef)(null), [w, T] = (0, P.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, P.useState)(m?.selectedKey || ""), [O, k] = (0, P.useState)(m?.sourceId || null), [A, j] = (0, P.useState)(!1), M = w?.edition_group ? {+ }), [h] = (0, P.useState)(() => m?.exploration || new nK()), g = (0, P.useRef)(!1), [_, v] = (0, P.useState)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = (0, P.useRef)(null), C = (0, P.useRef)(null), [w, T] = (0, P.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, P.useState)(m?.selectedKey || ""), [O, k] = (0, P.useState)(m?.sourceId || null), [A, j] = (0, P.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 = Pt({- queryKey: eN(M || {+ } : null, ee = Ft({+ queryKey: QM(M || {kind: "parts",seedId: 0}),enabled: !!M,- queryFn: ({ signal: e }) => lN(M, {+ queryFn: ({ signal: e }) => sN(M, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === fN(te, O || w?.id || null)) || w, N = dK(e.length, t && !!e.length, m?.camera || {+ }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === uN(te, O || w?.id || null)) || w, N = oK(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), re = tb(), [ie, ae] = (0, P.useState)(!!m);+ }, !!w), re = $y(), [ie, ae] = (0, P.useState)(!!m);(0, P.useEffect)(() => {if (!e.length || ie || re) return;let t = setTimeout(() => ae(!0), 1100);@@ -53506,85 +53531,85 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ie,re]);- let oe = matchMedia("(hover:hover) and (pointer:fine)").matches, [se, ce] = (0, P.useState)(null), [le, ue] = (0, P.useState)(null), [de, fe] = (0, P.useState)(!1), [pe, me] = (0, P.useState)(""), [he, I] = (0, P.useState)(""), [ge, _e] = (0, P.useState)(!1), [ve, ye] = (0, P.useState)(null), [be, xe] = (0, P.useState)(!1), [Se] = (0, P.useState)(() => {+ let oe = matchMedia("(hover:hover) and (pointer:fine)").matches, [se, ce] = (0, P.useState)(null), [le, ue] = (0, P.useState)(null), [de, fe] = (0, P.useState)(!1), [pe, me] = (0, P.useState)(""), [he, ge] = (0, P.useState)(""), [_e, ve] = (0, P.useState)(!1), [ye, be] = (0, P.useState)(null), [xe, Se] = (0, P.useState)(!1), [Ce] = (0, P.useState)(() => {let e = document.createElement("div");return e.className = "peach-react", e;});(0, P.useLayoutEffect)(() => {- document.body.append(Se), N.viewport.current?.focus({ preventScroll: !0 });- }, [Se]), (0, P.useEffect)(() => () => Se.remove(), [Se]);- let [Ce, we] = (0, P.useState)(() => yV(QV.navigation.location.pathname)), [Te, Ee] = (0, P.useState)(m?.image || d), De = (0, P.useRef)(null), Oe = (0, P.useRef)(p), ke = (0, P.useRef)(!!e.length);- ke.current = !!e.length;- let Ae = (0, P.useRef)({+ document.body.append(Ce), N.viewport.current?.focus({ preventScroll: !0 });+ }, [Ce]), (0, P.useEffect)(() => () => Ce.remove(), [Ce]);+ let [we, Te] = (0, P.useState)(() => gV(YV.navigation.location.pathname)), [Ee, De] = (0, P.useState)(m?.image || d), Oe = (0, P.useRef)(null), ke = (0, P.useRef)(p), Ae = (0, P.useRef)(!!e.length);+ Ae.current = !!e.length;+ let je = (0, P.useRef)({selectedId: w?.id || null,selectedKey: E,sourceId: O,- image: Te,+ image: Ee,pool: p});- Ae.current = {+ je.current = {selectedId: w?.id || null,selectedKey: E,sourceId: O,- image: Te,+ image: Ee,pool: p};- let je = () => {- ke.current && (CK.delete(f), CK.set(f, {- ...Ae.current,+ let Me = () => {+ Ae.current && (vK.delete(f), vK.set(f, {+ ...je.current,camera: N.snapshot(),exploration: h- }), CK.size > 8 && CK.delete(CK.keys().next().value));+ }), vK.size > 8 && vK.delete(vK.keys().next().value));};- (0, P.useLayoutEffect)(je);- let Me = oK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, N.view.camera, N.view.size), Ne = i ? Me.map((e) => ({+ (0, P.useLayoutEffect)(Me);+ let Ne = tK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, N.view.camera, N.view.size), Pe = i ? Ne.map((e) => ({...e,index: -1- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? tK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? rK(e.length, t, Pe) : /* @__PURE__ */ new Map();- Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);- let Ie = (e = !1) => {+ })) : t ? Ne : h.assign(Ne, e.length, n), Fe = w && (t ? XG(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? QG(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, ce(null), fe(!1);};(0, P.useLayoutEffect)(() => {if (!i) {- if (e.length) Oe.current === "undefined" ? (Oe.current = p, m && (t || m.pool === p) ? T(e.find((e) => e.id === m.selectedId) || null) : m && N.reset()) : t || Oe.current === p || (Oe.current = p, C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1), T(null), D(""), me(""), N.reset());+ if (e.length) ke.current === "undefined" ? (ke.current = p, m && (t || m.pool === p) ? T(e.find((e) => e.id === m.selectedId) || null) : m && N.reset()) : t || ke.current === p || (ke.current = p, C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1), T(null), D(""), me(""), N.reset());else {- if (Oe.current === p) return;- Oe.current = p, C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1), T(null), D(""), me("");+ if (ke.current === p) return;+ ke.current = p, C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1), T(null), D(""), me("");}}}, [t,p,i- ]), (0, P.useEffect)(() => QV.listen((e) => {- let t = yV(e.location.pathname);- t && (C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1)), we(t);+ ]), (0, P.useEffect)(() => YV.listen((e) => {+ let t = gV(e.location.pathname);+ t && (C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1)), Te(t);}), []), (0, P.useEffect)(() => () => {- C.current?.abort(), S.current?.(!0), je();+ C.current?.abort(), S.current?.(!0), Me();}, []), (0, P.useEffect)(() => {- if (Ce) return;+ if (we) return;let e = document.body.style.overflow;return document.body.style.overflow = "hidden", () => {document.body.style.overflow = e;};- }, [Ce]);- let Le = (e = !0) => {- Ie(e), ue(null), T(null), D(""), k(null), j(!1), me("");- let t = De.current;+ }, [we]);+ let Re = (e = !0) => {+ Le(e), ue(null), T(null), D(""), k(null), j(!1), me("");+ let t = Oe.current;t && requestAnimationFrame(() => {(y.current?.querySelector(`[data-wall-tile="${t.key}"]`))?.focus({ preventScroll: !0 });});- }, Re = (n, r, i = !0) => {- w?.id !== n.id && Ie(!1), De.current = {+ }, ze = (n, r, i = !0) => {+ w?.id !== n.id && Le(!1), Oe.current = {key: r.key,id: n.id- }, me(""), ue(null), T(n), D(r.key), k(null), j(!1), xe(!1), N.reveal(rK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));- }, ze = () => {- ne && y.current && (je(), Ie(!0), l.wallDetails?.(ne, y.current.querySelector("[data-wall-focus]") || y.current));- }, Be = async (e = ne) => {+ }, me(""), ue(null), T(n), D(r.key), k(null), j(!1), Se(!1), N.reveal(QG(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, Be = () => {+ ne && y.current && (Me(), Le(!0), l.wallDetails?.(ne, y.current.querySelector("[data-wall-focus]") || y.current));+ }, Ve = async (e = ne) => {if (!e || !b.current || !l.wallPlayer) return;- Ie(!1), me(""), fe(!0);+ Le(!1), me(""), fe(!0);let t = new AbortController();C.current = t;let n = e.id;@@ -53596,70 +53621,70 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}S.current = r, ce(n);} catch (e) {- t.signal.aborted || me(tn(e));+ t.signal.aborted || me(nn(e));} finally {C.current === t && fe(!1);}- }, Ve = () => {- let e = pN(te || null, se || 0);- e && (k(e.id), Be(e));+ }, He = () => {+ let e = dN(te || null, se || 0);+ e && (k(e.id), Ve(e));};(0, P.useEffect)(() => {- le == null || w?.id !== le || Ce || (ue(null), Be(w));+ le == null || w?.id !== le || we || (ue(null), Ve(w));}, [le,w?.id,- Ce+ we]);- let He = te?.items || e, Ue = He.findIndex((e) => e.id === ne?.id), We = (n) => {+ let Ue = te?.items || e, We = Ue.findIndex((e) => e.id === ne?.id), Ge = (n) => {if (j(!1), n.id === ne?.id) {- se ? b.current?.querySelector("video")?.play().catch((e) => me(tn(e))) : Be(n);+ se ? b.current?.querySelector("video")?.play().catch((e) => me(nn(e))) : Ve(n);return;}if (te) {- k(n.id), Be(n);+ k(n.id), Ve(n);return;}let r = N.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (N.view.size.width / 2 - r.x) / r.scale,y: (N.view.size.height / 2 - r.y) / r.scale- }, o = t ? nK(e.length, i) : h.nearest(e.length, i, a);- o && (Re(n, o), ue(n.id));- }, Ge = async () => {+ }, o = t ? ZG(e.length, i) : h.nearest(e.length, i, a);+ o && (ze(n, o), ue(n.id));+ }, Ke = async () => {if (!(r || g.current)) {- g.current = !0, I("");+ g.current = !0, ge("");try {await c();} catch (e) {- I(tn(e)), v(null);+ ge(nn(e)), v(null);} finally {g.current = !1;}}- }, Ke = Ne.some((e) => e.index < 0);+ }, qe = Pe.some((e) => e.index < 0);(0, P.useEffect)(() => {- i || t || Ce || w || r || he || _ !== null || !n || (Ke || e.length - h.size < 24) && Ge();+ i || t || we || w || r || he || _ !== null || !n || (qe || e.length - h.size < 24) && Ke();}, [i,t,- Ce,+ we,w,r,he,n,- Ke,+ qe,e.length,h.size,_]), (0, P.useEffect)(() => {if (_ === null || r || he) return;if (e.length <= _ && n) {- Ge();+ Ke();return;}h.prefer(_);let t = h.fresh(), i = N.snapshot();- Le(), N.pan(-t.x * i.scale - i.x, -t.y * i.scale - i.y), v(null);+ Re(), N.pan(-t.x * i.scale - i.x, -t.y * i.scale - i.y), v(null);}, [_,e.length,@@ -53667,24 +53692,24 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:n,he]);- let qe = async () => {- r || g.current || (v(e.length), n && await Ge());- }, Je = async () => {- if (ne && !ge) {- _e(!0);+ let Je = async () => {+ r || g.current || (v(e.length), n && await Ke());+ }, Ye = async () => {+ if (ne && !_e) {+ ve(!0);try {- await l.watchLater(ne, (e) => ye({+ await l.watchLater(ne, (e) => be({id: ne.id,on: e}));} finally {- _e(!1);+ ve(!1);}}- }, Ye = (e) => u.displayName(e, String(e.name || e.code || "未命名视频")), Xe = ne || w;+ }, Xe = (e) => u.displayName(e, String(e.name || e.code || "未命名视频")), Ze = ne || w;(0, P.useLayoutEffect)(() => {let e = x.current;- if (!e || !Xe?.code) return;+ if (!e || !Ze?.code) return;let t = !0, n = e.clientWidth, r = () => {if (!t) return;e.style.removeProperty("--wall-code-fit");@@ -53705,27 +53730,27 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t = !1, i.disconnect(), document.fonts.removeEventListener("loadingdone", r);};}, [- Xe?.code,+ Ze?.code,E,se,de,- Ce+ we]);- let Ze = w && Xe ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [+ let Qe = w && Ze ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(wK, {+ children: /* @__PURE__ */ (0, F.jsx)(yK, {item: w,- image: Te,+ image: Ee,big: !0})}),/* @__PURE__ */ (0, F.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, F.jsx)(wK, {+ children: /* @__PURE__ */ (0, F.jsx)(yK, {item: w,- image: Te,+ image: Ee,big: !0})}),@@ -53740,19 +53765,19 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-wall-number": "",- children: [se ? "正在播放 · " : "", String((Pe?.index || 0) + 1).padStart(2, "0")]+ children: [se ? "正在播放 · " : "", String((Fe?.index || 0) + 1).padStart(2, "0")]}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-focus-head": "",children: [/* @__PURE__ */ (0, F.jsx)("b", {ref: x,- "data-wall-code": Xe.code ? "" : void 0,- children: Xe.code || Ye(Xe)+ "data-wall-code": Ze.code ? "" : void 0,+ children: Ze.code || Xe(Ze)}),- Xe.code ? /* @__PURE__ */ (0, F.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,- /* @__PURE__ */ (0, F.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),- te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? xN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ Ze.code ? /* @__PURE__ */ (0, F.jsx)("strong", { children: Xe(Ze).startsWith(Ze.code) ? Xe(Ze).slice(Ze.code.length).trim() : Xe(Ze) }) : null,+ /* @__PURE__ */ (0, F.jsx)("span", { children: Ze.performers?.join(" · ") || Ze.creator || "未归属" }),+ te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Ze.edition_label, Ze.part_label ? yN(Ze.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -53760,7 +53785,7 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-focus-close": "","aria-label": "收起作品",title: "收起",- onClick: () => Le(),+ onClick: () => Re(),children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -53769,9 +53794,9 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),pe || M && ee.error && !te ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, F.jsx)(Lz, {+ children: [/* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",- children: pe || tn(ee.error)+ children: pe || nn(ee.error)}), ee.error && !te ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "ghost",@@ -53779,45 +53804,45 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, F.jsx)(hK, {- item: Xe,+ /* @__PURE__ */ (0, F.jsx)(uK, {+ item: Ze,playing: se,frame: b,starting: de,pendingGroup: !!M && ee.isPending,grouped: !!M,queueOpen: A,- queueReady: !!He.length && (!M || !!te),- hasPrevious: Ue > 0,- hasNext: Ue >= 0 && Ue < He.length - 1,- later: ve?.id === Xe.id ? ve.on : !!Xe.watch_later,- laterBusy: ge,- play: () => Be(),- previous: () => We(He[Ue - 1]),- next: () => We(He[Ue + 1]),+ queueReady: !!Ue.length && (!M || !!te),+ hasPrevious: We > 0,+ hasNext: We >= 0 && We < Ue.length - 1,+ later: ye?.id === Ze.id ? ye.on : !!Ze.watch_later,+ laterBusy: _e,+ play: () => Ve(),+ previous: () => Ge(Ue[We - 1]),+ next: () => Ge(Ue[We + 1]),queue: () => j(!A),- watchLater: () => void Je(),- details: ze,- ended: Ve,+ watchLater: () => void Ye(),+ details: Be,+ ended: He,error: me}),- A ? /* @__PURE__ */ (0, F.jsx)(yK, {- items: He,- activeId: Xe.id,+ A ? /* @__PURE__ */ (0, F.jsx)(mK, {+ items: Ue,+ activeId: Ze.id,kind: te?.kind || "wall",- label: Ye,- choose: We,+ label: Xe,+ choose: Ge,close: () => j(!1)}) : null- ] }) : null, Qe = /* @__PURE__ */ (0, F.jsxs)("div", {+ ] }) : null, $e = /* @__PURE__ */ (0, F.jsxs)("div", {ref: y,"data-video-wall": "","data-fullscreen": "","data-focused": !!w || void 0,"data-refreshing": _ !== null || void 0,- hidden: Ce,+ hidden: we,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : SK());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Re() : xe ? Se(!1) : _K());},children: [/* @__PURE__ */ (0, F.jsx)("button", {@@ -53825,7 +53850,7 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: SK,+ onClick: _K,children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -53843,11 +53868,11 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, F.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "ghost",- onClick: () => QV.push(xK()),+ onClick: () => YV.push(gK()),children: "清除筛选"})]}) : null,- be ? /* @__PURE__ */ (0, F.jsxs)("div", {+ xe ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-toolbar": "","aria-label": "播放墙工具",children: [@@ -53855,7 +53880,7 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onSubmit: (e) => {e.preventDefault();let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();- n ? t.set("q", n) : t.delete("q"), je(), QV.push(`/wall?${t}`), xe(!1);+ n ? t.set("q", n) : t.delete("q"), Me(), YV.push(`/wall?${t}`), Se(!1);},children: [/* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24",@@ -53869,18 +53894,18 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, F.jsxs)(IU, {+ /* @__PURE__ */ (0, F.jsxs)(NU, {"aria-label": "播放墙图片",- value: Te,- onChange: Ee,- className: LU,- children: [/* @__PURE__ */ (0, F.jsx)(ER, {+ value: Ee,+ onChange: De,+ className: PU,+ children: [/* @__PURE__ */ (0, F.jsx)(CR, {value: "cover",- className: RU,+ className: FU,children: "封面"- }), /* @__PURE__ */ (0, F.jsx)(ER, {+ }), /* @__PURE__ */ (0, F.jsx)(CR, {value: "thumbnail",- className: RU,+ className: FU,children: "缩略图"})]}),@@ -53921,11 +53946,11 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:tabIndex: 0,role: "region","aria-label": "播放墙,拖动或方向键浏览",- "aria-busy": i || _ !== null || r && Ke || void 0,+ "aria-busy": i || _ !== null || r && qe || void 0,"data-skeleton": i ? "wall" : void 0,...i || _ !== null ? {} : N.handlers,onClick: (e) => {- w && e.target instanceof Element && !e.target.closest("[data-wall-tile]") && (A ? j(!1) : Le());+ w && e.target instanceof Element && !e.target.closest("[data-wall-tile]") && (A ? j(!1) : Re());},onKeyDown: (e) => {if (_ !== null || e.target instanceof Element && e.target.closest("button,input,[role=\"slider\"],[data-wall-player],[data-wall-queue]")) return;@@ -53940,7 +53965,7 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, F.jsx)("div", {ref: N.world,"data-wall-world": "",- children: Ne.map((t) => {+ children: Pe.map((t) => {if (t.index < 0) return /* @__PURE__ */ (0, F.jsx)("span", {"data-wall-skeleton": "","aria-hidden": "true",@@ -53951,8 +53976,8 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"--wall-height": `${t.height}px`}}, t.key);- let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !ie && !r, o = a ? Math.min(.34, (Math.max(0, t.x + N.view.camera.x / N.view.camera.scale) + Math.max(0, t.y + N.view.camera.y / N.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, F.jsx)(lb.article, {+ let n = e[t.index], r = !!w && t.key === E, i = Ie.get(t.key) || t, a = !ie && !r, o = a ? Math.min(.34, (Math.max(0, t.x + N.view.camera.x / N.view.camera.scale) + Math.max(0, t.y + N.view.camera.y / N.view.camera.scale)) / 103.36 * .03) : 0;+ return /* @__PURE__ */ (0, F.jsx)(sb.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -53961,7 +53986,7 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-playing": r && (se || de) ? "" : void 0,role: r ? "group" : "button",tabIndex: r ? -1 : 0,- "aria-label": r ? Ye(n) : `展开 ${Ye(n)}`,+ "aria-label": r ? Xe(n) : `展开 ${Xe(n)}`,"aria-expanded": r ? void 0 : !1,initial: re || m ? !1 : {opacity: 0,@@ -53973,7 +53998,7 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: oe && !re && !r && ie ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: re ? { duration: 0 } : {- layout: fK,+ layout: sK,transform: a ? {type: "spring",stiffness: 360,@@ -54000,15 +54025,15 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:i && (n.left < i.left || n.right > i.right || n.top < i.top || n.bottom > i.bottom) && N.reveal(t);},onClick: (e) => {- r || Re(n, t, e.detail !== 0);+ r || ze(n, t, e.detail !== 0);},onKeyDown: (e) => {- !r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));+ !r && ["Enter", " "].includes(e.key) && (e.preventDefault(), ze(n, t, !1));},- children: r ? Ze : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(wK, {+ children: r ? Qe : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [+ /* @__PURE__ */ (0, F.jsx)(yK, {item: n,- image: Te,+ image: Ee,ratio: i.width / i.height}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -54021,18 +54046,18 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-wall-copy": "",- children: [/* @__PURE__ */ (0, F.jsx)("b", { children: n.code || Ye(n) }), /* @__PURE__ */ (0, F.jsx)("span", { children: n.performers?.join(" · ") || n.creator || n.studio || "未归属" })]+ children: [/* @__PURE__ */ (0, F.jsx)("b", { children: n.code || Xe(n) }), /* @__PURE__ */ (0, F.jsx)("span", { children: n.performers?.join(" · ") || n.creator || n.studio || "未归属" })]}),n.duration ? /* @__PURE__ */ (0, F.jsx)("span", {"data-wall-duration": "",- children: kn(n.duration)+ children: An(n.duration)}) : null,Number(n.leave_ratio) > 0 ? /* @__PURE__ */ (0, F.jsx)("span", {"data-wall-progress": "",style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, F.jsx)(lb.span, {+ /* @__PURE__ */ (0, F.jsx)(sb.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: re ? 0 : .24 }@@ -54044,7 +54069,7 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, F.jsx)(Lz, {+ children: [/* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",children: a}), /* @__PURE__ */ (0, F.jsx)(q, {@@ -54059,11 +54084,11 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onClick: async (e) => {let t = e.target.closest("[data-wall-load-more]");if (!(!t || r || g.current)) {- Oc(t);+ kc(t);try {- await Ge();+ await Ke();} finally {- Oc(t, !1);+ kc(t, !1);}}},@@ -54071,9 +54096,9 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, F.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, F.jsx)(hW, {+ children: /* @__PURE__ */ (0, F.jsx)(uW, {busy: r,- onPress: () => void qe()+ onPress: () => void Je()})}) : null,n && t && e.length > 0 ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -54081,21 +54106,21 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, F.jsxs)(q, {size: "small",variant: "secondary",- ...Hz(r),- onClick: () => void Ge(),- children: [r ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs() } }) : null, "载入更多"]+ ...zz(r),+ onClick: () => void Ke(),+ children: [r ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs() } }) : null, "载入更多"]})}) : null,he ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, F.jsx)(Lz, {+ children: [/* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",children: he}), /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "ghost",- ...Hz(r),- onClick: () => void Ge(),+ ...zz(r),+ onClick: () => void Ke(),children: "立即重试"})]}) : null,@@ -54104,8 +54129,8 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-tools-button": "","aria-label": "播放墙工具",title: "播放墙工具",- "aria-expanded": be,- onClick: () => xe(!be),+ "aria-expanded": xe,+ onClick: () => Se(!xe),children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -54114,10 +54139,10 @@ function TK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:})]});- return (0, Lt.createPortal)(Qe, Se);+ return (0, Rt.createPortal)($e, Ce);}// src/catalog-onboarding.ts-var EK = [+var xK = ["loc","creator","performer",@@ -54136,19 +54161,19 @@ var EK = ["jav","thumb"];-function DK(e = typeof location > "u" ? "/" : location.href) {+function SK(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...EK,+ ...xK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function OK(e, t) {+async function CK(e, t) {let n = new URLSearchParams();- for (let t of EK) e[t] && n.set(t, e[t]);+ for (let t of xK) 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 || [],@@ -54159,9 +54184,9 @@ async function OK(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function kK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function wK({ 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 ws("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(DK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Ts("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 ? R(SK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54174,33 +54199,33 @@ function kK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:agencies: "事务所",series: "系列"}[e] || "资料";- return ws(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });+ return Ts(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });}- return ws("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });+ return Ts("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function AK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || kK() : t ? ws("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : ws("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${xK()}">清除筛选</a>` });+function TK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || wK() : t ? Ts("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ts("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${gK()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsx-function jK({ label: e, maintenance: t = !1, children: n }) {- let r = MH("hover");+function EK({ label: e, maintenance: t = !1, children: n }) {+ let r = kH("hover");return /* @__PURE__ */ (0, F.jsx)("div", {ref: r,role: "group","aria-label": e,"data-processing-maintenance": t || void 0,- className: hF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),+ className: K("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),children: n});}-function MK({ option: e, metadataOnly: t, onRun: n }) {+function DK({ option: e, metadataOnly: t, onRun: n }) {let r = t && e.command.stage === "previews", i = r || e.disabled;return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",disabled: i,title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: hF(eV, i ? "cursor-not-allowed opacity-50" : tV, "text-body-2-medium"),+ className: K(ZB, i ? "cursor-not-allowed opacity-50" : QB, "text-body-2-medium"),onClick: () => n(e.command),children: /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54211,19 +54236,19 @@ function MK({ option: e, metadataOnly: t, onRun: n }) {})});}-function NK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function OK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, P.useState)(t), [s, c] = (0, P.useState)(), [l, u] = (0, P.useState)("");(0, P.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await Che(e, t.signal, a);+ let o = await Dhe(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(() => {i(o.traffic.inventory?.token);}, 250));} catch (e) {- t.signal.aborted || (u(Wn(e)), n.confirmButton.disabled = !1);+ t.signal.aborted || (u(Gn(e)), n.confirmButton.disabled = !1);}};return i(), () => {@@ -54241,7 +54266,7 @@ function NK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}),/* @__PURE__ */ (0, F.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, F.jsx)(zH, {+ children: /* @__PURE__ */ (0, F.jsx)(IH, {value: a,busy: i,onChange: (e) => {@@ -54249,7 +54274,7 @@ function NK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, F.jsx)(lU, {+ s ? /* @__PURE__ */ (0, F.jsx)(oU, {traffic: s,initial: !0}) : null,@@ -54261,7 +54286,7 @@ function NK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function PK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {+function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(null), u = (0, P.useRef)(r);(0, P.useEffect)(() => () => s.current?.close(), []);let [d, f] = (0, P.useState)(!1), p = {@@ -54317,7 +54342,7 @@ function PK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}if (s.current) return;u.current = r;- let o = i.stage === "previews", c = i.scope === "new" ? "补全待处理影片" : i.incremental ? i.stage === "scan" ? "发现新增文件" : "同步新增文件" : o ? "仅补全预览图" : i.stage === "scan" ? "扫描全部文件" : i.stage === "metadata" ? "仅补全影片资料" : i.stage === "collect" ? "补全已入库影片" : "同步整个媒体库", d = zc({+ let o = i.stage === "previews", c = i.scope === "new" ? "补全待处理影片" : i.incremental ? i.stage === "scan" ? "发现新增文件" : "同步新增文件" : o ? "仅补全预览图" : i.stage === "scan" ? "扫描全部文件" : i.stage === "metadata" ? "仅补全影片资料" : i.stage === "collect" ? "补全已入库影片" : "同步整个媒体库", d = Bc({title: c,description: `${i.scope === "new" ? "为这组已登记的影片补全资料和视频属性,并按设置生成预览" : i.incremental ? i.stage === "scan" ? "发现并登记未入库的新文件,保留已有影片资料" : `发现新文件,仅补全新增及未完成影片的资料和视频属性${n ? "" : ",并生成本地预览图"}` : o ? "为本地视频补全九宫格预览图,会读取视频并占用处理器" : i.stage === "scan" ? "扫描目录并登记文件,按目录设置读取视频时长和分辨率" : i.stage === "metadata" ? "读取配套资料,补全影片资料、封面和人物资料" : `${i.stage === "collect" ? "为已入库影片补全资料和视频属性" : "扫描目录发现文件,再补全资料和视频属性"}${n ? "" : ",并生成本地预览图"}`},可能让电脑变慢。需要同时使用电脑时,可选择低占用模式。`,body: "<div class=\"peach-react\" data-processing-prompt></div>",@@ -54340,7 +54365,7 @@ function PK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(NK, {+ c ? (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(OK, {command: c.command,dialog: c.dialog,speed: r,@@ -54349,11 +54374,11 @@ function PK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standu.current = e;}}), c.host) : null,- c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(kH, {+ c ? (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(EH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: fz,+ trailingIcon: lz,disabled: e,onClick: (e) => {c.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : c.dialog.close();@@ -54365,43 +54390,43 @@ function PK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, F.jsx)(q, {- ...Hz(e),+ ...zz(e),onClick: () => g(p.command),children: p.label}), /* @__PURE__ */ (0, F.jsx)(q, {ref: o,iconOnly: !0,- leadingIcon: dz,+ leadingIcon: cz,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": d,- ...Hz(e),+ ...zz(e),onClick: () => {e || f(!d);}})]}),- /* @__PURE__ */ (0, F.jsx)(aR, {+ /* @__PURE__ */ (0, F.jsx)(nR, {triggerRef: o,isOpen: d,onOpenChange: f,placement: "bottom end",offset: 4,- className: $B,- children: /* @__PURE__ */ (0, F.jsxs)(vR, {+ className: XB,+ children: /* @__PURE__ */ (0, F.jsxs)(hR, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",- children: [t ? /* @__PURE__ */ (0, F.jsxs)(jK, {+ children: [t ? /* @__PURE__ */ (0, F.jsxs)(EK, {label: "日常同步",children: [/* @__PURE__ */ (0, F.jsx)("p", {className: "px-2 py-1 text-caption-1-medium text-text-secondary",children: "日常同步"- }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(MK, {+ }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(DK, {option: e,metadataOnly: n,onRun: g}, e.label))]- }) : null, /* @__PURE__ */ (0, F.jsxs)(jK, {+ }) : null, /* @__PURE__ */ (0, F.jsxs)(EK, {label: t ? "全库维护" : "补全方式",maintenance: t,children: [t ? /* @__PURE__ */ (0, F.jsxs)("div", {@@ -54413,7 +54438,7 @@ function PK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standclassName: "text-caption-1-regular text-text-secondary",children: "检查全部文件,复用已有资料和预览"})]- }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(MK, {+ }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(DK, {option: e,metadataOnly: n,onRun: g@@ -54424,48 +54449,48 @@ function PK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand] });}// src/react/library-processing/library-completion.tsx-function FK(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) && !ao(e, "small", !1, t).html).map((e) => e.id))];+function AK(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) && !oo(e, "small", !1, t).html).map((e) => e.id))];}-function IK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, F.jsx)(LK, {+function jK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, F.jsx)(MK, {assetIds: e,onComplete: t,className: n}) : null;}-function LK({ assetIds: e, onComplete: t, className: n }) {- let r = Pt({- queryKey: pH,- queryFn: ({ signal: e }) => xH(e),- refetchInterval: (e) => wH(e.state.data, !0)- }), [i, a] = (0, P.useState)(null), [o, s] = (0, P.useState)(""), c = (0, P.useRef)(null), l = Ft({- mutationFn: (t) => V(fH, {+function MK({ assetIds: e, onComplete: t, className: n }) {+ let r = Ft({+ queryKey: uH,+ queryFn: ({ signal: e }) => vH(e),+ refetchInterval: (e) => xH(e.state.data, !0)+ }), [i, a] = (0, P.useState)(null), [o, s] = (0, P.useState)(""), c = (0, P.useRef)(null), l = It({+ mutationFn: (t) => B(lH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });+ a(e.job_id || null), V.setQueryData(uH, e), V.invalidateQueries({ queryKey: uH });}}), u = r.data;(0, P.useEffect)(() => {- u && i && u.job_id === i && !gH(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 && !pH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), V.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t]);- let d = l.isPending || gH(u), f = l.error ? Wn(l.error) : r.error ? CH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${gH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);+ let d = l.isPending || pH(u), f = l.error ? Gn(l.error) : r.error ? bH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${pH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);return /* @__PURE__ */ (0, F.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: hF("@container", n),- children: /* @__PURE__ */ (0, F.jsxs)(Lz, {+ className: K("@container", n),+ children: /* @__PURE__ */ (0, F.jsxs)(Pz, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, F.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, F.jsx)(PK, {+ children: /* @__PURE__ */ (0, F.jsx)(kK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54476,10 +54501,10 @@ function LK({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, F.jsx)(kH, {+ /* @__PURE__ */ (0, F.jsx)(EH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: fz,+ trailingIcon: lz,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -54487,31 +54512,31 @@ function LK({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function RK(e) {- return zK(e) || typeof e == "function" || BK(e);+function NK(e) {+ return PK(e) || typeof e == "function" || FK(e);}-function zK(e) {+function PK(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function BK(e) {+function FK(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function VK(e, t) {- return e == null ? null : RK(e) ? /* @__PURE__ */ P.createElement(e, t) : e;+function IK(e, t) {+ return e == null ? null : NK(e) ? /* @__PURE__ */ P.createElement(e, t) : e;}-function HK(e) {+function LK(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? VK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : VK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? IK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : IK(n.cell, t.getContext());}- return "header" in e && e.header ? VK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? VK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? IK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? IK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function UK({ update: e, notify: t, unwatched: n }) {+function RK({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54628,7 +54653,7 @@ function UK({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function WK(e, t, n) {+function zK(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54636,38 +54661,38 @@ function WK(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var GK = [], KK = 0, { link: qK, unlink: JK, propagate: YK, checkDirty: XK, shallowPropagate: ZK } = /* @__PURE__ */ UK({+var BK = [], VK = 0, { link: HK, unlink: UK, propagate: WK, checkDirty: GK, shallowPropagate: KK } = /* @__PURE__ */ RK({update(e) {return e._update();},notify(e) {- GK[$K++] = e, e.flags &= -3;+ BK[JK++] = 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, ZK(e));}-}), QK = 0, $K = 0, eq, tq = 0;-function s_e(e) {+}), qK = 0, JK = 0, YK, XK = 0;+function p_e(e) {try {- ++tq, e();+ ++XK, e();} finally {- --tq || rq();+ --XK || QK();}}-function nq(e) {+function ZK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = JK(n, e);+ for (; n !== void 0;) n = UK(n, e);}-function rq() {- if (!(tq > 0)) {- for (; QK < $K;) {- let e = GK[QK];- GK[QK++] = void 0, e.notify();+function QK() {+ if (!(XK > 0)) {+ for (; qK < JK;) {+ let e = BK[qK];+ BK[qK++] = void 0, e.notify();}- QK = 0, $K = 0;+ qK = 0, JK = 0;}}-function c_e(e, t) {+function m_e(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -54676,53 +54701,53 @@ function c_e(e, t) {depsTail: void 0,flags: +!n,get() {- return eq !== void 0 && qK(i, eq, KK), i._snapshot;+ return YK !== void 0 && HK(i, YK, VK), i._snapshot;},subscribe(e) {- let t = WK(e), n = { current: !1 }, r = l_e(() => {- i.get(), n.current ? (eq = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = zK(e), n = { current: !1 }, r = h_e(() => {+ i.get(), n.current ? (YK = 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, ++KK, i.depsTail = void 0;+ let a = YK, o = t?.compare ?? Object.is;+ if (n) YK = i, ++VK, 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);+ YK = a, n && (i.flags &= -5), ZK(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 && GK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && ZK(e);+ e !== void 0 && KK(e);}} else e & 32 && (i.flags = e & -33);- return eq !== void 0 && qK(i, eq, KK), i._snapshot;+ return YK !== void 0 && HK(i, YK, VK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (YK(e), ZK(e), rq());+ e !== void 0 && (WK(e), KK(e), QK());}}, i;}-function l_e(e) {+function h_e(e) {let t = () => {- let t = eq;- eq = n, ++KK, n.depsTail = void 0, n.flags = 6;+ let t = YK;+ YK = n, ++VK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- eq = t, n.flags &= -5, nq(n);+ YK = t, n.flags &= -5, ZK(n);}}, n = {deps: void 0,@@ -54732,16 +54757,16 @@ function l_e(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && XK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && GK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, nq(this);+ this.flags = 0, this.depsTail = void 0, ZK(this);}};return t(), n;}// node_modules/@tanstack/store/dist/shallow.js-function iq(e, t) {+function $K(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) {@@ -54755,17 +54780,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 = eq(e);+ if (n.length !== eq(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 eq(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 u_e = /* @__PURE__ */ o(((e) => {- var t = A(), n = sS();+var g_e = /* @__PURE__ */ o(((e) => {+ var t = A(), n = aS();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -54809,33 +54834,33 @@ var u_e = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), oq = /* @__PURE__ */ o(((e, t) => {- t.exports = u_e();-})), d_e = oq();-function f_e(e, t) {+})), tq = /* @__PURE__ */ o(((e, t) => {+ t.exports = g_e();+})), __e = tq();+function v_e(e, t) {return e === t;}-function sq(e, t = (e) => e, n) {- let r = n?.compare ?? f_e, i = (0, P.useCallback)((t) => {+function nq(e, t = (e) => e, n) {+ let r = n?.compare ?? v_e, i = (0, P.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, P.useCallback)(() => e.get(), [e]);- return (0, d_e.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, __e.useSyncExternalStoreWithSelector)(i, a, a, t, r);}// node_modules/@tanstack/react-table/dist/Subscribe.js-function p_e(e) {- let t = sq(e.source, e.selector, { compare: iq });+function y_e(e) {+ let t = nq(e.source, e.selector, { compare: $K });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function m_e(e) {+function b_e(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 h_e(e) {+function x_e(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -54865,7 +54890,7 @@ function h_e(e) {}};}-function g_e(e, t = Object.is) {+function S_e(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -54878,28 +54903,28 @@ function g_e(e, t = Object.is) {};}// node_modules/@tanstack/react-table/dist/reactivity.js-function __e() {- return h_e({- createAtom: c_e,- batch: s_e+function C_e() {+ return x_e({+ createAtom: m_e,+ batch: p_e});}// node_modules/@tanstack/table-core/dist/utils.js-function cq(e, t) {+function rq(e, t) {return typeof e == "function" ? e(t) : e;}-function lq(e) {- if (Array.isArray(e)) return e.map(lq);+function iq(e) {+ if (Array.isArray(e)) return e.map(iq);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 ? oq() : {}, 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: iq(e[i]),writable: !0});}@@ -54907,7 +54932,7 @@ function lq(e) {}return e;}-function uq(e, t) {+function aq(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -54915,53 +54940,53 @@ function uq(e, t) {}return e;}-function dq() {+function oq() {return Object.create(null);}-function fq(e, t) {+function sq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function pq(e, t) {+function cq(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) => rq(n, e));};}-function mq(e) {+function lq(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 uq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var v_e = 3;-function y_e(e, t) {- return gq(e, t, v_e);+var w_e = 3;+function T_e(e, t) {+ return dq(e, t, w_e);}-function gq(e, t, n) {+function dq(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 || !lq(e) || !lq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = uq(e), i = uq(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) || !dq(a[i], o[i], n - 1)) return !1;}return !0;}-function _q(e, t, n, r = y_e) {+function fq(e, t, n, r = T_e) {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 = rq(n, e);return r(e, t) ? e : t;});}-function b_e(e) {+function E_e(e) {return e instanceof Function;}-function x_e(e, t) {+function D_e(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -54971,7 +54996,7 @@ function x_e(e, t) {};return r(e), n;}-var S_e = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var O_e = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -54985,23 +55010,23 @@ var S_e = ({ 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 pq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function yq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function mq({ 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 S_e({+ return O_e({...a,...o});}-function bq(e, t = "_") {+function hq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55009,10 +55034,10 @@ function bq(e, t = "_") {parentName: n};}-function xq(e, t, n) {+function gq(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 } = hq(r);+ t[n] = a ? mq({memoDeps: a,fn: i,fnName: o,@@ -55021,15 +55046,15 @@ function xq(e, t, n) {}) : i;}}-function Sq(e, t, n, r) {+function _q(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 } = hq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = yq({+ this[i] = mq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55045,17 +55070,17 @@ function Sq(e, t, n, r) {};}}-function Cq(e, t, n, ...r) {+function vq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function C_e(e) {+function k_e(e) {return e.row.getValue(e.column.id);}-function w_e(e) {+function A_e(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function T_e(e) {+function j_e(e) {return {table: e.table,column: e.column,@@ -55066,18 +55091,18 @@ function T_e(e) {};}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var E_e = { assignCellPrototype: (e, t) => {- Sq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => C_e(e) },- cell_renderValue: { fn: (e) => w_e(e) },+var M_e = { assignCellPrototype: (e, t) => {+ _q("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => k_e(e) },+ cell_renderValue: { fn: (e) => A_e(e) },cell_getContext: {- fn: (e) => T_e(e),+ fn: (e) => j_e(e),memoDeps: (e) => [e]}});} };// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function D_e(e) {+function N_e(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55085,7 +55110,7 @@ function D_e(e) {}return e._columnPrototype;}-function O_e(e, t, n, r) {+function P_e(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55105,53 +55130,53 @@ function O_e(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = D_e(e), u = Object.create(l);+ let l = N_e(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 yq(e) {return e.getIsVisible?.() ?? !0;}-function k_e(e) {+function F_e(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function Tq(e, t) {+function bq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function Eq(e, t, n, r) {+function xq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function Dq(e, t) {+function Sq(e, t) {return e._expandRows?.(t) ?? t;}-function A_e(e) {+function I_e(e) {e.autoResetExpanded?.();}-function Oq(e) {+function Cq(e) {e.autoResetPageIndex?.();}-function j_e(e) {+function L_e(e) {e.autoResetSorting?.();}-function M_e(e) {+function R_e(e) {e.autoResetCellSelection?.();}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function N_e(e) {+function z_e(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function P_e(e) {+function B_e(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return Tq(e.table, t);+ return bq(e.table, t);}return [e];}-function F_e(e) {+function V_e(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55162,53 +55187,53 @@ function F_e(e) {...e.options.defaultColumn};}-function kq(e, t, n, r = 0) {+function wq(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 = O_e(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 = P_e(e, o, r, n), c = o;+ s.columns = c.columns ? wq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function I_e(e) {- return kq(e, e.options.columns);+function H_e(e) {+ return wq(e, e.options.columns);}-function L_e(e) {+function U_e(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function R_e(e) {- let t = dq(), n = e.getAllFlatColumns();+function W_e(e) {+ let t = oq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function z_e(e) {- return Tq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+function G_e(e) {+ return bq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function B_e(e) {- let t = dq(), n = e.getAllLeafColumns();+function K_e(e) {+ let t = oq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function V_e(e, t) {+function q_e(e, t) {return e.getAllFlatColumnsById()[t];}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var H_e = {+var J_e = {assignColumnPrototype: (e, t) => {- Sq("coreColumnsFeature", e, t, {+ _q("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => N_e(e),+ fn: (e) => z_e(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => P_e(e),+ fn: (e) => B_e(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55219,25 +55244,25 @@ var H_e = {});},constructTableAPIs: (e) => {- xq("coreColumnsFeature", e, {+ gq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => F_e(e),+ fn: () => V_e(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => I_e(e),+ fn: () => H_e(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => L_e(e),+ fn: () => U_e(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => R_e(e),+ fn: () => W_e(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => z_e(e),+ fn: () => G_e(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55246,15 +55271,15 @@ var H_e = {]},table_getAllLeafColumnsById: {- fn: () => B_e(e),+ fn: () => K_e(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => V_e(e, t) }+ table_getColumn: { fn: (t) => q_e(e, t) }});}};// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function U_e(e) {+function Y_e(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55262,38 +55287,38 @@ function U_e(e) {}return e._headerPrototype;}-function Aq(e, t, n) {- let r = U_e(e), i = Object.create(r);+function Tq(e, t, n) {+ let r = Y_e(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 Eq(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)));+ yq(i) && i.columns.length && (n = Math.max(n, Eq(i.columns, t + 1)));}return n;}-function W_e(e, t) {+function X_e(e, t) {return e ? `${e}_${t}` : String(t);}-function G_e(e, t, n, r) {+function Z_e(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 K_e(e, t) {+function Q_e(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 Dq(e, t, n, r, i, a) {let o = {depth: t,- id: W_e(r, t),+ id: X_e(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55301,10 +55326,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: G_e(r, t, u.id, a.id),+ let e = Tq(n, u, {+ id: Z_e(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(K_e(s, u)) : void 0,+ placeholderId: d ? String(Q_e(s, u)) : void 0,depth: t,index: s.length});@@ -55313,18 +55338,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 && Dq(s, t - 1, n, r, i, a);}-function Nq(e) {+function Oq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!wq(n.column)) continue;+ if (!yq(n.column)) continue;let r = 0;if (n.subHeaders.length) {- Nq(n.subHeaders);+ Oq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- wq(t.column) && (r += t.colSpan);+ yq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -55334,37 +55359,37 @@ function Nq(e) {} else n.rowSpan = 1;}}-function q_e(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 $_e(e, t, n, r) {+ let i = Eq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Tq(n, t[e], {depth: i,index: e}));- return Mq(s, i - 1, n, r, a, o), a.reverse(), Nq(a[0]?.headers ?? []), a;+ return Dq(s, i - 1, n, r, a, o), a.reverse(), Oq(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 kq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) kq(e.subHeaders[n], t);t.push(e);}-function J_e(e) {+function eve(e) {let t = [];- return Pq(e, t), t;+ return kq(e, t), t;}-function Y_e(e) {+function tve(e) {return {column: e.column,header: e,table: e.column.table};}-function X_e(e) {- return q_e(e.getAllColumns(), Eq(e, k_e(e), (e) => e.id), e);+function nve(e) {+ return $_e(e.getAllColumns(), xq(e, F_e(e), (e) => e.id), e);}-function Z_e(e) {+function rve(e) {return [...e.getHeaderGroups()].reverse();}-function Q_e(e) {+function ive(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55372,7 +55397,7 @@ function Q_e(e) {}return n;}-function $_e(e) {+function ave(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55381,23 +55406,23 @@ function $_e(e) {return n;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var eve = {+var ove = {assignHeaderPrototype: (e, t) => {- Sq("coreHeadersFeature", e, t, {+ _q("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => J_e(e),+ fn: (e) => eve(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => Y_e(e),+ fn: (e) => tve(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- xq("coreHeadersFeature", e, {+ gq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => X_e(e),+ fn: () => nve(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -55408,22 +55433,22 @@ var eve = {]},table_getFooterGroups: {- fn: () => Z_e(e),+ fn: () => rve(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Q_e(e),+ fn: () => ive(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => $_e(e),+ fn: () => ave(e),memoDeps: () => [e.getHeaderGroups()]}});}};// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function tve(e) {+function sve(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -55431,98 +55456,98 @@ function tve(e) {}return e._rowPrototype;}-var nve = (e, t, n, r, i, a, o) => {- let s = tve(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 cve = (e, t, n, r, i, a, o) => {+ let s = sve(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = oq(), c._valuesCache = oq(), 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 rve() {- return (e) => yq({+function lve() {+ return (e) => mq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => ive(e, e.options.data),- onAfterUpdate: vq(() => {- A_e(e), Oq(e), j_e(e), M_e(e);+ fn: () => uve(e, e.options.data),+ onAfterUpdate: pq(() => {+ I_e(e), Cq(e), L_e(e), R_e(e);})});}-function Fq(e, t, n, r = 0, i) {+function Aq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = nve(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 = cve(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 = Aq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function ive(e, t) {+function uve(e, t) {let n = {rows: [],flatRows: [],- rowsById: dq()+ rowsById: oq()};- return n.rows = Fq(e, n, t), n;+ return n.rows = Aq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function ave(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? rve()(e)), e._rowModels.coreRowModel();+function dve(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? lve()(e)), e._rowModels.coreRowModel();}-function ove(e) {+function fve(e) {return e.getCoreRowModel();}-function sve(e) {+function pve(e) {return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}-function cve(e) {+function mve(e) {return e.getFilteredRowModel();}-function lve(e) {+function hve(e) {return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}-function uve(e) {+function gve(e) {return e.getGroupedRowModel();}-function dve(e) {+function _ve(e) {return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}-function fve(e) {+function vve(e) {return e.getSortedRowModel();}-function pve(e) {+function yve(e) {return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}-function mve(e) {+function bve(e) {return e.getExpandedRowModel();}-function hve(e) {+function xve(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 gve(e) {+function Sve(e) {return e.getPaginatedRowModel();}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var _ve = { constructTableAPIs: (e) => {- xq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => ave(e) },- table_getPreFilteredRowModel: { fn: () => ove(e) },- table_getFilteredRowModel: { fn: () => sve(e) },- table_getPreGroupedRowModel: { fn: () => cve(e) },- table_getGroupedRowModel: { fn: () => lve(e) },- table_getPreSortedRowModel: { fn: () => uve(e) },- table_getSortedRowModel: { fn: () => dve(e) },- table_getPreExpandedRowModel: { fn: () => fve(e) },- table_getExpandedRowModel: { fn: () => pve(e) },- table_getPrePaginatedRowModel: { fn: () => mve(e) },- table_getPaginatedRowModel: { fn: () => hve(e) },- table_getRowModel: { fn: () => gve(e) }+var Cve = { constructTableAPIs: (e) => {+ gq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => dve(e) },+ table_getPreFilteredRowModel: { fn: () => fve(e) },+ table_getFilteredRowModel: { fn: () => pve(e) },+ table_getPreGroupedRowModel: { fn: () => mve(e) },+ table_getGroupedRowModel: { fn: () => hve(e) },+ table_getPreSortedRowModel: { fn: () => gve(e) },+ table_getSortedRowModel: { fn: () => _ve(e) },+ table_getPreExpandedRowModel: { fn: () => vve(e) },+ table_getExpandedRowModel: { fn: () => yve(e) },+ table_getPrePaginatedRowModel: { fn: () => bve(e) },+ table_getPaginatedRowModel: { fn: () => xve(e) },+ table_getRowModel: { fn: () => Sve(e) }});} };// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function vve(e) {+function wve(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -55530,48 +55555,48 @@ function vve(e) {}return e._cellPrototype;}-function yve(e, t, n) {- let r = vve(n), i = Object.create(r);+function Tve(e, t, n) {+ let r = wve(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 bve(e) {+function Eve(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function xve(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Dq(e, t).rows : t.rows;+function Dve(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Sq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function Sve(e, t) {- if (fq(e._valuesCache, t)) return e._valuesCache[t];+function Ove(e, t) {+ if (sq(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 Cve(e, t) {- if (fq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function kve(e, t) {+ if (sq(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 wve(e, t) {+function Ave(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function Tve(e) {- return x_e(e.subRows, (e) => e.subRows);+function jve(e) {+ return D_e(e.subRows, (e) => e.subRows);}-function Eve(e) {+function Mve(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 Dve(e) {+function Nve(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function Ove(e) {+function Pve(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -55580,77 +55605,77 @@ function Ove(e) {}return t.reverse();}-function kve(e) {+function Fve(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 = yve(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = Tve(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function Ave(e) {- let t = dq(), n = e.getAllCells();+function Ive(e) {+ let t = oq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function jve(e, t, n, r) {+function Lve(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function Mve(e, t, n) {+function Rve(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 Nve = {+var zve = {assignRowPrototype: (e, t) => {- Sq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => bve(e) },+ _q("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => Eve(e) },row_getAllCellsByColumnId: {- fn: (e) => Ave(e),+ fn: (e) => Ive(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => kve(e),+ fn: (e) => Fve(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => Tve(e),+ fn: (e) => jve(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => Dve(e) },- row_getParentRows: { fn: (e) => Ove(e) },- row_getUniqueValues: { fn: (e, t) => Cve(e, t) },- row_getValue: { fn: (e, t) => Sve(e, t) },- row_renderValue: { fn: (e, t) => wve(e, t) }+ row_getParentRow: { fn: (e) => Nve(e) },+ row_getParentRows: { fn: (e) => Pve(e) },+ row_getUniqueValues: { fn: (e, t) => kve(e, t) },+ row_getValue: { fn: (e, t) => Ove(e, t) },+ row_renderValue: { fn: (e, t) => Ave(e, t) }});},constructTableAPIs: (e) => {- xq("coreRowsFeature", e, {+ gq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => xve(e),+ fn: () => Dve(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => jve(t, e, n, r) },- table_getRow: { fn: (t, n) => Mve(e, t, n) },+ table_getRowId: { fn: (t, n, r) => Lve(t, e, n, r) },+ table_getRow: { fn: (t, n) => Rve(e, t, n) },table_getMaxSubRowDepth: {- fn: () => Eve(e),+ fn: () => Mve(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 jq(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) {@@ -55661,13 +55686,13 @@ function Iq(e, t, n = (e, t) => e === t) {}});}-function Lq(e, t, n = (e, t) => e === t) {+function Mq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- Iq(e, t, n), e._reactivity.commit?.();+ jq(e, t, n), e._reactivity.commit?.();});}-function Pve(e) {- let t = lq(e.initialState);+function Bve(e) {+ let t = iq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -55678,7 +55703,7 @@ function Pve(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function Fve(e, t) {+function Vve(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -55710,26 +55735,26 @@ function Fve(e, t) {}});}-function Rq(e, t, n) {- let r = Fve(e, cq(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Lq(e, r.state ?? null);+function Nq(e, t, n) {+ let r = Vve(e, rq(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Mq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var Ive = {- coreCellsFeature: E_e,- coreColumnsFeature: H_e,- coreHeadersFeature: eve,- coreRowModelsFeature: _ve,- coreRowsFeature: Nve,+var Hve = {+ coreCellsFeature: M_e,+ coreColumnsFeature: J_e,+ coreHeadersFeature: ove,+ coreRowModelsFeature: Cve,+ coreRowsFeature: zve,coreTablesFeature: { constructTableAPIs: (e) => {- xq("coreTablesFeature", e, {- table_reset: { fn: () => Pve(e) },- table_setOptions: { fn: (t) => Rq(e, t) }+ gq("coreTablesFeature", e, {+ table_reset: { fn: () => Bve(e) },+ table_setOptions: { fn: (t) => Nq(e, t) }});} }};// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function zq() {+function Pq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -55744,21 +55769,21 @@ function zq() {};}// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function Bq(e) {+function Fq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function Lve(e, t = {}) {+function Uve(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), lq(t);+ }), iq(t);}-function Rve(e) {+function Wve(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: {- ...Ive,+ ...Hve,..._},_headerGroupInstanceInitFns: [],@@ -55796,7 +55821,7 @@ function Rve(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = Lve(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = Uve(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -55804,14 +55829,14 @@ function Rve(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 && sq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Iq(v), v.store = m_e(t.createReadonlyAtom(() => {+ jq(v), v.store = b_e(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -55819,7 +55844,7 @@ function Rve(e) {}return e;}, {- compare: iq,+ compare: $K,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -55829,107 +55854,107 @@ function Rve(e) {return v;}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function zve() {- return dq();+function Gve() {+ return oq();}-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 Iq(e, t) {+ Rq(e) && Bq(e.table, (n) => {+ let r = Object.assign(oq(), n), i = t ?? !vq(e, "getIsVisible", Lq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- Uq(t) && (r[t.id] = i);+ Rq(t) && (r[t.id] = i);}return r;});}-function Hq(e) {+function Lq(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) => vq(e, "getIsVisible", Lq)) : (sq(t, e.id) ? t[e.id] : void 0) ?? !0;}-function Uq(e) {+function Rq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function Bve(e) {+function Kve(e) {return (t) => {- Vq(e, t.target.checked);+ Iq(e, t.target.checked);};}-function Vve(e) {+function qve(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);+ vq(r.column, "getIsVisible", Lq) && n.push(r);}- return Eq(e.table, n, (e) => e.column.id, () => Cq(e, "getVisibleCellsByColumnId", Wq));+ return xq(e.table, n, (e) => e.column.id, () => vq(e, "getVisibleCellsByColumnId", zq));}-function Wq(e) {- let t = dq(), n = e.getAllCells();+function zq(e) {+ let t = oq(), 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);+ vq(r.column, "getIsVisible", Lq) && (t[r.column.id] = r);}return t;}-function Hve(e) {- return e.getAllFlatColumns().filter((e) => Cq(e, "getIsVisible", Hq));+function Jve(e) {+ return e.getAllFlatColumns().filter((e) => vq(e, "getIsVisible", Lq));}-function Uve(e) {- return e.getAllLeafColumns().filter((e) => Cq(e, "getIsVisible", Hq));+function Yve(e) {+ return e.getAllLeafColumns().filter((e) => vq(e, "getIsVisible", Lq));}-function Gq(e, t) {- _q(e, "columnVisibility", t);+function Bq(e, t) {+ fq(e, "columnVisibility", t);}-function Wve(e, t) {- Gq(e, t ? dq() : Object.assign(dq(), lq(e.initialState.columnVisibility ?? {})));+function Xve(e, t) {+ Bq(e, t ? oq() : Object.assign(oq(), iq(e.initialState.columnVisibility ?? {})));}-function Kq(e, t) {- t ??= !qq(e);- let n = dq(), r = e.getAllLeafColumns();+function Vq(e, t) {+ t ??= !Hq(e);+ let n = oq(), 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 || !Rq(i);}- Gq(e, n);+ Bq(e, n);}-function qq(e) {- return !e.getAllLeafColumns().some((e) => !Cq(e, "getIsVisible", Hq));+function Hq(e) {+ return !e.getAllLeafColumns().some((e) => !vq(e, "getIsVisible", Lq));}-function Gve(e) {- return e.getAllLeafColumns().some((e) => Cq(e, "getIsVisible", Hq));+function Zve(e) {+ return e.getAllLeafColumns().some((e) => vq(e, "getIsVisible", Lq));}-function Kve(e) {+function Qve(e) {return (t) => {- Kq(e, t.target.checked);+ Vq(e, t.target.checked);};}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var Jq = {+var Uq = {getInitialState: (e) => ({- columnVisibility: zve(),+ columnVisibility: Gve(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: pq("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: cq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- Sq("columnVisibilityFeature", e, t, {+ _q("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => Hq(e),+ fn: (e) => Lq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => Uq(e) },- column_getToggleVisibilityHandler: { fn: (e) => Bve(e) },- column_toggleVisibility: { fn: (e, t) => Vq(e, t) }+ column_getCanHide: { fn: (e) => Rq(e) },+ column_getToggleVisibilityHandler: { fn: (e) => Kve(e) },+ column_toggleVisibility: { fn: (e, t) => Iq(e, t) }});},assignRowPrototype: (e, t) => {- Sq("columnVisibilityFeature", e, t, {+ _q("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => Vve(e),+ fn: (e) => qve(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -55937,15 +55962,15 @@ var Jq = {]},row_getVisibleCellsByColumnId: {- fn: (e) => Wq(e),+ fn: (e) => zq(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- xq("columnVisibilityFeature", e, {+ gq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => Hve(e),+ fn: () => Jve(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -55955,7 +55980,7 @@ var Jq = {]},table_getVisibleLeafColumns: {- fn: () => Uve(e),+ fn: () => Yve(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -55964,51 +55989,51 @@ var Jq = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => Gq(e, t) },- table_resetColumnVisibility: { fn: (t) => Wve(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => Kq(e, t) },- table_getIsAllColumnsVisible: { fn: () => qq(e) },- table_getIsSomeColumnsVisible: { fn: () => Gve(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => Kve(e) }+ table_setColumnVisibility: { fn: (t) => Bq(e, t) },+ table_resetColumnVisibility: { fn: (t) => Xve(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => Vq(e, t) },+ table_getIsAllColumnsVisible: { fn: () => Hq(e) },+ table_getIsSomeColumnsVisible: { fn: () => Zve(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => Qve(e) }});}-}, Yq = 0, Xq = 10;-function Zq() {+}, Wq = 0, Gq = 10;+function Kq() {return {- pageIndex: Yq,- pageSize: Xq+ pageIndex: Wq,+ pageSize: Gq};}-function qve(e) {+function $ve(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 ?? Wq) === Wq) return;+ Yq(e, !0);}}-function Qq(e, t) {- _q(e, "pagination", t);+function qq(e, t) {+ fq(e, "pagination", t);}-function Jve(e, t) {- Qq(e, t ? Zq() : lq(e.initialState.pagination ?? Zq()));+function eye(e, t) {+ qq(e, t ? Kq() : iq(e.initialState.pagination ?? Kq()));}-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 Jq(e, t) {+ qq(e, (n) => {+ let r = rq(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 Yq(e, t) {+ Jq(e, t ? Wq : e.initialState.pagination?.pageIndex ?? Wq);}-function Yve(e, t) {- tJ(e, t ? Xq : e.initialState.pagination?.pageSize ?? Xq);+function tye(e, t) {+ Xq(e, t ? Gq : e.initialState.pagination?.pageSize ?? Gq);}-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 Xq(e, t) {+ qq(e, (e) => {+ let n = Math.max(1, rq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56016,231 +56041,231 @@ function tJ(e, t) {};});}-function Xve(e) {- let t = nJ(e), n = [];+function nye(e) {+ let t = Zq(e), n = [];return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}-function Zve(e) {+function rye(e) {return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}-function Qve(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Yq, n = nJ(e);+function iye(e) {+ let t = e.atoms.pagination?.get()?.pageIndex ?? Wq, n = Zq(e);return n === -1 || n !== 0 && t < n - 1;}-function $ve(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Yq, n = nJ(e);+function aye(e) {+ let t = e.atoms.pagination?.get()?.pageIndex ?? Wq, n = Zq(e);return Number.isFinite(n) && n > 0 && t < n - 1;}-function eye(e) {- return $q(e, (e) => e - 1);+function oye(e) {+ return Jq(e, (e) => e - 1);}-function tye(e) {- return $q(e, (e) => e + 1);+function sye(e) {+ return Jq(e, (e) => e + 1);}-function nye(e) {- return $q(e, 0);+function cye(e) {+ return Jq(e, 0);}-function rye(e) {- let t = nJ(e);- if (!(!Number.isFinite(t) || t <= 0)) return $q(e, t - 1);+function lye(e) {+ let t = Zq(e);+ if (!(!Number.isFinite(t) || t <= 0)) return Jq(e, t - 1);}-function nJ(e) {+function Zq(e) {let t = e.options.pageCount;if (t != null) return t;- let n = rJ(e), r = e.atoms.pagination?.get()?.pageSize ?? Xq;+ let n = Qq(e), r = e.atoms.pagination?.get()?.pageSize ?? Gq;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function rJ(e) {+function Qq(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var iJ = {+var $q = {getInitialState: (e) => ({...e,pagination: {- ...Zq(),+ ...Kq(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: pq("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: cq("pagination", e) }),constructTableAPIs: (e) => {- xq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => qve(e) },- table_setPagination: { fn: (t) => Qq(e, t) },- table_resetPagination: { fn: (t) => Jve(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) => Yve(e, t) },- table_getPageOptions: { fn: () => Xve(e) },- table_getCanPreviousPage: { fn: () => Zve(e) },- table_getCanNextPage: { fn: () => Qve(e) },- table_getCanLastPage: { fn: () => $ve(e) },- table_previousPage: { fn: () => eye(e) },- table_nextPage: { fn: () => tye(e) },- table_firstPage: { fn: () => nye(e) },- table_lastPage: { fn: () => rye(e) },- table_getRowCount: { fn: () => rJ(e) }+ gq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => $ve(e) },+ table_setPagination: { fn: (t) => qq(e, t) },+ table_resetPagination: { fn: (t) => eye(e, t) },+ table_setPageIndex: { fn: (t) => Jq(e, t) },+ table_resetPageIndex: { fn: (t) => Yq(e, t) },+ table_setPageSize: { fn: (t) => Xq(e, t) },+ table_getPageCount: { fn: () => Zq(e) },+ table_resetPageSize: { fn: (t) => tye(e, t) },+ table_getPageOptions: { fn: () => nye(e) },+ table_getCanPreviousPage: { fn: () => rye(e) },+ table_getCanNextPage: { fn: () => iye(e) },+ table_getCanLastPage: { fn: () => aye(e) },+ table_previousPage: { fn: () => oye(e) },+ table_nextPage: { fn: () => sye(e) },+ table_firstPage: { fn: () => cye(e) },+ table_lastPage: { fn: () => lye(e) },+ table_getRowCount: { fn: () => Qq(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function iye() {- return dq();+function uye() {+ return oq();}-function aJ(e, t) {+function eJ(e, t) {e.options.onRowSelectionChange?.(t);}-function aye(e, t) {- e._lastSelectedRowId = null, aJ(e, t ? dq() : Object.assign(dq(), lq(e.initialState.rowSelection ?? {})));+function dye(e, t) {+ e._lastSelectedRowId = null, eJ(e, t ? oq() : Object.assign(oq(), iq(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 tJ(e, t, n) {+ e._lastSelectedRowId = null, eJ(e, (r) => {+ if (t = t === void 0 ? !vq(e, "getIsAllRowsSelected", iJ) : t, n?.deselectAll && !t) return oq();+ let i = Object.assign(oq(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- yJ(t, e) && (i[t.id] = !0);+ mJ(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- hJ(e) && delete i[e.id];+ uJ(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 nJ(e, t, n) {+ e._lastSelectedRowId = null, eJ(e, (r) => {+ let i = t === void 0 ? !vq(e, "getIsAllPageRowsSelected", aJ) : t;+ if (n?.deselectAll && !i) return oq();+ let a = Object.assign(oq(), r);return e.getRowModel().rows.forEach((t) => {- vJ(a, t.id, i, !0, e, !0);+ pJ(a, t.id, i, !0, e, !0);}), a;});}-function oye(e) {+function fye(e) {return e.getCoreRowModel();}-function sye(e) {+function pye(e) {let t = e.getCoreRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: oq()};}-function cye(e) {+function mye(e) {let t = e.getFilteredRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: oq()};}-function lye(e) {+function hye(e) {let t = e.getSortedRowModel();- return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {+ return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {rows: [],flatRows: [],- rowsById: dq()+ rowsById: oq()};}-function cJ(e) {+function rJ(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function lJ(e) {+function iJ(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) => !vJ(t, n) && mJ(t, e)) && (r = !1);}return r;}-function uJ(e) {+function aJ(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 (vJ(a, n)) !i && mJ(a, r) && (i = !0);+ else if (mJ(a, r)) return !1;}return i;}-function dJ(e) {- return Cq(e, "getSelectedRowIds", cJ).length > 0;+function oJ(e) {+ return vq(e, "getSelectedRowIds", rJ).length > 0;}-function uye(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => hJ(e)).some((e) => pJ(e) || Cq(e, "getIsSomeSelected", mJ));+function gye(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => uJ(e)).some((e) => cJ(e) || vq(e, "getIsSomeSelected", lJ));}-function dye(e) {+function _ye(e) {return (t) => {- oJ(e, t.target.checked);+ tJ(e, t.target.checked);};}-function fye(e) {+function vye(e) {return (t) => {- sJ(e, t.target.checked);+ nJ(e, t.target.checked);};}-function fJ(e, t, n) {- let r = pJ(e);- aJ(e.table, (i) => {+function sJ(e, t, n) {+ let r = cJ(e);+ eJ(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(oq(), i);+ return pJ(a, e.id, t, (n?.selectChildren ?? !0) && fJ(e), e.table), !t && n?.deselectParents && hJ(a, e), a;});}-function pJ(e) {- return CJ(e, e.table.atoms.rowSelection?.get() ?? {});+function cJ(e) {+ return vJ(e, e.table.atoms.rowSelection?.get() ?? {});}-function mJ(e) {- return wJ(e) === "some";+function lJ(e) {+ return yJ(e) === "some";}-function pye(e) {- return wJ(e) === "all";+function yye(e) {+ return yJ(e) === "all";}-function hJ(e) {+function uJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function gJ(e) {+function dJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function _J(e) {+function fJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function mye(e, t) {- let n = hJ(e);+function bye(e, t) {+ let n = uJ(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) && hye(e, s, o, t) || fJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && fJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && xye(e, s, o, t) || sJ(e, o, t), a._lastSelectedRowId = e.id;};}-function hye(e, t, n, r) {+function xye(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 || !fJ(s) || !fJ(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 eJ(a, (e) => {+ let t = Object.assign(oq(), 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));+ uJ(s) && fJ(s) && (pJ(t, s.id, n, i, a), !n && r?.deselectParents && hJ(t, s));}return t;}), !0;}-function vJ(e, t, n, r, i, a) {+function pJ(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 ? (fJ(o) || Object.keys(e).forEach((t) => delete e[t]), uJ(o) && (e[t] = !0)) : (!a || uJ(o)) && delete e[t], r && o.subRows.length && dJ(o) && o.subRows.forEach((t) => pJ(e, t.id, n, r, i, a));}-function yJ(e, t) {- if (!hJ(e)) return !1;+function mJ(e, t) {+ if (!uJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -56256,7 +56281,7 @@ function yJ(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!gJ(r)) {+ if (!dJ(r)) {s = !1;break;}@@ -56264,50 +56289,50 @@ function yJ(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function bJ(e, t) {+function hJ(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 gJ(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 = vJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = xJ(o.subRows, t, n, r);+ let e = gJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- uq(t, o), t.subRows = e, i.push(t);+ aq(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 _J(e, t) {+ let n = [], r = oq(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: xJ(e.rows, i, n, r),+ rows: gJ(e.rows, i, n, r),flatRows: n,rowsById: r};}-function CJ(e, t) {- return !!(fq(t, e.id) && t[e.id]);+function vJ(e, t) {+ return !!(sq(t, e.id) && t[e.id]);}-function wJ(e) {+function yJ(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 (uJ(o) && (i = !0, vJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = yJ(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 bJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -56315,11 +56340,11 @@ var TJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: iye(),+ rowSelection: uye(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: pq("rowSelection", e),+ onRowSelectionChange: cq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56330,11 +56355,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) },+ _q("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => sJ(e, t, n) },+ row_getIsSelected: { fn: (e) => cJ(e) },row_getIsSomeSelected: {- fn: (e) => mJ(e),+ fn: (e) => lJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56342,44 +56367,44 @@ var TJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => pye(e),+ fn: (e) => yye(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) => mye(e, t) }+ row_getCanSelect: { fn: (e) => uJ(e) },+ row_getCanSelectSubRows: { fn: (e) => dJ(e) },+ row_getCanMultiSelect: { fn: (e) => fJ(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => bye(e, t) }});},constructTableAPIs: (e) => {- xq("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => aJ(e, t) },- table_resetRowSelection: { fn: (t) => aye(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => oJ(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => sJ(e, t, n) },- table_getPreSelectedRowModel: { fn: () => oye(e) },+ gq("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => eJ(e, t) },+ table_resetRowSelection: { fn: (t) => dye(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => tJ(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => nJ(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => fye(e) },table_getSelectedRowModel: {- fn: () => sye(e),+ fn: () => pye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => cye(e),+ fn: () => mye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => lye(e),+ fn: () => hye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => cJ(e),+ fn: () => rJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => lJ(e),+ fn: () => iJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -56388,7 +56413,7 @@ var TJ = {]},table_getIsAllPageRowsSelected: {- fn: () => uJ(e),+ fn: () => aJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -56397,48 +56422,48 @@ var TJ = {]},table_getIsSomeRowsSelected: {- fn: () => dJ(e),+ fn: () => oJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => uye(e),+ fn: () => gye(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => dye(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => fye(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => _ye(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => vye(e) }});}-}, gye = /([0-9]+)/gm;+}, Sye = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function _ye(e) {+function Cye(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__ */ _ye({ sort: (e, t) => vye(e, t) });-function vye(e, t) {+var xJ = /* @__PURE__ */ Cye({ sort: (e, t) => wye(e, t) });+function wye(e, t) {return e === t ? 0 : e > t ? 1 : -1;}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function yye() {+function Tye() {return [];}-function DJ(e, t) {- _q(e, "sorting", t);+function SJ(e, t) {+ fq(e, "sorting", t);}-function OJ(e, t) {- DJ(e, t ? [] : lq(e.initialState.sorting ?? []));+function CJ(e, t) {+ SJ(e, t ? [] : iq(e.initialState.sorting ?? []));}-function bye(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && OJ(e);+function Eye(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && CJ(e);}-function kJ(e) {+function wJ(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);@@ -56446,7 +56471,7 @@ function kJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(gye).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(Sye).length > 1)) {r = "alphanumeric";break;}@@ -56455,9 +56480,9 @@ function kJ(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return EJ;+ return xJ;}-function AJ(e) {+function TJ(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);@@ -56465,14 +56490,14 @@ function AJ(e) {}return "desc";}-function jJ(e) {+function EJ(e) {let t = e.table._rowModelFns.sortFns;- return b_e(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? kJ(e) : t?.[e.columnDef.sortFn] ?? EJ;+ return E_e(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? wJ(e) : t?.[e.columnDef.sortFn] ?? xJ;}-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 DJ(e, t, n) {+ let r = kJ(e, n && jJ(e)), i = t !== void 0;+ SJ(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 && jJ(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@@ -56488,40 +56513,40 @@ function MJ(e, t, n) {}], c;});}-function NJ(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? AJ(e) === "desc" ? "desc" : "asc";+function OJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? TJ(e) === "desc" ? "desc" : "asc";}-function PJ(e, t) {- let n = NJ(e), r = LJ(e);+function kJ(e, t) {+ let n = OJ(e), r = MJ(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 AJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function IJ(e) {+function jJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function LJ(e) {+function MJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function xye(e) {+function Dye(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function Sye(e) {- DJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+function Oye(e) {+ SJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function Cye(e) {- let t = FJ(e);+function kye(e) {+ let t = AJ(e);return (n) => {- t && MJ(e, void 0, IJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && DJ(e, void 0, jJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var RJ = {+var NJ = {getInitialState(e) {return {- sorting: yye(),+ sorting: Tye(),...e};},@@ -56534,58 +56559,58 @@ var RJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: pq("sorting", e),+ onSortingChange: cq("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) => xye(e) },- column_clearSorting: { fn: (e) => Sye(e) },- column_getToggleSortingHandler: { fn: (e) => Cye(e) }+ _q("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => wJ(e) },+ column_getAutoSortDir: { fn: (e) => TJ(e) },+ column_getSortFn: { fn: (e) => EJ(e) },+ column_toggleSorting: { fn: (e, t, n) => DJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => OJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => kJ(e, t) },+ column_getCanSort: { fn: (e) => AJ(e) },+ column_getCanMultiSort: { fn: (e) => jJ(e) },+ column_getIsSorted: { fn: (e) => MJ(e) },+ column_getSortIndex: { fn: (e) => Dye(e) },+ column_clearSorting: { fn: (e) => Oye(e) },+ column_getToggleSortingHandler: { fn: (e) => kye(e) }});},constructTableAPIs(e) {- xq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => bye(e) },- table_setSorting: { fn: (t) => DJ(e, t) },- table_resetSorting: { fn: (t) => OJ(e, t) }+ gq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => Eye(e) },+ table_setSorting: { fn: (t) => SJ(e, t) },+ table_resetSorting: { fn: (t) => CJ(e, t) }});}-}, wye = typeof window > "u" ? P.useEffect : P.useLayoutEffect;-function zJ(e, t) {+}, Aye = typeof window > "u" ? P.useEffect : P.useLayoutEffect;+function PJ(e, t) {let [{ table: n, rootSource: r }] = (0, P.useState)(() => {- let t = Rve({+ let t = Wve({...e,features: {- coreReactivityFeature: __e(),+ coreReactivityFeature: C_e(),...e.features}});- return t.Subscribe = ((e) => p_e({+ return t.Subscribe = ((e) => y_e({...e,source: e.source ?? t.store- })), t.FlexRender = HK, {+ })), t.FlexRender = LK, {table: t,- rootSource: g_e(t.store, iq)+ rootSource: S_e(t.store, $K)};}), i = n;- Rq(i, (t) => ({+ Nq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = sq(r, t, { compare: iq });- return wye(() => {- r.markCommitted(o), Lq(i, a ?? null, iq);+ let a = i.options.state, o = r.get(), s = nq(r, t, { compare: $K });+ return Aye(() => {+ r.markCommitted(o), Mq(i, a ?? null, $K);}), (0, P.useMemo)(() => ({...n,options: e,@@ -56597,18 +56622,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 FJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("div", {- className: hF("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, F.jsx)(Wde, {+ className: K("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, F.jsx)(Jde, {ref: r,...i,- className: hF("bui-table", e === "sm" && "bui-table-sm", t)+ className: K("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", Tye = {+var IJ = "peach.catalog-column-widths.v1", LJ = "peach.catalog-column-visibility.v1", jye = {select: {width: 48,min: 48,@@ -56674,13 +56699,13 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibilitymin: 144,max: 560}-}, Eye = {+}, Mye = {code: !1,o: !1,new: !1,played: !1,release: !1-}, Dye = {+}, Nye = {select: "选择",name: "作品",dur: "时长",@@ -56694,7 +56719,7 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibilityrelease: "发行时间",code: "番号",tags: "标签"-}, UJ = [+}, RJ = ["select","name","tags",@@ -56710,13 +56735,13 @@ var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: Dye[e],- ...Tye[e],+ label: Nye[e],+ ...jye[e],flex: e === "name",required: e === "select" || e === "name",- visible: Eye[e] !== !1+ visible: Mye[e] !== !1}));-function WJ(e) {+function zJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -56724,9 +56749,9 @@ function WJ(e) {return {};}}-function Oye() {- let e = WJ(VJ), t = WJ(HJ);- return UJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {+function Pye() {+ let e = zJ(IJ), t = zJ(LJ);+ return RJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);return {id: t.id,@@ -56737,41 +56762,41 @@ function Oye() {});}// src/react/library-processing/completion-row.ts-var GJ = "peach.catalog.completion-row";-function KJ() {+var BJ = "peach.catalog.completion-row";+function VJ() {try {- return localStorage.getItem(GJ) === "1";+ return localStorage.getItem(BJ) === "1";} catch {return !1;}}-function kye(e) {+function Fye(e) {try {- e ? localStorage.setItem(GJ, "1") : localStorage.removeItem(GJ);+ e ? localStorage.setItem(BJ, "1") : localStorage.removeItem(BJ);} catch {}}-var Aye = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var Iye = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.ts-function qJ(e) {+function HJ(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function jye(e) {- let t = Oye(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${qJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (KJ() ? Aye : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;+function Lye(e) {+ let t = Pye(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${R(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${HJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${R(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (VJ() ? Iye : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;}-function JJ(e, t) {- return MM() === "list" ? jye(e) : Ls(e, {+function UJ(e, t) {+ return kM() === "list" ? Lye(e) : Rs(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t});}// src/react/components/data-table-frame.tsx-function YJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function WJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, P.useRef)(null);return (0, P.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;- vo(e), lc(e);+ yo(e), uc(e);}), /* @__PURE__ */ (0, F.jsx)("div", {ref: i,"data-board-data-table": !0,@@ -56781,9 +56806,9 @@ function YJ({ 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 && aG(e, r) && n(r.dataset.key);+ r && eG(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, F.jsx)(Hde, {+ children: r ? /* @__PURE__ */ (0, F.jsx)(Kde, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -56792,8 +56817,8 @@ function YJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {});}// src/react/components/select.tsx-function XJ({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, F.jsx)(kU, {+function GJ({ prefix: e, renderValue: t, size: n, ...r }) {+ if (e == null) return /* @__PURE__ */ (0, F.jsx)(EU, {...r,size: n,renderValue: t@@ -56803,14 +56828,14 @@ function XJ({ 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, F.jsx)(kU, {+ return /* @__PURE__ */ (0, F.jsx)(EU, {...r,size: n,renderValue: a});}// src/react/components/table-pagination.tsx-function ZJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function KJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, F.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -56825,7 +56850,7 @@ function ZJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}),/* @__PURE__ */ (0, F.jsx)("ul", {className: "flex min-w-0 flex-wrap items-center justify-center gap-1",- children: Xn(e, t).map((t, r) => /* @__PURE__ */ (0, F.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, F.jsx)("span", {+ children: Zn(e, t).map((t, r) => /* @__PURE__ */ (0, F.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,className: "px-1 text-body-2-regular text-text-tertiary",children: "…"@@ -56849,11 +56874,11 @@ function ZJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {});}// src/react/components/table-controls.tsx-function QJ({ label: e, options: t, sorting: n, onChange: r }) {+function qJ({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsxs)(XJ, {+ children: [/* @__PURE__ */ (0, F.jsxs)(GJ, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -56863,10 +56888,10 @@ function QJ({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, F.jsx)(AU, {+ children: [/* @__PURE__ */ (0, F.jsx)(DU, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, F.jsx)(AU, {+ }), t.map((e) => /* @__PURE__ */ (0, F.jsx)(DU, {id: e.id,children: e.label}, e.id))]@@ -56874,7 +56899,7 @@ function QJ({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: UU,+ leadingIcon: BU,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -56886,7 +56911,7 @@ function QJ({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function $J({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [+function JJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [10,20,50,@@ -56901,7 +56926,7 @@ function $J({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, F.jsx)(XJ, {+ children: [/* @__PURE__ */ (0, F.jsx)(GJ, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -56911,11 +56936,11 @@ function $J({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记pageSize: Number(e)});},- children: o.map((e) => /* @__PURE__ */ (0, F.jsx)(AU, {+ children: o.map((e) => /* @__PURE__ */ (0, F.jsx)(DU, {id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, F.jsx)(ZJ, {+ }), /* @__PURE__ */ (0, F.jsx)(KJ, {label: `${e}分页`,page: c + 1,pages: s,@@ -56928,7 +56953,7 @@ function $J({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记});}// src/react/components/table-column-preferences.ts-function eY(e) {+function YJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -56936,17 +56961,17 @@ function eY(e) {return {};}}-function tY(e, t) {+function XJ(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function Mye(e, t) {+function Rye(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, P.useState)(() => {- let r = eY(e);+ let r = YJ(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -56963,7 +56988,7 @@ function Mye(e, t) {...r,...Object.fromEntries(t)});- i(a), tY(e, a);+ i(a), XJ(e, a);},reset: () => {i(n({}));@@ -56973,26 +56998,26 @@ function Mye(e, t) {}};}-function Nye(e, t, n, r = {}) {+function zye(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, P.useState)(() => i(eY(e)));+ }), [a, o] = (0, P.useState)(() => i(YJ(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), tY(e, n);+ o(n), XJ(e, n);}};}-function nY(e, t, n) {+function ZJ(e, t, n) {let r = (0, P.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 = Mye(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = Nye(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 = Rye(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = zye(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,@@ -57011,15 +57036,15 @@ function nY(e, t, n) {};}// src/react/catalog-grid/catalog-column-widths.ts-function Pye() {- return nY("catalog", UJ, {- widths: VJ,- visibility: HJ+function Bye() {+ return ZJ("catalog", RJ, {+ widths: IJ,+ visibility: LJ});}// src/react/components/rating-stars.tsx-var rY = Bz("star");-function iY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var QJ = Lz("star");+function $J({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, F.jsx)("span", {"data-rating-stars": "",@@ -57042,25 +57067,25 @@ function iY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs("正在保存评分") } }) : /* @__PURE__ */ (0, F.jsx)(rY, {})+ children: n === e ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs("正在保存评分") } }) : /* @__PURE__ */ (0, F.jsx)(QJ, {})}, e) : /* @__PURE__ */ (0, F.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, F.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, F.jsx)(rY, {}), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(QJ, {}), /* @__PURE__ */ (0, F.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, F.jsx)(rY, {})+ children: /* @__PURE__ */ (0, F.jsx)(QJ, {})})]})}, e))});}// src/react/catalog-grid/catalog-table-controls.tsx-function Fye({ item: e, actions: t }) {- let { rating: n } = e, r = AH(), i = (0, P.useRef)(0), a = ZM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- JM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function Vye({ item: e, actions: t }) {+ let { rating: n } = e, r = DH(), i = (0, P.useRef)(0), a = YM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ KM(e.id, { rating: t }), V.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57072,11 +57097,11 @@ function Fye({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, F.jsx)(iY, {+ children: [/* @__PURE__ */ (0, F.jsx)($J, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ }), r.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -57089,7 +57114,7 @@ function Fye({ item: e, actions: t }) {}) : null]});}-function aY(e) {+function eY(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -57104,11 +57129,11 @@ function aY(e) {});}// src/react/components/selection-actions.tsx-function oY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {+function tY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-selection-actions": "","data-action-layout": t,- className: hF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),+ className: K("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),children: [n, e.map((e) => e.href === void 0 ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "ghost",size: "small",@@ -57116,10 +57141,10 @@ function oY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {className: t === "inline" ? "shrink-0" : "w-full",onClick: e.onPress,children: e.label- }, e.label) : /* @__PURE__ */ (0, F.jsx)(kH, {+ }, e.label) : /* @__PURE__ */ (0, F.jsx)(EH, {size: "small",href: e.href,- trailingIcon: fz,+ trailingIcon: lz,className: t === "inline" ? "shrink-0" : "w-full",disabled: e.disabled,onClick: r,@@ -57128,15 +57153,15 @@ function oY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {});}// src/react/components/selection-popover.tsx-function sY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {- let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), d = /* @__PURE__ */ (0, F.jsx)(oY, {+function nY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {+ let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), d = /* @__PURE__ */ (0, F.jsx)(tY, {actions: a,layout: o,onNavigate: () => u(!1)}, "actions"), f = /* @__PURE__ */ (0, F.jsx)("div", {"data-selection-options": "",className: "flex min-w-0 flex-col gap-1",- children: r.length ? r.map((e) => /* @__PURE__ */ (0, F.jsx)(oV, {+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, F.jsx)(rV, {isSelected: e.selected,className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",isDisabled: e.disabled,@@ -57156,14 +57181,14 @@ function sY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,"aria-label": t,onClick: () => u(!0),children: t- }), /* @__PURE__ */ (0, F.jsx)(aR, {+ }), /* @__PURE__ */ (0, F.jsx)(nR, {triggerRef: c,isOpen: l,onOpenChange: u,placement: "bottom end",offset: 4,- className: hF($B, "w-max overscroll-contain"),- children: ({ placement: t }) => /* @__PURE__ */ (0, F.jsx)(NH, {+ className: K(XB, "w-max overscroll-contain"),+ children: ({ placement: t }) => /* @__PURE__ */ (0, F.jsx)(AH, {"aria-label": e,"data-selection-placement": t ?? "bottom",className: "flex w-max max-w-full flex-col gap-2 outline-none",@@ -57172,13 +57197,13 @@ function sY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,})] });}// src/react/components/table-column-controls.tsx-function cY({ preferences: e, label: t = "表格" }) {+function rY({ preferences: e, label: t = "表格" }) {let n = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, F.jsxs)("div", {role: "group","aria-label": `${t}列设置`,className: "flex flex-none gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(sY, {+ children: [/* @__PURE__ */ (0, F.jsx)(nY, {label: `${t}显示列`,triggerLabel: "显示列",actionLayout: "fullWidth",@@ -57206,39 +57231,39 @@ function cY({ preferences: e, label: t = "表格" }) {})]});}-function lY({ preferences: e, id: t }) {+function iY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)($de, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)(rfe, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsx-function uY(e, t) {+function aY(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 dY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = uY(e, n);- return /* @__PURE__ */ (0, F.jsx)(oV, {+function oY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = aY(e, n);+ return /* @__PURE__ */ (0, F.jsx)(rV, {slot: null,"aria-label": t,isDisabled: r,isSelected: i,isIndeterminate: a,onChange: () => {- let t = !uY(e, n).all;+ let t = !aY(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}// src/react/catalog-grid/catalog-list-page.tsx-var Iye = Bq({- rowSortingFeature: RJ,- rowSelectionFeature: TJ,- rowPaginationFeature: iJ,- columnVisibilityFeature: Jq-}), Lye = [+var Hye = Fq({+ rowSortingFeature: NJ,+ rowSelectionFeature: bJ,+ rowPaginationFeature: $q,+ columnVisibilityFeature: Uq+}), Uye = [{id: "name",label: "名称"@@ -57275,12 +57300,12 @@ var Iye = Bq({id: "played",label: "观看时间"}-], fY = /* @__PURE__ */ new Map();-function Rye(e) {- let t = Pye(), n = rG(), r = IM(e.filters || {}, !1), [i] = (0, P.useState)(() => {+], sY = /* @__PURE__ */ new Map();+function Wye(e) {+ let t = Bye(), n = QW(), r = NM(e.filters || {}, !1), [i] = (0, P.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, P.useState)(() => fY.get(i) || {+ }), [a, o] = (0, P.useState)(() => sY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -57288,9 +57313,9 @@ function Rye(e) {}}), { sorting: s, pagination: c } = a;(0, P.useEffect)(() => {- fY.set(i, a);+ sY.set(i, a);}, [i, a]);- let l = c.pageIndex * c.pageSize, u = s[0], d = Pt({+ let l = c.pageIndex * c.pageSize, u = s[0], d = Ft({queryKey: ["catalog-grid","table",@@ -57300,7 +57325,7 @@ function Rye(e) {c,s],- placeholderData: ke,+ placeholderData: Ae,queryFn: async ({ signal: t }) => {let n = {limit: c.pageSize,@@ -57312,11 +57337,11 @@ function Rye(e) {total: 0};let i = new URLSearchParams(r);- return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), B(`/api/items?${i}`, t);+ return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), z(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : FK(f, e.layout.javImage), [h] = (0, P.useState)(KJ);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : AK(f, e.layout.javImage), [h] = (0, P.useState)(VJ);(0, P.useEffect)(() => {- d.data && !d.isPlaceholderData && kye(m.length > 0);+ d.data && !d.isPlaceholderData && Fye(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -57348,19 +57373,19 @@ function Rye(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = zJ({- features: Iye,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = PJ({+ features: Hye,columns: (0, P.useMemo)(() => {- let t = zq();+ let t = Pq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, F.jsx)(dY, {+ header: ({ table: e }) => /* @__PURE__ */ (0, F.jsx)(oY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(oV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(rV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -57372,7 +57397,7 @@ function Rye(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(zye, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Gye, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -57409,7 +57434,7 @@ function Rye(e) {id: "dur",header: "时长",enableSorting: !0,- cell: ({ row: e }) => kn(e.original.duration) || "—"+ cell: ({ row: e }) => An(e.original.duration) || "—"}),t.display({id: "resolution",@@ -57423,13 +57448,13 @@ function Rye(e) {id: "size",header: "体积",enableSorting: !0,- cell: ({ row: e }) => e.original.size == null ? "—" : jn(e.original.size)+ cell: ({ row: e }) => e.original.size == null ? "—" : Mn(e.original.size)}),t.accessor((e) => e.rating, {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Fye, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Vye, {item: t.original,actions: e.actions})@@ -57450,13 +57475,13 @@ function Rye(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => aY(e.original.last_played)+ cell: ({ row: e }) => eY(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => aY(e.original.first_seen)+ cell: ({ row: e }) => eY(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -57516,9 +57541,9 @@ function Rye(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, F.jsx)(cY, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(QJ, {+ children: [/* @__PURE__ */ (0, F.jsx)(rY, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(qJ, {label: "作品列表",- options: Lye,+ options: Uye,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -57528,21 +57553,21 @@ function Rye(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, F.jsx)(IK, {+ }) : null : /* @__PURE__ */ (0, F.jsx)(jK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, F.jsx)(IW, {- message: tn(d.error),+ d.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ message: nn(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, F.jsx)(YJ, {+ /* @__PURE__ */ (0, F.jsx)(WJ, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, F.jsxs)(BJ, {+ children: /* @__PURE__ */ (0, F.jsxs)(FJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -57553,47 +57578,47 @@ function Rye(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, F.jsxs)(qR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(JR, {+ children: [/* @__PURE__ */ (0, F.jsxs)(WR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(GR, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("span", {className: "flex items-center gap-0.5",- children: [VK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {+ children: [IK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, F.jsx)(XB, {})+ children: /* @__PURE__ */ (0, F.jsx)(qB, {})}) : null]- }), /* @__PURE__ */ (0, F.jsx)(lY, {+ }), /* @__PURE__ */ (0, F.jsx)(iY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, F.jsx)(JR, {+ }, e.id)), /* @__PURE__ */ (0, F.jsx)(GR, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, F.jsx)(ZR, {+ })] }), /* @__PURE__ */ (0, F.jsx)(JR, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, F.jsxs)(ez, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, F.jsxs)(ZR, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(nz, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: qJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(nz, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsxs)(ez, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)($R, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: HJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)($R, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsxs)(ZR, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(nz, { children: VK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(nz, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)($R, { children: IK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)($R, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, F.jsx)($J, {+ d.data ? /* @__PURE__ */ (0, F.jsx)(JJ, {label: "作品列表",total: p,pagination: c,@@ -57604,8 +57629,8 @@ function Rye(e) {]});}-function zye({ item: e, props: t, disabled: n }) {- let r = ao(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = hG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = rG({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, F.jsx)("svg", {+function Gye({ item: e, props: t, disabled: n }) {+ let r = oo(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = uG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = QW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })@@ -57630,9 +57655,9 @@ function zye({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, F.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, F.jsx)(LW, {+ r.html ? /* @__PURE__ */ (0, F.jsx)(MW, {artwork: r,- relayout: (e) => xl(e, "small")+ relayout: (e) => Sl(e, "small")}) : /* @__PURE__ */ (0, F.jsx)("span", { children: "无预览" }),i && !a ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-group": "",@@ -57685,7 +57710,7 @@ function zye({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, F.jsx)(nU, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, F.jsx)($H, { mark: p.icon }), p.name]}) : null, u]})]})@@ -57693,20 +57718,20 @@ function zye({ item: e, props: t, disabled: n }) {});}// src/react/catalog-grid/catalog-grid-page.tsx-function pY(e) {- let t = FM();- if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Vye, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${IM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(Rye, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(Hye, { ...e }, n);+function cY(e) {+ let t = MM();+ if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(qye, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${NM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(Wye, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(Jye, { ...e }, n);}-function Bye({ name: e }) {+function Kye({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function mY({ children: e, selectMode: t }) {+function lY({ children: e, selectMode: t }) {let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = n.current;@@ -57722,8 +57747,8 @@ function mY({ children: e, selectMode: t }) {children: e});}-function Vye(e) {- let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(CG, {+function qye(e) {+ let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(vG, {item: i,variant: r,layout: e.layout,@@ -57737,20 +57762,20 @@ function Vye(e) {return r === "next" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, F.jsx)(mY, {+ }) : /* @__PURE__ */ (0, F.jsx)(lY, {selectMode: e.selectMode,children: i});}-function Hye(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? UM(e) : HM(e), [s] = (0, P.useState)(() => e.wall ? GM(o.queryKey) : void 0), c = s || (i && e.initial ? {+function Jye(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? BM(e) : zM(e), [s] = (0, P.useState)(() => e.wall ? HM(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],offset: 0}],pageParams: [0]- } : void 0), l = It({+ } : void 0), l = Lt({queryKey: o.queryKey,queryFn: ({ pageParam: e, signal: t }) => o.queryFn({pageParam: e,@@ -57764,7 +57789,7 @@ function Hye(e) {(0, P.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => Lse(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => Bse(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57774,7 +57799,7 @@ function Hye(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || lK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && eK(e.item) ? [e.item] : []), v = a ? [] : FK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = FW(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = Uye(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || iK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && YG(e.item) ? [e.item] : []), v = a ? [] : AK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = AW(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = Yye(e, l.data, d, f, b);(0, P.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -57801,12 +57826,12 @@ function Hye(e) {let C = (0, P.useCallback)((e, t) => n.open(e, t), [n]), w = (0, P.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, P.useCallback)((e) => n.openShort(e), [n]), E = (0, P.useCallback)(async () => {let e = await l.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(Gye, {+ }, [l.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(Zye, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(CG, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(vG, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -57824,18 +57849,18 @@ function Hye(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, F.jsx)(IK, { assetIds: v }),+ /* @__PURE__ */ (0, F.jsx)(jK, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(TK, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${IM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(bK, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${NM(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,busy: l.isFetchingNextPage,loading: l.isPending || !l.data && l.isFetching,- error: !l.data && !l.isPending ? tn(l.error) : "",+ error: !l.data && !l.isPending ? nn(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? AK({+ emptyHtml: l.data && !_.length ? TK({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -57850,8 +57875,8 @@ function Hye(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, F.jsx)(IW, {- message: tn(l.error),+ if (!l.data) return /* @__PURE__ */ (0, F.jsx)(jW, {+ message: nn(l.error),onRetry: () => void l.refetch()});if (!d.length) {@@ -57867,12 +57892,12 @@ function Hye(e) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: Bse(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(mY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Wye, {+ children: Use(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Xye, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), l.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(hY, {+ }), l.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(uY, {entity: i,load: E,enabled: () => e.canLoadMore?.() !== !1@@ -57881,7 +57906,7 @@ function Hye(e) {]});}-function hY({ entity: e, load: t, enabled: n, children: r }) {+function uY({ entity: e, load: t, enabled: n, children: r }) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(!1), s = (0, P.useRef)(!1), [c, l] = (0, P.useState)({busy: !1,error: ""@@ -57908,7 +57933,7 @@ function hY({ entity: e, load: t, enabled: n, children: r }) {} catch (e) {s.current = !0, i.current && l({busy: !1,- error: tn(e)+ error: nn(e)});} finally {o.current = !1;@@ -57923,7 +57948,7 @@ function hY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: PW });+ }, { rootMargin: kW });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -57945,13 +57970,13 @@ function hY({ entity: e, load: t, enabled: n, children: r }) {...p,hidden: !!c.error,onClick: () => void d(!0),- dangerouslySetInnerHTML: { __html: Ss(xs) }- }), c.error ? /* @__PURE__ */ (0, F.jsx)(IW, {+ dangerouslySetInnerHTML: { __html: Cs(Ss) }+ }), c.error ? /* @__PURE__ */ (0, F.jsx)(jW, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function Uye(e, t, n, r, i) {+function Yye(e, t, n, r, i) {let [a, o] = (0, P.useState)([]), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(0), u = (0, P.useRef)(0), d = (0, P.useRef)({parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()@@ -57963,7 +57988,7 @@ function Uye(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- B(`/api/items?${zse(e.filters || {}, l.current)}`, r.signal).then((e) => {+ z(`/api/items?${Hse(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -57975,9 +58000,9 @@ function Uye(e, t, n, r, i) {}, [t]), (0, P.useLayoutEffect)(() => {if (!s) return;c(null);- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = Rse(n.length - t, m, p);+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = Vse(n.length - t, m, p);if (!h.length) return;- let g = KM(s.items, d.current, e.groupCollapse !== !1);+ let g = UM(s.items, d.current, e.groupCollapse !== !1);if (l.current = s.more ? l.current + 18 : 0, !g.length) return;let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);o((e) => [...e, {@@ -57987,7 +58012,7 @@ function Uye(e, t, n, r, i) {}]);}, [s]), a;}-function Wye({ cut: e, props: t, onOpen: n }) {+function Xye({ cut: e, props: t, onOpen: n }) {let r = (0, P.useRef)(null), { wireDrag: i } = t;return (0, P.useEffect)(() => {r.current && i(r.current);@@ -58003,12 +58028,12 @@ function Wye({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, F.jsx)(Bye, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, F.jsx)(Kye, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, F.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(CG, {+ children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(vG, {item: e,variant: "short",layout: t.layout,@@ -58023,17 +58048,17 @@ function Wye({ cut: e, props: t, onOpen: n }) {})]});}-function gY(e, t, n) {- return oo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);+function dY(e, t, n) {+ return so(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function Gye({ seed: e, layout: t, helpers: n, actions: r }) {+function Zye({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, P.useRef)(/* @__PURE__ */ new Map()), a = (0, P.useRef)(t);a.current = t;- let o = po(e, n.tagLabel), s = (0, P.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => qM(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), gY(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = gY(e, t, !1);- return /* @__PURE__ */ (0, F.jsx)(NG, {+ let o = mo(e, n.tagLabel), s = (0, P.useCallback)(async () => {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => WM(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), dY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = dY(e, t, !1);+ return /* @__PURE__ */ (0, F.jsx)(OG, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58043,12 +58068,12 @@ function Gye({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : gY(e, {+ artworkIdentity: c === "small" ? l.html : dY(e, {...t,size: "small"}, !1).html,- relayoutArt: (e) => xl(e, c),- ratio: mG(e, "grid", t),+ relayoutArt: (e) => Sl(e, c),+ ratio: lG(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58059,37 +58084,37 @@ function Gye({ seed: e, layout: t, helpers: n, actions: r }) {});}// src/react/media-sources.ts-async function _Y(e) {- await H.fetchQuery({- queryKey: er,- queryFn: () => tr(e)+async function fY(e) {+ await V.fetchQuery({+ queryKey: tr,+ queryFn: () => nr(e)});}-var Kye = (e) => (e?.sources ?? []).filter((e) => Qt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), qye = "/api/duplicates?limit=120", vY = ["duplicates"], yY = "/api/batch", bY = (e) => B(qye, e), Jye = /[\s\-_.()[\]【】/\\]/;-function Yye(e) {+var Qye = (e) => (e?.sources ?? []).filter((e) => $t.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), $ye = "/api/duplicates?limit=120", pY = ["duplicates"], mY = "/api/batch", hY = (e) => z($ye, e), ebe = /[\s\-_.()[\]【】/\\]/;+function tbe(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 && !Jye.test(n[r - 1]);) --r;+ for (; r > 0 && !ebe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var Xye = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function Zye(e) {- await Promise.all([H.fetchQuery({- queryKey: vY,- queryFn: () => bY(e)- }), _Y(e)]);+var nbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function rbe(e) {+ await Promise.all([V.fetchQuery({+ queryKey: pY,+ queryFn: () => hY(e)+ }), fY(e)]);}-var Qye = {+var ibe = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, $ye = (e, t) => t.filter((t) => e.some((e) => e.location === t)), xY = (e, t) => $ye(e, t).filter((t) => e.some((e) => e.location !== t)), ebe = (e, t) => t.filter((t) => e.some((e) => xY(e.files, [t]).length));-function tbe(e, t) {+}, abe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), gY = (e, t) => abe(e, t).filter((t) => e.some((e) => e.location !== t)), obe = (e, t) => t.filter((t) => e.some((e) => gY(e.files, [t]).length));+function sbe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58108,19 +58133,19 @@ function tbe(e, t) {}return n;}-function nbe(e, t) {+function cbe(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 rbe(e, t) {- for (let n = 0; n < e.length; n += 200) await V(yY, {+async function lbe(e, t) {+ for (let n = 0; n < e.length; n += 200) await B(mY, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}});}// src/react/media-repair/media-repair.ts-var SY = "/api/media-repair", CY = ["media-repair"], wY = ["media-repair", "libraries"], ibe = {+var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "libraries"], ube = {status: "idle",library: "",stage: "",@@ -58132,39 +58157,39 @@ var SY = "/api/media-repair", CY = ["media-repair"], wY = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, TY = (e) => B(SY, e), EY = async (e) => (await B("/api/libraries", e)).libraries || [];-async function abe(e) {- await Promise.all([H.fetchQuery({- queryKey: CY,- queryFn: () => TY(e)- }), H.fetchQuery({- queryKey: wY,- queryFn: () => EY(e)+}, bY = (e) => z(_Y, e), xY = async (e) => (await z("/api/libraries", e)).libraries || [];+async function dbe(e) {+ await Promise.all([V.fetchQuery({+ queryKey: vY,+ queryFn: () => bY(e)+ }), V.fetchQuery({+ queryKey: yY,+ queryFn: () => xY(e)})]);}-var DY = (e) => Number(e).toLocaleString();-function obe(e) {+var SY = (e) => Number(e).toLocaleString();+function fbe(e) {if (e.status === "running") {- let t = e.total ? `${DY(Math.min(e.checked || 0, e.total))} / ${DY(e.total)}` : "准备中";+ let t = e.total ? `${SY(Math.min(e.checked || 0, e.total))} / ${SY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${DY(e.repaired)} 部,${DY(e.failed)} 部修不了` : `修好 ${DY(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${SY(e.repaired)} 部,${SY(e.failed)} 部修不了` : `修好 ${SY(e.repaired)} 部` : "";}-var sbe = (e) => `${DY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, cbe = "/api/quality-goals?limit=200", OY = ["quality-goals"], kY = (e) => B(cbe, e);-async function lbe(e) {- await H.fetchQuery({- queryKey: OY,- queryFn: () => kY(e)+var pbe = (e) => `${SY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, mbe = "/api/quality-goals?limit=200", CY = ["quality-goals"], wY = (e) => z(mbe, e);+async function hbe(e) {+ await V.fetchQuery({+ queryKey: CY,+ queryFn: () => wY(e)});}-var ube = (e) => e.has_cover ? Wa(e) : `/poster?id=${e.id}&c=4`;+var gbe = (e) => e.has_cover ? Ga(e) : `/poster?id=${e.id}&c=4`;// src/selection.ts-function AY(e, t, n, r, i, a = i || !e.has(r)) {+function TY(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 dbe = "/api/review", fbe = "/api/review/decision", pbe = "/api/review/genre", jY = ["review"], MY = {+var _be = "/api/review", vbe = "/api/review/decision", ybe = "/api/review/genre", EY = ["review"], DY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58174,15 +58199,40 @@ var dbe = "/api/review", fbe = "/api/review/decision", pbe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, mbe = Object.keys(MY), hbe = "metadata_fields", NY = (e) => typeof e == "string" && Object.hasOwn(MY, e), gbe = {+}, bbe = Object.keys(DY), xbe = "metadata_fields", OY = (e) => typeof e == "string" && Object.hasOwn(DY, e), Sbe = {creator_tags: "creator",western_identity: "creator"-};-function _be(e, t) {- let n = [["candidates", t ? "按来源数量" : "全部待复核"]];+}, kY = [+ "pending",+ "later",+ "ignored"+], AY = {+ pending: "待处理",+ later: "稍后处理",+ ignored: "已忽略"+}, Cbe = {+ approved: "已通过",+ rejected: "已忽略",+ skipped: "稍后处理"+}, jY = (e) => e === "later" || e === "ignored" ? e : "pending", MY = (e, t) => t === "pending" ? {+ sections: e.sections,+ counts: e.counts+} : e.queues[t];+function wbe(e, t) {+ return {+ ...e,+ ...t(MY(e, "pending")),+ queues: {+ later: t(e.queues.later),+ ignored: t(e.queues.ignored)+ }+ };+}+function Tbe(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 PY(e, t) {+function NY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -58190,7 +58240,7 @@ function PY(e, t) {else if (t === "source") {let t = [...new Set((r.candidates?.map((e) => e.source || "") || [r.source || ""]).filter(Boolean))].sort();e = JSON.stringify(t), i = t.join(" / ") || "未标注来源";- } else e = r.candidates ? r.candidates.length === 1 ? "single" : "multiple" : "pending", i = e === "single" ? "单一来源" : e === "multiple" ? "需选择来源" : "待复核";+ } else e = r.candidates ? r.candidates.length === 1 ? "single" : "multiple" : "pending", i = e === "single" ? "单一来源" : e === "multiple" ? "需选择来源" : "资料";n.has(e) || n.set(e, {key: e,title: i,@@ -58199,43 +58249,43 @@ function PY(e, t) {}return [...n.values()];}-function vbe(e, t, n) {- return n && PY(e, t).find((e) => e.key === n)?.rows || e;+function Ebe(e, t, n) {+ return n && NY(e, t).find((e) => e.key === n)?.rows || e;}-function ybe(e, t) {- let n = Zn(e.length, 20), r = Qn(t, n);+function Dbe(e, t) {+ let n = Qn(e.length, 20), r = $n(t, n);return {page: r,pages: n,rows: e.slice((r - 1) * 20, r * 20)};}-function bbe(e) {+function Obe(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 xbe(e, t, n, r, i, a) {- return AY(e, t, n, r, i, a);+function kbe(e, t, n, r, i, a) {+ return TY(e, t, n, r, i, a);}-function Sbe(e, t) {+function Abe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function FY(e, t) {+function PY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var IY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function Cbe(e, t) {- let n = FY(e, t), r = IY(e, t);+var FY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function jbe(e, t) {+ let n = PY(e, t), r = FY(e, t);return r ? `${n} · ${r}` : n;}-var wbe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Tbe = (e) => String(e.tags || "").split("|").filter(Boolean), Ebe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function Dbe(e) {+var Mbe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Nbe = (e) => String(e.tags || "").split("|").filter(Boolean), Pbe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function Fbe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function Obe(e, t, n, r) {+function Ibe(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58251,12 +58301,22 @@ function Obe(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var kbe = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", LY = (e) => B(dbe, e);-async function Abe(e) {- let t = await V(fbe, e);+var Lbe = (e) => ({+ approved: "已通过资料",+ rejected: "已忽略资料",+ skipped: "已移至稍后处理",+ restore: "已恢复待处理"+})[e];+async function IY(e) {+ let t = await z(_be, e);+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${AY[e]}状态未取得,请刷新或更新写入端`);+ return t;+}+async function Rbe(e) {+ let t = await B(vbe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(jY, (t) => t && {+ V.setQueryData(EY, (t) => t && wbe(t, (t) => ({...t,sections: {...t.sections,@@ -58268,287 +58328,309 @@ async function Abe(e) {} : t;})}- });+ })));}return t;}-function jbe(e, t) {- return H.getQueryData(jY)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;+function zbe(e, t) {+ let n = V.getQueryData(EY);+ return n && kY.flatMap((t) => MY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}-var Mbe = (e, t) => V(pbe, {+var Bbe = (e, t) => B(ybe, {genre: e,tag: t});-async function Nbe(e) {- await H.fetchQuery({- queryKey: jY,- queryFn: () => LY(e)+async function Vbe(e) {+ await V.fetchQuery({+ queryKey: EY,+ queryFn: () => IY(e)});}-function Pbe(e, t) {- let n = new Set(t);- n.size && H.setQueryData(jY, (t) => {+function Hbe(e, t, n) {+ let r = new Set(t);+ r.size && V.setQueryData(EY, (t) => {if (!t) return t;- let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));- return i.length === r.length ? t : {+ let i = kY.flatMap((n) => MY(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(kY.map((o) => {+ let s = MY(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: ""+ }))] : c;+ return l.sort((e, t) => (e.queue_order ?? 0) - (t.queue_order ?? 0)), [o, {+ ...s,+ sections: {+ ...s.sections,+ [e]: l+ },+ counts: {+ ...s.counts,+ [e]: l.length+ }+ }];+ }));+ return {...t,- sections: {- ...t.sections,- [e]: i- },- counts: {- ...t.counts,- [e]: Math.max(0, (t.counts[e] ?? r.length) - (r.length - i.length))+ ...o.pending,+ queues: {+ later: o.later,+ ignored: o.ignored}};});}-var Fbe = () => H.invalidateQueries({- queryKey: jY,+var Ube = () => V.invalidateQueries({+ queryKey: EY,exact: !0});-function Ibe(e, t) {- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${ir(e.fetched_at)} 的缓存` : e?.error || t;+function Wbe(e, t) {+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${ar(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var Lbe = "/api/links", RY = "/api/links/check", zY = "/api/links/prune", BY = ["links"], VY = ["links", "check"], HY = ["links", "prune"], Rbe = {+var Gbe = "/api/links", LY = "/api/links/check", RY = "/api/links/prune", zY = ["links"], BY = ["links", "check"], VY = ["links", "prune"], Kbe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function UY(e) {+async function HY(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var WY = (e) => B(Lbe, e), GY = (e) => V(RY, { status_only: !0 }, "POST", e), zbe = ({ retry: e, checkId: t }) => UY(V(RY, e ? {+var UY = (e) => z(Gbe, e), WY = (e) => B(LY, { status_only: !0 }, "POST", e), qbe = ({ retry: e, checkId: t }) => HY(B(LY, e ? {retry: e,check_id: t-} : { restart: !0 })), KY = (e) => B(zY, e), Bbe = ({ checkId: e, ids: t }) => UY(V(zY, {+} : { restart: !0 })), GY = (e) => z(RY, e), Jbe = ({ checkId: e, ids: t }) => HY(B(RY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), qY = (e) => Number(e || 0).toLocaleString(), Vbe = (e) => `已删除 ${qY(e.removed)} 条;${e.marked ? `已隐退女优的 ${qY(e.marked)} 条留作不可点的记录;` : ""}保留 ${qY(e.recovered)} 条未确认失效的链接。`;-function Hbe(e) {+})), KY = (e) => Number(e || 0).toLocaleString(), Ybe = (e) => `已删除 ${KY(e.removed)} 条;${e.marked ? `已隐退女优的 ${KY(e.marked)} 条留作不可点的记录;` : ""}保留 ${KY(e.recovered)} 条未确认失效的链接。`;+function Xbe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${qY(e.checked)} / ${qY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${KY(e.checked)} / ${KY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var JY = "/api/configuration", YY = "/api/pick-folder", XY = "/api/settings", ZY = "/api/follow/schedule", QY = "/api/feeds/schedule", $Y = "/api/thumbnail-jobs", eX = ["settings"], tX = ["follow-schedule"], nX = ["feed-schedule"], rX = ["thumbnail-jobs"], iX = "/api/media-processing", Ube = ["media-processing"], Wbe = (e) => B(iX, e), aX = (e) => B(XY, e), Gbe = (e) => B(ZY, e), Kbe = (e) => B(QY, e), qbe = (e) => B($Y, e);-function Jbe(e = H) {+var qY = "/api/configuration", JY = "/api/pick-folder", YY = "/api/settings", XY = "/api/follow/schedule", ZY = "/api/feeds/schedule", QY = "/api/thumbnail-jobs", $Y = ["settings"], eX = ["follow-schedule"], tX = ["feed-schedule"], nX = ["thumbnail-jobs"], rX = "/api/media-processing", Zbe = ["media-processing"], Qbe = (e) => z(rX, e), iX = (e) => z(YY, e), $be = (e) => z(XY, e), exe = (e) => z(ZY, e), txe = (e) => z(QY, e);+function nxe(e = V) {return e.fetchQuery({- queryKey: eX,- queryFn: ({ signal: e }) => aX(e),+ queryKey: $Y,+ queryFn: ({ signal: e }) => iX(e),staleTime: 0}).catch(() => null);}-function oX() {- return Ft({- mutationFn: (e) => V(XY, e),- onSuccess: (e) => H.setQueryData(eX, e)+function aX() {+ return It({+ mutationFn: (e) => B(YY, e),+ onSuccess: (e) => V.setQueryData($Y, e)});}-function Ybe() {- return Ft({- mutationFn: (e) => V(ZY, {+function rxe() {+ return It({+ mutationFn: (e) => B(XY, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData(tX, e)+ onSuccess: (e) => V.setQueryData(eX, e)});}-var Xbe = {+var ixe = {follow: {- url: `${ZY}/run`,- key: tX+ url: `${XY}/run`,+ key: eX},feed: {- url: `${QY}/run`,- key: nX+ url: `${ZY}/run`,+ key: tX}};-function Zbe(e) {- let { url: t, key: n } = Xbe[e];- return Ft({- mutationFn: () => V(t, {}),- onSuccess: (e) => H.setQueryData(n, e)+function axe(e) {+ let { url: t, key: n } = ixe[e];+ return It({+ mutationFn: () => B(t, {}),+ onSuccess: (e) => V.setQueryData(n, e)});}-var Qbe = (e) => e?.running ? 3e3 : !1;-function $be() {- return Ft({- mutationFn: (e) => V($Y, { mode: e }),- onSuccess: (e) => H.setQueryData(rX, e)+var oxe = (e) => e?.running ? 3e3 : !1;+function sxe() {+ return It({+ mutationFn: (e) => B(QY, { mode: e }),+ onSuccess: (e) => V.setQueryData(nX, e)});}// src/react/data-cleanup/organize.ts-var exe = "/api/organize", txe = "/api/organize/preview", nxe = "/api/organize/apply", rxe = "/api/organize/rollback", sX = ["organize"], ixe = "/api/organize/example", axe = (e, t, n) => B(`${ixe}?${new URLSearchParams({+var cxe = "/api/organize", lxe = "/api/organize/preview", uxe = "/api/organize/apply", dxe = "/api/organize/rollback", oX = ["organize"], fxe = "/api/organize/example", pxe = (e, t, n) => z(`${fxe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), cX = (e) => B(exe, e);-async function oxe(e) {- await H.fetchQuery({- queryKey: sX,- queryFn: () => cX(e)+})}`, n), sX = (e) => z(cxe, e);+async function mxe(e) {+ await V.fetchQuery({+ queryKey: oX,+ queryFn: () => sX(e)});}-var sxe = (e) => V(txe, e), cxe = (e) => V(YY, { initial: e }), lxe = (e) => e.kind === "apply" ? V(nxe, {+var hxe = (e) => B(lxe, e), gxe = (e) => B(JY, { initial: e }), _xe = (e) => e.kind === "apply" ? B(uxe, {...e.request,confirm: !0-}) : V(rxe, { confirm: !0 });-async function uxe(e) {- H.setQueryData(sX, (t) => t && {+}) : B(dxe, { confirm: !0 });+async function vxe(e) {+ V.setQueryData(oX, (t) => t && {...t,templates: e});try {- await V(XY, { organizeTemplates: e });+ await B(YY, { organizeTemplates: e });} catch {}}-var dxe = (e, t) => e && {+var yxe = (e, t) => e && {...e,...t-}, fxe = /目录模板|分隔符|盘符|`\.`/;-function pxe(e) {+}, bxe = /目录模板|分隔符|盘符|`\.`/;+function xxe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var lX = (e) => Number(e || 0).toLocaleString();-function mxe(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${lX(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${lX(e.counts.change)} 个文件会改名或移动,${lX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+var cX = (e) => Number(e || 0).toLocaleString();+function Sxe(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${cX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${cX(e.counts.change)} 个文件会改名或移动,${cX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function hxe(e) {+function Cxe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${lX(r)} 个文件${n ? `,${lX(n)} 行未能退回` : ""}。` : `已整理 ${lX(r)} 个文件${n ? `,${lX(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能退回` : ""}。` : `已整理 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}// src/react/data-cleanup/orphan-records.ts-var gxe = "/api/orphan-records", _xe = "/api/orphan-records/attach", uX = ["orphan-records"], vxe = [+var wxe = "/api/orphan-records", Txe = "/api/orphan-records/attach", lX = ["orphan-records"], Exe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], dX = (e) => B(gxe, e), yxe = (e, t) => V(_xe, {+], uX = (e) => z(wxe, e), Dxe = (e, t) => B(Txe, {id: e,target: t-}), bxe = (e) => V(yY, {+}), Oxe = (e) => B(mY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), xxe = (e) => [+}), kxe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], Sxe = (e) => [...vxe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...xxe(e)].filter(Boolean).join(" · "), Cxe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", wxe = (e) => [e.name, Cxe(e.duration)].filter(Boolean).join(" · "), fX = "/api/resource-sync/scan", pX = "/api/resource-sync/apply", mX = ["resource-sync", "scan"], hX = ["resource-sync", "apply"], gX = (e) => V(fX, {+], Axe = (e) => [...Exe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...kxe(e)].filter(Boolean).join(" · "), jxe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", Mxe = (e) => [e.name, jxe(e.duration)].filter(Boolean).join(" · "), dX = "/api/resource-sync/scan", fX = "/api/resource-sync/apply", pX = ["resource-sync", "scan"], mX = ["resource-sync", "apply"], hX = (e) => B(dX, {background: !0,status_only: !0-}, "POST", e), Txe = () => V(fX, {+}, "POST", e), Nxe = () => B(dX, {background: !0,restart: !0-}), _X = (e) => B(pX, e), Exe = (e) => V(pX, {+}), gX = (e) => z(fX, e), Pxe = (e) => B(fX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), vX = (e) => (e?.sources ?? []).some((e) => Zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function Dxe(e) {- vX(H.getQueryData(er)) && await Promise.all([H.fetchQuery({+}), _X = (e) => (e?.sources ?? []).some((e) => Qt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function Fxe(e) {+ _X(V.getQueryData(tr)) && await Promise.all([V.fetchQuery({+ queryKey: pX,+ queryFn: () => hX(e)+ }), V.fetchQuery({queryKey: mX,queryFn: () => gX(e)- }), H.fetchQuery({- queryKey: hX,- queryFn: () => _X(e)})]);}-var Oxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), yX = (e) => Number(e || 0).toLocaleString(), kxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", bX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), xX = (e) => e.vanish ? `${yX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", SX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Axe = (e) => `将永久删除文件已不在盘上的 ${yX(bX(e))} 条记录和 ${yX(e.empty)} 个空文件夹,并清理 ${yX(e.cache?.files)} 个闲置缓存。${SX(e)}${xX(e)}`, jxe = (e) => `将永久删除文件已不在盘上的 ${yX(bX(e))} 条记录(含回收站里的)、${yX(e.empty)} 个空文件夹,并清理 ${yX(e.cache?.files)} 个闲置缓存。来源根目录保留。${SX(e)}${xX(e)}`, Mxe = (e) => e.online ? [- `找不到文件 · 共 ${yX(e.total)} 项`,- e.vanish ? `${yX(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${yX(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${yX(e.total)} 项`;-function CX(e) {+var Ixe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), vX = (e) => Number(e || 0).toLocaleString(), Lxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", yX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), bX = (e) => e.vanish ? `${vX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", xX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Rxe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录和 ${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。${xX(e)}${bX(e)}`, zxe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录(含回收站里的)、${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。来源根目录保留。${xX(e)}${bX(e)}`, Bxe = (e) => e.online ? [+ `找不到文件 · 共 ${vX(e.total)} 项`,+ e.vanish ? `${vX(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${vX(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${vX(e.total)} 项`;+function SX(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 ? `${yX(t.length)} 条记录没有删除(${o})` : "",- n ? `${yX(n)} 个文件夹没有删除` : "",- r.length ? `${yX(r.length)} 个缓存没有清理` : ""+ t.length ? `${vX(t.length)} 条记录没有删除(${o})` : "",+ n ? `${vX(n)} 个文件夹没有删除` : "",+ r.length ? `${vX(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var Nxe = (e, t) => {- let { rest: n } = CX(e), r = `已永久删除 ${yX(e.purged)} 条失效记录和 ${yX(e.dirs_removed)} 个空文件夹,清理 ${yX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${yX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${yX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var Vxe = (e, t) => {+ let { rest: n } = SX(e), r = `已永久删除 ${vX(e.purged)} 条失效记录和 ${vX(e.dirs_removed)} 个空文件夹,清理 ${vX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${vX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${vX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, Pxe = "/api/review?counts=1", wX = ["review", "counts"], Fxe = "/api/ads?limit=1", TX = ["junk-summary"], EX = "/api/items?state=trash&limit=1", DX = ["trash-summary"], Ixe = [+}, Hxe = "/api/review?counts=1", CX = ["review", "counts"], Uxe = "/api/ads?limit=1", wX = ["junk-summary"], TX = "/api/items?state=trash&limit=1", EX = ["trash-summary"], Wxe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], OX = (e) => B(Pxe, e), kX = (e) => B(Fxe, e), AX = (e) => {+], DX = (e) => z(Hxe, e), OX = (e) => z(Uxe, e), kX = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${EX}&library=${encodeURIComponent(t)}` : EX, e);-}, jX = (e) => Number(e || 0).toLocaleString();-function Lxe(e) {- let t = MY, 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 z(t ? `${TX}&library=${encodeURIComponent(t)}` : TX, e);+}, AX = (e) => Number(e || 0).toLocaleString();+function Gxe(e) {+ let t = DY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);return a && i.push(`其余 ${a.toLocaleString()}`), {figure: `${r.toLocaleString()} 条待复核`,meta: i.join(" · ")};}-function Rxe(e) {+function Kxe(e) {if (!e) return "";- let t = Ixe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${jX(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${jX(e.dismissed_total)}`), t.join(" · ");-}-var zxe = [- [wX, ({ signal: e }) => OX(e)],- [OY, ({ signal: e }) => kY(e)],- [DX, ({ signal: e }) => AX(e)],+ let t = Wxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${AX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${AX(e.dismissed_total)}`), t.join(" · ");+}+var qxe = [+ [CX, ({ signal: e }) => DX(e)],+ [CY, ({ signal: e }) => wY(e)],+ [EX, ({ signal: e }) => kX(e)],+ [zY, ({ signal: e }) => UY(e)],[BY, ({ signal: e }) => WY(e)],[VY, ({ signal: e }) => GY(e)],- [HY, ({ signal: e }) => KY(e)],- [uX, ({ signal: e }) => dX(e)]+ [lX, ({ signal: e }) => uX(e)]];-async function Bxe(e) {- let t = !!location.hash, n = zxe.map(([n, r]) => {- if (t) return H.fetchQuery({+async function Jxe(e) {+ let t = !!location.hash, n = qxe.map(([n, r]) => {+ if (t) return V.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })}).catch(() => void 0);- H.getQueryState(n) && H.prefetchQuery({+ V.getQueryState(n) && V.prefetchQuery({queryKey: n,queryFn: r});});await Promise.all([...n,- H.fetchQuery({- queryKey: TX,- queryFn: () => kX(e)+ V.fetchQuery({+ queryKey: wX,+ queryFn: () => OX(e)}),- H.fetchQuery({- queryKey: vY,- queryFn: () => bY(e)+ V.fetchQuery({+ queryKey: pY,+ queryFn: () => hY(e)}),- _Y(e).then(() => Dxe(e)),- SH(e),- abe(e),- oxe(e)+ fY(e).then(() => Fxe(e)),+ yH(e),+ dbe(e),+ mxe(e)]);}// src/react/feed-new/feed-new.ts-var MX = (e) => ["feed-new", e ?? "home"], Vxe = 8, Hxe = 1500;-function Uxe(e, t, n) {+var jX = (e) => ["feed-new", e ?? "home"], Yxe = 8, Xxe = 1500;+function Zxe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -58559,33 +58641,33 @@ function Uxe(e, t, n) {setTimeout(e, n);})]);}-async function Wxe(e, t, n) {- let r = new URLSearchParams({ limit: String(SA().value.feedLimit) });+async function Qxe(e, t, n) {+ let r = new URLSearchParams({ limit: String(yA().value.feedLimit) });e && r.set("entity", String(e));- let i = await on(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await Uxe(s, Vxe, Hxe), {+ let i = await sn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);+ return n && o.length && await Zxe(s, Yxe, Xxe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var NX = (e, t, n = !1) => ({- queryKey: MX(e),- queryFn: () => Wxe(e, t, n),+var MX = (e, t, n = !1) => ({+ queryKey: jX(e),+ queryFn: () => Qxe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), PX = (e, t) => on("/api/feeds/discovery", {+}), NX = (e, t) => sn("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function Gxe(e) {- H.removeQueries({ queryKey: MX(null) }), await H.fetchQuery(NX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function $xe(e) {+ V.removeQueries({ queryKey: jX(null) }), await V.fetchQuery(MX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts-var FX = [+var PX = ["loc","creator","tag",@@ -58599,52 +58681,52 @@ var FX = ["browse","folder","folder_recursive"-], IX = {+], FX = {media: "videos",set: 0-}, LX = (e, t) => [+}, IX = (e, t) => ["entity",e,t-], Kxe = (e, t, n, r) => [+], eSe = (e, t, n, r) => ["entity-items",e,t,n,r-], RX = (e, t, n, r) => [+], LX = (e, t, n, r) => ["entity-photos",e,t,n,r-], zX = (e) => String(e || "").split(",").filter(Boolean), qxe = (e, t) => zX(e).includes(t);-function BX(e, t, n, r, i = 0) {+], RX = (e) => String(e || "").split(",").filter(Boolean), tSe = (e, t) => RX(e).includes(t);+function zX(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...zX(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 FX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...RX(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 PX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function VX(e, t, n, r, i, a, o) {- let s = BX(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 on(`/api/items?${s}`, a ? { signal: a } : {});+async function BX(e, t, n, r, i, a, o) {+ let s = zX(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 sn(`/api/items?${s}`, a ? { signal: a } : {});}-var HX = (e) => {+var VX = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = BX(e.kind, e.name, e.filters, t).toString();+ }, n = zX(e.kind, e.name, e.filters, t).toString();return {- queryKey: Kxe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => VX(e.kind, e.name, e.filters, t, 0, n),+ queryKey: eSe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => BX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, UX = (e, t) => ({- queryKey: LX(e, t),- queryFn: ({ signal: n }) => on(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),+}, HX = (e, t) => ({+ queryKey: IX(e, t),+ queryFn: ({ signal: n }) => sn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function Jxe(e, t, n, r, i, a) {+function nSe(e, t, n, r, i, a) {let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;if (i) {let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;@@ -58653,10 +58735,10 @@ function Jxe(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 WX = (e, t, n, r) => ({- queryKey: RX(e, t, n, r),+var UX = (e, t, n, r) => ({+ queryKey: LX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await on(Jxe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await sn(nSe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -58669,37 +58751,37 @@ var WX = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), GX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function Yxe(e) {+}), WX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function rSe(e) {let { kind: t, name: n } = e;for (let e of ["entity","entity-items","entity-photos"- ]) H.removeQueries({ queryKey: [+ ]) V.removeQueries({ queryKey: [e,t,n] });- e.resolvedEntity?.id && H.setQueryData(LX(t, n), e.resolvedEntity), await Promise.all([- H.fetchQuery(UX(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: MX(Number(t.id)) }), H.fetchQuery(NX(Number(t.id), e.helpers.feedRowHtml, !0)))),- H.fetchQuery(HX(e)),- H.fetchInfiniteQuery(WX(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(WX(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && V.setQueryData(IX(t, n), e.resolvedEntity), await Promise.all([+ V.fetchQuery(HX(t, n)).then((t) => !t || t.error || !t.id ? null : (V.removeQueries({ queryKey: jX(Number(t.id)) }), V.fetchQuery(MX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ V.fetchQuery(VX(e)),+ V.fetchInfiniteQuery(UX(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? V.fetchInfiniteQuery(UX(t, n, e.media.set, "")) : null]);}// src/identity-filter.ts-var KX = [+var GX = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], qX = "mb-4 flex flex-wrap gap-2";-function Xxe(e) {- let t = KX.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${qX}">${KX.map(([e, n]) => cs({+], KX = "mb-4 flex flex-wrap gap-2";+function iSe(e) {+ let t = GX.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${KX}">${GX.map(([e, n]) => ls({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -58707,45 +58789,45 @@ function Xxe(e) {})).join("")}</div></div>`;}// src/react/follow/online-vocab.ts-var Zxe = "/api/follow/authors", Qxe = "/api/follow/tags", $xe = (e) => [+var aSe = "/api/follow/authors", oSe = "/api/follow/tags", sSe = (e) => ["follow","authors",e-], eSe = (e, t) => [+], cSe = (e, t) => ["follow","tags",e,t];-function tSe(e, t, n) {+function lSe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${Zxe}?${r}`;+ return e && r.set("q", e), `${aSe}?${r}`;}-function nSe(e, t, n, r) {+function uSe(e, t, n, r) {let i = new URLSearchParams({types: "all",limit: String(n),offset: String(r)});- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Qxe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${oSe}?${i}`;}-var rSe = (e, t, n, r) => B(tSe(e, t, n), r), iSe = (e, t, n, r, i) => B(nSe(e, t, n, r), i), aSe = "/api/index", JX = {+var dSe = (e, t, n, r) => z(lSe(e, t, n), r), fSe = (e, t, n, r, i) => z(uSe(e, t, n, r), i), pSe = "/api/index", qX = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, oSe = {+}, mSe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency",series: "series"-}, YX = [+}, JX = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -58755,31 +58837,31 @@ var rSe = (e, t, n, r) => B(tSe(e, t, n), r), iSe = (e, t, n, r, i) => B(nSe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], XX = [+], YX = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], ZX = {+], XX = {people: 120,tags: 100-}, QX = (e) => e !== "tags", $X = (e) => e === "studios" || e === "agencies";-function eZ(e) {- if (e.kind === "creators" && e.category === "animation") return eZ({+}, ZX = (e) => e !== "tags", QX = (e) => e === "studios" || e === "agencies";+function $X(e) {+ if (e.kind === "creators" && e.category === "animation") return $X({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? XX : YX : e.kind === "performers" && t === "local" ? KX : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? YX : JX : e.kind === "performers" && t === "local" ? GX : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function tZ(e) {+function eZ(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -58799,54 +58881,54 @@ function tZ(e) {...i && i !== "all" ? { category: i } : {}};}-var nZ = (e, t, n = "all") => [+var tZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function rZ(e, t, n, r, i) {+function nZ(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${aSe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${pSe}?${a}`;}-function iZ(e, t = ZX.tags) {- let n = e.what === "people" || e.what === "online-authors" ? ZX.people : t, r = {+function rZ(e, t = XX.tags) {+ let n = e.what === "people" || e.what === "online-authors" ? XX.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: nZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: t, signal: r }) => B(rZ(e.kind, e.q, e.category || "all", n, t), r)+ queryKey: tZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: t, signal: r }) => z(nZ(e.kind, e.q, e.category || "all", n, t), r)};case "tags": return {...r,- queryKey: nZ("tags", e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => B(rZ("tags", e.q, e.category, n, t), r)+ queryKey: tZ("tags", e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => z(nZ("tags", e.q, e.category, n, t), r)};case "online-authors": return {...r,- queryKey: $xe(e.q),- queryFn: ({ pageParam: t, signal: r }) => rSe(e.q, n, t, r)+ queryKey: sSe(e.q),+ queryFn: ({ pageParam: t, signal: r }) => dSe(e.q, n, t, r)};case "online-tags": return {...r,- queryKey: eSe(e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => iSe(e.q, e.category, n, t, r)+ queryKey: cSe(e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => fSe(e.q, e.category, n, t, r)};}}-async function sSe(e, t) {- let n = iZ(tZ(eZ(e)));- H.removeQueries({+async function hSe(e, t) {+ let n = rZ(eZ($X(e)));+ V.removeQueries({queryKey: n.queryKey,exact: !0- }), await H.fetchInfiniteQuery({+ }), await V.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({pageParam: e,@@ -58856,20 +58938,20 @@ async function sSe(e, t) {getNextPageParam: n.getNextPageParam});}-var cSe = (e) => e ? e.pages.flatMap((e) => e.items) : [], lSe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, aZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", uSe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, dSe = {+var gSe = (e) => e ? e.pages.flatMap((e) => e.items) : [], _Se = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, iZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", vSe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, ySe = {numeric: !0,sensitivity: "base"};-function oZ(e, t) {+function aZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", dSe))) {- let e = Fn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", ySe))) {+ let e = In(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));}// src/react/boardui/components/base/badges/chip.tsx-var sZ = gF({+var oZ = pF({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",@@ -58888,15 +58970,15 @@ var sZ = gF({soft: "bg-background-secondary-default text-text-secondary"}});-function cZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function sZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("span", {ref: r,- className: hF(sZ.base, sZ.variant[e], sZ.color[t], n),+ className: K(oZ.base, oZ.variant[e], oZ.color[t], n),...i});}// src/react/index/index-people.tsx-function lZ({ html: e, face: t, company: n, big: r }) {+function cZ({ html: e, face: t, company: n, big: r }) {let i = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -58908,18 +58990,18 @@ function lZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var fSe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", pSe = Bz("rss");-function uZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var bSe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", xSe = Lz("rss");+function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: HH({+ className: zH({radius: "plain",padding: "none",interactive: !0,- className: `${fSe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${bSe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -58928,10 +59010,10 @@ function uZ({ 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, F.jsx)(cZ, {+ children: /* @__PURE__ */ (0, F.jsx)(sZ, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, F.jsx)(pSe, {})+ children: /* @__PURE__ */ (0, F.jsx)(xSe, {})})}) : null,/* @__PURE__ */ (0, F.jsx)("span", {@@ -58947,24 +59029,24 @@ function uZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function dZ({ kind: e, items: t, layout: n, props: r }) {- let i = $X(e) || e === "series", a = n === "big";+function uZ({ kind: e, items: t, layout: n, props: r }) {+ let i = QX(e) || e === "series", a = n === "big";return /* @__PURE__ */ (0, F.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || oSe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, F.jsx)(uZ, {+ let n = t.entity_kind || mSe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, F.jsx)(lZ, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${uSe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${vSe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, F.jsx)(lZ, {+ children: /* @__PURE__ */ (0, F.jsx)(cZ, {html: o.html,face: o.face,company: i,@@ -58974,14 +59056,14 @@ function dZ({ kind: e, items: t, layout: n, props: r }) {})});}-function mSe({ items: e, layout: t, props: n }) {+function SSe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, F.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(uZ, {+ children: e.map((e) => /* @__PURE__ */ (0, F.jsx)(lZ, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -58990,7 +59072,7 @@ function mSe({ 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, F.jsx)(lZ, {+ children: /* @__PURE__ */ (0, F.jsx)(cZ, {html: n.authorAvatar(e),company: !1,big: r@@ -58999,8 +59081,8 @@ function mSe({ items: e, layout: t, props: n }) {});}// src/board-tooltip.ts-var fZ = (e) => e.replace(/\s+/g, " ").trim();-function pZ(e) {+var dZ = (e) => e.replace(/\s+/g, " ").trim();+function fZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -59008,12 +59090,12 @@ function pZ(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 fZ(n);+ return dZ(n);}-function mZ(e) {+function pZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && pZ(e) && !hZ(e)) {+ if (e.matches("a") && fZ(e) && !mZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -59026,7 +59108,7 @@ function mZ(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 hZ(e) {+function mZ(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);@@ -59037,19 +59119,19 @@ function hZ(e) {}return !1;}-function hSe() {+function CSe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a = (t) => {- let n = mZ(t), r = e.getBoundingClientRect();+ let n = pZ(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`);}, o = () => {clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;}, s = (s, c) => {if (!(s instanceof Element)) return;let l = s.closest("[title]");- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (pZ(l) !== fZ(n) || hZ(l)) && (i = setTimeout(() => {- t === l && l.isConnected && mZ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (fZ(l) !== dZ(n) || mZ(l)) && (i = setTimeout(() => {+ t === l && l.isConnected && pZ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));}, c)));};document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {@@ -59057,33 +59139,33 @@ function hSe() {}), document.addEventListener("focusin", (e) => s(e.target, 0)), document.addEventListener("focusout", o), document.addEventListener("keydown", (e) => {e.key === "Escape" && o();}), document.addEventListener("scroll", (n) => {- if (!t || !Go(n, t)) return;- let r = mZ(t);+ if (!t || !Ko(n, t)) return;+ let r = pZ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();}, !0), window.addEventListener("resize", o);}// src/board-controls.ts-function gZ(e) {+function hZ(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 _Z = /* @__PURE__ */ new WeakSet();-function gSe() {- if (_Z.has(document)) return;- _Z.add(document);+var gZ = /* @__PURE__ */ new WeakSet();+function wSe() {+ if (gZ.has(document)) return;+ gZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(gZ), vSe(e), _Se(e);+ e.querySelectorAll("input[type=range]").forEach(hZ), ESe(e), TSe(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]") && gZ(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && hZ(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && gZ(e.target);- }), hSe();+ e.target instanceof HTMLInputElement && e.target.type === "range" && hZ(e.target);+ }), CSe();}-function _Se(e) {+function TSe(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -59107,15 +59189,15 @@ function _Se(e) {r.observe(e);});}-var vZ = /* @__PURE__ */ new Map();-function vSe(e) {+var _Z = /* @__PURE__ */ new Map();+function ESe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;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 = vZ.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = _Z.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -59124,7 +59206,7 @@ function vSe(e) {w: i.offsetWidth,h: i.offsetHeight};- Sc(t, r, a, "x"), r = a, vZ.set(n, a);+ Cc(t, r, a, "x"), r = a, _Z.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -59140,8 +59222,8 @@ function vSe(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var yZ = "/vendor/swiper/14.3.0/", bZ = null, ySe = () => bZ ??= Promise.all([new Promise((e, t) => {- let n = `${yZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var vZ = "/vendor/swiper/14.3.0/", yZ = null, DSe = () => yZ ??= Promise.all([new Promise((e, t) => {+ let n = `${vZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -59155,11 +59237,11 @@ var yZ = "/vendor/swiper/14.3.0/", bZ = null, ySe = () => bZ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${yZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${vZ}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 bZ = null, e;+ throw yZ = null, e;});-function bSe(e, t, n) {+function OSe(e, t, n) {let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {let e = i();return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);@@ -59180,46 +59262,46 @@ function bSe(e, t, n) {}};}-var xZ = (e) => {+var bZ = (e) => {let t = Number(e) || 0;- return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : jn(t)).replace(" ", "\xA0") : "大小未知";-}, xSe = (e) => e.asset?.name || e.name || "未命名图片";-function SSe(e, t) {+ return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Mn(t)).replace(" ", "\xA0") : "大小未知";+}, kSe = (e) => e.asset?.name || e.name || "未命名图片";+function ASe(e, t) {let n = e.asset;- if (n) return [Ln[n.location ?? ""] || n.location || "来源未知", xZ(n.size)].join(" · ");+ if (n) return [Rn[n.location ?? ""] || n.location || "来源未知", bZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? xZ(e.size) : ""+ e.size ? bZ(e.size) : ""].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var SZ = null, CZ = null, CSe = 0;-function wSe() {- return CZ && SZ?.isConnected || (CZ?.unmount(), SZ = document.createElement("div"), SZ.className = "peach-react", SZ.dataset.photoLightboxHost = "", document.body.append(SZ), CZ = (0, Rt.createRoot)(SZ)), CZ;+var xZ = null, SZ = null, jSe = 0;+function MSe() {+ return SZ && xZ?.isConnected || (SZ?.unmount(), xZ = document.createElement("div"), xZ.className = "peach-react", xZ.dataset.photoLightboxHost = "", document.body.append(xZ), SZ = (0, zt.createRoot)(xZ)), SZ;}-async function wZ(e, t, n) {+async function CZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await ySe();+ r = await DSe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = wSe();- (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, F.jsx)(TSe, {+ let i = MSe();+ (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, F.jsx)(NSe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++CSe)));+ }, ++jSe)));}-function TZ() {- CZ && (0, Lt.flushSync)(() => CZ.render(null));+function wZ() {+ SZ && (0, Rt.flushSync)(() => SZ.render(null));}-function TSe({ slides: e, index: t, Swiper: n, host: r }) {+function NSe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, P.useId)(), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), [_, v] = (0, P.useState)(t), [y, b] = (0, P.useState)(100), [x, S] = (0, P.useState)({}), [C, w] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, P.useState)(!1), [k, A] = (0, P.useState)({at: t,text: ""@@ -59262,8 +59344,8 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = bSe(e, a, b);- let m = Ic(e, f.current, p.current), _ = (e = !1) => {+ i(t, 0), h.current = OSe(e, a, b);+ let m = Lc(e, f.current, p.current), _ = (e = !1) => {m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();};g.current = {@@ -59279,18 +59361,18 @@ function TSe({ 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) : TZ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : wZ());};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, P.useLayoutEffect)(() => {- m.current && gZ(m.current);+ m.current && hZ(m.current);}, [y]);let j = e[_], M = j.asset ?? null, ee = async (e) => {if (!M || !r || e.getAttribute("aria-busy") === "true") return;let t = _;- Oc(e), O(!0), A({+ kc(e), O(!0), A({at: t,text: ""});@@ -59300,7 +59382,7 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {text: await r.revealSource(M.id)});} finally {- Oc(e, !1), O(!1);+ kc(e, !1), O(!1);}}, te = (e, t) => {t.naturalWidth && t.naturalHeight && !x[e] && S((n) => ({@@ -59316,19 +59398,19 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), TZ();+ e.preventDefault(), wZ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && TZ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && wZ();},children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: TZ,- dangerouslySetInnerHTML: { __html: R("x") }+ onClick: wZ,+ dangerouslySetInnerHTML: { __html: L("x") }}),/* @__PURE__ */ (0, F.jsxs)("div", {ref: s,@@ -59363,14 +59445,14 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {type: "button","data-photo-nav": "back","aria-label": "上一张",- dangerouslySetInnerHTML: { __html: R("chevron-left") }+ dangerouslySetInnerHTML: { __html: L("chevron-left") }}),/* @__PURE__ */ (0, F.jsx)("button", {ref: d,type: "button","data-photo-nav": "fwd","aria-label": "下一张",- dangerouslySetInnerHTML: { __html: R("chevron-left") }+ dangerouslySetInnerHTML: { __html: L("chevron-left") }})]}),@@ -59386,7 +59468,7 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {"aria-haspopup": "dialog","aria-label": "图片详情",title: "图片详情",- dangerouslySetInnerHTML: { __html: R("info") }+ dangerouslySetInnerHTML: { __html: L("info") }}),/* @__PURE__ */ (0, F.jsxs)("div", { children: [/* @__PURE__ */ (0, F.jsx)("div", {"data-photo-count": "",@@ -59405,7 +59487,7 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {"data-zoom-step": "-1","aria-label": "缩小",onClick: () => N(y - 10),- dangerouslySetInnerHTML: { __html: R("zoom-out") }+ dangerouslySetInnerHTML: { __html: L("zoom-out") }}),/* @__PURE__ */ (0, F.jsx)("input", {ref: m,@@ -59422,7 +59504,7 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {"data-zoom-step": "1","aria-label": "放大",onClick: () => N(y + 10),- dangerouslySetInnerHTML: { __html: R("zoom-in") }+ dangerouslySetInnerHTML: { __html: L("zoom-in") }}),/* @__PURE__ */ (0, F.jsx)("b", {"data-photo-zoom-readout": "",@@ -59434,7 +59516,7 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {"aria-label": "适应窗口",title: "适应窗口",onClick: () => N("fit"),- dangerouslySetInnerHTML: { __html: R("maximize") }+ dangerouslySetInnerHTML: { __html: L("maximize") }}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -59463,10 +59545,10 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: xSe(j)+ children: kSe(j)}, _), /* @__PURE__ */ (0, F.jsx)("span", {"data-photo-detail-meta": "",- children: SSe(j, x[_])+ children: ASe(j, x[_])})]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -59474,7 +59556,7 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-reveal": "",hidden: !M || !r,onClick: (e) => void ee(e.currentTarget),- dangerouslySetInnerHTML: { __html: (D ? bs("正在定位") : R("folder-open")) + "<span>在资源管理器中显示</span>" }+ dangerouslySetInnerHTML: { __html: (D ? xs("正在定位") : L("folder-open")) + "<span>在资源管理器中显示</span>" }}),/* @__PURE__ */ (0, F.jsx)("span", {"data-photo-status": "",@@ -59504,40 +59586,40 @@ function TSe({ slides: e, index: t, Swiper: n, host: r }) {});}// src/react/entity-body/entity-body-page.tsx-function ESe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, F.jsx)(DSe, {+function PSe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, F.jsx)(FSe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, F.jsx)(OSe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, F.jsx)(jSe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, F.jsx)(ISe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, F.jsx)(zSe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var EZ = ZX.people;-function DSe({ roster: e, props: t }) {+var TZ = XX.people;+function FSe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, P.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, P.useState)(EZ), s = (0, P.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, P.useCallback)(async () => {- o((e) => e + EZ);+ }), [n, r]), [a, o] = (0, P.useState)(TZ), s = (0, P.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, P.useCallback)(async () => {+ o((e) => e + TZ);}, []);- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(dZ, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(uZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, F.jsx)(hY, {+ }), a < e.people.length ? /* @__PURE__ */ (0, F.jsx)(uY, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function OSe(e) {- let t = FW(!e.items, e.skeletonHtml);+function ISe(e) {+ let t = AW(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, F.jsx)(pY, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, F.jsx)(cY, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -59557,33 +59639,33 @@ function OSe(e) {}) : null]});}-var kSe = (e) => Array.from({ length: e.n }, (t, n) => ({+var LSe = (e) => Array.from({ length: e.n }, (t, n) => ({sample: !0,code: e.code,position: n + 1,total: e.n,name: `${e.code} 样张 ${n + 1}`,source: e.site_label || "官方样张"-})), DZ = (e) => e.sample === !0, OZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, kZ = (e) => DZ(e) ? `/sample-thumb?${OZ(e)}` : `/photo-thumb?id=${e.id}`, ASe = (e) => DZ(e) ? {- src: `/sample-image?${OZ(e)}`,- thumb: kZ(e),+})), EZ = (e) => e.sample === !0, DZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, OZ = (e) => EZ(e) ? `/sample-thumb?${DZ(e)}` : `/photo-thumb?id=${e.id}`, RSe = (e) => EZ(e) ? {+ src: `/sample-image?${DZ(e)}`,+ thumb: OZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: kZ(e),+ thumb: OZ(e),name: e.name || "",asset: e};-function jSe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, P.useMemo)(() => [...e.codeSets.flatMap(kSe), ...e.items], [e]), [s, c] = (0, P.useState)(() => /* @__PURE__ */ new Set()), l = (0, P.useCallback)((e) => c((t) => {+function zSe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, P.useMemo)(() => [...e.codeSets.flatMap(LSe), ...e.items], [e]), [s, c] = (0, P.useState)(() => /* @__PURE__ */ new Set()), l = (0, P.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, P.useCallback)((e) => {- wZ(e, o.map(ASe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(MSe, {+ CZ(e, o.map(RSe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(BSe, {item: e,index: t,lost: s.has(t),@@ -59601,7 +59683,7 @@ function jSe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(AZ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(kZ, {label: e.code,title: e.name,meta: [@@ -59613,7 +59695,7 @@ function jSe({ 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, F.jsx)(AZ, {+ m.length && e.total ? /* @__PURE__ */ (0, F.jsx)(kZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -59622,14 +59704,14 @@ function jSe({ 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, F.jsx)(hY, {+ e.hasMore ? /* @__PURE__ */ (0, F.jsx)(uY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function AZ({ label: e, title: t, meta: n }) {+function kZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-photo-group": "",children: [@@ -59646,7 +59728,7 @@ function AZ({ label: e, title: t, meta: n }) {]});}-function MSe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function BSe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -59655,7 +59737,7 @@ function MSe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, F.jsx)("img", {- src: kZ(e),+ src: OZ(e),alt: a,loading: "lazy",decoding: "async",@@ -59665,23 +59747,23 @@ function MSe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {});}// src/react/background-job.ts-var NSe = 2e3, PSe = (e) => e, FSe = (e, t) => t;-function jZ(e) {- let { queryKey: t, jobOf: n = PSe, withJob: r = FSe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);+var VSe = 2e3, HSe = (e) => e, USe = (e, t) => t;+function AZ(e) {+ let { queryKey: t, jobOf: n = HSe, withJob: r = USe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);(0, P.useEffect)(() => {l.current = e;});- let u = Pt({+ let u = Ft({queryKey: t,queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? NSe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? VSe : i ?? !1;}- }), d = Ft({+ }), d = It({mutationFn: (e) => l.current.start(e),onSuccess: (e) => {- o(!0), c(null), l.current.onStarted?.(e), H.setQueryData(t, (t) => r(t, e)), H.invalidateQueries({+ o(!0), c(null), l.current.onStarted?.(e), V.setQueryData(t, (t) => r(t, e)), V.invalidateQueries({queryKey: t,exact: !0});@@ -59700,19 +59782,19 @@ function jZ(e) {};}// src/react/follow-feed/follow-check.ts-var MZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function ISe(e, t) {- return t ? MZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var jZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function WSe(e, t) {+ return t ? jZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}// src/react/follow-feed/follow-check-button.tsx-function LSe({ sources: e, report: t }) {- let n = MZ(e), [r, i] = (0, P.useState)(""), { running: a, start: o } = jZ({- queryKey: br,- queryFn: ({ signal: e }) => $r(e),- start: (e) => ni(e),- onError: (e) => i(Wn(e)),+function GSe({ sources: e, report: t }) {+ let n = jZ(e), [r, i] = (0, P.useState)(""), { running: a, start: o } = AZ({+ queryKey: xr,+ queryFn: ({ signal: e }) => ei(e),+ start: (e) => ri(e),+ onError: (e) => i(Gn(e)),onFinish: (e) => {- e.status === "failed" && i(e.error || "检查失败"), Si(), H.invalidateQueries({ queryKey: ["follow-feed"] }), t(e);+ e.status === "failed" && i(e.error || "检查失败"), Ci(), V.invalidateQueries({ queryKey: ["follow-feed"] }), t(e);}}), s = a || o.isPending;return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -59720,38 +59802,38 @@ function LSe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, F.jsx)(q, {size: "small",disabled: !n.length,- ...Hz(s),+ ...zz(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ }), r ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",children: r}) : null]});}// src/react/follow-feed/follow-card.tsx-var RSe = (e) => Number(e) > 0;-function NZ({ name: e, actions: t, children: n, ...r }) {+var KSe = (e) => Number(e) > 0;+function MZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, F.jsx)("a", {...r,- href: hn("creator", e),+ href: gn("creator", e),onClick: (n) => {n.stopPropagation(), !(n.button || n.ctrlKey || n.metaKey || n.shiftKey || n.altKey) && (n.preventDefault(), t.openAuthor(e));},children: n});}-var PZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var NZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: qU(e) }+ dangerouslySetInnerHTML: { __html: WU(e) }});-function zSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function qSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, P.useState)(!1), [l, u] = (0, P.useState)(!1), [d, f] = (0, P.useState)(null);return (0, P.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, F.jsx)(PZ, { provider: i }) : /* @__PURE__ */ (0, F.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, F.jsx)(NZ, { provider: i }) : /* @__PURE__ */ (0, F.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -59770,8 +59852,8 @@ function zSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function BSe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Zi(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) => $ge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? $i(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ta({+function JSe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Qi(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) => r_e(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ea(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = na({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -59779,7 +59861,7 @@ function BSe(e) {limit: 9}), S = (0, P.useRef)(x.faces);S.current = x.faces;- let C = OG({+ let C = CG({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -59787,7 +59869,7 @@ function BSe(e) {w.current = C.onPointerLeave;let T = (0, P.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = QU(u, n, i), D = JU(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = tW(u, i), j = eW(t, u), M = u.status === "saved", ee = (e) => {+ }, []), E = YU(u, n, i), D = GU(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = QU(u, i), j = ZU(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));}, te = (e, t) => {e.stopPropagation(), t();@@ -59802,7 +59884,7 @@ function BSe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: oG,+ onMouseDown: tG,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -59816,7 +59898,7 @@ function BSe(e) {}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, F.jsx)(zSe, {+ p ? /* @__PURE__ */ (0, F.jsx)(qSe, {src: p,fallback: m,width: _?.width,@@ -59824,7 +59906,7 @@ function BSe(e) {provider: O,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, F.jsx)(PZ, { provider: O }),+ }, p) : /* @__PURE__ */ (0, F.jsx)(NZ, { provider: O }),x.faces.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -59844,7 +59926,7 @@ function BSe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: qU(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: WU(u.provider, u.provider_label) }}), j ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: j }@@ -59855,11 +59937,11 @@ function BSe(e) {onClick: (e) => {e.preventDefault(), e.stopPropagation(), l.toggleSelection?.(u.id, e.shiftKey);},- dangerouslySetInnerHTML: { __html: R("check") }+ dangerouslySetInnerHTML: { __html: L("check") }}) : null,- RSe(u.duration) ? /* @__PURE__ */ (0, F.jsx)("span", {+ KSe(u.duration) ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-duration": "",- children: kn(u.duration)+ children: An(u.duration)}) : null,o ? null : /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-corner": "",@@ -59869,7 +59951,7 @@ function BSe(e) {onClick: (e) => te(e, () => l.openDetail(b)),children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R(x.glyph) }+ dangerouslySetInnerHTML: { __html: L(x.glyph) }}), x.label]}) : null, e.variant === "next" ? null : /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-actions": "",@@ -59883,7 +59965,7 @@ function BSe(e) {"aria-busy": s === "save" || void 0,"aria-disabled": s === "save" || void 0,onClick: (t) => te(t, () => e.onSave?.(u.id)),- dangerouslySetInnerHTML: { __html: R(M ? "check" : "bookmark-plus") }+ dangerouslySetInnerHTML: { __html: L(M ? "check" : "bookmark-plus") }}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -59895,7 +59977,7 @@ function BSe(e) {"aria-busy": s === "seen" || void 0,"aria-disabled": s === "seen" || void 0,onClick: (t) => te(t, () => e.onStatus?.(u.id, "seen")),- dangerouslySetInnerHTML: { __html: R("eye") }+ dangerouslySetInnerHTML: { __html: L("eye") }}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -59907,7 +59989,7 @@ function BSe(e) {"aria-busy": s === "ignored" || void 0,"aria-disabled": s === "ignored" || void 0,onClick: (t) => te(t, () => e.onStatus?.(u.id, "ignored")),- dangerouslySetInnerHTML: { __html: R("eye-off") }+ dangerouslySetInnerHTML: { __html: L("eye-off") }}),u.status === "seen" || u.status === "ignored" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -59918,7 +60000,7 @@ function BSe(e) {"aria-busy": s === "new" || void 0,"aria-disabled": s === "new" || void 0,onClick: (t) => te(t, () => e.onStatus?.(u.id, "new")),- dangerouslySetInnerHTML: { __html: R("rotate-ccw") }+ dangerouslySetInnerHTML: { __html: L("rotate-ccw") }}) : null]})]@@ -59929,7 +60011,7 @@ function BSe(e) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-meta": "",children: [- E.entityName ? /* @__PURE__ */ (0, F.jsx)(NZ, {+ E.entityName ? /* @__PURE__ */ (0, F.jsx)(MZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -59948,12 +60030,12 @@ function BSe(e) {/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: $U(t, u) + z(D) }+ dangerouslySetInnerHTML: { __html: XU(t, u) + R(D) }}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, F.jsx)(NZ, {+ E.entityName ? /* @__PURE__ */ (0, F.jsx)(MZ, {name: E.entityName,actions: l,"data-follow-author": "",@@ -59966,8 +60048,8 @@ function BSe(e) {}),/* @__PURE__ */ (0, F.jsx)("time", {dateTime: u.published_at || "",- title: rW(u),- children: Qge(u)+ title: eW(u),+ children: n_e(u)}),E.credited ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-credit": "",@@ -59989,7 +60071,7 @@ function BSe(e) {"data-media-tag": "","data-tag-cat": `r34-${u.tag_types?.[e] || "unknown"}`,"data-follow-tag": e,- children: Ml(e)+ children: Nl(e)}, e))})]@@ -60002,9 +60084,9 @@ function BSe(e) {]});}-var FZ = (0, P.memo)(BSe);+var PZ = (0, P.memo)(JSe);// src/react/components/use-masonry-grid.ts-function VSe(e, t) {+function YSe(e, t) {let n = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {let t = n.current;@@ -60039,37 +60121,37 @@ function VSe(e, t) {}, [e, t]), n;}// src/react/follow-manage/manage-route.ts-var IZ = [+var FZ = [["list", "关注列表"],["add", "添加关注"],["tags", "标签管理"]-], LZ = IZ.map(([e]) => e);-function RZ(e) {+], IZ = FZ.map(([e]) => e);+function LZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: LZ.find((e) => e === n) || "list",+ tab: IZ.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 zZ(e) {+function RZ(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 BZ(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" : zZ({- tab: t || RZ(e).tab,+function zZ(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" : RZ({+ tab: t || LZ(e).tab,page: 1,sort: "",dir: ""});}// src/react/follow-feed/follow-feed-page.tsx-var VZ = () => /* @__PURE__ */ (0, F.jsx)("span", {+var BZ = () => /* @__PURE__ */ (0, F.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), HSe = Bz("settings"), HZ = Bz("chevron-down"), USe = Bz("history"), WSe = Bz("arrow-up"), GSe = Bz("arrow-down"), KSe = [[+}), XSe = Lz("settings"), VZ = Lz("chevron-down"), ZSe = Lz("history"), QSe = Lz("arrow-up"), $Se = Lz("arrow-down"), eCe = [["fixed","固定比例","layout-grid"@@ -60078,19 +60160,19 @@ var VZ = () => /* @__PURE__ */ (0, F.jsx)("span", {"瀑布流","columns-2"]];-function qSe(e, t, n) {+function tCe(e, t, n) {return (0, P.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));});- let f = Ui([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = Ui(o.works || [], (e) => e[0], n).slice(0, 24);+ let f = Wi([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = Wi(o.works || [], (e) => e[0], n).slice(0, 24);t.work && !p.some((e) => e[0] === t.work) && p.push([t.work,t.work,0]);- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = Ui([...u], (e) => e[0], n).slice(0, 20);+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = Wi([...u], (e) => e[0], n).slice(0, 20);t.tags.forEach((e) => {h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);});@@ -60098,7 +60180,7 @@ function qSe(e, t, n) {videos: 0,images: 0};- r.forEach((e) => Xi(e).forEach((e) => {+ r.forEach((e) => Zi(e).forEach((e) => {g[e === "image" ? "images" : "videos"] += 1;}));let _ = t.media === "images" ? "image" : "video";@@ -60113,7 +60195,7 @@ function qSe(e, t, n) {workRows: p,allCount: m,mediaCounts: g,- visible: r.filter((e) => Xi(e).has(_)),+ visible: r.filter((e) => Zi(e).has(_)),author: d.has(t.author) && s.has(t.author) ? t.author : "",provider: l.has(t.provider) ? t.provider : "",workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),@@ -60126,20 +60208,20 @@ function qSe(e, t, n) {n]);}-function JSe(e) {- let { view: t, seed: n, revision: r, actions: i } = e, a = Ri(t, r), o = It(a), s = Pt({- queryKey: zi,- queryFn: ({ signal: e }) => Bi(e)- }), c = (0, P.useMemo)(() => Hi(o.data), [o.data]), l = (0, P.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, P.useMemo)(() => ({+function nCe(e) {+ let { view: t, seed: n, revision: r, actions: i } = e, a = zi(t, r), o = Lt(a), s = Ft({+ queryKey: Bi,+ queryFn: ({ signal: e }) => Vi(e)+ }), c = (0, P.useMemo)(() => Ui(o.data), [o.data]), l = (0, P.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, P.useMemo)(() => ({sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = qSe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({- tags: Vl(d.visible.flatMap(Wi).map((e) => ({ tags: e.tags || [] }))),+ }), [c, l]), d = tCe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({+ tags: Hl(d.visible.flatMap(Gi).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,t,- ki(e)+ Ai(e)]),duration: !!c?.facets?.duration}), [@@ -60160,23 +60242,23 @@ function JSe(e) {m,i]);- let h = XSe(e, !!c);+ let h = iCe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, F.jsx)(UZ, {}), /* @__PURE__ */ (0, F.jsx)(IW, {- message: tn(o.error),+ children: [/* @__PURE__ */ (0, F.jsx)(HZ, {}), /* @__PURE__ */ (0, F.jsx)(jW, {+ message: nn(o.error),onRetry: () => void o.refetch()})]}) : null;let g = (e) => i.route({...t,...e- }), _ = oa({+ }), _ = sa({...t,author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, YU(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, KU(t, u)])),providers: d.providers,works: d.workNames}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);@@ -60185,7 +60267,7 @@ function JSe(e) {ref: h.host,"data-follow-progress": ""}, h.generation),- !h.busy && h.report ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ !h.busy && h.report ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",title: "检查结果",children: h.report@@ -60194,7 +60276,7 @@ function JSe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, F.jsx)(UZ, { children: d.sources.length ? /* @__PURE__ */ (0, F.jsx)(q, {+ /* @__PURE__ */ (0, F.jsx)(HZ, { children: d.sources.length ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -60202,23 +60284,23 @@ function JSe(e) {onClick: () => void h.start(!1),children: h.starting === "check" ? /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: bs("检查中") }+ dangerouslySetInnerHTML: { __html: xs("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, F.jsx)(ZSe, {+ /* @__PURE__ */ (0, F.jsx)(aCe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, F.jsx)(QSe, {+ /* @__PURE__ */ (0, F.jsx)(oCe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, F.jsx)($Se, {+ /* @__PURE__ */ (0, F.jsx)(sCe, {facets: d,view: t,total: v,@@ -60226,9 +60308,9 @@ function JSe(e) {props: e,route: g}),- /* @__PURE__ */ (0, F.jsx)(eCe, {+ /* @__PURE__ */ (0, F.jsx)(cCe, {conditions: _,- onDrop: (e) => i.route(sa(t, e)),+ onDrop: (e) => i.route(ca(t, e)),onClear: () => g({author: "",provider: "",@@ -60238,8 +60320,8 @@ function JSe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, F.jsx)(tCe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, F.jsx)(nCe, {+ d.broken.length ? /* @__PURE__ */ (0, F.jsx)(lCe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, F.jsx)(uCe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -60262,16 +60344,16 @@ function JSe(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-page-action": "",- children: c.groups.length < 500 ? /* @__PURE__ */ (0, F.jsxs)(hY, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, F.jsxs)(uY, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, F.jsx)(HZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(YSe, {+ children: [/* @__PURE__ */ (0, F.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(rCe, {busy: o.isFetchingNextPage,- error: o.isFetchNextPageError ? tn(o.error) : "",+ error: o.isFetchNextPageError ? nn(o.error) : "",load: () => {!h.busyRef.current && !o.isFetchingNextPage && o.fetchNextPage();}@@ -60280,17 +60362,17 @@ function JSe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : USe,+ leadingIcon: h.olderBusy ? void 0 : ZSe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),children: h.olderBusy ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: bs("抓取中") }+ dangerouslySetInnerHTML: { __html: xs("抓取中") }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "抓取中" })] }) : "抓更早的一页"}), /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-backfill": "",- children: na(d.sources)+ children: ra(d.sources)})]}) : null]}) : null@@ -60298,7 +60380,7 @@ function JSe(e) {})] });}-function UZ({ children: e }) {+function HZ({ children: e }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, F.jsx)("h2", {@@ -60306,30 +60388,30 @@ function UZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, F.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, F.jsx)(lI, {+ children: [/* @__PURE__ */ (0, F.jsx)(oI, {variant: "secondary",- leadingIcon: HSe,+ leadingIcon: XSe,"data-follow-manage": "",- href: WZ(),+ href: UZ(),children: "管理关注"}), e]})]});}-function YSe({ busy: e, error: t, load: n }) {+function rCe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, F.jsx)(HZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, F.jsx)(IW, {+ children: [/* @__PURE__ */ (0, F.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, F.jsx)(jW, {message: t,onRetry: n}) : null] });}-function XSe(e, t) {+function iCe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, P.useState)(0), [o, s] = (0, P.useState)(!1), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(""), [f, p] = (0, P.useState)(!1), m = (0, P.useRef)(!1), h = (0, P.useRef)(null), g = (0, P.useRef)({helpers: n,actions: r@@ -60344,7 +60426,7 @@ function XSe(e, t) {return g.current.helpers.jobProgress({host: e,active: () => t,- read: (e) => B(sr, e),+ read: (e) => z(cr, e),busy: (e) => {t && (m.current = e, s(e));},@@ -60354,10 +60436,10 @@ function XSe(e, t) {ok: !1,error: e.error}] } : e;- g.current.actions.checkReport(n), d(wi({+ g.current.actions.checkReport(n), d(Ti({...n,status: e.status || "done"- })), m.current = !1, s(!1), p(!1), H.invalidateQueries({ queryKey: ["follow-feed"] }), a((e) => e + 1);+ })), m.current = !1, s(!1), p(!1), V.invalidateQueries({ queryKey: ["follow-feed"] }), a((e) => e + 1);}}), () => {t = !1;@@ -60372,7 +60454,7 @@ function XSe(e, t) {m.current = !0, l(e ? "older" : "check"), d("");let t = !1;try {- let n = await V(sr, e ? {+ let n = await B(cr, e ? {older: !0,background: !0} : { background: !0 });@@ -60380,8 +60462,8 @@ function XSe(e, t) {} catch (t) {g.current.actions.checkReport({ results: [{ok: !1,- error: tn(t)- }] }), e && H.invalidateQueries({ queryKey: ["follow-feed"] });+ error: nn(t)+ }] }), e && V.invalidateQueries({ queryKey: ["follow-feed"] });} finally {m.current = t, l("");}@@ -60391,12 +60473,12 @@ function XSe(e, t) {olderBusy: c === "older" || f && o};}-function ZSe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function aCe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, P.useRef)(null);(0, P.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => YU(e.authorSources.get(t) || [], n);+ let o = (t) => KU(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, F.jsx)("div", {@@ -60404,14 +60486,14 @@ function ZSe({ 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 = XU(a), c = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = qU(a), c = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: ZU(a, o(n)) }+ dangerouslySetInnerHTML: { __html: JU(a, o(n)) }}), /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, F.jsx)(NZ, {+ return s ? /* @__PURE__ */ (0, F.jsx)(MZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -60428,7 +60510,7 @@ function ZSe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function QSe({ rows: e, pressed: t, props: n, onPick: r }) {+function oCe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, P.useRef)(null);return (0, P.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -60443,19 +60525,19 @@ function QSe({ rows: e, pressed: t, props: n, onPick: r }) {onClick: () => r(e[0]),children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-follow-mark": "",- "data-fallback": Pn(e[1], 2),+ "data-fallback": Fn(e[1], 2),dangerouslySetInnerHTML: { __html: n.helpers.workMark(e) }}), e[1]]}, e[0]))}) : null;}-function $Se({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = sI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = sI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function sCe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = iI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = iI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, P.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, F.jsx)(eI, {+ return /* @__PURE__ */ (0, F.jsx)(ZF, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -60504,10 +60586,10 @@ function $Se({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {onClick: () => {t.media !== e && a({ media: e });},- dangerouslySetInnerHTML: { __html: R(i) }+ dangerouslySetInnerHTML: { __html: L(i) }}, e);})- }), /* @__PURE__ */ (0, F.jsx)(VZ, {})] }) : null, /* @__PURE__ */ (0, F.jsxs)("div", {+ }), /* @__PURE__ */ (0, F.jsx)(BZ, {})] }) : null, /* @__PURE__ */ (0, F.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -60516,7 +60598,7 @@ function $Se({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"aria-label": "状态","data-entity-states": "",onPointerLeave: h.leave,- children: [Mi.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: [Ni.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-entity-state": e,"data-follow-filter": e,@@ -60527,7 +60609,7 @@ function $Se({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, F.jsx)(VZ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, F.jsx)(BZ, {}) : null]}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -60540,16 +60622,16 @@ function $Se({ 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: qU(t, n) }+ dangerouslySetInnerHTML: { __html: WU(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, F.jsx)(VZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)(nI, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, F.jsx)(BZ, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)($F, {"data-follow-tag": n,"data-entity-press": "",- "data-tag-cat": `r34-${ca(e.groups, n)}`,+ "data-tag-cat": `r34-${la(e.groups, n)}`,pressed: t.tags.includes(n),onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),- children: [Ml(n), r ? /* @__PURE__ */ (0, F.jsx)("span", {+ children: [Nl(n), r ? /* @__PURE__ */ (0, F.jsx)("span", {"data-count-badge": n,children: String(r)}) : null]@@ -60563,18 +60645,18 @@ function $Se({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, F.jsx)(tB, {+ /* @__PURE__ */ (0, F.jsx)(Qz, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(hW, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(mW, {+ /* @__PURE__ */ (0, F.jsx)(uW, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lW, {label: "图片布局",value: i.photoLayout,- options: KSe,+ options: eCe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -60588,10 +60670,10 @@ function $Se({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"aria-hidden": "true"}) : null, /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R("captions-off") }+ dangerouslySetInnerHTML: { __html: L("captions-off") }})]})] }) : null,- Ni.map(([e, n]) => {+ Pi.map(([e, n]) => {let r = t.sort === e;return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -60599,14 +60681,14 @@ function $Se({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-sort": e,"data-entity-press": "","aria-pressed": r,- "aria-label": ia(e, n, t.sort, t.dir) || void 0,+ "aria-label": aa(e, n, t.sort, t.dir) || void 0,onClick: () => {- let n = ra(e, t.sort, t.dir);+ let n = ia(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, F.jsx)(HU, {- a: WSe,- b: GSe,+ children: [n, r ? /* @__PURE__ */ (0, F.jsx)(zU, {+ a: QSe,+ b: $Se,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -60617,7 +60699,7 @@ function $Se({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function eCe({ conditions: e, onDrop: t, onClear: n }) {+function cCe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -60642,19 +60724,19 @@ function eCe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function tCe({ count: e }) {+function lCe({ count: e }) {return /* @__PURE__ */ (0, F.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(WZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${R(UZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var WZ = () => BZ(window.location.search);-function nCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = FW(e, () => c.listSkeletonHtml(s.media));+var UZ = () => zZ(window.location.search);+function uCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = AW(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, F.jsx)(rCe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, F.jsx)(dCe, {facets: t,data: n,context: r,@@ -60665,29 +60747,29 @@ function nCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function rCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = KZ(r), u = i ? {+function dCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = GZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = VSe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = YSe(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, F.jsx)(FZ, {+ return /* @__PURE__ */ (0, F.jsx)(PZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(GZ(t, s)),+ selected: r.selected.has(WZ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(GZ(t, s)) || "",- failure: l.failures.get(GZ(t, s)) || "",+ busy: l.busy.get(WZ(t, s)) || "",+ failure: l.failures.get(WZ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, F.jsx)(iCe, {+ }) : /* @__PURE__ */ (0, F.jsx)(fCe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -60700,7 +60782,7 @@ function rCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,tags: [],durMin: 0,durMax: 0,- media: t.groups.length ? t.groups.some((e) => Xi(e).has("video")) ? "videos" : "images" : s.media+ media: t.groups.length ? t.groups.some((e) => Zi(e).has("video")) ? "videos" : "images" : s.media})}), /* @__PURE__ */ (0, F.jsx)("div", {ref: d,@@ -60710,22 +60792,22 @@ function rCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function GZ(e, t) {- return Zi(e, t.media).id;+function WZ(e, t) {+ return Qi(e, t.media).id;}-function iCe({ data: e, filtered: t, clear: n, checkAction: r }) {+function fCe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, F.jsx)(Rz, {- icon: Bz(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, F.jsx)(Fz, {+ icon: Lz(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, F.jsx)(lI, {+ }) : a ? r : /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60734,52 +60816,52 @@ function iCe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var aCe = {+var pCe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function KZ(e) {- let { view: t, revision: n, actions: r } = e, [i, a] = (0, P.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, P.useState)(() => /* @__PURE__ */ new Map()), c = Ri(t, n).queryKey, l = (e, t, n) => n((n) => {+function GZ(e) {+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, P.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, P.useState)(() => /* @__PURE__ */ new Map()), c = zi(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;}), u = (e, n) => {- H.setQueryData(c, (r) => r && aa(r, t, e, n));- }, d = () => void H.invalidateQueries({+ V.setQueryData(c, (r) => r && oa(r, t, e, n));+ }, d = () => void V.invalidateQueries({queryKey: c,exact: !0}), f = (e) => {- let t = Hi(H.getQueryData(c));+ let t = Ui(V.getQueryData(c));for (let n of t?.groups || []) for (let t of [n.primary,...n.variants,...n.duplicates]) if (t.id === e) return t.status;return "new";- }, p = Ft({- mutationFn: ({ id: e, to: t }) => V(pr, {+ }, p = It({+ mutationFn: ({ id: e, to: t }) => B(mr, {item: e,to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(aCe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {- await V(pr, {+ u(t, n), d(), r.toast(pCe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ await B(mr, {item: t,to: i}), u(t, i), d();} });},onError: (e, { id: t }) => {- l(t, tn(e), s), r.failure("更新关注状态", e);+ l(t, nn(e), s), r.failure("更新关注状态", e);},onSettled: (e, t, { id: n }) => l(n, "", a)- }), m = Ft({- mutationFn: (e) => V("/api/follow/save", { item: e }),+ }), m = It({+ mutationFn: (e) => B("/api/follow/save", { item: e }),onSuccess: (e, t) => {u(t, "saved"), d(), r.toast("已保存到数据库");},onError: (e, t) => {- l(t, tn(e), s), r.failure("保存到数据库", e);+ l(t, nn(e), s), r.failure("保存到数据库", e);},onSettled: (e, t, n) => l(n, "", a)}), h = (0, P.useRef)({@@ -60807,10 +60889,10 @@ function KZ(e) {};}// src/react/entity-body/entity-online.tsx-function oCe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = FW(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(IW, {- message: tn(t.error),+function mCe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = AW(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ message: nn(t.error),onRetry: () => {t.refetch();}@@ -60820,11 +60902,11 @@ function oCe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, F.jsx)(sCe, {+ a || !n ? null : /* @__PURE__ */ (0, F.jsx)(hCe, {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, F.jsx)(hY, {+ !a && n?.has_more ? /* @__PURE__ */ (0, F.jsx)(uY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -60834,8 +60916,8 @@ function oCe(e) {]});}-function sCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = KZ({+function hCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = GZ({view: e,revision: 0,actions: c@@ -60852,8 +60934,8 @@ function sCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-layout": o,"data-images-only": String(s)} : {}, m = r.length ? r.map((e) => {- let n = Zi(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, F.jsx)(FZ, {+ let n = Qi(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;+ return /* @__PURE__ */ (0, F.jsx)(PZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -60866,11 +60948,11 @@ function sCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, F.jsx)(cCe, {+ }) : /* @__PURE__ */ (0, F.jsx)(gCe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: ISe(n.sources || [], e.author)+ sources: WSe(n.sources || [], e.author)});return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-list": "",@@ -60879,21 +60961,21 @@ function sCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function cCe({ searched: e, clear: t, actions: n, sources: r }) {+function gCe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, F.jsx)(Rz, {- icon: Bz(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, F.jsx)(Fz, {+ icon: Lz(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, F.jsx)(LSe, {+ }) : r.length ? /* @__PURE__ */ (0, F.jsx)(GSe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, F.jsx)(lI, {+ }) : /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60902,7 +60984,7 @@ function cCe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function qZ(e) {+function KZ(e) {return {x0: 0,y0: 0,@@ -60910,7 +60992,7 @@ function qZ(e) {y1: e.height};}-function JZ(e) {+function qZ(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -60918,40 +61000,40 @@ function JZ(e) {y1: Math.round(e.y1)};}-function YZ(e) {+function JZ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function XZ(e, t) {- if (!YZ(e)) return {+function YZ(e, t) {+ if (!JZ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return qZ(e);+ if (t == null || !(t > 0)) return KZ(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 JZ({+ return qZ({x0: i,y0: a,x1: i + n,y1: a + r});}-function lCe(e, t) {- if (!YZ(e) || !(t > 0)) return qZ(e);+function _Ce(e, t) {+ if (!JZ(e) || !(t > 0)) return KZ(e);let n = Math.min(e.width, e.height * t);- return JZ({+ return qZ({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function uCe(e, t, n) {- if (!YZ(t) || !(n > 0)) return qZ(t);- let r = ZZ(e, t), i = XZ({+function vCe(e, t, n) {+ if (!JZ(t) || !(n > 0)) return KZ(t);+ let r = XZ(e, t), i = YZ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -60962,8 +61044,8 @@ function uCe(e, t, n) {y1: r.y0 + i.y1};}-function ZZ(e, t, n = null, r = "width") {- if (!YZ(t)) return {+function XZ(e, t, n = null, r = "width") {+ if (!JZ(t)) return {x0: 0,y0: 0,x1: 0,@@ -60972,43 +61054,43 @@ function ZZ(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 JZ({+ return qZ({x0: s,y0: c,x1: s + a,y1: c + o});}-function QZ(e, t, n, r) {+function ZZ(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 JZ({+ return qZ({x0: o,y0: s,x1: o + i,y1: s + a});}-function $Z(e, t, n, r = null) {- if (!YZ(n) || !(t > 0)) return e;+function QZ(e, t, n, r = null) {+ if (!JZ(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 ZZ({+ return XZ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function dCe(e, t, n, r, i = null) {+function yCe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return ZZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return XZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function fCe(e, t) {- return YZ(t) ? {+function bCe(e, t) {+ return JZ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -61020,8 +61102,8 @@ function fCe(e, t) {height: 0};}-function pCe(e, t) {- if (!YZ(t)) return {+function xCe(e, t) {+ if (!JZ(t)) return {size: "cover",position: "50% 50%"};@@ -61031,7 +61113,7 @@ function pCe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function mCe(e, t) {+function SCe(e, t) {let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);return {left: `${-e.x0 / n * 100}%`,@@ -61040,15 +61122,15 @@ function mCe(e, t) {height: `${t.height / r * 100}%`};}-function eQ(e, t, n) {+function $Z(e, t, n) {return t > 0 ? e * n / t : 0;}-function hCe(e, t) {+function CCe(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 gCe = .02, tQ = 1.08;-function nQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var wCe = .02, eQ = 1.08;+function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, P.useRef)(null), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), [d, f] = (0, P.useState)(null);(0, P.useEffect)(() => {u(!1);@@ -61067,8 +61149,8 @@ function nQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: eQ(e, n.clientWidth, r.width),- dy: eQ(t, n.clientHeight, r.height)+ dx: $Z(e, n.clientWidth, r.width),+ dy: $Z(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -61085,22 +61167,22 @@ function nQ({ 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(QZ(n.box, o.dx, o.dy, r)) : i(dCe(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(ZZ(n.box, o.dx, o.dy, r)) : i(yCe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));}function g(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));}function _(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * gCe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * wCe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(QZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i($Z(n, e.key === "-" ? 1 / tQ : tQ, r, t)));+ o[e.key] ? (e.preventDefault(), i(ZZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(QZ(n, e.key === "-" ? 1 / eQ : eQ, r, t)));}- let v = n && r ? fCe(ZZ(n, r, t), r) : null, y = v ? hCe(v, d) : !1, b = v ? {+ let v = n && r ? bCe(XZ(n, r, t), r) : null, y = v ? CCe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61119,7 +61201,7 @@ function nQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- YZ({+ JZ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -61158,7 +61240,7 @@ function nQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i($Z(n, e.deltaY > 0 ? tQ : 1 / tQ, r, t));+ n && r && i(QZ(n, e.deltaY > 0 ? eQ : 1 / eQ, 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, F.jsx)("span", {@@ -61180,13 +61262,13 @@ function nQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o});}// src/react/avatar-picker/avatar-picker.ts-var _Ce = "/api/avatar-choices", rQ = "/api/avatar-pick", vCe = "/api/avatar-code-cover", iQ = "/api/avatar-frame", yCe = "/avatar-choice", aQ = (e, t) => [+var TCe = "/api/avatar-choices", nQ = "/api/avatar-pick", ECe = "/api/avatar-code-cover", rQ = "/api/avatar-frame", DCe = "/avatar-choice", iQ = (e, t) => ["avatar-choices",e,t-], oQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, sQ = (e, t, n, r = "") => `${yCe}${oQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), cQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", bCe = (e, t, n) => B(_Ce + oQ(e, t), n), xCe = (e) => V(vCe, { code: e });-async function SCe(e, t, n) {- let r = await V(iQ, {+], aQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oQ = (e, t, n, r = "") => `${DCe}${aQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", OCe = (e, t, n) => z(TCe + aQ(e, t), n), kCe = (e) => B(ECe, { code: e });+async function ACe(e, t, n) {+ let r = await B(rQ, {kind: e,id: t,ref: n.ref@@ -61199,31 +61281,31 @@ async function SCe(e, t, n) {bases: r.bases};}-var CCe = (e, t, n) => V(iQ, {+var jCe = (e, t, n) => B(rQ, {kind: e,id: t,url: n-}), wCe = (e, t, n) => lQ(`${iQ}${oQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function lQ(e, t) {+}), MCe = (e, t, n) => cQ(`${rQ}${aQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function cQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",body: t}), r = await n.json().catch(() => null);if (n.ok) return r;- throw new Hn(r?.error || `请求失败(${n.status})`, n.status, r);+ throw new Un(r?.error || `请求失败(${n.status})`, n.status, r);}-function uQ(e, t, n) {+function lQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? uCe(e.focus, t, n) : XZ(t, n);+ return e.focus && r ? vCe(e.focus, t, n) : YZ(t, n);}-var TCe = (e) => e.crop && YZ({+var NCe = (e) => e.crop && JZ({width: e.width,height: e.height});-async function ECe(e, t, n) {+async function PCe(e, t, n) {if (!("file" in n)) {- await V(rQ, {+ await B(nQ, {kind: e,id: t,...n@@ -61236,19 +61318,19 @@ async function ECe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await lQ(`${rQ}${oQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await cQ(`${nQ}${aQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var dQ = 2;-function DCe(e, t) {+var uQ = 2;+function FCe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, dQ).join("」「")}」`}${n.length > dQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, uQ).join("」「")}」`}${n.length > uQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var OCe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function kCe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${OCe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var ICe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function LCe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${ICe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var fQ = (e) => e.cast > 1, ACe = (e) => fQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, jCe = {+var dQ = (e) => e.cast > 1, RCe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, zCe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61258,7 +61340,7 @@ var fQ = (e) => e.cast > 1, ACe = (e) => fQ(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function MCe(e) {+function BCe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -61269,19 +61351,19 @@ function MCe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var NCe = (e) => `${jCe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (fQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), PCe = 8, FCe = 3 / 4;-async function ICe(e, t, n) {+var VCe = (e) => `${zCe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), HCe = 8, UCe = 3 / 4;+async function WCe(e, t, n) {switch (n.via) {- case "choice": return { choice: await SCe(e, t, n.choice) };- case "code": return { choice: await xCe(n.code) };- case "url": return { choice: await CCe(e, t, n.url) };+ case "choice": return { choice: await ACe(e, t, n.choice) };+ case "code": return { choice: await kCe(n.code) };+ case "url": return { choice: await jCe(e, t, n.url) };case "file": return {- choice: await wCe(e, t, n.file),+ choice: await MCe(e, t, n.file),file: n.file};}}-function LCe({ kind: e, entityId: t, name: n, onPicked: r }) {+function GCe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -61291,17 +61373,17 @@ function LCe({ 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, F.jsx)(Mfe, {+ children: /* @__PURE__ */ (0, F.jsx)(Ife, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, F.jsx)(Fz, {+ }), /* @__PURE__ */ (0, F.jsx)(Mz, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, F.jsx)(RCe, {+ children: /* @__PURE__ */ (0, F.jsx)(KCe, {kind: e,entityId: t,name: n,@@ -61310,24 +61392,24 @@ function LCe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, P.useRef)(null), o = sV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = aQ(e, t), m = (0, P.useRef)(!1), h = Pt({+function KCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, P.useRef)(null), o = iV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = iQ(e, t), m = (0, P.useRef)(!1), h = Ft({queryKey: p,- queryFn: ({ signal: n }) => bCe(e, t, n),+ queryFn: ({ signal: n }) => OCe(e, t, n),retryOnMount: !0,refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1});(0, P.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: aQ(e, t) });+ m.current && V.removeQueries({ queryKey: iQ(e, t) });}, [e, t]);- let g = Ft({- mutationFn: (n) => ECe(e, t, n),+ let g = It({+ mutationFn: (n) => PCe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}- }), _ = Ft({- mutationFn: (n) => ICe(e, t, n),+ }), _ = It({+ mutationFn: (n) => WCe(e, t, n),onMutate: () => {g.reset();},@@ -61348,39 +61430,39 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? Wn(g.error) : "") || (!d && _.error ? Wn(_.error) : "") || (h.error ? Wn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : kCe(x), E = !!C && !!h.error && C === Wn(h.error), D = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? Gn(g.error) : "") || (!d && _.error ? Gn(_.error) : "") || (h.error ? Gn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : LCe(x), E = !!C && !!h.error && C === Gn(h.error), D = h.isPending || S.length > 0;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, F.jsx)(Iz, { children: /* @__PURE__ */ (0, F.jsx)(Ez, { className: "size-6" }) }),+ /* @__PURE__ */ (0, F.jsx)(Nz, { children: /* @__PURE__ */ (0, F.jsx)(Cz, { className: "size-6" }) }),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(PI, {+ children: [/* @__PURE__ */ (0, F.jsx)(jI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, F.jsxs)(cZ, {+ }), !d && S.length ? /* @__PURE__ */ (0, F.jsxs)(sZ, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? ACe(d.choice) : DCe(n, x)+ children: d ? RCe(d.choice) : FCe(n, x)}),- T ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ T ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ C ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",action: E ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Hz(h.isFetching),+ ...zz(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -61390,14 +61472,14 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, F.jsx)(qF, {- icon: mz,+ /* @__PURE__ */ (0, F.jsx)(WF, {+ icon: dz,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, F.jsx)(BCe, {+ }), d ? /* @__PURE__ */ (0, F.jsx)(JCe, {kind: e,entityId: t,choice: d.choice,@@ -61417,7 +61499,7 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": h.isPending || void 0,"data-skeleton": h.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: h.isPending ? Array.from({ length: PCe }, (e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {+ children: h.isPending ? Array.from({ length: HCe }, (e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -61430,8 +61512,8 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: NCe(n),- ...Hz(w),+ title: VCe(n),+ ...zz(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -61440,8 +61522,8 @@ function RCe({ 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, F.jsx)(zCe, {- src: sQ(e, t, n.ref, cQ(n, n.ref)),+ /* @__PURE__ */ (0, F.jsx)(qCe, {+ src: oQ(e, t, n.ref, sQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -61450,15 +61532,15 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, F.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, F.jsx)(cZ, {+ children: /* @__PURE__ */ (0, F.jsx)(sZ, {variant: "caption",color: "gray",children: "在用"})}) : null,- fQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {+ dQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, F.jsxs)(cZ, {+ children: /* @__PURE__ */ (0, F.jsxs)(sZ, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -61480,7 +61562,7 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, F.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, F.jsx)(Pz, {+ children: /* @__PURE__ */ (0, F.jsx)(jz, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -61490,7 +61572,7 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...Hz(v("code")),+ ...zz(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -61499,7 +61581,7 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",onClick: () => a.current?.click(),- ...Hz(v("file")),+ ...zz(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, F.jsx)("input", {@@ -61519,7 +61601,7 @@ function RCe({ 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, F.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, F.jsx)(Pz, {+ children: /* @__PURE__ */ (0, F.jsx)(jz, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -61529,7 +61611,7 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",disabled: !s.trim(),- ...Hz(v("url")),+ ...zz(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -61543,7 +61625,7 @@ function RCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function zCe({ src: e, choice: t }) {+function qCe({ src: e, choice: t }) {let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1), [a, o] = (0, P.useState)(!1);(0, P.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -61551,7 +61633,7 @@ function zCe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = TCe(t) ? mCe(uQ(t, s, FCe), s) : null, l = r || a ? !0 : void 0;+ }, c = NCe(t) ? SCe(lQ(t, s, UCe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, F.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -61577,23 +61659,23 @@ function zCe({ src: e, choice: t }) {})]});}-function BCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = cQ(n, s), m = sQ(e, t, s, p), h = sV();+function JCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = sQ(n, s), m = oQ(e, t, s, p), h = iV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? pCe(d, l) : null;+ let _ = d && l ? xCe(d, l) : null;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.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, F.jsx)(nQ, {+ children: [m ? /* @__PURE__ */ (0, F.jsx)(tQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), YZ(e) && f(s === n.ref ? uQ(n, e, 1) : XZ(e, 1));+ u(e), JZ(e) && f(s === n.ref ? lQ(n, e, 1) : YZ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -61607,7 +61689,7 @@ function BCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })"data-crop-base": !0,onClick: () => g(e),className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",- children: MCe(e)+ children: BCe(e)}, e))}) : null]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -61627,12 +61709,12 @@ function BCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",onClick: i,- ...Hz(r),+ ...zz(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Hz(r),+ ...zz(r),onClick: () => {r || a(null);},@@ -61640,7 +61722,7 @@ function BCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, F.jsx)(q, {disabled: !d || !l,- ...Hz(r),+ ...zz(r),onClick: () => {d && !r && a({ref: s,@@ -61655,9 +61737,9 @@ function BCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })})] });}// src/react/components/source-picture.tsx-var pQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function mQ({ item: e, image: t, thumbnail: n = !1 }) {- let [r, i] = (0, P.useState)(0), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(""), l = (0, P.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 ? pQ(e.code, t, r) : u ? Wa(e, !0) : e.cover_url || "";+var fQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function pQ({ item: e, image: t, thumbnail: n = !1 }) {+ let [r, i] = (0, P.useState)(0), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(""), l = (0, P.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 ? fQ(e.code, t, r) : u ? Ga(e, !0) : e.cover_url || "";if ((0, P.useLayoutEffect)(() => {let e = l.current;e?.complete && e.naturalWidth > 0 && o({@@ -61676,14 +61758,14 @@ function mQ({ item: e, image: t, thumbnail: n = !1 }) {})}) : n ? /* @__PURE__ */ (0, F.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, F.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, F.jsx)(Lz, {+ children: /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",children: "封面未取得"})});if (s === p) return n ? /* @__PURE__ */ (0, F.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, F.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, F.jsx)(Lz, {+ children: /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -61738,7 +61820,7 @@ function mQ({ item: e, image: t, thumbnail: n = !1 }) {] });}// src/react/components/source-avatar.tsx-function hQ({ code: e, person: t, detail: n = !1 }) {+function mQ({ code: e, person: t, detail: n = !1 }) {let r = (0, P.useRef)(null), [i, a] = (0, P.useState)(n || typeof IntersectionObserver > "u");(0, P.useEffect)(() => {if (!r.current || i) return;@@ -61750,9 +61832,9 @@ function hQ({ code: e, person: t, detail: n = !1 }) {let o = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {ref: r,"data-source-initial": "",- children: Fn(t.name)+ children: In(t.name)}), i && t.source_actor_id ? /* @__PURE__ */ (0, F.jsx)("img", {- src: pQ(e, `actor:${t.source_actor_id}`),+ src: fQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -61762,8 +61844,8 @@ function hQ({ code: e, person: t, detail: n = !1 }) {}) : o;}// src/react/feed-new/feed-new-row.tsx-function gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, P.useContext)(DU), o = (0, P.useRef)(null), [s, c] = (0, P.useState)([]), l = e?.items.length ? e.html : "";+function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, P.useContext)(wU), o = (0, P.useRef)(null), [s, c] = (0, P.useState)([]), l = e?.items.length ? e.html : "";(0, P.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -61795,7 +61877,7 @@ function gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {+ }), s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(mQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -61804,8 +61886,8 @@ function gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}), e, `${l.length}:${t}`))] }) : null;}// src/react/entity-hero/glyph.tsx-function _Q({ name: e }) {- let { wide: t, viewBox: n } = rn(e);+function gQ({ name: e }) {+ let { wide: t, viewBox: n } = an(e);return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: n,"aria-hidden": "true",@@ -61814,20 +61896,20 @@ function _Q({ name: e }) {});}// src/react/entity-hero/hero-pop.tsx-function vQ(e, t) {+function _Q(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 yQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function bQ(e, t, n, r) {+var vQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function yQ(e, t, n, r) {let i = (0, P.useRef)(r);i.current = r, (0, P.useEffect)(() => {if (!e) return;let r = () => {- t.current && yQ(n.current) ? vQ(t.current, n.current) : i.current();+ t.current && vQ(n.current) ? _Q(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -61841,17 +61923,17 @@ function bQ(e, t, n, r) {n]);}-function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = (0, P.useRef)(!1), d = (0, P.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, yQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, vQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !yQ(s.current) && (s.current.showPopover(), vQ(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !vQ(s.current) && (s.current.showPopover(), _Q(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 bQ(c, o, s, f), (0, P.useEffect)(() => {+ return yQ(c, o, s, f), (0, P.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -61877,7 +61959,7 @@ function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && yQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && vQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -61895,16 +61977,16 @@ function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function VCe({ following: e, busy: t, onToggle: n, tip: r }) {+function YCe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(!1), u = () => {- yQ(o.current) && o.current.hidePopover(), c(!1);+ vQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !yQ(o.current) && (o.current.showPopover(), vQ(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !vQ(o.current) && (o.current.showPopover(), _Q(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return bQ(s, i, o, () => c(!1)), (0, P.useEffect)(() => {- i.current && yQ(o.current) && vQ(i.current, o.current);+ return yQ(s, i, o, () => c(!1)), (0, P.useEffect)(() => {+ i.current && vQ(o.current) && _Q(i.current, o.current);}, [r]), /* @__PURE__ */ (0, F.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -61913,7 +61995,7 @@ function VCe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, F.jsx)(_Q, { name: "rss" }),+ /* @__PURE__ */ (0, F.jsx)(gQ, { name: "rss" }),/* @__PURE__ */ (0, F.jsx)("input", {ref: a,type: "checkbox",@@ -61947,29 +62029,29 @@ function VCe({ following: e, busy: t, onToggle: n, tip: r }) {});}// src/react/entity-hero/name-picker.tsx-function HCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function XCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, P.useState)(!1), o = (0, P.useRef)(null);return (0, P.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, F.jsxs)(tde, {+ }, []), /* @__PURE__ */ (0, F.jsxs)(ade, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, F.jsx)(MI, {+ children: [/* @__PURE__ */ (0, F.jsx)(kI, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, F.jsx)(_Q, { name: "chevron-down" })- }), /* @__PURE__ */ (0, F.jsx)(aR, {+ children: /* @__PURE__ */ (0, F.jsx)(gQ, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, F.jsx)(nR, {placement: "bottom start",offset: 8,containerPadding: 8,- className: $B,+ className: XB,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, F.jsxs)(rde, {+ children: /* @__PURE__ */ (0, F.jsxs)(sde, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, F.jsx)(pR, {+ /* @__PURE__ */ (0, F.jsx)(uR, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -61977,31 +62059,31 @@ function HCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, F.jsxs)(hR, {+ children: t.map((e) => /* @__PURE__ */ (0, F.jsxs)(fR, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, F.jsx)(Rue, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, F.jsx)(pR, { children: /* @__PURE__ */ (0, F.jsxs)(hR, {+ /* @__PURE__ */ (0, F.jsx)(Hue, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, F.jsx)(uR, { children: /* @__PURE__ */ (0, F.jsxs)(fR, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var UCe = (e) => e === "studio" || e === "agency", SQ = (e) => e === "performer" || e === "creator", WCe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function GCe(e) {+var ZCe = (e) => e === "studio" || e === "agency", xQ = (e) => e === "performer" || e === "creator", QCe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function $Ce(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function CQ(e) {+function SQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -62013,13 +62095,13 @@ function CQ(e) {linked: !1} : null;}-function wQ(e, t) {- let n = Dn(e, "performer"), r = wn(t);- return r && [e.label, n].map(wn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";+function CQ(e, t) {+ let n = On(e, "performer"), r = Tn(t);+ return r && [e.label, n].map(Tn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var TQ = (e) => ({ site: bn(e) });-function KCe(e, t) {- let n = CQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var wQ = (e) => ({ site: xn(e) });+function ewe(e, t) {+ let n = SQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -62029,7 +62111,7 @@ function KCe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${wQ(e, n)} · ${t}`+ title: `${CQ(e, n)} · ${t}`};}let r = e.url || "";@@ -62037,32 +62119,32 @@ function KCe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (SQ(t) && e.link_kind !== "social") return {+ if (xQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: wQ(e, n),- mark: TQ(e)+ title: CQ(e, n),+ mark: wQ(e)};if (e.link_kind === "social") {- let t = Cn(r);+ let t = wn(r);return {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : TQ(e)+ mark: t ? { brand: t } : wQ(e)};}return {type: "url",url: r,title: e.label || "",- text: Dn(e, t, i),- mark: TQ(e)+ text: On(e, t, i),+ mark: wQ(e)};});- return [...r, ...qCe(a)];+ return [...r, ...twe(a)];}-function qCe(e) {+function twe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -62070,8 +62152,8 @@ function qCe(e) {sources: t.map((e) => e.label)}];}-var EQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function JCe(e) {+var TQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function nwe(e) {return [["legal_name",@@ -62127,7 +62209,7 @@ function JCe(e) {}]}] : []);}-function YCe(e) {+function rwe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -62184,14 +62266,14 @@ function YCe(e) {tags: e.tags}), t;}-function DQ(e, t = 4) {+function EQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function XCe(e) {+function iwe(e) {if (!e) return null;let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;return n.length || r > 0 ? {@@ -62201,19 +62283,19 @@ function XCe(e) {} : null;}// src/react/entity-hero/entity-hero-page.tsx-function ZCe(e) {- return Xa({+function awe(e) {+ return Za({id: e.id,hasImage: e.has_image,version: e.image_version,rep: e.has_avatar ? e.rep : null,- style: eo(e.avatar_focus),+ style: to(e.avatar_focus),focus: e.avatar_focus,standIn: e.avatar_stand_in});}-function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = SQ(e), c = UCe(e), l = s ? YCe(n.profile) : c ? JCe(n.company_profile) : [], u = KCe(n, e), d = EQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);+function owe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = xQ(e), c = ZCe(e), l = s ? rwe(n.profile) : c ? nwe(n.company_profile) : [], u = ewe(n, e), d = TQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);return (0, P.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, P.useEffect)(() => {@@ -62226,7 +62308,7 @@ function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, F.jsx)($Ce, {+ children: [/* @__PURE__ */ (0, F.jsx)(swe, {kind: e,name: t,helpers: o,@@ -62234,7 +62316,7 @@ function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, F.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, F.jsx)(LCe, {+ children: /* @__PURE__ */ (0, F.jsx)(GCe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -62249,13 +62331,13 @@ function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, F.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(HCe, {+ e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(XCe, {current: n.canonical_name,- choices: GCe(n),+ choices: $Ce(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, F.jsx)(eB, { item: {+ n.id ? /* @__PURE__ */ (0, F.jsx)(Zz, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -62263,7 +62345,7 @@ function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, F.jsx)(ewe, {+ /* @__PURE__ */ (0, F.jsx)(cwe, {kind: e,entity: n,actions: a@@ -62284,14 +62366,14 @@ function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, F.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, F.jsx)(owe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, F.jsx)(mwe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(swe, {+ d.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(hwe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(rwe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(dwe, {follow: n.follow,entity: n,actions: a@@ -62300,11 +62382,11 @@ function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, F.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, F.jsx)(iwe, {+ children: l.map((e) => /* @__PURE__ */ (0, F.jsx)(fwe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, F.jsx)(awe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, F.jsx)(pwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -62323,7 +62405,7 @@ function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z(Fn(e.k))}</span>${ZCe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${R(In(e.k))}</span>${awe(e)}` }}), /* @__PURE__ */ (0, F.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -62331,15 +62413,15 @@ function QCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(gQ, {+ }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function $Ce({ kind: e, name: t, helpers: n, people: r, company: i }) {- let [a] = (0, P.useState)(() => `${n.portraitImg()}<span>${z(Fn(t))}</span>`);+function swe({ kind: e, name: t, helpers: n, people: r, company: i }) {+ let [a] = (0, P.useState)(() => `${n.portraitImg()}<span>${R(In(t))}</span>`);return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-portrait": r ? "round" : "square","data-fit-native": i ? "mark" : "portrait",@@ -62347,54 +62429,54 @@ function $Ce({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function ewe({ kind: e, entity: t, actions: n }) {- let r = CQ(t), i = (e, t) => (r) => {+function cwe({ kind: e, entity: t, actions: n }) {+ let r = SQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, F.jsx)("a", {- href: hn("agency", r.name, r.id),+ href: gn("agency", r.name, r.id),"data-agency": r.name,onClick: i("agency", r.name),children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = XCe(t.name_groups);+ let e = iwe(t.name_groups);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, F.jsx)(OQ, { entity: t }),+ /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }),/* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(nwe, {+ t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(uwe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, F.jsx)(_Q, { name: "id-card" }),+ /* @__PURE__ */ (0, F.jsx)(gQ, { name: "id-card" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", {- lang: SF(e),+ lang: yF(e),children: e}, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(xQ, {+ e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(bQ, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, F.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, F.jsx)(kQ, {+ children: /* @__PURE__ */ (0, F.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, F.jsx)(OQ, {label: e.label,names: e.names}, t)) })@@ -62416,61 +62498,61 @@ function ewe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, F.jsx)(OQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }) : null,/* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {- href: hn("studio", l.name, l.id),+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {+ href: gn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, F.jsx)(twe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, F.jsx)(lwe, { aliases: s }) : null]});}-function twe({ aliases: e }) {- let { shown: t, rest: n } = DQ(e, 3);+function lwe({ aliases: e }) {+ let { shown: t, rest: n } = EQ(e, 3);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, F.jsx)(_Q, { name: "id-card" }),+ /* @__PURE__ */ (0, F.jsx)(gQ, { name: "id-card" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, F.jsx)(xQ, {+ n ? /* @__PURE__ */ (0, F.jsx)(bQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, F.jsx)("dl", { children: /* @__PURE__ */ (0, F.jsx)(kQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, F.jsx)("dl", { children: /* @__PURE__ */ (0, F.jsx)(OQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function nwe({ follow: e, actions: t }) {+function uwe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -62479,7 +62561,7 @@ function nwe({ follow: e, actions: t }) {})]});}-function rwe({ follow: e, entity: t, actions: n }) {+function dwe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, P.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -62493,12 +62575,12 @@ function rwe({ follow: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, F.jsxs)(Lz, {+ children: e.held.map((e) => /* @__PURE__ */ (0, F.jsxs)(Pz, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, F.jsx)(q, {size: "small",- ...Hz(r === e.key),+ ...zz(r === e.key),onClick: () => {a(e.key, e.name);},@@ -62513,37 +62595,37 @@ function rwe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function OQ({ entity: e }) {+function DQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function kQ({ label: e, names: t }) {+function OQ({ label: e, names: t }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, F.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {"data-pop-name": "",- lang: SF(e.name),+ lang: yF(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, F.jsx)("small", { children: e.reading }) : null]}, t))})] });}-function iwe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: e }), t] }), /* @__PURE__ */ (0, F.jsx)("dd", {+function fwe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: e }), t] }), /* @__PURE__ */ (0, F.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function awe({ tags: e }) {- let { shown: t, rest: n } = DQ(e);+function pwe({ tags: e }) {+ let { shown: t, rest: n } = EQ(e);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, F.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, F.jsx)(xQ, {+ }, e)), n ? /* @__PURE__ */ (0, F.jsx)(bQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -62559,18 +62641,18 @@ function awe({ tags: e }) {})}) : null] });}-function AQ({ mark: e }) {+function kQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, F.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, F.jsx)(_Q, { name: e.brand })+ children: /* @__PURE__ */ (0, F.jsx)(gQ, { 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">` : "");+ let t = L("globe") + ("site" in e ? `<img src="${R(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, F.jsx)("span", {"data-link-icon": "",dangerouslySetInnerHTML: { __html: t }});}-function owe({ link: e }) {+function mwe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, F.jsx)("a", {"data-link": "icon",@@ -62579,19 +62661,19 @@ function owe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, F.jsx)(AQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, F.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, F.jsx)(AQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, F.jsx)(kQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, F.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, F.jsx)(AQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(kQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -62603,7 +62685,7 @@ function owe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, F.jsx)(AQ, { mark: e.mark }),+ /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark }),/* @__PURE__ */ (0, F.jsx)("span", {"data-link-label": "",children: e.text@@ -62618,7 +62700,7 @@ function owe({ link: e }) {});}}-function swe({ entity: e, actions: t, helpers: n }) {+function hwe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, P.useState)(!!e.feed?.following), [a, o] = (0, P.useState)(!1), s = (0, P.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -62636,35 +62718,35 @@ function swe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entry-marks": "",- children: [EQ(e).map((e, t) => /* @__PURE__ */ (0, F.jsxs)("a", {+ children: [TQ(e).map((e, t) => /* @__PURE__ */ (0, F.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, F.jsx)(_Q, { name: e.mark }) : /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, F.jsx)(gQ, { name: e.mark }) : /* @__PURE__ */ (0, F.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, F.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(VCe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(YCe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: WCe(r)+ tip: QCe(r)}) : null]});}// src/react/entity-page/use-entity-online.ts-var cwe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function lwe(e, t, n) {- let [r, i] = (0, P.useState)(() => Qi(e));- r.author !== e && i(Qi(e));+var gwe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function _we(e, t, n) {+ let [r, i] = (0, P.useState)(() => $i(e));+ r.author !== e && i($i(e));let [a, o] = (0, P.useState)({author: e,media: ""@@ -62676,24 +62758,24 @@ function lwe(e, t, n) {let s = a.author === e ? a.media : "", c = (t) => o({author: e,media: t- }), l = Ri(r, 0), u = It({+ }), l = zi(r, 0), u = Lt({...l,enabled: t && !!e- }), d = Pt({- queryKey: zi,- queryFn: ({ signal: e }) => Bi(e),+ }), d = Ft({+ queryKey: Bi,+ queryFn: ({ signal: e }) => Vi(e),enabled: t- }), f = (0, P.useMemo)(() => Hi(u.data), [u.data]), p = u.isPending || u.isPlaceholderData, m = (0, P.useMemo)(() => {+ }), f = (0, P.useMemo)(() => Ui(u.data), [u.data]), p = u.isPending || u.isPlaceholderData, m = (0, P.useMemo)(() => {let e = {videos: 0,images: 0};- return (f?.groups || []).forEach((t) => Xi(t).forEach((t) => {+ return (f?.groups || []).forEach((t) => Zi(t).forEach((t) => {e[t === "image" ? "images" : "videos"] += 1;})), e;}, [f]), h = m.images > m.videos ? "images" : "videos";!s && f && !p && c(h);- let g = s || h, _ = (0, P.useMemo)(() => (f?.groups || []).filter((e) => Xi(e).has(g === "images" ? "image" : "video")), [f, g]), v = (0, P.useMemo)(() => ({+ let g = s || h, _ = (0, P.useMemo)(() => (f?.groups || []).filter((e) => Zi(e).has(g === "images" ? "image" : "video")), [f, g]), v = (0, P.useMemo)(() => ({sources: f?.sources || [],aliases: f?.author_aliases || [],credentials: new Set((d.data?.providers || []).filter((e) => e.present).map((e) => e.provider))@@ -62708,22 +62790,22 @@ function lwe(e, t, n) {photoLayouts: n.photoLayouts,imagesOnly: n.imagesOnly,status: r.status,- statuses: Mi,+ statuses: Ni,provider: r.provider,providers: (y.providers || []).map((e) => [e, b.get(e) || e]),tags: x.map(([e, t]) => ({k: e,- label: Ml(e),+ label: Nl(e),n: t,selected: r.tags.includes(e),- cat: ca(f?.groups || [], e)+ cat: la(f?.groups || [], e)})),- sorts: Ni.map(([e, t]) => ({+ sorts: Pi.map(([e, t]) => ({key: e,label: t,pressed: r.sort === e,dir: r.sort === e ? r.dir : "",- ariaLabel: ia(e, t, r.sort, r.dir)+ ariaLabel: aa(e, t, r.sort, r.dir)}))}, C = f?.counts || {}, w = r.status ? C[r.status] || 0 : Object.values(C).reduce((e, t) => e + (Number(t) || 0), 0), T = (e) => i((t) => ({...t,@@ -62740,15 +62822,15 @@ function lwe(e, t, n) {actions: {onlineMedia: (e) => c(e),onlineShuffle: () => T({- sort: Fi,- seed: cwe()+ sort: Ii,+ seed: gwe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),onlineProvider: (e) => T({ provider: r.provider === e ? "" : e }),onlineTag: (e) => T({ tags: r.tags.includes(e) ? r.tags.filter((t) => t !== e) : [...r.tags, e] }),onlineSort: (e) => {- let t = ra(e, r.sort, r.dir);+ let t = ia(e, r.sort, r.dir);t && T(t);}},@@ -62771,8 +62853,8 @@ function lwe(e, t, n) {};}// src/react/entity-page/entity-page-view.tsx-function uwe(e) {- let { kind: t, name: n } = e, r = Pt(UX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function vwe(e) {+ let { kind: t, name: n } = e, r = Ft(HX(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;@@ -62790,17 +62872,17 @@ function uwe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, F.jsx)(IW, {- message: Wn(r.error),+ ]), r.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ message: Gn(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(pwe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(xwe, {...e,entity: r.data});}-function jQ(e) {+function AQ(e) {let [t, n] = (0, P.useState)({key: e,n: 1@@ -62812,22 +62894,22 @@ function jQ(e) {};return n(r), r.n;}-var dwe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function fwe(e, t) {+var ywe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function bwe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function pwe(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 = It(WX(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 || GX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function xwe(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(UX(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 || WX(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- } : IX, [y, b] = (0, P.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, P.useState)(x);+ } : FX, [y, b] = (0, P.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, P.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = lwe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = _we(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, P.useState)(0), k = HX(e), A = Pt(k), j = jQ(JSON.stringify([k.queryKey, D])), [M] = (0, P.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, P.useState)(0), k = VX(e), A = Ft(k), j = AQ(JSON.stringify([k.queryKey, D])), [M] = (0, P.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));(0, P.useLayoutEffect)(() => {s.javContext(M);}, [s, M]);@@ -62837,26 +62919,26 @@ function pwe(e) {}, [e.layout, M]), te = {jav: e.jav,seed: e.seed- }, ne = (0, P.useCallback)((e, r, a) => VX(t, n, i, te, e, r, a), [j]), [N, re] = (0, P.useState)({}), ie = v.set, ae = N[ie] || "", oe = It({- ...WX(t, n, ie, ae),+ }, ne = (0, P.useCallback)((e, r, a) => BX(t, n, i, te, e, r, a), [j]), [N, re] = (0, P.useState)({}), ie = v.set, ae = N[ie] || "", oe = Lt({+ ...UX(t, n, ie, ae),enabled: w === "photos"- }), se = oe.data?.pages[0], ce = jQ(JSON.stringify(RX(t, n, ie, ae))), le = (0, P.useMemo)(() => {+ }), se = oe.data?.pages[0], ce = AQ(JSON.stringify(LX(t, n, ie, ae))), le = (0, P.useMemo)(() => {let e = oe.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: ce,- codeSets: t.id ? [] : GX(t),+ codeSets: t.id ? [] : WX(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};- }, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = Pt({- ...NX(d, o.feedRowHtml),+ }, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = Ft({+ ...MX(d, o.feedRowHtml),enabled: !!d}), pe = (0, P.useRef)(e.feedRevision);(0, P.useEffect)(() => {- pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: MX(d) }));+ pe.current !== e.feedRevision && (pe.current = e.feedRevision, V.invalidateQueries({ queryKey: jX(d) }));}, [d, e.feedRevision]);let me = !!A.data;(0, P.useEffect)(() => {@@ -62874,14 +62956,14 @@ function pwe(e) {(0, P.useEffect)(() => () => {he.current = !1;}, []);- let I = (0, P.useCallback)(async () => {- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: LX(t, n) }), await H.invalidateQueries({ queryKey: [+ let ge = (0, P.useCallback)(async () => {+ await V.invalidateQueries({ queryKey: ["entity-route"] }), await V.invalidateQueries({ queryKey: IX(t, n) }), await V.invalidateQueries({ queryKey: ["entity-items",t,n] });- }, [t, n]), ge = Ft({- mutationFn: (e) => on("/api/entity-alias", {+ }, [t, n]), _e = It({+ mutationFn: (e) => sn("/api/entity-alias", {method: "POST",body: JSON.stringify({kind: t,@@ -62889,9 +62971,9 @@ function pwe(e) {...e})}),- onSuccess: () => I()- }), _e = Ft({- mutationFn: ({ from: e, to: n }) => on("/api/entity-name", {+ onSuccess: () => ge()+ }), ve = It({+ mutationFn: ({ from: e, to: n }) => sn("/api/entity-name", {method: "POST",body: JSON.stringify({kind: t,@@ -62899,9 +62981,9 @@ function pwe(e) {canonical: n})}),- onSuccess: () => I()- }), ve = Ft({- mutationFn: (e) => on("/api/feeds/source", {+ onSuccess: () => ge()+ }), ye = It({+ mutationFn: (e) => sn("/api/feeds/source", {method: "POST",body: JSON.stringify({action: "follow",@@ -62909,35 +62991,35 @@ function pwe(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(LX(t, n), (e) => e && {+ onSuccess: (e, r) => V.setQueryData(IX(t, n), (e) => e && {...e,feed: {...e.feed,following: r}})- }), ye = Ft({ mutationFn: (e) => on("/api/follow/creator", {+ }), be = It({ mutationFn: (e) => sn("/api/follow/creator", {method: "POST",body: JSON.stringify({entity_id: d,key: e})- }) }), be = (0, P.useMemo)(() => ({+ }) }), xe = (0, P.useMemo)(() => ({openEntity: s.openEntity,chooseName: (e) => {let n = r.canonical_name;- e !== n && Vc({+ e !== n && Hc({title: "更改统一名称",body: `「${e}」将成为这份档案显示的名称,「${n}」留作别名。作品上的署名、搜索和标签都会跟着改写。`,confirmLabel: "更改统一名称",- onConfirm: () => _e.mutateAsync({+ onConfirm: () => ve.mutateAsync({from: n,to: e})}).then(({ confirmed: e, result: n }) => {let r = n;e && r?.changed && (o.receipt(`已把统一名称更改为 ${r.canonical_name}`, { undo: async () => {- await _e.mutateAsync({+ await ve.mutateAsync({from: r.canonical_name || "",to: r.previous_name || ""}), s.openEntity(t, r.previous_name || "");@@ -62945,11 +63027,11 @@ function pwe(e) {});},addAlias: () => {- o.aliasForm(r.user_aliases || [], (e) => ge.mutateAsync(e));+ o.aliasForm(r.user_aliases || [], (e) => _e.mutateAsync(e));},follow: async (e) => {try {- await ve.mutateAsync(e);+ await ye.mutateAsync(e);} catch (t) {throw o.failure(e ? "订阅新作" : "取消订阅新作", t), t;}@@ -62960,15 +63042,15 @@ function pwe(e) {await new Promise((e) => {setTimeout(e, 3e3);});- let e = await on("/api/feeds/check").catch(() => null);+ let e = await sn("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- he.current && await H.invalidateQueries({ queryKey: MX(d) });+ he.current && await V.invalidateQueries({ queryKey: jX(d) });})();},- feedAction: PX,+ feedAction: NX,avatarPicked: () => {- s.avatarChanged(), I().then(() => {+ s.avatarChanged(), ge().then(() => {he.current && O((e) => e + 1);});},@@ -62980,27 +63062,27 @@ function pwe(e) {},confirmFollowAuthor: async (e, t) => {try {- await ye.mutateAsync(e);+ await be.mutateAsync(e);} catch (e) {throw o.failure("关联关注中的创作者", e), e;}- o.receipt(`已把关注里的 ${t} 记到 ${r.canonical_name} 名下`), await I();+ o.receipt(`已把关注里的 ${t} 记到 ${r.canonical_name} 名下`), await ge();}}), [s,- ge,- ye,+ _e,+ be,r,d,i,- ve,+ ye,g,o,t,n,- I,- _e- ]), xe = (0, P.useMemo)(() => ({+ ge,+ ve+ ]), Se = (0, P.useMemo)(() => ({portraitImg: () => o.portraitImg(t, r),wireScroller: o.wireDrag,wireFeedRow: o.wireFeedRow,@@ -63009,24 +63091,24 @@ function pwe(e) {r,o,t- ]), Se = (0, P.useMemo)(() => ({+ ]), Ce = (0, P.useMemo)(() => ({setView: (e) => {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : IX));+ } : FX));},setState: (e) => s.route({...i,state: e- }, IX),+ }, FX),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = HX({+ let r = s.reshuffleVideos(), a = VX({kind: t,name: n,filters: {@@ -63037,10 +63119,10 @@ function pwe(e) {seed: r,revision: e.revision});- await H.fetchQuery(a).catch(() => null);+ await V.fetchQuery(a).catch(() => null);return;}- let r = dwe(), a = await H.fetchInfiniteQuery(WX(t, n, ie, r)).catch(() => null);+ let r = ywe(), a = await V.fetchInfiniteQuery(UX(t, n, ie, r)).catch(() => null);he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({...e,[ie]: r@@ -63064,19 +63146,19 @@ function pwe(e) {e.revision,w,ie- ]), Ce = (0, P.useMemo)(() => ({+ ]), we = (0, P.useMemo)(() => ({wireDrag: o.wireDrag,wireScroller: o.wireScroller,sourceToolsHtml: o.sourceToolsHtml,wireSourceTools: (e) => o.wireSourceTools(e, () => {ue();})- }), [o, ue]), we = (r.tags || []).map((e) => ({+ }), [o, ue]), Te = (r.tags || []).map((e) => ({k: e.k,- label: Ml(e.k),+ label: Nl(e.k),n: e.n,- selected: qxe(i.tag, e.k)- })), Te = [+ selected: tSe(i.tag, e.k)+ })), Ee = [u.length,!_,m,@@ -63091,40 +63173,40 @@ function pwe(e) {videos: _ ? null : { count: r.asset_count || 0 },photos: m ? { count: m } : null,online: g ? { count: r.follow?.n || 0 } : null- } : null, Ee = {+ } : null, De = {sorts: o.sortKeys(i.sort || "new", i.dir || "", M),jav: M ? {layout: e.javLayout,options: e.javLayouts} : null- }, De = !!se?.id && !se.error, Oe = se && !se.error ? {- back: De,+ }, Oe = !!se?.id && !se.error, ke = se && !se.error ? {+ back: Oe,shuffle: !!se.total,layout: e.photoLayout,layouts: e.photoLayouts,- setId: De ? Number(se.id) : 0- } : null, ke = o.comboItems(i), Ae = ke.length > 0 || !!i.state, je = w === "videos" && !!A.data && !(A.data.items || []).length, Me = () => s.route({+ setId: Oe ? Number(se.id) : 0+ } : null, Ae = o.comboItems(i), je = Ae.length > 0 || !!i.state, Me = w === "videos" && !!A.data && !(A.data.items || []).length, Ne = () => s.route({...i,state: "",tag: "",creator: "",studio: "",owner: ""- }, IX), 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()} 项更新`;+ }, FX), Pe = "", Fe = !1;+ if (w === "people") Pe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;+ else if (w === "online") Fe = T.busy, Pe = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {- Pe = !A.data;- let e = zX(i.tag).length;- Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else se && !se.error ? Ne = De ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : fwe(se, GX(se).length) : Pe = oe.isPending;- let Fe = (0, P.useMemo)(() => ({+ Fe = !A.data;+ let e = RX(i.tag).length;+ Pe = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;+ } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : bwe(se, WX(se).length) : Fe = oe.isPending;+ let Ie = (0, P.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {let e = await de();if (e.isError) throw e.error;}- }), [de, e.card.actions]), Ie = (0, P.useMemo)(() => u.length ? {+ }), [de, e.card.actions]), Le = (0, P.useMemo)(() => u.length ? {kind: t === "studio" ? "studios" : "performers",people: u,layout: e.peopleLayout@@ -63134,36 +63216,36 @@ function pwe(e) {u]);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(QCe, {+ /* @__PURE__ */ (0, F.jsx)(owe, {kind: t,name: n,entity: r,feedNew: fe.data ?? null,feedHost: d ? c.feed : null,jav: M,- actions: be,- helpers: xe+ actions: xe,+ helpers: Se}, D),- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(i_e, {+ (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(c_e, {kind: t,name: n,view: w,- views: Te,+ views: Ee,state: i.state || "",states: e.states,- tags: we,- combo: ke,- readout: Ne,- busy: Pe,- video: je ? null : Ee,- photo: Oe,+ tags: Te,+ combo: Ae,+ readout: Pe,+ busy: Fe,+ video: Me ? null : De,+ photo: ke,online: w === "online" ? T.head : null,- actions: Se,- helpers: Ce+ actions: Ce,+ helpers: we}), c.filter),- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Wge, {+ (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Jge, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(oCe, {+ children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(mCe, {view: T.view,media: T.media,result: T.result,@@ -63177,20 +63259,20 @@ function pwe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && A.isError ? /* @__PURE__ */ (0, F.jsx)(IW, {- message: Wn(A.error),+ }, T.key) : w === "videos" && A.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ message: Gn(A.error),onRetry: () => {A.refetch();}- }) : je ? /* @__PURE__ */ (0, F.jsx)(mwe, {- filtered: Ae,- onShowAll: Me,- onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, F.jsx)(ESe, {+ }) : Me ? /* @__PURE__ */ (0, F.jsx)(Swe, {+ filtered: je,+ onShowAll: Ne,+ onOnline: g ? () => Ce.setView("online") : void 0+ }) : /* @__PURE__ */ (0, F.jsx)(PSe, {kind: t,name: n,view: w,- roster: Ie,+ roster: Le,items: A.data ?? null,revision: j,fetchPage: ne,@@ -63205,7 +63287,7 @@ function pwe(e) {photoSize: e.photoSize,photoLayout: e.photoLayout,helpers: e.card.helpers,- actions: Fe,+ actions: Ie,layout: ee,selectMode: e.selectMode,selected: e.selected,@@ -63218,9 +63300,9 @@ function pwe(e) {}), c.body)] });}-function mwe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, F.jsx)(Rz, {- icon: Bz("search"),+function Swe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, F.jsx)(Fz, {+ icon: Lz("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, F.jsx)(q, {size: "small",@@ -63228,14 +63310,14 @@ function mwe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, F.jsx)(Rz, {- icon: Bz("film"),+ }) : /* @__PURE__ */ (0, F.jsx)(Fz, {+ icon: Lz("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, F.jsx)(lI, {+ }) : /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: "/",children: "浏览馆藏"@@ -63244,30 +63326,30 @@ function mwe({ filtered: e, onShowAll: t, onOnline: n }) {});}// src/react/diagnostics/diagnostics.ts-var MQ = ["diagnostics"], NQ = (e) => B("/api/diagnostics", e);-async function hwe(e) {- await H.fetchQuery({- queryKey: MQ,- queryFn: () => NQ(e),+var jQ = ["diagnostics"], MQ = (e) => z("/api/diagnostics", e);+async function Cwe(e) {+ await V.fetchQuery({+ queryKey: jQ,+ queryFn: () => MQ(e),staleTime: 1e4});}// src/react/feed-new/feed-new-page.tsx-function gwe({ host: e, revision: t, helpers: n, actions: r }) {- let i = Pt(NX(null, n.feedRowHtml)), a = (0, P.useRef)(t);+function wwe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = Ft(MX(null, n.feedRowHtml)), a = (0, P.useRef)(t);return (0, P.useEffect)(() => {- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: MX(null) }));- }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(gQ, {+ a.current !== t && (a.current = t, V.invalidateQueries({ queryKey: jX(null) }));+ }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: PX,+ act: NX,settled: r.settled}), e);}// src/react/index/index-search.tsx-var _we = Bz("search");-function PQ({ label: e, value: t, onQuery: n }) {+var Twe = Lz("search");+function NQ({ label: e, value: t, onQuery: n }) {let [r, i] = (0, P.useState)(t), a = (0, P.useRef)(!1), o = (0, P.useRef)(void 0);(0, P.useEffect)(() => {clearTimeout(o.current), i(t);@@ -63284,15 +63366,15 @@ function PQ({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, F.jsx)(jz, {+ children: /* @__PURE__ */ (0, F.jsx)(Oz, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, F.jsx)(Nz, {+ children: /* @__PURE__ */ (0, F.jsx)(Az, {type: "search",- leadingIcon: _we,+ leadingIcon: Twe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -63304,7 +63386,7 @@ function PQ({ label: e, value: t, onQuery: n }) {});}// src/react/index/tag-pagination.ts-function FQ(e) {+function PQ(e) {let [t, n] = (0, P.useState)({filter: e,pageIndex: 0,@@ -63321,7 +63403,7 @@ function FQ(e) {}), [e])};}-function IQ(e, t, n) {+function FQ(e, t, n) {let { pageIndex: r, pageSize: i } = t;(0, P.useEffect)(() => {if (e === void 0) return;@@ -63338,16 +63420,16 @@ function IQ(e, t, n) {]);}// src/react/components/board-tabs.tsx-function LQ({ value: e }) {+function IQ({ value: e }) {return /* @__PURE__ */ (0, F.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 vwe = "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 RQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, P.useRef)(null), o = XF(a);+var Ewe = "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 LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, P.useRef)(null), o = qF(a);return (0, P.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -63356,7 +63438,7 @@ function RQ({ 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, F.jsx)(vF, {+ }, [t]), /* @__PURE__ */ (0, F.jsx)(hF, {ref: o,role: "tablist","aria-label": n,@@ -63371,7 +63453,7 @@ function RQ({ 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 ? Bz(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? Lz(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "tab",@@ -63380,7 +63462,7 @@ function RQ({ 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: vwe,+ className: Ewe,onClick: () => {i || r(e.value);},@@ -63390,11 +63472,11 @@ function RQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"});}// src/react/index/index-tags.tsx-var zQ = () => /* @__PURE__ */ (0, F.jsx)("span", {+var RQ = () => /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), BQ = Bz("pencil"), VQ = (e, t) => ({+}), zQ = Lz("pencil"), BQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63403,7 +63485,7 @@ var zQ = () => /* @__PURE__ */ (0, F.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function ywe({ tag: e, actions: t }) {+function Dwe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -63412,13 +63494,13 @@ function ywe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": aZ(t.online, e.cat),+ "data-tag-cat": iZ(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, F.jsx)(zQ, {}),+ /* @__PURE__ */ (0, F.jsx)(RQ, {}),/* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -63429,32 +63511,32 @@ function ywe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(eB, { item: VQ(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, F.jsx)($z, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(Zz, { item: BQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, F.jsx)(Xz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, F.jsx)(BQ, {})+ children: /* @__PURE__ */ (0, F.jsx)(zQ, {})}) : null]});}-function HQ({ groups: e, actions: t }) {+function VQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, F.jsxs)("section", {"data-alpha-group": r,- className: HH({+ className: zH({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, F.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, F.jsx)(LQ, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, F.jsx)(IQ, { value: n.length })]}), /* @__PURE__ */ (0, F.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(ywe, {+ children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(Dwe, {tag: e,actions: t}, e.k))@@ -63462,26 +63544,26 @@ function HQ({ groups: e, actions: t }) {}, e))});}-var bwe = "\xA0";-function UQ({ tags: e, actions: t }) {+var Owe = "\xA0";+function HQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": aZ(t.online, e.cat),+ "data-tag-cat": iZ(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, F.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": aZ(t.online, e.cat),+ "data-tag-cat": iZ(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",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 truncate",- children: e.label + bwe+ children: e.label + Owe}), /* @__PURE__ */ (0, F.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -63490,16 +63572,16 @@ function UQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(eB, { item: VQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)($z, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(Zz, { item: BQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(Xz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, F.jsx)(BQ, {})+ children: /* @__PURE__ */ (0, F.jsx)(zQ, {})}) : null]}) : null]}, e.k))});}-var xwe = [[+var kwe = [["cloud","标签云","tags"@@ -63508,34 +63590,34 @@ var xwe = [["字母表","text-aa"]];-function WQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = XF();- return /* @__PURE__ */ (0, F.jsx)(eI, {+function UQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = qF();+ return /* @__PURE__ */ (0, F.jsx)(ZF, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [l ? /* @__PURE__ */ (0, F.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, F.jsx)(nI, {+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, F.jsx)($F, {"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, F.jsx)(nI, {+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, F.jsx)($F, {"data-tag-pill": "","data-tag-cat": "all",pressed: !!l.blocked,onPress: l.onBlocked,children: "已屏蔽内容"}) : null]- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(nI, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)($F, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : aZ(n, e),+ "data-tag-cat": e === "all" ? "all" : iZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, F.jsx)(zQ, {}), r]+ children: [/* @__PURE__ */ (0, F.jsx)(RQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {@@ -63556,19 +63638,19 @@ function WQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, F.jsx)(TR, {+ /* @__PURE__ */ (0, F.jsx)(SR, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${zU}`,- children: xwe.map(([e, t, n]) => {- let r = Bz(n);- return /* @__PURE__ */ (0, F.jsx)(ER, {+ className: `ml-auto ${IU}`,+ children: kwe.map(([e, t, n]) => {+ let r = Lz(n);+ return /* @__PURE__ */ (0, F.jsx)(CR, {value: e,"aria-label": t,"data-glass-segment": "",- className: BU,+ className: LU,children: /* @__PURE__ */ (0, F.jsx)("span", {title: t,className: "contents",@@ -63580,13 +63662,13 @@ function WQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function Swe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, F.jsxs)(Vk, {+function Awe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, F.jsxs)(Rk, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, F.jsx)(oV, {+ /* @__PURE__ */ (0, F.jsx)(rV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, F.jsxs)("span", {@@ -63617,29 +63699,29 @@ function Swe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {});}// src/react/toaster.tsx-var GQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {+var WQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), KQ = null, qQ = { "--floating-radius": "var(--radius-2xl)" };-function JQ() {- let e = KQ;- KQ = null, e?.root.unmount();-}-var YQ = (e, t) => {- if (KQ?.host === e) return;- JQ();- let n = (0, Rt.createRoot)(e);- KQ = {+}), GQ = null, KQ = { "--floating-radius": "var(--radius-2xl)" };+function qQ() {+ let e = GQ;+ GQ = null, e?.root.unmount();+}+var JQ = (e, t) => {+ if (GQ?.host === e) return;+ qQ();+ let n = (0, zt.createRoot)(e);+ GQ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, F.jsxs)(rH, { children: [/* @__PURE__ */ (0, F.jsx)(dH, {+ }, n.render(/* @__PURE__ */ (0, F.jsxs)(eH, { children: [/* @__PURE__ */ (0, F.jsx)(cH, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...qQ,+ ...KQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -63654,16 +63736,16 @@ var YQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: GQ(t.success, !0),- error: GQ(t.error, !1)+ success: WQ(t.success, !0),+ error: WQ(t.error, !1)}- }), /* @__PURE__ */ (0, F.jsx)(dH, {+ }), /* @__PURE__ */ (0, F.jsx)(cH, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...qQ,+ ...KQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -63678,13 +63760,13 @@ var YQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, Cwe = 6e3, XQ = (e, t) => {+}, jwe = 6e3, YQ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? oH.error : oH.success, r = t.action;+ let n = t.alert ? rH.error : rH.success, r = t.action;n(/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : Cwe,+ duration: t.timeout > 0 ? t.timeout : jwe,action: r ? {label: r.label,onClick: (e) => {@@ -63692,7 +63774,7 @@ var YQ = (e, t) => {}} : void 0});-}, ZQ = (e) => e.id ?? e.entity_id, QQ = {+}, XQ = (e) => e.id ?? e.entity_id, ZQ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",@@ -63700,26 +63782,26 @@ var YQ = (e, t) => {repair: "整理重复标签",block: "屏蔽内容",unblock: "恢复内容"-}, $Q = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function e$(e, t, n) {+}, QQ = (e, t) => B("/api/tag-management/preview", e, "POST", t);+async function $Q(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 Vc({- title: QQ[e.operation],+ return !(await Hc({+ title: ZQ[e.operation],body: i,- confirmLabel: QQ[e.operation],- onConfirm: () => V("/api/tag-management", {+ confirmLabel: ZQ[e.operation],+ onConfirm: () => B("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), XQ(`tag-management-${Date.now()}`, {- html: `已${QQ[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await V.invalidateQueries(), YQ(`tag-management-${Date.now()}`, {+ html: `已${ZQ[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function t$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, P.useRef)({operation: e,selected: t,@@ -63728,24 +63810,24 @@ function t$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }scope: i}), o = (0, P.useRef)({name: t[0]?.k || "",- target_id: t[0] ? ZQ(t[0]) : 0+ target_id: t[0] ? XQ(t[0]) : 0}), [s, c] = (0, P.useState)(null);return (0, P.useEffect)(() => {- let e = new AbortController(), t = a.current, n = zc({- title: QQ[t.operation],+ let e = new AbortController(), t = a.current, n = Bc({+ title: ZQ[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(ZQ),+ ids: t.selected.map(XQ),...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 $Q(n, e.signal)+ plan: await QQ(n, e.signal)};}});@@ -63756,14 +63838,14 @@ function t$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await e$(r.command, r.plan, e.signal) && t.done();+ await $Q(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(wwe, {+ }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Mwe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -63772,8 +63854,8 @@ function t$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}}), s.host) : null;}-function wwe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? ZQ(t[0]) : 0);+function Mwe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? XQ(t[0]) : 0);return (0, P.useEffect)(() => {r({name: i,@@ -63786,28 +63868,28 @@ function wwe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, F.jsx)(Pz, {+ ]), e === "rename" ? /* @__PURE__ */ (0, F.jsx)(jz, {autoFocus: !0,"aria-label": "标签名称",value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, F.jsx)(XJ, {+ }) : /* @__PURE__ */ (0, F.jsx)(GJ, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(ZQ(t)) === String(e));- n && s(ZQ(n));+ let n = t.find((t) => String(XQ(t)) === String(e));+ n && s(XQ(n));},- children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(AU, {- id: String(ZQ(e)),+ children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(DU, {+ id: String(XQ(e)),children: e.k- }, ZQ(e)))+ }, XQ(e)))});}// src/react/index/tag-manager.tsx-function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = (0, P.useRef)(null), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(t), [p, m] = (0, P.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, P.useState)(!1), [b, x] = (0, P.useState)(!1), S = JSON.stringify([o,_,@@ -63815,7 +63897,7 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,g,v,b- ]), { pagination: C, onChange: w } = FQ(S), T = new URLSearchParams({+ ]), { pagination: C, onChange: w } = PQ(S), T = new URLSearchParams({limit: String(C.pageSize),offset: String(C.pageIndex * C.pageSize),q: _,@@ -63823,34 +63905,34 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,view: g,state: b ? "blocked" : v ? "hidden" : "active",scope: o- }), E = Pt({+ }), E = Ft({queryKey: ["tag-management",o,"page",T.toString()],- queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)+ queryFn: ({ signal: e }) => z(`/api/tag-management?${T}`, e)});- IQ(E.data?.total, C, w);+ FQ(E.data?.total, C, w);let [D, O] = (0, P.useState)(/* @__PURE__ */ new Map());(0, P.useEffect)(() => {O(/* @__PURE__ */ new Map());}, [S]);- let k = new Set(D.keys()), [A, j] = (0, P.useState)(null), M = AH(), ee = E.data?.items || [], te = ee, ne = (s ? XX : YX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), N = te.map((e) => ({+ let k = new Set(D.keys()), [A, j] = (0, P.useState)(null), M = DH(), ee = E.data?.items || [], te = ee, ne = (s ? YX : JX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), N = te.map((e) => ({...e,label: e.k- })), re = g === "alphabet" ? oZ(N, (e) => e) : [], ie = [...D.values()], ae = (e) => {+ })), re = g === "alphabet" ? aZ(N, (e) => e) : [], ie = [...D.values()], ae = (e) => {M.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return e$(n, await $Q(n, t), t);+ return $Q(n, await QQ(n, t), t);}, (e) => {e && O(/* @__PURE__ */ new Map());});- }, oe = ie.map(ZQ), se = {+ }, oe = ie.map(XQ), se = {online: s,favorites: s,picked: k,@@ -63871,13 +63953,13 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: [e === void 0 ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mb-4 flex",- children: /* @__PURE__ */ (0, F.jsx)(PQ, {+ children: /* @__PURE__ */ (0, F.jsx)(NQ, {label: "过滤标签",value: l,onQuery: u})}) : null,- /* @__PURE__ */ (0, F.jsx)(WQ, {+ /* @__PURE__ */ (0, F.jsx)(UQ, {categories: ne,category: h,online: s,@@ -63905,7 +63987,7 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,} } : {}},actions: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, F.jsx)(iI, {+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, F.jsx)(tI, {busy: M.busy === "repair",onPress: () => ae({operation: "repair",@@ -63913,20 +63995,20 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),children: "整理重复标签"}) : null,- te.length ? /* @__PURE__ */ (0, F.jsx)(iI, {+ te.length ? /* @__PURE__ */ (0, F.jsx)(tI, {onPress: () => O((e) => new Map([...e, ...te.map((e) => [e.k, e])])),children: "选择本页"}) : null,- k.size ? /* @__PURE__ */ (0, F.jsx)(iI, {+ k.size ? /* @__PURE__ */ (0, F.jsx)(tI, {onPress: () => O(/* @__PURE__ */ new Map()),children: "清空选择"}) : null] })}),- E.isPending ? /* @__PURE__ */ (0, F.jsx)("div", { dangerouslySetInnerHTML: { __html: Fs({+ E.isPending ? /* @__PURE__ */ (0, F.jsx)("div", { dangerouslySetInnerHTML: { __html: Is({mode: g,pageSize: C.pageSize- }) } }) : E.isError ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ }) } }) : E.isError ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -63934,33 +64016,33 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: "立即重试"}),children: "无法读取标签"- }) : te.length ? g === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(HQ, {+ }) : te.length ? g === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {groups: re,actions: se- }) : /* @__PURE__ */ (0, F.jsx)(UQ, {+ }) : /* @__PURE__ */ (0, F.jsx)(HQ, {tags: N,actions: se- }) : /* @__PURE__ */ (0, F.jsx)(Lz, {+ }) : /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",children: "没有符合条件的标签。"}),E.data ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, F.jsx)($J, {+ children: /* @__PURE__ */ (0, F.jsx)(JJ, {label: "标签管理",total: E.data.total,pagination: C,onChange: w,unit: "个标签",pageUnit: "个",- pageSizes: Ps+ pageSizes: Fs})}) : null,- M.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ M.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",children: M.error}) : null,- /* @__PURE__ */ (0, F.jsxs)(Vk, {+ /* @__PURE__ */ (0, F.jsxs)(Rk, {label: "标签管理操作",count: `已选 ${k.size} 个标签`,visible: k.size > 0,@@ -63982,7 +64064,7 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Hz(!!M.busy),+ ...zz(!!M.busy),onClick: () => ae({operation: v ? "restore" : "hide",ids: oe@@ -63992,7 +64074,7 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,s ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Hz(!!M.busy),+ ...zz(!!M.busy),onClick: () => ae({operation: b ? "unblock" : "block",ids: oe@@ -64001,7 +64083,7 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}) : null]}),- A ? /* @__PURE__ */ (0, F.jsx)(t$, {+ A ? /* @__PURE__ */ (0, F.jsx)(e$, {operation: A,selected: ie,scope: o,@@ -64012,7 +64094,7 @@ function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,});}// src/react/index/index-page.tsx-var Twe = [+var Nwe = [{value: "studios",label: "厂牌",@@ -64028,7 +64110,7 @@ var Twe = [label: "系列",symbol: "list"}-], Ewe = [{+], Pwe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -64036,7 +64118,7 @@ var Twe = [value: "online",label: "在线",symbol: "rss"-}], Dwe = [+}], Fwe = [{value: "performers",label: "艺人",@@ -64052,7 +64134,7 @@ var Twe = [label: "在线",symbol: "rss"}-], Owe = {+], Iwe = {people: [["big","大图 · 竖幅头像",@@ -64081,20 +64163,20 @@ var Twe = ["layout-grid"]]};-function kwe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, F.jsx)(IU, {- "aria-label": `${JX[e]}索引版式`,+function Lwe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, F.jsx)(NU, {+ "aria-label": `${qX[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${LU}`,- children: Owe[e === "series" ? "series" : $X(e) ? "company" : "people"].map(([e, t, n]) => {- let r = Bz(n);- return /* @__PURE__ */ (0, F.jsx)(ER, {+ className: `flex-none ${PU}`,+ children: Iwe[e === "series" ? "series" : QX(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = Lz(n);+ return /* @__PURE__ */ (0, F.jsx)(CR, {value: e,"aria-label": t,- className: Yge,+ className: $ge,children: /* @__PURE__ */ (0, F.jsx)("span", {title: t,className: "contents",@@ -64104,14 +64186,14 @@ function kwe({ kind: e, layout: t, onChange: n }) {})});}-function Awe(e) {- let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => eZ({+function Rwe(e) {+ let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => $X({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [a, o] = (0, P.useState)(e.layout), [s, c] = (0, P.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, P.useState)("any"), d = (0, P.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = JX[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";+ })), [a, o] = (0, P.useState)(e.layout), [s, c] = (0, P.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, P.useState)("any"), d = (0, P.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = qX[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";(0, P.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -64130,7 +64212,7 @@ function Awe(e) {...t};x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });- }, { pagination: C, onChange: w } = FQ(JSON.stringify(r)), T = iZ(tZ(r), C.pageSize), E = It({+ }, { pagination: C, onChange: w } = PQ(JSON.stringify(r)), T = rZ(eZ(r), C.pageSize), E = Lt({queryKey: f === "tags" && (C.pageIndex || C.pageSize !== 100) ? [...T.queryKey,"page",@@ -64144,17 +64226,17 @@ function Awe(e) {initialPageParam: f === "tags" ? C.pageIndex * C.pageSize : 0,getNextPageParam: f === "tags" ? () => void 0 : T.getNextPageParam,enabled: !(t && f === "tags"),- placeholderData: b ? ke : void 0- }), D = cSe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;- IQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);- let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : lSe(D.length, !!E.hasNextPage), j = `${f}:${m}:${p}`, M = (0, P.useRef)(null), ee = E.data?.pages[0]?.categories;+ placeholderData: b ? Ae : void 0+ }), D = gSe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;+ FQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);+ let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : _Se(D.length, !!E.hasNextPage), j = `${f}:${m}:${p}`, M = (0, P.useRef)(null), ee = E.data?.pages[0]?.categories;ee && !E.isPlaceholderData && (M.current = {key: j,counts: ee});let te = ee ?? (M.current?.key === j ? M.current.counts : void 0), ne = E.isPending && !te, N = ([e]) => e === "all" || ne || Number(te?.[e] || 0) > 0;(0, P.useLayoutEffect)(() => {- d.current && bl(d.current);+ d.current && xl(d.current);}, [a]);let re = (0, P.useMemo)(() => f === "tags" ? D.map((t) => ({...t,@@ -64163,15 +64245,15 @@ function Awe(e) {D,f,v- ]), ie = (0, P.useMemo)(() => f === "tags" && h === "alphabet" ? oZ(re, (t) => v ? t : e.tagLabel(t)) : [], [+ ]), ie = (0, P.useMemo)(() => f === "tags" && h === "alphabet" ? aZ(re, (t) => v ? t : e.tagLabel(t)) : [], [re,h,f,v]), ae = (t) => {o(t), e.savePreference({ layout: t });- }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(RQ, {- tabs: Ewe,+ }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(LQ, {+ tabs: Pwe,value: m,label: "词表",onChange: (e) => {@@ -64181,8 +64263,8 @@ function Awe(e) {view: e === "online" ? "alphabet" : h});}- }) : $X(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(RQ, {- tabs: Twe,+ }) : QX(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(LQ, {+ tabs: Nwe,value: f,label: "资料类型",onChange: (e) => S({ kind: e })@@ -64191,7 +64273,7 @@ function Awe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : re.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, ce = (v ? XX : YX).filter(N);+ }, ce = (v ? YX : JX).filter(N);return /* @__PURE__ */ (0, F.jsxs)("div", {ref: d,"data-index-page": f,@@ -64206,23 +64288,23 @@ function Awe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: _}),- QX(f) ? /* @__PURE__ */ (0, F.jsx)("span", {+ ZX(f) ? /* @__PURE__ */ (0, F.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: E.isPending || E.isError ? "" : A}) : null,- QX(f) ? /* @__PURE__ */ (0, F.jsx)(kwe, {+ ZX(f) ? /* @__PURE__ */ (0, F.jsx)(Lwe, {kind: f,layout: a,onChange: ae}) : null,- /* @__PURE__ */ (0, F.jsx)(tB, { kind: f === "tags" ? "tag" : f === "series" ? "series" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, F.jsx)(Qz, { kind: f === "tags" ? "tag" : f === "series" ? "series" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),f === "tags" ? /* @__PURE__ */ (0, F.jsx)(q, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: Bz("pencil"),+ leadingIcon: Lz("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -64230,7 +64312,7 @@ function Awe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, F.jsx)(PQ, {+ /* @__PURE__ */ (0, F.jsx)(NQ, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64239,8 +64321,8 @@ function Awe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(RQ, {- tabs: Dwe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(LQ, {+ tabs: Fwe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -64252,7 +64334,7 @@ function Awe(e) {}}) : null,oe,- t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(n$, {+ t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(t$, {scope: m,search: p,category: g,@@ -64266,8 +64348,8 @@ function Awe(e) {}, m) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [f === "performers" && m === "local" ? /* @__PURE__ */ (0, F.jsx)("div", {"aria-label": "身份分类",- className: qX,- children: KX.filter((e) => e[0] === g || N(e)).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(q, {+ className: KX,+ children: GX.filter((e) => e[0] === g || N(e)).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(q, {variant: g === e ? "primary" : "secondary",size: "small","aria-pressed": g === e,@@ -64275,7 +64357,7 @@ function Awe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, F.jsx)(WQ, {+ f === "tags" ? /* @__PURE__ */ (0, F.jsx)(UQ, {categories: ce,category: g,online: v,@@ -64294,26 +64376,26 @@ function Awe(e) {children: (() => {if (E.isPending) return /* @__PURE__ */ (0, F.jsx)("div", {"aria-busy": "true",- dangerouslySetInnerHTML: { __html: f === "tags" ? Fs({+ dangerouslySetInnerHTML: { __html: f === "tags" ? Is({mode: h,pageSize: C.pageSize- }) : Rs({+ }) : zs({kind: f,layout: a,mode: h}) }});- if (E.isError) return /* @__PURE__ */ (0, F.jsx)(Rz, {- icon: Bz("alert"),+ if (E.isError) return /* @__PURE__ */ (0, F.jsx)(Fz, {+ icon: Lz("alert"),title: `没能读取${_}`,actions: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",onClick: () => void E.refetch(),children: "立即重试"}),- children: tn(E.error)+ children: nn(E.error)});- if (!D.length) return /* @__PURE__ */ (0, F.jsx)(Mwe, {+ if (!D.length) return /* @__PURE__ */ (0, F.jsx)(Bwe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -64322,12 +64404,12 @@ function Awe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, F.jsx)(mSe, {+ if (y) return /* @__PURE__ */ (0, F.jsx)(SSe, {items: D,layout: a,props: e});- if (QX(f)) return /* @__PURE__ */ (0, F.jsx)(dZ, {+ if (ZX(f)) return /* @__PURE__ */ (0, F.jsx)(uZ, {kind: f,items: D,layout: a,@@ -64338,10 +64420,10 @@ function Awe(e) {picked: s,press: se};- return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(HQ, {+ return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {groups: ie,actions: t- }) : /* @__PURE__ */ (0, F.jsx)(UQ, {+ }) : /* @__PURE__ */ (0, F.jsx)(HQ, {tags: re,actions: t});@@ -64349,14 +64431,14 @@ function Awe(e) {}),f === "tags" && !E.isPending && !E.isError ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, F.jsx)($J, {+ children: /* @__PURE__ */ (0, F.jsx)(JJ, {label: "标签",total: k ?? D.length,pagination: C,onChange: w,unit: "个标签",pageUnit: "个",- pageSizes: Ps+ pageSizes: Fs})}) : null,O ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -64370,11 +64452,11 @@ function Awe(e) {onClick: () => void E.fetchNextPage(),children: [E.isFetchingNextPage ? /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: bs("正在载入下一批") }+ dangerouslySetInnerHTML: { __html: xs("正在载入下一批") }}) : null, "载入更多"]})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(Swe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(Awe, {count: s.size,match: l,onMatch: u,@@ -64388,7 +64470,7 @@ function Awe(e) {]});}-var jwe = {+var zwe = {tags: "标签",performers: "艺人",creators: "卖家",@@ -64396,9 +64478,9 @@ var jwe = {agencies: "事务所",series: "系列"};-function Mwe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, F.jsx)(Rz, {- icon: Bz("search"),+function Bwe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, F.jsx)(Fz, {+ icon: Lz("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, F.jsx)(q, {size: "small",@@ -64407,16 +64489,16 @@ function Mwe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : jwe[e], a = /* @__PURE__ */ (0, F.jsx)(lI, {+ let i = n && e === "performers" ? "创作者" : zwe[e], a = /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, F.jsx)(Rz, {- icon: Bz(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, F.jsx)(Fz, {+ icon: Lz(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lI, {+ actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -64424,15 +64506,15 @@ function Mwe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var r$ = {+var n$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, Nwe = (e) => r$[e.junk_kind || "other"] || r$.other;-function Pwe(e) {+}, Vwe = (e) => n$[e.junk_kind || "other"] || n$.other;+function Hwe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -64443,40 +64525,40 @@ function Pwe(e) {glyph: "check"};}-var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Fwe = (e, t) => [+var r$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Uwe = (e, t) => ["junk-queue",e.view,e.kind,t];-function Iwe({ kind: e, view: t }) {+function Wwe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function Lwe(e, t) {- let n = await B(`/api/ads?${Iwe(e)}`, t);+async function Gwe(e, t) {+ let n = await z(`/api/ads?${Wwe(e)}`, t);return {...n,items: n.items || []};}// src/react/junk-queue/junk-card.tsx-function a$({ name: e }) {+function i$({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-var o$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, P.useRef)(null), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = e.junk_kind || "other", [f, p] = Nwe(e), m = String(e.name || ""), h = Pwe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {- t.target.closest("[data-junk-actions]") || o$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var a$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function Kwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, P.useRef)(null), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = e.junk_kind || "other", [f, p] = Vwe(e), m = String(e.name || ""), h = Hwe(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]") || a$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), o$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), a$(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) => {@@ -64491,12 +64573,12 @@ function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-middle-truncate": "",title: m,onClick: y,- dangerouslySetInnerHTML: { __html: z(m || "未命名资源") }+ dangerouslySetInnerHTML: { __html: R(m || "未命名资源") }}) : /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-title": "","data-middle-truncate": "",title: m,- dangerouslySetInnerHTML: { __html: z(m || "未命名资源") }+ dangerouslySetInnerHTML: { __html: R(m || "未命名资源") }});return /* @__PURE__ */ (0, F.jsxs)("article", {ref: o,@@ -64507,7 +64589,7 @@ function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: oG,+ onMouseDown: tG,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",@@ -64515,7 +64597,7 @@ function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, F.jsx)(a$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-art": "thumb",@@ -64527,7 +64609,7 @@ function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(a$, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(i$, { name: "check" })})]}),@@ -64546,7 +64628,7 @@ function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}) : null,/* @__PURE__ */ (0, F.jsx)("span", {"data-junk-size": "",- children: Number(e.size) > 0 ? jn(Number(e.size)) : "大小未知"+ children: Number(e.size) > 0 ? Mn(Number(e.size)) : "大小未知"})]})]@@ -64563,8 +64645,8 @@ function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionsonClick: b,children: [s === "reveal" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-spinner": "",- dangerouslySetInnerHTML: { __html: bs("正在定位") }- }) : /* @__PURE__ */ (0, F.jsx)(a$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {+ dangerouslySetInnerHTML: { __html: xs("正在定位") }+ }) : /* @__PURE__ */ (0, F.jsx)(i$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -64576,7 +64658,7 @@ function Rwe({ 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, F.jsx)(a$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -64588,7 +64670,7 @@ function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, F.jsx)(a$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -64603,7 +64685,7 @@ function Rwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var zwe = (0, P.memo)(Rwe), s$ = [+var qwe = (0, P.memo)(Kwe), o$ = [["","全部",@@ -64639,40 +64721,40 @@ var zwe = (0, P.memo)(Rwe), s$ = ["其它","hard-drive"]-], Bwe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";-function c$(e) {+], Jwe = (e) => o$.find(([t]) => t === e)?.[0] ?? "";+function s$(e) {let t = new URLSearchParams(e);return {- kind: Bwe(t.get("type")),+ kind: Jwe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function l$(e = "", t = "pending") {+function c$(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 u$(e) {+function l$(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: l$("", "pending")+ href: c$("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: l$("", "dismissed")+ href: c$("", "dismissed")};}-var d$ = (e) => e === "dismissed" ? "已排除" : "待判断", f$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function Vwe({ kind: e, view: t }) {- let n = s$.map(([n, r, i]) => `<a href="${l$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${f$(i)}${z(r)}</a>`).join(""), r = u$(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${gs(d$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${f$(r.glyph)}${r.label}</a></nav></div></div></div>`;+var u$ = (e) => e === "dismissed" ? "已排除" : "待判断", d$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function Ywe({ kind: e, view: t }) {+ let n = o$.map(([n, r, i]) => `<a href="${c$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${d$(i)}${R(r)}</a>`).join(""), r = l$(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${_s(u$(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\"" : ""}>${d$(r.glyph)}${r.label}</a></nav></div></div></div>`;}// src/react/components/collection-summary.tsx-function p$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function f$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, F.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@@ -64698,31 +64780,31 @@ function p$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !});}// src/react/junk-queue/junk-count.tsx-function m$({ name: e }) {+function p$({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function h$({ scope: e, count: t }) {+function m$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function Hwe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = sV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = sI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(t, e)).join(",") : ""}`), l = u$(s), u = (e) => {+function Xwe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = iV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = iI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? o$.map(([e]) => r$(t, e)).join(",") : ""}`), l = l$(s), u = (e) => {let t = e.target.closest("a");- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || l$()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || c$()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, F.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, F.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, F.jsx)(p$, {- label: d$(s),+ children: /* @__PURE__ */ (0, F.jsx)(f$, {+ label: u$(s),figure: d,pending: !t && !n,flush: !0@@ -64742,17 +64824,17 @@ function Hwe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- s$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {- href: l$(e, s),+ o$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {+ href: c$(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, F.jsx)(m$, { name: r }),+ /* @__PURE__ */ (0, F.jsx)(p$, { name: r }),n,- /* @__PURE__ */ (0, F.jsx)(h$, {+ /* @__PURE__ */ (0, F.jsx)(m$, {scope: e,- count: t ? i$(t, e) : 0+ count: t ? r$(t, e) : 0})]}, e || "all")),@@ -64766,9 +64848,9 @@ function Hwe({ 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, F.jsx)(m$, { name: l.glyph }),+ /* @__PURE__ */ (0, F.jsx)(p$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, F.jsx)(h$, {+ /* @__PURE__ */ (0, F.jsx)(m$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -64780,33 +64862,33 @@ function Hwe({ route: e, page: t, failed: n, onNavigate: r }) {});}// src/react/junk-queue/junk-queue-page.tsx-var Uwe = Bz("check"), Wwe = (e, t) => e[1] === t.view && e[2] === t.kind;-function Gwe(e) {+var Zwe = Lz("check"), Qwe = (e, t) => e[1] === t.view && e[2] === t.kind;+function $we(e) {let t = {kind: e.kind,view: e.view- }, n = Pt({- queryKey: Fwe(t, e.revision),- queryFn: ({ signal: e }) => Lwe(t, e),- placeholderData: (e, n) => n && Wwe(n.queryKey, t) ? e : void 0+ }, n = Ft({+ queryKey: Uwe(t, e.revision),+ queryFn: ({ signal: e }) => Gwe(t, e),+ placeholderData: (e, n) => n && Qwe(n.queryKey, t) ? e : void 0});(0, P.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = Kwe(e.countRow), i = n.isPending;+ let r = eTe(e.countRow), i = n.isPending;(0, P.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, P.useLayoutEffect)(() => {- r && n.data && Ms(r, "junk");+ r && n.data && Ns(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Hwe, {+ let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Xwe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(qwe, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(tTe, {props: e,data: n.data,pending: i,@@ -64814,7 +64896,7 @@ function Gwe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function Kwe(e) {+function eTe(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!e) return;@@ -64824,8 +64906,8 @@ function Kwe(e) {};}, [e]), t;}-function qwe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = FW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, P.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, P.useCallback)(() => {+function tTe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = AW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, P.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, P.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -64833,16 +64915,16 @@ function qwe({ 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, F.jsx)(IW, {- message: tn(r),+ if (!t) return /* @__PURE__ */ (0, F.jsx)(jW, {+ message: nn(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, F.jsx)(Rz, {- icon: Uwe,+ return /* @__PURE__ */ (0, F.jsx)(Fz, {+ icon: Zwe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, F.jsx)(lI, {+ actions: t ? /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: "/junk-files",children: "查看待判断"@@ -64855,7 +64937,7 @@ function qwe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, F.jsx)(zwe, {+ children: u.map((t) => /* @__PURE__ */ (0, F.jsx)(qwe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -64864,7 +64946,7 @@ function qwe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(Jwe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(nTe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, F.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -64874,35 +64956,35 @@ function qwe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function Jwe({ onMore: e }) {+function nTe({ onMore: e }) {let t = (0, P.useRef)(null);return (0, P.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: PW });+ }, { rootMargin: kW });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, F.jsx)("div", {ref: t,"data-load-more": "",onClick: e,- dangerouslySetInnerHTML: { __html: Ss(xs) }+ dangerouslySetInnerHTML: { __html: Cs(Ss) }});}// src/react/wants/wants.ts-var g$ = "/api/wants", _$ = ["wants"], Ywe = (e) => [+var h$ = "/api/wants", g$ = ["wants"], rTe = (e) => ["wants","follow",e-], Xwe = [+], iTe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], v$ = (e) => B(g$, e);-function Zwe(e, t) {- H.setQueryData(_$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], _$ = (e) => z(h$, e);+function aTe(e, t) {+ V.setQueryData(g$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -64910,130 +64992,130 @@ function Zwe(e, t) {} : n)} : n);}-var Qwe = (e, t) => B(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => V(g$, {+var oTe = (e, t) => z(`${h$}?follow=${encodeURIComponent(e)}`, t), v$ = (e, t) => B(h$, {action: "add",...e-}, "POST", t), b$ = (e, t) => V(g$, {+}, "POST", t), y$ = (e, t) => B(h$, {action: "remove",ids: e-}, "POST", t), $we = (e, t) => V(g$, {+}, "POST", t), sTe = (e, t) => B(h$, {action: "reset",ids: e-}, "POST", t), x$ = () => H.invalidateQueries({ queryKey: _$ }), eTe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function tTe(e) {+}, "POST", t), b$ = () => V.invalidateQueries({ queryKey: g$ }), cTe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function lTe(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/jav-navigation.ts-var S$ = [+var x$ = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", nTe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function rTe(e) {+], S$ = (e) => x$.some(([t]) => t === e) ? e : "library", uTe = (e) => S$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function dTe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}// src/react/jav/jav.ts-var w$ = (e, t = "taste", n = "desc") => [+var C$ = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function T$(e, t, n = {}) {+function w$(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",sort: n.sort || "taste",direction: n.direction || "desc"});- 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);+ return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), z(`/api/jav/discoveries?${r}`, t);}-function iTe(e, t, n) {- let r = io({+function fTe(e, t, n) {+ let r = ao({...e,is_jav: !0}, t, !1, n);if (r.html || !e.cover_url || !e.code) return r.html;- let i = z(Ka(e));- return no(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\"");+ let i = R(qa(e));+ return ro(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 aTe(e, t) {- e === "wants" ? await H.ensureQueryData({- queryKey: _$,- queryFn: () => v$(t),+async function pTe(e, t) {+ e === "wants" ? await V.ensureQueryData({+ queryKey: g$,+ queryFn: () => _$(t),staleTime: 3e4,revalidateIfStale: !0- }) : e === "discover" && await H.ensureQueryData({- queryKey: w$("external"),- queryFn: () => T$("external", t),+ }) : e === "discover" && await V.ensureQueryData({+ queryKey: C$("external"),+ queryFn: () => w$("external", t),staleTime: 3e4,revalidateIfStale: !0});}// src/react/components/fieldset-layout.ts-var E$ = HH({+var T$ = zH({padding: "none",bordered: "line",className: "overflow-hidden"-}), D$ = {+}), E$ = {split: "min-w-0 p-6",stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"-}, O$ = {+}, D$ = {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 k$(e) {- return `${E$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function O$(e) {+ return `${T$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}// src/management.ts-var A$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", oTe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[n]}"><div class="flex flex-col gap-2">+var k$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", A$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", j$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", M$ = "disabled data-skeleton-action", mTe = "aria-disabled=\"true\"", N$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, P$ = (e, t, n) => `<div class="${E$[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 sTe() {- return P$(`<section aria-label="扫描与采集" class="${k$("stack")}" data-cleanup-task data-cleanup-processing>- ${F$("扫描与采集", A$, "stack")}- <footer class="${O$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${as("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${cs({+function hTe() {+ return N$(`<section aria-label="扫描与采集" class="${O$("stack")}" data-cleanup-task data-cleanup-processing>+ ${P$("扫描与采集", k$, "stack")}+ <footer class="${D$.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>${os("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ls({label: "同步新增文件",- attrs: N$- })}${cs({+ attrs: M$+ })}${ls({glyph: "chevron-down",- attrs: `${N$} aria-label="更多同步方式"`+ attrs: `${M$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function cTe() {- return P$(`<section aria-label="媒体修复" class="${k$("split")}" data-cleanup-task data-cleanup-processing>- ${F$("媒体修复", j$, "split")}- <footer class="${O$.split}">${us(M$, {+function gTe() {+ return N$(`<section aria-label="媒体修复" class="${O$("split")}" data-cleanup-task data-cleanup-processing>+ ${P$("媒体修复", A$, "split")}+ <footer class="${D$.split}">${ds(j$, {className: "w-48",- attrs: oTe- })}${cs({+ attrs: mTe+ })}${ls({label: "开始修复",- attrs: N$+ attrs: M$})}</footer></section>`);}-function I$() {+function F$() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = E$, n = D$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${O$.stack}">${cs({+ ], t = T$, n = E$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${D$.stack}">${ls({label: e,- attrs: N$+ attrs: M$})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${as(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${M$}</strong><span class="text-caption-1-regular">${M$}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${os(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${j$}</strong><span class="text-caption-1-regular">${j$}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${sTe()}</div><div id="mediaRepair">${cTe()}</div>+ <div id="libraryProcessing">${hTe()}</div><div id="mediaRepair">${gTe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${us(M$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => cs({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${ds(j$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => ls({variant: "secondary",- label: M$,- attrs: N$+ label: j$,+ attrs: M$})).join("")}</div></div></div>${i("预览")}</section></div><section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[@@ -65041,57 +65123,57 @@ function I$() {"官网/事务所","社交账号","作品资料站"- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${M$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${M$}</div></div>${i("检查死链")}</div></section>+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${j$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${j$}</div></div>${i("检查死链")}</div></section></div></div>`;}// src/react/components/fieldset.tsx-var lTe = HH({+var _Te = zH({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), uTe = "border-t border-border-button-default p-4 first:border-t-0";-function L$({ id: e, gap: t = "none", children: n }) {+}), vTe = "border-t border-border-button-default p-4 first:border-t-0";+function I$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, F.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function L$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, F.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: k$(e),+ className: O$(e),children: [/* @__PURE__ */ (0, F.jsx)("div", {- className: D$[e],+ className: E$[e],children: a}), i ? /* @__PURE__ */ (0, F.jsx)("footer", {- className: O$[e],+ className: D$[e],children: i}) : null]});}// src/react/components/status-label.tsx-var dTe = {+var yTe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function z$({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, F.jsx)(cZ, {+function R$({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, F.jsx)(sZ, {"data-status-tone": e,variant: "caption",- color: dTe[e],+ color: yTe[e],...t});}// src/react/components/path-line.tsx-function fTe({ className: e }) {+function bTe({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -65104,8 +65186,8 @@ function fTe({ className: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-folder-open" })});}-var pTe = "打开文件管理器失败,请重试";-function B$({ path: e, prefix: t, className: n, onRevealed: r }) {+var xTe = "打开文件管理器失败,请重试";+function z$({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(""), c = (0, P.useRef)(!0);(0, P.useEffect)(() => () => {c.current = !1;@@ -65114,9 +65196,9 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {if (!i) {a(!0), s("");try {- await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");+ await B("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof Hn ? e.message : pTe);+ c.current && s(e instanceof Un ? e.message : xTe);} finally {c.current && a(!1);}@@ -65127,15 +65209,15 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, F.jsxs)("p", {- className: hF("min-w-0 break-all", n),+ className: K("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, F.jsx)(qF, {- icon: fTe,+ }), /* @__PURE__ */ (0, F.jsx)(WF, {+ icon: bTe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",onClick: () => void l(),- ...Hz(i)+ ...zz(i)})]}), o ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-caption-1-regular text-text-error-primary",@@ -65144,7 +65226,7 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {});}// src/react/library-processing/issue-export.ts-async function mTe(e, t) {+async function STe(e, t) {if (!e.job_id) throw Error("请先选择有问题记录的任务");let n = [], r = 1, i = "";for (let a = 0; a < r; a += 200) {@@ -65154,7 +65236,7 @@ async function mTe(e, t) {limit: "200"});i && o.set("revision", i);- let s = await B(`/api/library-processing/issues?${o}`, t);+ let s = await z(`/api/library-processing/issues?${o}`, t);if (t.throwIfAborted(), s.job_id !== e.job_id || s.offset !== a || i && (s.revision !== i || s.total !== r)) throw Error("问题记录已变化,请重新导出");if (a === 0 && (r = s.total, i = s.revision), s.rows.length !== Math.min(200, r - a)) throw Error("问题记录不完整,请重新导出");n.push(...s.rows);@@ -65167,41 +65249,41 @@ async function mTe(e, t) {rows: n}, null, 2);}-function hTe(e, t) {+function CTe(e, t) {let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);}// src/react/library-processing/library-processing-card.tsx-var gTe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", _Te = (e) => {+var wTe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", TTe = (e) => {let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;if (!t && !n && !r && !i) return "";let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];return r && a.push(`${r} 项同名人物资料需要确认是否为同一人`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;-}, vTe = (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} 部视频预览。` : "") + _Te(e);-function yTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = jhe(e), o = AH(), s = AH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = Ohe(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && _H(e), f = u && !!a?.log, p = mH(e), m = sV();+}, ETe = (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} 部视频预览。` : "") + TTe(e);+function DTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = Fhe(e), o = DH(), s = DH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = Mhe(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && mH(e), f = u && !!a?.log, p = dH(e), m = iV();return /* @__PURE__ */ (0, F.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- p ? /* @__PURE__ */ (0, F.jsx)(Phe, {+ p ? /* @__PURE__ */ (0, F.jsx)(Rhe, {state: e,slow: p- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "warning",title: "处理较慢",- children: gTe+ children: wTe}) : null,- u ? /* @__PURE__ */ (0, F.jsxs)(Lz, {+ u ? /* @__PURE__ */ (0, F.jsxs)(Pz, {tone: d ? "warning" : "error",className: "gap-0 p-3",title: d ? "处理已结束,部分项目需处理" : "处理未完成",action: /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [d ? /* @__PURE__ */ (0, F.jsx)(kH, {- href: yH,+ children: [d ? /* @__PURE__ */ (0, F.jsx)(EH, {+ href: gH,size: "small",- trailingIcon: fz,+ trailingIcon: lz,children: "查看全部内容"}) : null, c ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -65213,7 +65295,7 @@ function yTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}),extra: a ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, F.jsxs)(tU, {+ children: /* @__PURE__ */ (0, F.jsxs)(QH, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, F.jsx)("div", {@@ -65245,7 +65327,7 @@ function yTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, F.jsx)(B$, {+ children: /* @__PURE__ */ (0, F.jsx)(z$, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65254,55 +65336,55 @@ function yTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null]})}) : null,- children: [t || e.error || "处理未完成,请重试", d ? `\n${vH}` : null]+ children: [t || e.error || "处理未完成,请重试", d ? `\n${hH}` : null]}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ n?.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "success",title: "处理完成",- children: vTe(n)+ children: ETe(n)}) : null,- n?.status === "cancelled" ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ n?.status === "cancelled" ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",title: "任务已停止",children: "已取得的资料和预览已保留,不会自动继续这趟任务。"}) : null,- e.archived ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ e.archived ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",children: "上一趟的问题提示已归档,历史记录仍保留。"}) : null,- !gH(e) && (e.issue_count || e.status === "failed") ? /* @__PURE__ */ (0, F.jsxs)("div", {+ !pH(e) && (e.issue_count || e.status === "failed") ? /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [e.issue_count ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Hz(!!o.busy),- onClick: () => void o.run("export", (t) => mTe(e, t), (t) => {- hTe(e.job_id, t), i("已导出问题清单");+ ...zz(!!o.busy),+ onClick: () => void o.run("export", (t) => STe(e, t), (t) => {+ CTe(e.job_id, t), i("已导出问题清单");}),children: "导出完整问题清单"}) : null, e.archived ? null : /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Hz(!!s.busy),- onClick: () => void s.run("archive", (t) => V(fH, {+ ...zz(!!s.busy),+ onClick: () => void s.run("archive", (t) => B(lH, {action: "archive",job_id: e.job_id}, "POST", t), (e) => {- H.setQueryData(pH, e), i("已归档问题提示");+ V.setQueryData(uH, e), i("已归档问题提示");}),children: "归档提示"})]}) : null,- o.error || s.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ o.error || s.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "warning",children: o.error || s.error}) : null,- !gH(e) && l ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ !pH(e) && l ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",className: "gap-0 p-3",extra: e.issues_log && !f ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, F.jsx)(B$, {+ children: /* @__PURE__ */ (0, F.jsx)(z$, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65314,44 +65396,44 @@ function yTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function V$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = VH(e), o = Ft({- mutationFn: (e) => V(fH, e),+function B$(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = RH(e), o = It({+ mutationFn: (e) => B(lH, e),onSuccess: (e) => {- a(), H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });+ a(), V.setQueryData(uH, e), V.invalidateQueries({ queryKey: uH });}});(0, P.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = _U(c), u = o.error ? Wn(o.error) : r.isError ? r.data ? CH : Wn(r.error) : "", d = o.isPending || gH(s), f = async (e) => {+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = mU(c), u = o.error ? Gn(o.error) : r.isError ? r.data ? bH : Gn(r.error) : "", d = o.isPending || pH(s), f = async (e) => {d || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, F.jsx)(R$, {+ children: [/* @__PURE__ */ (0, F.jsx)(L$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(kH, {+ /* @__PURE__ */ (0, F.jsx)(EH, {href: "/sources",size: "small",- trailingIcon: fz,+ trailingIcon: lz,children: "来源和凭证"}),- /* @__PURE__ */ (0, F.jsx)(kH, {+ /* @__PURE__ */ (0, F.jsx)(EH, {href: "/settings/diagnostics",size: "small",- trailingIcon: fz,+ trailingIcon: lz,children: "诊断与日志"}),- s.candidates ? /* @__PURE__ */ (0, F.jsx)(kH, {+ s.candidates ? /* @__PURE__ */ (0, F.jsx)(EH, {href: "/review",size: "small",- trailingIcon: fz,+ trailingIcon: lz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, F.jsx)(PK, {+ /* @__PURE__ */ (0, F.jsx)(kK, {scan: !0,busy: d,metadataOnly: s?.metadata_only,@@ -65367,7 +65449,7 @@ function V$(e) {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(L$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, F.jsx)(cZ, {+ children: [/* @__PURE__ */ (0, F.jsx)(I$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, F.jsx)(sZ, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, F.jsxs)("span", {@@ -65375,31 +65457,31 @@ function V$(e) {children: [s.new_asset_count.toLocaleString(), " 部待补全"]})}) : null]- }), l && (gH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, F.jsx)(q, {+ }), l && (pH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- onClick: () => gU(c, !0),+ onClick: () => pU(c, !0),children: "显示进度浮窗"}) : null]}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: A$+ children: k$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, F.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, F.jsx)(z$, { children: "已暂停" })- }) : gH(s) ? /* @__PURE__ */ (0, F.jsx)(Yhe, { state: s }) : null,- gH(s) ? /* @__PURE__ */ (0, F.jsx)("p", {+ children: /* @__PURE__ */ (0, F.jsx)(R$, { children: "已暂停" })+ }) : pH(s) ? /* @__PURE__ */ (0, F.jsx)($he, { state: s }) : null,+ pH(s) ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: bH(s)+ children: _H(s)}) : null,- gH(s) ? /* @__PURE__ */ (0, F.jsx)(lU, { traffic: s.traffic }) : null,- gH(s) ? /* @__PURE__ */ (0, F.jsx)(BH, { state: s }) : null+ pH(s) ? /* @__PURE__ */ (0, F.jsx)(oU, { traffic: s.traffic }) : null,+ pH(s) ? /* @__PURE__ */ (0, F.jsx)(LH, { state: s }) : null]})- }), /* @__PURE__ */ (0, F.jsx)(yTe, {+ }), /* @__PURE__ */ (0, F.jsx)(DTe, {state: s,problem: u,settled: i,@@ -65414,32 +65496,32 @@ function V$(e) {});}// src/react/playlists/playlists.ts-var bTe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => B(bTe, e);-async function xTe(e) {- await H.fetchQuery({- queryKey: U$,- queryFn: () => W$(e),+var OTe = "/api/playlists", V$ = "/api/playlist", H$ = ["playlists"], U$ = (e) => z(OTe, e);+async function kTe(e) {+ await V.fetchQuery({+ queryKey: H$,+ queryFn: () => U$(e),staleTime: 0});}-var STe = () => H.invalidateQueries({- queryKey: U$,+var ATe = () => V.invalidateQueries({+ queryKey: H$,exact: !0-}), CTe = (e) => e.current_asset_id || e.preview_asset_id || null, wTe = (e) => `/poster?id=${e}&c=4`, TTe = (e) => V(H$, {+}), jTe = (e) => e.current_asset_id || e.preview_asset_id || null, MTe = (e) => `/poster?id=${e}&c=4`, NTe = (e) => B(V$, {action: "create",name: e,asset_ids: []-}), ETe = (e, t) => V(H$, {+}), PTe = (e, t) => B(V$, {action: "rename",id: e,name: t-}), DTe = (e) => V(H$, {+}), FTe = (e) => B(V$, {action: "delete",id: e-}), OTe = (e) => B(`${H$}?id=${e}`).catch(() => null);-function kTe(e) {+}), ITe = (e) => z(`${V$}?id=${e}`).catch(() => null);+function LTe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(H$, {+ return B(V$, {action: "create",name: e.name,asset_ids: t,@@ -65448,52 +65530,52 @@ function kTe(e) {});}// src/react/scraping/custom-source-data.ts-var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => B(G$, e), ATe = "/api/scraping", jTe = "/api/scraping/settings", MTe = "/api/scraping/check", J$ = "/api/scraping/cover", NTe = "/api/scraping/amane-bridge", PTe = "/api/scraping/amane-bridge/check", FTe = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], ITe = 262144, Q$ = (e) => B(ATe, e), $$ = (e) => B(J$, e), e1 = (e) => B(NTe, e);-async function LTe(e) {+var W$ = "/api/custom-metadata", G$ = ["custom-metadata"], K$ = (e) => z(W$, e), RTe = "/api/scraping", zTe = "/api/scraping/settings", BTe = "/api/scraping/check", q$ = "/api/scraping/cover", VTe = "/api/scraping/amane-bridge", HTe = "/api/scraping/amane-bridge/check", UTe = "/api/scraping/amane-bridge/rebuild", J$ = ["scraping"], Y$ = ["scraping", "cover"], X$ = ["scraping", "amane-bridge"], WTe = 262144, Z$ = (e) => z(RTe, e), Q$ = (e) => z(q$, e), $$ = (e) => z(VTe, e);+async function GTe(e) {await Promise.all([- H.fetchQuery({+ V.fetchQuery({+ queryKey: J$,+ queryFn: () => Z$(e)+ }),+ V.fetchQuery({queryKey: Y$,queryFn: () => Q$(e)}),- H.fetchQuery({+ V.fetchQuery({queryKey: X$,queryFn: () => $$(e)}),- H.fetchQuery({- queryKey: Z$,- queryFn: () => e1(e)- }),- H.fetchQuery({- queryKey: K$,- queryFn: () => q$(e)+ V.fetchQuery({+ queryKey: G$,+ queryFn: () => K$(e)})]);}-function RTe(e, t) {+function KTe(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}` : "");}// src/react/search/search.ts-var t1 = /* @__PURE__ */ new Set([+var e1 = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), n1 = /* @__PURE__ */ new Set([+]), t1 = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function zTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), n1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function qTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {...e,index: c++};return l.push(t), t;- }, d = t.filter((t) => !e || r1(t).includes(r1(e)));+ }, d = t.filter((t) => !e || n1(t).includes(n1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -65514,8 +65596,8 @@ function zTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !n1.has(e.kind)),- right: e.filter((e) => n1.has(e.kind)),+ left: e.filter((e) => !t1.has(e.kind)),+ right: e.filter((e) => t1.has(e.kind)),empty: !1,options: l};@@ -65565,7 +65647,7 @@ function zTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !t1.has(e.kind)).map(h), _ = m.filter((e) => t1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -65575,16 +65657,16 @@ function zTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function BTe(e, t, n = Math.random) {+function JTe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => n1(t) === n1(e))).slice(0, 5);}// src/react/search/search-page.tsx-var VTe = () => ({+var YTe = () => ({dismissed: !1,history: [],pool: [],@@ -65603,7 +65685,7 @@ var VTe = () => ({active: -1,reveal: !1,rewind: !1-}), i1 = (e) => zTe({+}), r1 = (e) => qTe({query: e.query,history: e.history,picks: e.picks,@@ -65612,18 +65694,18 @@ var VTe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), HTe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {+}), XTe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), i1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});-function UTe(e) {+function ZTe(e) {let t = (0, P.useRef)(e);t.current = e;let n = (0, P.useRef)(null);- n.current ??= VTe();+ n.current ??= YTe();let r = n.current, i = (0, P.useRef)(null), [, a] = (0, P.useReducer)((e) => e + 1, 0), o = (0, P.useRef)(null);- o.current ??= WTe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= QTe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, P.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus(), c = () => {@@ -65638,7 +65720,7 @@ function UTe(e) {let e = i.current?.closest("[data-search-menu]");r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;});- let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(KTe, {+ let c = r1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(eEe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65651,7 +65733,7 @@ function UTe(e) {children: [/* @__PURE__ */ (0, F.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, F.jsx)("a", {href: e.href,- onMouseDown: o1,+ onMouseDown: a1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -65670,7 +65752,7 @@ function UTe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, F.jsx)(GTe, {+ c.tabs ? /* @__PURE__ */ (0, F.jsx)($Te, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -65697,18 +65779,18 @@ function UTe(e) {]});}-function WTe(e, t, n, r) {+function QTe(e, t, n, r) {let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {t.history = n.slice(0, e().historyLimit);}, c = async () => {let n = e().historyLimit;if (!n) t.history = [];else try {- let e = await B(`/api/search-history?limit=${n}`);+ let e = await z(`/api/search-history?limit=${n}`);t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- t && e().historyLimit && (s([t, ...o().filter((e) => r1(e) !== r1(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => n1(e) !== n1(t))]), B("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -65733,7 +65815,7 @@ function WTe(e, t, n, r) {let r = ++t.suggestRequest;n || (t.asked = e);try {- let i = await B(`/api/suggest?q=${encodeURIComponent(e)}` + (n ? `&kind=${n}` : "") + "&limit=20");+ let i = await z(`/api/suggest?q=${encodeURIComponent(e)}` + (n ? `&kind=${n}` : "") + "&limit=20");if (r !== t.suggestRequest) return;t.suggestFor = i.q || "", t.groups = i.groups || [], !n && t.groups.length > 1 && (t.groups = t.groups.map((e) => ({...e,@@ -65755,9 +65837,9 @@ function WTe(e, t, n, r) {i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {if (t.dismissed) return;- t.query = i().value.trim(), t.picks = t.query ? [] : BTe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : JTe(t.pool, o()), t.active = -1;let a = n();- a && (HTe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (XTe(r1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -65769,7 +65851,7 @@ function WTe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {a() && t.kind === e && h();}));- }, v = () => p() ? i1(t).options : [], y = (e) => {+ }, v = () => p() ? r1(t).options : [], y = (e) => {let n = v();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, b = (t, n) => {@@ -65778,7 +65860,7 @@ function WTe(e, t, n, r) {}, x = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, S = (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 ? C(t.item.href) : t.type === "more" ? (b(!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" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!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 ? C(t.item.href) : t.type === "more" ? (b(!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" && e1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -65821,16 +65903,16 @@ function WTe(e, t, n, r) {m(), i().blur(), e().actions.openItem(t.id);},remove: async (e) => {- await V("/api/search-history", {+ await B("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => n1(t) !== n1(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function GTe({ tabs: e, kind: t, onPick: n, wire: r }) {+function $Te({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {r(i.current);@@ -65844,9 +65926,9 @@ function GTe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, F.jsx)(LQ, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, F.jsx)(IQ, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, F.jsxs)(vF, {+ return /* @__PURE__ */ (0, F.jsxs)(hF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -65855,8 +65937,8 @@ function GTe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var o1 = (e) => e.preventDefault();-function KTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var a1 = (e) => e.preventDefault();+function eEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -65868,33 +65950,33 @@ function KTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: o1,+ onMouseDown: a1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, F.jsx)(a1, { name: "chevron-right" })+ /* @__PURE__ */ (0, F.jsx)(i1, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, F.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, F.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, F.jsx)(i1, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, F.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: o1,+ onMouseDown: a1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, F.jsx)(a1, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(i1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = e1.has(c) ? c : void 0;if (["asset","jav",@@ -65908,8 +65990,8 @@ function KTe({ 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: o1,- children: [/* @__PURE__ */ (0, F.jsx)(s1, {+ onMouseDown: a1,+ children: [/* @__PURE__ */ (0, F.jsx)(o1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, F.jsxs)("span", {@@ -65934,9 +66016,9 @@ function KTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: o1,+ onMouseDown: a1,children: [- /* @__PURE__ */ (0, F.jsx)(c1, {+ /* @__PURE__ */ (0, F.jsx)(s1, {item: s,kind: c}),@@ -65959,11 +66041,11 @@ function KTe({ 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: o1,+ onMouseDown: a1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, F.jsx)(s1, {+ children: /* @__PURE__ */ (0, F.jsx)(o1, {card: e,helpers: n})@@ -65977,7 +66059,7 @@ function KTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, F.jsx)(c1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, F.jsx)(s1, {item: s,kind: c}) : null,@@ -65990,13 +66072,13 @@ function KTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function s1({ card: e, helpers: t }) {+function o1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, F.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function c1({ item: e, kind: t }) {+function s1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, F.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -66007,7 +66089,7 @@ function c1({ item: e, kind: t }) {image_version: e.image_version,avatar_focus: e.avatar_focus,avatar_stand_in: e.avatar_stand_in- }, r = Za(e.value, n, e.rep || null, t, e.mark || null, e.has_logo ? e.value : "", "icon", void 0, !0);+ }, r = Qa(e.value, n, e.rep || null, t, e.mark || null, e.has_logo ? e.value : "", "icon", void 0, !0);return /* @__PURE__ */ (0, F.jsx)("span", {"data-search-face": "","data-kind": t,@@ -66015,28 +66097,28 @@ function c1({ item: e, kind: t }) {});}// src/react/settings/configuration.ts-var l1 = ["configuration"], u1 = (e) => B(JY, e);-async function qTe(e) {- await H.fetchQuery({- queryKey: l1,- queryFn: () => u1(e)+var c1 = ["configuration"], l1 = (e) => z(qY, e);+async function tEe(e) {+ await V.fetchQuery({+ queryKey: c1,+ queryFn: () => l1(e)});}// src/react/settings-panel/legacy-controls.tsx-var d1 = (e) => e.map(([e, t, n]) => n ? [+var u1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function d1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(l);return f.current = l, (0, P.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = jc(t, n, d1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Mc(t, n, u1(r), i, {attr: a,className: o,text: s- }), Mc(e, a, (e) => {+ }), Nc(e, a, (e) => {d.current = {value: e,epoch: c@@ -66050,18 +66132,18 @@ function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function p1({ 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 f1({ 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, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(-1), m = (0, P.useRef)(l);return m.current = l, (0, P.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = Jo(d1(n), r, { label: t });- let i = Yo(e.firstElementChild);+ e.innerHTML = Yo(u1(n), r, { label: t });+ let i = Xo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}let o = f.current;- o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && Oc(o, a), u?.(o);+ o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && kc(o, a), u?.(o);}), /* @__PURE__ */ (0, F.jsx)("div", {id: e,ref: d,@@ -66069,7 +66151,7 @@ function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function JTe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function nEe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)({onStep: a,onSettle: o@@ -66079,14 +66161,14 @@ function JTe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSetonSettle: o}, (0, P.useLayoutEffect)(() => {let i = s.current;- i && !c.current && (i.insertAdjacentHTML("beforeend", Pc({+ i && !c.current && (i.insertAdjacentHTML("beforeend", Fc({value: r,min: 0,max: n,step: 1,label: t,attr: `data-glow-dial="${e}"`- })), c.current = Fc(i.lastElementChild, {+ })), c.current = Ic(i.lastElementChild, {onInput: (e) => l.current.onStep(e),onChange: (e) => l.current.onSettle(e)}));@@ -66103,7 +66185,7 @@ function JTe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet});}// src/react/settings-panel/glow-settings.tsx-var YTe = [+var rEe = [["strength","强度",@@ -66130,8 +66212,8 @@ var YTe = [100]];-function XTe({ host: e, spot: t, index: n, glow: r }) {- let i = Soe[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = sV(), [l, u] = (0, P.useState)("all");+function iEe({ host: e, spot: t, index: n, glow: r }) {+ let i = Eoe[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = iV(), [l, u] = (0, P.useState)("all");(0, P.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -66140,11 +66222,11 @@ function XTe({ host: e, spot: t, index: n, glow: r }) {];e && t && n && (t.addEventListener("click", () => {n.style.width = `${t.offsetWidth}px`;- }), Ko(e, t, n));+ }), qo(e, t, n));}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = pA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Bo(), o.current?.focus();+ r[t].color = uA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Vo(), o.current?.focus();};return /* @__PURE__ */ (0, F.jsxs)("div", {"data-glow-stop": t,@@ -66169,7 +66251,7 @@ function XTe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, F.jsx)(wP, { name: "chevron-down" })+ /* @__PURE__ */ (0, F.jsx)(SP, { name: "chevron-down" })]}), /* @__PURE__ */ (0, F.jsxs)("div", {className: "popmenu",@@ -66181,7 +66263,7 @@ function XTe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: Toe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: koe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -66195,7 +66277,7 @@ function XTe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: Eoe.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: Aoe.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -66212,8 +66294,8 @@ function XTe({ host: e, spot: t, index: n, glow: r }) {})]});}-function ZTe({ host: e }) {- let t = e.store.value.homeGlow, n = oA(t.preset);+function aEe({ host: e }) {+ let t = e.store.value.homeGlow, n = rA(t.preset);return /* @__PURE__ */ (0, F.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -66232,10 +66314,10 @@ function ZTe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, F.jsx)("b", {"data-glow-preset-name": "",- children: Coe(t.preset)+ children: Doe(t.preset)})]}),- /* @__PURE__ */ (0, F.jsx)(ij, {+ /* @__PURE__ */ (0, F.jsx)(tj, {store: e.store,label: "光晕配色"}),@@ -66246,7 +66328,7 @@ function ZTe({ host: e }) {}),/* @__PURE__ */ (0, F.jsx)("div", {"data-glow-fields": "",- children: YTe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(JTe, {+ children: rEe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(nEe, {field: r,label: i,max: a,@@ -66267,7 +66349,7 @@ function ZTe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = hA(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = pA(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -66286,7 +66368,7 @@ function ZTe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, F.jsx)("div", {"data-glow-stops": "",- children: rA.map((n, r) => /* @__PURE__ */ (0, F.jsx)(XTe, {+ children: eA.map((n, r) => /* @__PURE__ */ (0, F.jsx)(iEe, {host: e,spot: n,index: r,@@ -66298,7 +66380,7 @@ function ZTe({ host: e }) {});}// src/react/settings-panel/number-setting.tsx-var QTe = {+var oEe = {batchSizeSetting: {min: 1,max: 200,@@ -66345,22 +66427,22 @@ var QTe = {optional: !0,fallback: 60}-}, m1 = (e) => `peach.number.${e}`;-function h1(e, t) {+}, p1 = (e) => `peach.number.${e}`;+function m1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = QTe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);- d.current ||= Kk(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);+function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = oEe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);+ d.current ||= Uk(Number(localStorage.getItem(p1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, P.useState)(n ?? 0), [m, h] = (0, P.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, P.useState)(""), v = (0, P.useRef)(null), y = (0, P.useRef)(i);y.current = i, (0, P.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(m1(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(p1(e), String(d.current)), y.current(d.current)));}, x = (0, P.useRef)(b);x.current = b, (0, P.useEffect)(() => {let e = v.current;@@ -66370,7 +66452,7 @@ function g1({ 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(m1(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(p1(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, F.jsxs)("div", {"data-number-setting": "",@@ -66407,7 +66489,7 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": "true",- children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]+ children: [c, m1(Number(m), c) ? ` · ${m1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, F.jsx)("small", {id: `${e}-error`,@@ -66420,13 +66502,13 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {});}// src/react/sidebar/sidebar-order.ts-function _1(e) {- let { mutate: t } = oX();+function g1(e) {+ let { mutate: t } = aX();return (0, P.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function v1(e, t, n, r) {+function _1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -66435,23 +66517,23 @@ function v1(e, t, n, r) {return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}// src/react/settings-panel/sidebar-order.tsx-var $Te = "__home__", y1 = (e) => e === "" ? $Te : e;-function eEe({ host: e }) {- let t = _1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(!1), [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (e, r, i) => {- let a = v1(n, e, r, i);+var sEe = "__home__", v1 = (e) => e === "" ? sEe : e;+function cEe({ host: e }) {+ let t = g1(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, P.useState)(null), [c, l] = (0, P.useState)(!1), [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (e, r, i) => {+ let a = _1(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]) => y1(e) === o) ?? a[0], y = () => {- h.current && Uo(h.current), l(!1);+ }, v = a.find(([e]) => v1(e) === o) ?? a[0], y = () => {+ h.current && Wo(h.current), l(!1);}, b = () => {let e = h.current;if (!e) return;let t = !c;- t ? Ho(e) : Uo(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();+ t ? Uo(e) : Wo(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();}, x = (e) => {if (e.key === "Escape") {e.preventDefault(), y(), m.current?.focus();@@ -66466,7 +66548,7 @@ function eEe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", v1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -66498,9 +66580,9 @@ function eEe({ host: e }) {/* @__PURE__ */ (0, F.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(wP, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, F.jsx)(SP, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, F.jsx)(wP, { name: a ?? "" }),+ /* @__PURE__ */ (0, F.jsx)(SP, { name: a ?? "" }),/* @__PURE__ */ (0, F.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, F.jsxs)("span", {@@ -66514,7 +66596,7 @@ function eEe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, F.jsx)(wP, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, F.jsx)(SP, { name: "chevron-up" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66524,7 +66606,7 @@ function eEe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, F.jsx)(wP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(SP, { name: "chevron-down" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66536,11 +66618,11 @@ function eEe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, F.jsx)(wP, { name: "eye-off" })+ children: /* @__PURE__ */ (0, F.jsx)(SP, { name: "eye-off" })})]})]- }, y1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {+ }, v1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-sidebar-add-picker": "",@@ -66556,13 +66638,13 @@ function eEe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(wP, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, F.jsx)(SP, { name: v[2] ?? "" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, F.jsx)(wP, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(wP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, F.jsx)(SP, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(SP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, F.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66573,15 +66655,15 @@ function eEe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": y1(e),+ "data-sidebar-add-option": v1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(y1(e)), y(), m.current?.focus();+ s(v1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, F.jsx)(wP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]- }, y1(e)))+ children: [/* @__PURE__ */ (0, F.jsx)(SP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]+ }, v1(e)))}) : null]}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66597,13 +66679,13 @@ function eEe({ host: e }) {});}// src/react/settings-panel/settings-panel.tsx-var b1 = [+var y1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], tEe = [+], lEe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -66612,7 +66694,7 @@ var b1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], nEe = [["desc", "降序"], ["asc", "升序"]], rEe = [[+], uEe = [["desc", "降序"], ["asc", "升序"]], dEe = [["cover","官方封面",""@@ -66620,7 +66702,7 @@ var b1 = ["thumbnail","预览图",""-]], iEe = [+]], fEe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -66639,88 +66721,88 @@ var b1 = ["切片","隐藏切片"]-], aEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {+], pEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", b1 = null, x1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();-function oEe(e) {- return T1.add(e), () => {- T1.delete(e);+}, S1 = 0, C1 = null, w1 = /* @__PURE__ */ new Set();+function mEe(e) {+ return w1.add(e), () => {+ w1.delete(e);};}-function sEe() {- for (let e of [...T1]) e();+function hEe() {+ for (let e of [...w1]) e();}-function E1(e) {- S1 = {- ...S1,+function T1(e) {+ x1 = {+ ...x1,...e- }, (0, Lt.flushSync)(sEe);+ }, (0, Rt.flushSync)(hEe);}-async function cEe(e) {- let t = S1.epoch, n = await e.configurable();- S1.open && S1.epoch === t && E1({ configurable: n });+async function gEe(e) {+ let t = x1.epoch, n = await e.configurable();+ x1.open && x1.epoch === t && T1({ configurable: n });}-function lEe(e = "") {- let t = x1;+function _Ee(e = "") {+ let t = b1;if (!t) return;- let n = b1.findIndex(([t]) => t === e);- if (S1.open && !S1.closing) {- n >= 0 && n !== S1.tab && E1({ tab: n });+ let n = y1.findIndex(([t]) => t === e);+ if (x1.open && !x1.closing) {+ n >= 0 && n !== x1.tab && T1({ tab: n });return;}- Bo(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = Jbe();- E1({+ Vo(), S1 += 1, C1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = nxe();+ T1({open: !0,closing: !1,configurable: null,- epoch: S1.epoch + 1,- tab: n >= 0 ? n : S1.tab+ epoch: x1.epoch + 1,+ tab: n >= 0 ? n : x1.tab}), r.then((e) => {e && t.syncRemote(e);- }), cEe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), gEe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function D1(e = !0) {- if (!S1.open || S1.closing) return;- let t = ++C1;- e && x1?.closed?.(), E1({ closing: !0 });+function E1(e = !0) {+ if (!x1.open || x1.closing) return;+ let t = ++S1;+ e && b1?.closed?.(), T1({ closing: !0 });let n = () => {- t === C1 && S1.closing && (E1({+ t === S1 && x1.closing && (T1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), C1 instanceof HTMLElement && document.contains(C1) && C1.focus(), C1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var uEe = {- open: lEe,- close: D1,- isOpen: () => S1.open,+var vEe = {+ open: _Ee,+ close: E1,+ isOpen: () => x1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function dEe(e) {- return x1 = e, uEe;+function yEe(e) {+ return b1 = e, vEe;}-function fEe() {- let e = (0, P.useSyncExternalStore)(oEe, () => S1);- return x1 ? /* @__PURE__ */ (0, F.jsx)(hEe, {- host: x1,+function bEe() {+ let e = (0, P.useSyncExternalStore)(mEe, () => x1);+ return b1 ? /* @__PURE__ */ (0, F.jsx)(CEe, {+ host: b1,view: e}) : null;}-function pEe(e) {+function xEe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(aEe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(pEe)].filter((e) => e.getClientRects().length > 0);if (!t.length) return;let n = t[0], r = t[t.length - 1];e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());}-var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;-function mEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var D1 = (e) => `settings-tab-${e}`, O1 = (e) => `settings-group-${e}`;+function SEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(e), l = (0, P.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -66735,12 +66817,12 @@ function mEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectw: e.offsetWidth,h: e.offsetHeight}, i = s.current;- s.current = r, Sc(n, t ? i : null, r, "y");+ s.current = r, Cc(n, t ? i : null, r, "y");}, d = (0, P.useRef)(u);d.current = u, (0, P.useLayoutEffect)(() => {let e = a.current;if (!e) return;- cc(e);+ lc(e);let t = new ResizeObserver(() => d.current(l.current[c.current], !1));return t.observe(e), () => t.disconnect();}, []), (0, P.useLayoutEffect)(() => {@@ -66748,7 +66830,7 @@ function mEe({ 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 = b1.length, r = t;+ let n = y1.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;@@ -66777,11 +66859,11 @@ function mEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- b1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {+ y1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "tab",- id: O1(r),- "aria-controls": k1(r),+ id: D1(r),+ "aria-controls": O1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -66792,7 +66874,7 @@ function mEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(wP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(Hce, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(SP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(Gce, { name: n }), t]}, t)),/* @__PURE__ */ (0, F.jsx)("div", {"data-settings-service": "",@@ -66803,27 +66885,27 @@ function mEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, F.jsx)(wP, { name: "folder-cog" }),+ /* @__PURE__ */ (0, F.jsx)(SP, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, F.jsx)(wP, { name: "chevron-right" })+ /* @__PURE__ */ (0, F.jsx)(SP, { name: "chevron-right" })]})})]});}-function A1({ index: e, tab: t, children: n, cards: r = !1 }) {+function k1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, F.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: k1(e),+ id: O1(e),role: "tabpanel",- "aria-labelledby": O1(e),+ "aria-labelledby": D1(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: b1[e][0] }), n]+ children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: y1[e][0] }), n]});}-function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, F.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, F.jsxs)("span", { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, F.jsx)("small", {@@ -66840,7 +66922,7 @@ function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function M1({ title: e, description: t, kind: n, children: r }) {+function j1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -66848,7 +66930,7 @@ function M1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, F.jsxs)("span", { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, F.jsx)("small", { children: t }) : t] }), r]});}-function hEe({ host: e, view: t }) {+function CEe({ host: e, view: t }) {(0, P.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -66859,17 +66941,17 @@ function hEe({ host: e, view: t }) {u.current = l, (0, P.useLayoutEffect)(() => {let t = o.current;if (!t || !r.current) return;- s.current = vo(t) ?? s.current, e.attached(r.current);+ s.current = yo(t) ?? s.current, e.attached(r.current);let n = () => u.current();return t.addEventListener("scroll", n, { passive: !0 }), () => t.removeEventListener("scroll", n);}, [e]), (0, P.useLayoutEffect)(() => {let e = c.current !== t.tab;- c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && Ns(a.current, "h2"), u.current();+ c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && Ps(a.current, "h2"), u.current();}, [t.tab, t.epoch]), (0, P.useLayoutEffect)(() => {s.current?.();});let d = t.epoch, f = (t) => {- t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));+ t !== x1.tab && (T1({ tab: t }), e.selectSection?.(y1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, F.jsx)("section", {"data-settings-panel": "",@@ -66880,9 +66962,9 @@ function hEe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: pEe,+ onKeyDown: xEe,onClick: (e) => {- e.target === e.currentTarget && D1();+ e.target === e.currentTarget && E1();},children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-settings-card": "",@@ -66893,27 +66975,27 @@ function hEe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, F.jsx)("h2", {id: "settingsTitle",- children: b1[t.tab][0]- }), /* @__PURE__ */ (0, F.jsx)(Vz, {+ children: y1[t.tab][0]+ }), /* @__PURE__ */ (0, F.jsx)(Rz, {id: "settingsClose",label: "关闭设置",- onPress: () => D1()+ onPress: () => E1()})]}),- /* @__PURE__ */ (0, F.jsx)(mEe, {+ /* @__PURE__ */ (0, F.jsx)(SEe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- D1(!1), e.openConfiguration();+ E1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, F.jsxs)(A1, {+ /* @__PURE__ */ (0, F.jsxs)(k1, {index: 0,tab: t.tab,cards: !0,@@ -66921,9 +67003,9 @@ function hEe({ host: e, view: t }) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "主题",- children: /* @__PURE__ */ (0, F.jsx)(f1, {+ children: /* @__PURE__ */ (0, F.jsx)(d1, {id: "themeSetting",name: "theme",legend: "主题",@@ -66951,7 +67033,7 @@ function hEe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(A1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -66959,7 +67041,7 @@ function hEe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(A1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -66969,7 +67051,7 @@ function hEe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, F.jsx)(ZTe, { host: e }),+ /* @__PURE__ */ (0, F.jsx)(aEe, { host: e }),/* @__PURE__ */ (0, F.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -66981,35 +67063,35 @@ function hEe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, F.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, F.jsx)(eEe, { host: e })+ children: /* @__PURE__ */ (0, F.jsx)(cEe, { host: e })})})]})]}),- /* @__PURE__ */ (0, F.jsx)(_Ee, {+ /* @__PURE__ */ (0, F.jsx)(TEe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, F.jsx)(vEe, {+ /* @__PURE__ */ (0, F.jsx)(EEe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, F.jsxs)(A1, {+ /* @__PURE__ */ (0, F.jsxs)(k1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, F.jsx)(xEe, {+ /* @__PURE__ */ (0, F.jsx)(kEe, {host: e,epoch: d}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(g1, {+ children: /* @__PURE__ */ (0, F.jsx)(h1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -67019,24 +67101,24 @@ function hEe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "口味与记录",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, F.jsx)(lI, {+ children: /* @__PURE__ */ (0, F.jsx)(oI, {variant: "secondary",href: "/taste",- onClick: () => D1(!1),+ onClick: () => E1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(k1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, F.jsx)(j1, {+ children: /* @__PURE__ */ (0, F.jsx)(A1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -67051,19 +67133,19 @@ function hEe({ host: e, view: t }) {})});}-function gEe(e, t) {+function wEe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;- n.querySelector("[data-icon-swap]") || (n.innerHTML = Es("arrow-up", "arrow-down", "a", {+ n.querySelector("[data-icon-swap]") || (n.innerHTML = Ds("arrow-up", "arrow-down", "a", {className: "gselectmark",iconClass: "gselectmark"- }) + "<span data-sort-direction-label></span>"), Ds(n, t ? "a" : "b");+ }) + "<span data-sort-direction-label></span>"), Os(n, t ? "a" : "b");let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function _Ee({ host: e, tab: t, epoch: n }) {+function TEe({ 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, F.jsxs)(A1, {+ return /* @__PURE__ */ (0, F.jsxs)(k1, {index: 1,tab: t,children: [@@ -67071,11 +67153,11 @@ function _Ee({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "每批加载作品",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, F.jsx)(g1, {+ children: /* @__PURE__ */ (0, F.jsx)(h1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -67085,24 +67167,24 @@ function _Ee({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, F.jsx)(p1, {+ children: [/* @__PURE__ */ (0, F.jsx)(f1, {id: "defaultSortSetting",label: "默认排序",- options: tEe,+ options: lEe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, F.jsx)(p1, {+ }), /* @__PURE__ */ (0, F.jsx)(f1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: nEe,+ options: uEe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -67110,13 +67192,13 @@ function _Ee({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => gEe(e, o)+ decorate: (e) => wEe(e, o)})]})}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, F.jsx)(f1, {+ children: /* @__PURE__ */ (0, F.jsx)(d1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -67142,16 +67224,16 @@ function _Ee({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, F.jsx)(g1, {+ children: /* @__PURE__ */ (0, F.jsx)(h1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = Kk(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = Uk(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -67160,16 +67242,16 @@ function _Ee({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, F.jsx)(bEe, {+ /* @__PURE__ */ (0, F.jsx)(OEe, {host: e,epoch: n})]});}-function vEe({ host: e, tab: t, epoch: n }) {+function EEe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, F.jsxs)(A1, {+ return /* @__PURE__ */ (0, F.jsxs)(k1, {index: 2,tab: t,children: [@@ -67177,20 +67259,20 @@ function vEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "默认图片",- children: /* @__PURE__ */ (0, F.jsx)(f1, {+ children: /* @__PURE__ */ (0, F.jsx)(d1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: rEe,+ options: dEe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",text: !0,epoch: n,onChoose: (t) => {- r.javImage = Fa(t), i(), e.changed("javImage");+ r.javImage = Ia(t), i(), e.changed("javImage");}})}),@@ -67198,21 +67280,21 @@ function vEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "显示数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(g1, {+ children: /* @__PURE__ */ (0, F.jsx)(h1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = Kk(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = Uk(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(A1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -67220,7 +67302,7 @@ function vEe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- iEe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(yEe, {+ fEe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(DEe, {host: e,id: t,settingKey: n,@@ -67230,15 +67312,15 @@ function vEe({ host: e, tab: t, epoch: n }) {]});}-function yEe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = oX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {- s(t), Oc(c.current), a.mutate({ [n]: t }, {+function DEe({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = aX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {+ s(t), kc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);},onError: (t) => e.failure(`保存${r}开关`, t),onSettled: () => {- s(null), Oc(c.current, !1);+ s(null), kc(c.current, !1);}});};@@ -67255,10 +67337,10 @@ function yEe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function bEe({ host: e, epoch: t }) {+function OEe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(A1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -67266,7 +67348,7 @@ function bEe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(A1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -67274,11 +67356,11 @@ function bEe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, F.jsx)(M1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, F.jsx)(g1, {+ children: /* @__PURE__ */ (0, F.jsx)(h1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -67290,86 +67372,86 @@ function bEe({ host: e, epoch: t }) {})] });}-function xEe({ host: e, epoch: t }) {- let n = e.store.value, r = oX();- return /* @__PURE__ */ (0, F.jsx)(M1, {+function kEe({ host: e, epoch: t }) {+ let n = e.store.value, r = aX();+ return /* @__PURE__ */ (0, F.jsx)(j1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(g1, {+ children: /* @__PURE__ */ (0, F.jsx)(h1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = Kk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = Uk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})});}// src/react/sidebar/sidebar-island.tsx-var N1 = "__home__", SEe = {+var M1 = "__home__", AEe = {creator: 26,tag: 30,tech: 16-}, P1 = 180, F1 = null, I1 = {+}, N1 = 180, P1 = null, F1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, L1 = /* @__PURE__ */ new Set();-function CEe(e) {- return L1.add(e), () => {- L1.delete(e);+}, I1 = /* @__PURE__ */ new Set();+function jEe(e) {+ return I1.add(e), () => {+ I1.delete(e);};}-function R1() {- for (let e of [...L1]) e();+function L1() {+ for (let e of [...I1]) e();}-var wEe = {+var MEe = {render(e) {- I1 = {- ...I1,+ F1 = {+ ...F1,props: e- }, (0, Lt.flushSync)(R1);+ }, (0, Rt.flushSync)(L1);},navChanged() {- I1 = {- ...I1,- epoch: I1.epoch + 1- }, (0, Lt.flushSync)(R1);+ F1 = {+ ...F1,+ epoch: F1.epoch + 1+ }, (0, Rt.flushSync)(L1);}};-function TEe(e) {- return F1 = e, I1 = {- ...I1,+function NEe(e) {+ return P1 = e, F1 = {+ ...F1,props: {content: null,filters: {},latest: null}- }, wEe;+ }, MEe;}-function EEe() {- let e = (0, P.useSyncExternalStore)(CEe, () => I1);- return F1 ? /* @__PURE__ */ (0, F.jsx)(DEe, {- host: F1,+function PEe() {+ let e = (0, P.useSyncExternalStore)(jEe, () => F1);+ return P1 ? /* @__PURE__ */ (0, F.jsx)(FEe, {+ host: P1,props: e.props,epoch: e.epoch}) : null;}-function DEe({ host: e, props: t, epoch: n }) {+function FEe({ host: e, props: t, epoch: n }) {let r = (0, P.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, F.jsx)(OEe, {+ /* @__PURE__ */ (0, F.jsx)(IEe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, F.jsx)(AEe, {+ t.content ? /* @__PURE__ */ (0, F.jsx)(REe, {host: e,content: t.content,filters: t.filters,@@ -67377,8 +67459,8 @@ function DEe({ host: e, props: t, epoch: n }) {}) : null] });}-function OEe({ host: e, epoch: t, version: n }) {- let r = _1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = sI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function IEe({ host: e, epoch: t, version: n }) {+ let r = g1(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, P.useRef)(null), l = (0, P.useRef)(null), u = iI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || M1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, P.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -67402,7 +67484,7 @@ function OEe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || N1);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || M1);},onDragOver: (t) => {if (f === null || f === e) return;@@ -67417,7 +67499,7 @@ function OEe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : v1(i, n, e, a);+ let o = n === null ? null : _1(i, n, e, a);o && r(o);},onDragEnd: g@@ -67445,16 +67527,16 @@ function OEe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, F.jsx)(wP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]- }, t || N1))- }), v ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)("span", {+ }) : /* @__PURE__ */ (0, F.jsx)(SP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ }, t || M1))+ }), v ? (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function kEe(e) {+var R1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function LEe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -67468,17 +67550,17 @@ function kEe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function AEe({ host: e, content: t, filters: n, latest: r }) {+function REe({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, P.useLayoutEffect)(() => {- t.kind === "catalog" && Ms(e.scroll, "drawer");+ t.kind === "catalog" && Ns(e.scroll, "drawer");}, [e,i,t.kind]);- let a = t.kind === "catalog" ? jEe(e, t.facets, n, r, i) : MEe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(NEe, {+ let a = t.kind === "catalog" ? zEe(e, t.facets, n, r, i) : BEe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(VEe, {title: e.title,kind: e.kind,active: e.active,@@ -67487,11 +67569,11 @@ function AEe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function jEe(e, t, n, r, i) {- let a = kEe(r), o = (t, r, i) => {+function zEe(e, t, n, r, i) {+ let a = LEe(r), o = (t, r, i) => {if (!t.length) return null;- let o = z1(n, r);- return /* @__PURE__ */ (0, F.jsx)(H1, {+ let o = R1(n, r);+ return /* @__PURE__ */ (0, F.jsx)(V1, {rows: t,filterKey: r,multi: i,@@ -67501,7 +67583,7 @@ function jEe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = z1(n, l), p = c.some((e) => f.includes(e.value));+ let f = R1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -67513,12 +67595,12 @@ function jEe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, F.jsx)(FEe, {+ body: /* @__PURE__ */ (0, F.jsx)(UEe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: SEe[d],+ limit: AEe[d],filterKey: l,selected: f,counts: a,@@ -67533,7 +67615,7 @@ function jEe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(G1, {+ body: /* @__PURE__ */ (0, F.jsx)(W1, {host: e,filters: n})@@ -67548,7 +67630,7 @@ function jEe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(U1, {+ body: /* @__PURE__ */ (0, F.jsx)(H1, {rows: t.followTags,host: e,selected: null,@@ -67557,14 +67639,14 @@ function jEe(e, t, n, r, i) {} : null];}-function MEe(e, t, n) {- let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);+function BEe(e, t, n) {+ let r = t.providers || [], i = R1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, F.jsx)(H1, {+ body: /* @__PURE__ */ (0, F.jsx)(V1, {rows: r,filterKey: "provider",multi: !1,@@ -67578,7 +67660,7 @@ function MEe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(G1, {+ body: /* @__PURE__ */ (0, F.jsx)(W1, {host: e,filters: n,commit: e.setFollowDuration@@ -67588,7 +67670,7 @@ function MEe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, F.jsx)(U1, {+ body: /* @__PURE__ */ (0, F.jsx)(H1, {rows: t.tags,host: e,selected: a,@@ -67597,25 +67679,25 @@ function MEe(e, t, n) {} : null];}-function B1(e, t) {+function z1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function NEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => B1(e, n)), u = (0, P.useRef)(!1);+function VEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => z1(e, n)), u = (0, P.useRef)(!1);(0, P.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? B1(e, n) : c;+ let i = u.current ? z1(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) => {if (t?.preventDefault(), !o.current || !s.current) return;let n = !c;- bo(o.current, s.current, n), l(n);+ xo(o.current, s.current, n), l(n);try {sessionStorage.setItem(`peach.sidebar.group.${e}`, n ? "open" : "closed");} catch {}@@ -67630,7 +67712,7 @@ function NEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, F.jsx)(wP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, F.jsx)(SP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, F.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67641,7 +67723,7 @@ function NEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, F.jsx)(V1.Provider, {+ children: /* @__PURE__ */ (0, F.jsx)(B1.Provider, {value: d,children: a})@@ -67650,15 +67732,15 @@ function NEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var V1 = (0, P.createContext)(() => {});-function PEe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(wP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {+var B1 = (0, P.createContext)(() => {});+function HEe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(SP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, F.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -67675,7 +67757,7 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, F.jsx)(PEe, { dot: e.dot }),+ /* @__PURE__ */ (0, F.jsx)(HEe, { dot: e.dot }),/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -67690,8 +67772,8 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function FEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, P.useContext)(V1), [d, f] = (0, P.useState)(null), [p, m] = (0, P.useState)(e);+function UEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, P.useContext)(B1), [d, f] = (0, P.useState)(null), [p, m] = (0, P.useState)(e);p !== e && (m(e), f(null));let h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, P.useLayoutEffect)(() => {@@ -67703,10 +67785,10 @@ function FEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s};if (_) {let t = e.body.closest("details");- e.body.classList.add("ui-fcollapse"), wo(e.body, e.before, () => !!t?.open && !e.body.inert);+ e.body.classList.add("ui-fcollapse"), To(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(H1, {+ }, [d, _]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(V1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -67731,10 +67813,10 @@ function FEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, F.jsx)(wP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(SP, { name: "chevron-down" })}) : null] });}-function U1({ rows: e, host: t, selected: n, badges: r }) {+function H1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {@@ -67756,10 +67838,10 @@ function U1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;-function G1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, P.useState)(r), [o, s] = (0, P.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, P.useState)("max");- i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));+var U1 = (e, t) => e ? Math.min(N1, Number(e) / 60) : t;+function W1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, P.useState)(r), [o, s] = (0, P.useState)(() => [U1(t.dur_min, 0), U1(t.dur_max, N1)]), [c, l] = (0, P.useState)("max");+ i !== r && (a(r), s([U1(t.dur_min, 0), U1(t.dur_max, N1)]));let [u, d] = o, f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(o);h.current = o;let g = (e, t) => {@@ -67772,11 +67854,11 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, P.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 100}%`);+ e.style.setProperty("--lo", `${u / N1 * 100}%`), e.style.setProperty("--hi", `${d / N1 * 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 / P1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / N1 * 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`);});@@ -67786,7 +67868,7 @@ function G1({ 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 >= P1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= N1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-duration": "",@@ -67801,7 +67883,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: P1,+ max: N1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -67812,7 +67894,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: P1,+ max: N1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -67826,8 +67908,8 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {});}// src/diagnostics-skeleton.ts-function K1() {- let e = (e) => cs({+function G1() {+ let e = (e) => ls({label: e,variant: "secondary",attrs: "disabled data-skeleton-action"@@ -67840,11 +67922,11 @@ function K1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", IEe = [+var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", WEe = ["自动补全","仅使用本地资料","自定义"-], LEe = [+], GEe = [["读本地 NFO 和图片","✓",@@ -67875,7 +67957,7 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], REe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", zEe = [+], KEe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", q1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", J1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Y1 = "只填域名,留空用默认地址", qEe = [{provider: "coomer",label: "Coomer",@@ -67965,8 +68047,8 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", BEe = "peach.configuration.shape.v1";-function Q1() {+], X1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", JEe = "peach.configuration.shape.v1";+function Z1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -67974,28 +68056,28 @@ function Q1() {return {};}}-function VEe(e, t) {+function YEe(e, t) {try {- let n = Q1();+ let n = Z1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(BEe, JSON.stringify({+ localStorage.setItem(JEe, JSON.stringify({...n,[e]: t}));} catch {}}-var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => cs({+var Q1 = (e) => Z1()[e], $1 = (e) => e === !0, e0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, t0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], n0 = "disabled data-skeleton-action", r0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, i0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, a0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, o0 = (e = "3em") => a0(e, "24px"), s0 = () => a0("var(--icon-inline)", "var(--icon-inline)"), c0 = (e, t = "primary", n = "medium") => ls({label: e,variant: t,size: n,- attrs: r0-}), u0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, HEe = (e, t, n) => {- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;+ attrs: n0+}), l0 = (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>`, u0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, XEe = (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">${s0()}${e}</span>` : e}</p>`;return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;-}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${HEe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${us(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${as("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, UEe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${UEe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, WEe = zEe;-function GEe(e = $1("credentials")) {- let t = new Set(n0(e?.done, 64, String));- return WEe.map((e) => {+}, d0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${XEe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? l0(n, i) : ""}</div></section>`, f0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, p0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => f0(e, t, `<span class="skeleton ${n}"></span>`), m0 = (e, t = "4em") => f0(e, "", r0(t)), h0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, g0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, _0 = (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>${i0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, v0 = (e) => `<div class="flex flex-col gap-1">${g0(e)}${ds(r0("8em"))}</div>`, y0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${a0("16px", "16px")}${e}</span>`, b0 = (e) => `<span class="inline-flex items-center gap-1">${s0()}${e}</span>`, x0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${os("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, ZEe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), S0 = (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">${ZEe.has(e) ? r0("100%") + r0("80%") + r0("6em") : r0("6em")}</dd></div>`).join("")}</dl>`, QEe = qEe;+function $Ee(e = Q1("credentials")) {+ let t = new Set(t0(e?.done, 64, String));+ return QEe.map((e) => {let n = t.has(e.provider);return {...e,@@ -68004,134 +68086,134 @@ function GEe(e = $1("credentials")) {};});}-function KEe(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${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 ? g0(z(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+function eDe(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = o0() + (n && !e.done ? t.map(() => o0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${a0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${R(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 ? h0(R(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + h0(`${R(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? h0(R(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => _0(R(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${c0("保存配置")}</div>${x0("凭据文件")}</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>${x0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function w0() {- let e = GEe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[+function C0() {+ let e = $Ee(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return d0("来源凭据", u0(`<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(KEe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(eDe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? r0("5em") : "" });}-function T0() {- let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${as("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));+function w0() {+ let e = t0(Q1("indexers")?.open, 20, $1).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">${os("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${r0("6em")}${r0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${_0("名称")}${_0("Torznab 地址")}${_0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${y0("启用")}${c0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return d0("资源搜索", u0(`<div class="flex min-w-0 flex-col gap-4">${x0("索引器连接帮助")}${e}</div>`), c0("添加索引器", "secondary") + c0("保存配置"));}-function E0() {- let e = $1("javBrowser"), t = e0(e?.enabled);- return f0("浏览器添加 JAV", d0(`<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>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));+function T0() {+ let e = Q1("javBrowser"), t = $1(e?.enabled);+ return d0("浏览器添加 JAV", u0(`<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>${r0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${o0()}</div><p class="text-caption-1-regular text-text-secondary">${r0("70%")}</p><div class="flex flex-wrap items-center gap-2">${c0("重新检测", "secondary")}</div></div>`}${v0("浏览器添加的下载渠道")}${$1(e?.ready) ? "" : h0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${_0("Peach 地址")}</div>`), (t ? c0("关闭浏览器添加", "secondary") : "") + c0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${us(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";-function O0() {- let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));- return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));+var E0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${g0(e)}${ds(r0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${_0(`${e}地址`)}</div><div class="w-full sm:w-28">${_0(`${e}端口`)}</div></div>${x0("代理认证")}` : "") + "</div>";+function D0() {+ let e = Q1("cloudProxy"), t = t0(e?.accounts, 12, (e) => Array.isArray(e) ? [$1(e[0]), $1(e[1])] : [!1, !1]), n = e0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${g0(b0(r0("6em")))}${h0(r0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${g0(b0(r0("8em")))}${h0(r0("50%"))}${E0("数据代理", e)}${E0("API 代理", t)}<div class="flex justify-end">${c0("保存配置")}</div></div>`).join("") : h0(r0("60%"));+ return d0("CloudDrive 代理", u0(`${h0(X1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), c0("重新读取", "secondary"));}-var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, qEe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${cs({+var O0 = (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>`, tDe = (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">${i0()}</span>${ls({glyph: "folder-search",variant: "secondary",- attrs: r0+ attrs: n0})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", us(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", us(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", us(i0("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, JEe = (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>${cs({+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${O0("来源", ds(r0("6em")), "w-full @lg:w-60")}${O0("读取策略", ds(r0("4em")), "w-full @lg:w-32")}${e > 1 ? O0("移到媒体库", ds(r0("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, nDe = (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>${ls({label: "自动识别",variant: "secondary",- attrs: r0-})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${us(i0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${qEe(t).repeat(e)}<div class="flex">${cs({+ attrs: n0+})}${i0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ds(r0("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${tDe(t).repeat(e)}<div class="flex">${ls({label: "添加文件夹",variant: "secondary",- attrs: r0-})}</div></div></div>`, YEe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, XEe = "<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 ZEe(e = $1("media")) {- let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);+ attrs: n0+})}</div></div></div>`, rDe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${K1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, iDe = "<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 aDe(e = Q1("media")) {+ let t = t0(e?.folders, 12, (e) => e0(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: e0(e?.cloud)+ cloud: $1(e?.cloud)} : {folders: [1],cloud: !1};}-function QEe() {- let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${us(i0("4em"), { prefix: "对应目录" })}${cs({+function oDe() {+ let e = Q1("discovery"), t = $1(e?.enabled), n = t && $1(e?.cloud), r = n && $1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${i0()}</span>${ds(r0("4em"), { prefix: "对应目录" })}${ls({glyph: "trash",variant: "secondary",- attrs: r0+ attrs: n0})}</div>`;- return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));-}-var $Ee = () => {- let e = ZEe();- return f0("媒体库与目录", d0(`${YEe}<div class="flex flex-col gap-4">${e.folders.map((t) => JEe(t, e.folders.length)).join("")}</div>- <div class="self-start">${l0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${J1}</p>- ${e.cloud ? XEe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + QEe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, eDe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), tDe = () => {- let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);- return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {- aside: s0(),+ return d0("自动发现新文件", u0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${o0()}</div>`) + p0("发现新文件后自动入库", t ? r0("10em") : "") + p0("监视本机文件夹", t && $1(e?.watchLocal) ? r0("12em") : "") + p0("接收 CloudDrive2 通知") + (n ? f0("Webhook 配置", r0("20em"), "") : "") + (r ? u0(x0("查看配置"), !0) : "") + (n ? u0(`<div class="flex flex-col gap-3">${g0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(e0(e?.prefixes, 20))}</div><div>${c0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? c0("更换密钥", "secondary") : "") + c0("保存配置"));+}+var sDe = () => {+ let e = aDe();+ return d0("媒体库与目录", u0(`${rDe}<div class="flex flex-col gap-4">${e.folders.map((t) => nDe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${c0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${q1}</p>+ ${e.cloud ? iDe : ""}<span class="text-body-medium text-text-primary">${r0("15em")}</span>`), c0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? D0() : "") + oDe() + d0("番号识别规则", u0(`${r0("90%")}${r0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), c0("保存配置")) + d0("视频预览", p0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + p0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + p0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, cDe = () => `<div>${c0("采集来源与登录状态", "secondary")}</div>` + C0() + d0("关注采集", f0("自动检查更新", "", "<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>") + m0("订阅源拉取") + p0("首次采集范围", "", "ui-configuration-skeleton-select") + m0("头像刷新") + m0("favicon 刷新")) + w0() + d0("作品资料站点", u0(`<p class="text-body-2-regular text-text-secondary">${J1}</p>${_0(b0("JavDB 地址"), Y1)}${_0(b0("MISSAV 地址"), Y1)}`), c0("保存配置")), lDe = () => {+ let e = Q1("downloads"), t = $1(e?.pikpak), n = $1(e?.pikpakRoots) ? v0(b0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${g0(b0("PikPak 根目录对应的媒体目录"))}${h0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = $1(e?.cloud) ? d0("云下载", u0(_0("CloudDrive2 地址") + _0("CloudDrive2 API 令牌", "需要离线任务权限。") + ($1(e?.has115) ? _0(b0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? _0(b0("PikPak 目标目录"), "目录要已经存在。") + n : "") + _0("等待上限(小时)", r0("14em"))), c0("检查连接", "secondary") + c0("保存配置")) : "", i = $1(e?.pikpakLoggedIn);+ return r + (t ? d0("PikPak 账号", i ? S0(["账号", r0("4em")]) : u0(_0("账号") + _0("密码") + y0("保存密码,登录过期时自动重新登录")), i ? c0("登出", "secondary") : ($1(e?.browserLogin) ? c0("用浏览器登录", "secondary") : "") + c0("登录"), {+ aside: o0(),mark: !0- }) : "") + E0();-}, A0 = {+ }) : "") + T0();+}, k0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, j0 = {+}, A0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function nDe(e) {- let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;+function uDe(e) {+ let t = e === "locked" ? "" : _0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + _0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (k0[e] ? h0(k0[e]) : "") + (e === "open" ? a0("100%", "64px") : "") + (e === "password" || e === "legacy" ? y0("关闭访问密码") : "") + (e === "password" ? _0("当前访问密码 *") : "") + t;}-var rDe = () => {- let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : ""), i = t0(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">${v0([+var dDe = () => {+ let e = Q1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = $1(e?.tunnelNamed), r = (n && $1(e?.tunnelNamedMode) ? h0(A0.named) + _0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + _0("隧道令牌", r0("16em")) : h0(A0.quick)) + ($1(e?.tunnelNote) ? a0("100%", "64px") : ""), i = e0(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">${_0(["本机地址","手机连接地址","备用 IP 地址"- ][t])}</div>${l0("复制地址", "secondary")}</div>`).join("");- return (i || e0(e?.port) ? f0("访问地址", d0(a + (i ? o0("100%", "40px") : "") + (e0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${_0("谁可以访问")}${o0("min(100%, 20em)", "36px")}</div>` + (e0(e?.lan) ? v0("局域网访问地址") : "") : "") + (e0(e?.port) ? v0("端口") : "")), e0(e?.port) ? l0("保存配置") : "", e0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + f0("访问密码", d0(nDe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() }) + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置"));-}, iDe = [+ ][t])}</div>${c0("复制地址", "secondary")}</div>`).join("");+ return (i || $1(e?.port) ? d0("访问地址", u0(a + (i ? a0("100%", "40px") : "") + ($1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${g0("谁可以访问")}${a0("min(100%, 20em)", "36px")}</div>` + ($1(e?.lan) ? _0("局域网访问地址") : "") : "") + ($1(e?.port) ? _0("端口") : "")), $1(e?.port) ? c0("保存配置") : "", $1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + d0("访问密码", u0(uDe(t)), t === "locked" ? "" : c0("保存配置")) + d0("Cloudflare 公网入口", u0((n ? a0("10.5em", "36px") : "") + r), c0("启动公网入口", n ? "secondary" : "primary") + (n ? c0("保存配置") : ""), { aside: o0() }) + d0("Peach 代理", p0("连接方式", "", "ui-configuration-skeleton-select") + ($1(e?.proxyAddress) ? u0(_0("代理地址"), !0) : ""), c0("保存配置"));+}, fDe = ["版本","操作系统","数据目录","设置文件","日志目录"-], aDe = () => {- let e = $1("maintenance"), t = [+], pDe = () => {+ let e = Q1("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";- return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {- aside: s0("4em"),- status: i0("5em")- }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : iDe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("安装教程", "", l0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");+ ].slice(0, Math.max(4, e0(e?.releaseFacts, 5))), n = e0(e?.releaseNotes, 4), r = e0(e?.storageRows, 12), i = e0(e?.storageNotes, 3), a = t0(e?.facts, 12, (e) => R(String(e))), o = `<span class="self-start">${o0("6em")}</span>`, s = (t) => !e || $1(t), c = s(e?.reporting) ? p0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + ($1(e?.reportingIdle) ? u0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${p0("上传馆藏与口味明细", $1(e?.sharingNotice) ? r0("12em") : "")}${$1(e?.sharingIdle) ? u0(o, !0) : ""}${l0(c0("预览上传内容", "secondary"))}</div>` : "";+ return d0("检查更新", S0(t) + (n ? u0(h0(r0("50%")).repeat(n), !0) : ""), c0("检查更新"), {+ aside: o0("4em"),+ status: r0("5em")+ }) + d0("自动更新", p0("自动检查新版本") + p0("自动下载更新") + p0("检查频率", $1(e?.autoUpdateHelp) ? r0("12em") : "", "ui-configuration-skeleton-select"), c0("保存配置")) + d0("开机自启", p0("开机后启动 Peach") + p0("只启动托盘,不打开网页") + p0("在桌面创建快捷方式", $1(e?.desktopNote) ? r0("12em") : "") + ($1(e?.startupNote) ? u0(h0(r0("60%")), !0) : ""), c0("保存配置")) + d0("视频播放", p0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + d0("存储空间", S0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => f0(r0("6em"), "", r0("4em"))).join("") : u0(h0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? u0(h0(r0("80%")).repeat(i), !0) : ""), c0("更改位置", "secondary") + c0(r ? "重新统计" : "统计占用")) + (c || l ? d0("数据上传", c + l) : "") + d0("运行信息", S0(a.length ? a : fDe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${f0("安装教程", "", c0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? d0("卸载 Peach", ($1(e?.uninstallHelp) ? u0(h0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + p0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + u0(x0("数据目录"), !0), c0("卸载 Peach"), { status: r0("16em") }) : "");};-function oDe(e) {+function mDe(e) {switch (e) {- case "系统诊断": return K1();- case "来源与订阅": return eDe();- case "下载渠道": return tDe();- case "网络与访问": return rDe();- case "应用与维护": return aDe();- default: return $Ee();+ case "系统诊断": return G1();+ case "来源与订阅": return cDe();+ case "下载渠道": return lDe();+ case "网络与访问": return dDe();+ case "应用与维护": return pDe();+ default: return sDe();}}-function sDe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(lV).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">${oDe(e)}</div></div></div>`;+function hDe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(oV).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${mDe(e)}</div></div></div>`;}// src/react/jav/discovery-sorts.ts-var M0 = [+var j0 = [["taste","口味",@@ -68139,7 +68221,7 @@ var M0 = [],["release_date",- Jk[1],+ Gk[1],"按发行日期排序"],[@@ -68158,10 +68240,10 @@ var M0 = ["按番号排序"]];-function cDe(e) {+function gDe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function lDe(e) {+function _De(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -68186,8 +68268,8 @@ function lDe(e) {};}// src/jav-skeleton.ts-var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, uDe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";-function F0() {+var M0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, vDe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, N0 = "w-full min-w-0";+function P0() {return ["w-20","w-16",@@ -68197,55 +68279,55 @@ function F0() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function I0(e, t = NA()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${uDe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;- let n = VA({- ...BA({+function F0(e, t = AA()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${M0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${vDe("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">${M0("80%")}${M0("60%")}${M0("40%")}</div></div>`).join("")}</div>`;+ let n = RA({+ ...LA({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${P0}" 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="${N0}" 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>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("55%")}</div>+ <div data-media-title>${M0("85%")}${M0("65%")}</div><div data-media-byline>${M0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-function dDe(e) {+function yDe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6">- <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${cs({+ <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${ls({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">${S$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>- <form aria-label="${t}">${ss("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${fDe()}${I0(e)}</section>`}</div></div>`;+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${x$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <form aria-label="${t}">${cs("筛选番号、女优或标题", "", t)}</form>+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${M0("100%")}</div>${F0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${bDe()}${F0(e)}</section>`}</div></div>`;}-function fDe() {- 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="" ${NA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${as(t, "size-4")}</span>`;+function bDe() {+ 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="" ${AA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${os(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${F0()}</div></div>+ <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>${P0()}</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>- ${os()}- <span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${as("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>- ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? as("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${ss()}+ <span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${os("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>+ ${j0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? os("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}// src/management-skeletons.ts-var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function pDe() {+var I0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", L0 = (e = "60%") => `<span class="${I0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, R0 = "disabled data-skeleton-action", z0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function xDe() {let e = ["馆藏视频","看过",@@ -68253,27 +68335,27 @@ function pDe() {"使用空间"].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="${L0} 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">${R0("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">${R0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${B0}" 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">${R0("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="${I0} 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">${L0("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">${L0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${z0}" 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">${L0("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">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</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">${L0()}</span><b class="text-title-2-medium">${L0("3em")}</b><small class="text-caption-1-regular">${L0()}</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">数据库中的当前统计 · ${R0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${L0("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="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${z0}"><h3 class="text-title-2-medium">${e}</h3><div class="${I0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -68282,11 +68364,11 @@ function pDe() {"最近看过","标签来源"].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="${L0} 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="${I0} h-7"></div>`).join("")}</div></section></div></div>`;}-function mDe() {+function SDe() {let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = ["浏览记录","口味维度",@@ -68294,20 +68376,20 @@ function mDe() {"私有导出"].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="${L0} 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">${R0("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">${R0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} 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="${I0} 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">${L0("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">${L0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${I0} h-6"></div>`).join(""), r = (e) => `<section class="${z0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${I0} 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">${us("全部时间")}<span data-button-group data-split-button data-variant="primary">${cs({+ <div class="flex flex-wrap items-center gap-2">${ds("全部时间")}<span data-button-group data-split-button data-variant="primary">${ls({glyph: "compass",label: "读取浏览器历史",- attrs: z0- })}${cs({+ attrs: R0+ })}${ls({glyph: "chevron-down",- attrs: z0+ attrs: R0})}</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>@@ -68325,11 +68407,11 @@ function mDe() {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">${R0("8em")}</small></div>+ <small class="text-caption-1-regular">${L0("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="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section>+ <section class="${z0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${I0} 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(["标签",@@ -68337,123 +68419,123 @@ function mDe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} 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="${I0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function hDe() {+function CDe() {let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">- <span class="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("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">${R0("75%")}</span>+ <span class="${I0} 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">${L0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${L0("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">${L0("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">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span>+ <b class="text-title-2-medium">${L0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${L0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长","整组回收"- ].map((e) => cs({+ ].map((e) => ls({variant: "secondary",size: "small",label: e,- attrs: z0+ attrs: R0})).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">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("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">${L0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${L0("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${R0} 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 gDe() {+function wDe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${I0} 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">${L0("80%")}</h3><p class="text-body-2-regular">${L0("60%")}</p></div></div>- <footer class="flex justify-end">${cs({+ <footer class="flex justify-end">${ls({variant: "secondary",size: "small",label: "查看版本",- attrs: z0+ attrs: R0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- ${gs("待升级")}+ ${_s("待升级")}<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul></div></div>`;}// src/board-skeleton.ts-var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, _De = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, vDe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, TDe = () => `${B0("80%")}${B0("48%")}`, V0 = (e, t) => e.repeat(t), H0 = "disabled data-skeleton-action", U0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, W0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, EDe = "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", G0 = () => `<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="${vDe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, yDe = (e = "") => IZ.some(([t]) => t === e) ? e : "list", q0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${IZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, J0 = (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>`, bDe = ({ table: e, sort: t, dir: n }) => {- let r = Gn.find(([e]) => e === t)[1];- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${cs({+].map((e) => `<div class="${EDe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${U0("3em")}</b></div>`).join("")}</div>`, DDe = (e = "") => FZ.some(([t]) => t === e) ? e : "list", K0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${FZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, q0 = (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>`, ODe = ({ table: e, sort: t, dir: n }) => {+ let r = Kn.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">${U0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ls({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: U0- })}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${cs({+ attrs: H0+ })}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${ls({variant: "ghost",glyph: "layout-grid",attrs: `aria-pressed="${!e}"`- })}${cs({+ })}${ls({variant: "ghost",glyph: "table",attrs: `aria-pressed="${e}"`- })}</span><span class="flex flex-none items-center gap-2">${us(r, { prefix: "排序" })}${cs({+ })}</span><span class="flex flex-none items-center gap-2">${ds(r, { prefix: "排序" })}${ls({variant: "secondary",glyph: n === "asc" ? "arrow-up" : "arrow-down"- })}</span>${e ? "" : cs({+ })}</span>${e ? "" : ls({variant: "secondary",glyph: "chevron-up",label: "全部收起",compact: !0,- attrs: U0+ attrs: H0})}</span></div></div>`;-}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${cs({+}, J0 = () => `<span class="flex shrink-0 items-center gap-1">${ls({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: U0-})}${cs({+ attrs: H0+})}${ls({variant: "secondary",size: "small",glyph: "trash",- attrs: U0-})}</span>`, xDe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${J0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${Y0()}</span></div>`, X0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${cs({+ attrs: H0+})}</span>`, kDe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${q0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${U0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${W0(14, 14)}</span>${W0(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">${U0("113px")}</span>${J0()}</span></div>`, Y0 = (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>${W0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${U0("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">${ls({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: U0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${cs({+ attrs: H0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${W0(14, 14)}${W0(14, 14)}</span><span class="flex flex-none items-center gap-2">${ls({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: U0-})}${cs({+ attrs: H0+})}${ls({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: U0-})}</span></span></div><div data-source-divider>${H0(xDe(), e)}</div></section>`, SDe = () => {+ attrs: H0+})}</span></span></div><div data-source-divider>${V0(kDe(), e)}</div></section>`, ADe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, CDe = [+}, jDe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -68461,83 +68543,83 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, _De["status", "状态"],["checked", "上次检查"],["actions", ""]-], wDe = {+], MDe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, TDe = "<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>", EDe = (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>${CDe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${wDe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${TDe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[- J0(),- `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,- W0("10em"),- `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,- G0(48, 24),- W0("113px"),- Y0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, DDe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${us(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, ODe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${[+}, NDe = "<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>", PDe = (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>${jDe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${MDe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${NDe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${V0(`<tr>${[+ q0(),+ `<span class="flex min-w-0 items-center gap-2">${W0(32, 32, !0)}${U0("5em")}</span>`,+ U0("10em"),+ `<span class="flex items-center gap-1.5">${W0(14, 14)}${U0("4em")}</span>`,+ W0(48, 24),+ U0("113px"),+ J0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, FDe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${U0("111px")}</span><div data-toolbar-actions>${ds(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${W0(204, 32)}</div></div>`, IDe = () => `<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">${U0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, kDe = (e) => {- let t = yDe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4">${ODe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || SDe(), a = n ? EDe(i, r) : `${J0("全选本页")}<div class="flex flex-col gap-3">${X0(3)}${X0(4)}${X0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(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"}">${bDe({+].map((e) => `<span class="text-body-medium">${U0(e)}</span>`).join("")}</div>`, LDe = (e) => {+ let t = DDe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(t)}<div class="flex flex-col gap-4">${IDe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Xn(e.followSort, e.followDir), i = e.followPageSize || ADe(), a = n ? PDe(i, r) : `${q0("全选本页")}<div class="flex flex-col gap-3">${Y0(3)}${Y0(4)}${Y0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(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"}">${ODe({table: n,...r- })}${a}${DDe(n, i)}</div></div></div></div></div>`;+ })}${a}${FDe(n, i)}</div></div></div></div></div>`;};-function ADe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0(_De(), 4)}</div></aside></div>`;+function RDe() {+ 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">${B0("85%")}${B0("65%")}${V0(TDe(), 4)}</div></aside></div>`;}-function jDe(e, t = {}) {+function zDe(e, t = {}) {let n = "";- if (e === "/stats") n = pDe();- else if (e === "/jav") n = dDe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = mDe();- else if (e === "/subscriptions") n = kDe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in lV) n = sDe(lV[e.split("/")[2]]);+ if (e === "/stats") n = xDe();+ else if (e === "/jav") n = yDe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = SDe();+ else if (e === "/subscriptions") n = LDe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in oV) n = hDe(oV[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = hDe();- else if (e === "/quality-goals") n = gDe();- 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>${cs({+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${U0("8em")}</span><span class="text-caption-1-regular">${U0("14em")}</span>${U0("60%")}${U0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${U0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = CDe();+ else if (e === "/quality-goals") n = wDe();+ 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>${ls({label: "新建",- attrs: U0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: H0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${V0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}// src/react/components/overlay-host.ts-function MDe(e) {+function BDe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function Z0(e) {+function X0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return MDe(n ?? t.body);+ return BDe(n ?? t.body);}-function Q0(e) {+function Z0(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 $0 = (e) => ["follow-item", e], NDe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, PDe = "/api/follow/save", FDe = "/api/follow/media/hide", e2 = class extends Error {+var Q0 = (e) => ["follow-item", e], VDe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, HDe = "/api/follow/save", UDe = "/api/follow/media/hide", $0 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function t2(e, t) {- let n = await B(NDe(e), t);+async function e2(e, t) {+ let n = await z(VDe(e), t);for (let t of n.groups || []) {- let r = Wi(t).find((t) => t.id === e);+ let r = Gi(t).find((t) => t.id === e);if (r) return {item: r,group: t,@@ -68545,12 +68627,12 @@ async function t2(e, t) {aliases: n.author_aliases || []};}- throw new e2();+ throw new $0();}-function IDe(e) {- for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {+function WDe(e) {+ for (let [, t] of V.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;- let n = Wi(t.group).find((t) => t.id === e);+ let n = Gi(t.group).find((t) => t.id === e);if (n) return {...t,item: n@@ -68558,21 +68640,21 @@ function IDe(e) {}return null;}-async function n2(e, t) {- let n = $0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({- queryKey: zi,- queryFn: () => Bi(t)+async function t2(e, t) {+ let n = Q0(e.id), r = Ki(e.id), i = V.getQueryData(Bi) ? null : V.fetchQuery({+ queryKey: Bi,+ queryFn: () => Vi(t)}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? IDe(e.id);- a ? H.setQueryData(n, a) : await H.fetchQuery({+ } : V.getQueryData(n) ?? WDe(e.id);+ a ? V.setQueryData(n, a) : await V.fetchQuery({queryKey: n,- queryFn: () => t2(e.id, t)+ queryFn: () => e2(e.id, t)}), await i;}-function LDe(e, t, n, r) {- let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && $i(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);+function GDe(e, t, n, r) {+ let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && ea(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);return {embedded: i,selected: s,@@ -68586,32 +68668,32 @@ function LDe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var RDe = (e) => Wi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), zDe = {+var KDe = (e) => Gi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), qDe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, BDe = {+}, JDe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function VDe(e) {+function YDe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return zDe[t] || t;+ return qDe[t] || t;} catch {return "外部文件页";}}-function r2(e, t) {- return BDe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function n2(e, t) {+ return JDe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function HDe(e, t, n = "") {+function XDe(e, t, n = "") {let r = n;!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;@@ -68620,54 +68702,54 @@ function HDe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var UDe = (e) => String(e.name || "").trim(), i2 = (e, t) => e.tag_types?.[t] || "unknown", WDe = /* @__PURE__ */ new Set([+var ZDe = (e) => String(e.name || "").trim(), r2 = (e, t) => e.tag_types?.[t] || "unknown", QDe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function GDe(e, t) {- let n = i2(e, t);- return `r34-${WDe.has(n) ? n : "general"}`;+function $De(e, t) {+ let n = r2(e, t);+ return `r34-${QDe.has(n) ? n : "general"}`;}-var a2 = [+var i2 = ["copyright","character","artist","general","metadata"];-function KDe(e, t) {+function eOe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = a2.indexOf(i2(e, t));- return n < 0 ? a2.length : n;+ let n = i2.indexOf(r2(e, t));+ return n < 0 ? i2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function o2(e, t) {+function a2(e, t) {let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);return !r.length && n && r.push(n), r;}-var qDe = (e, t) => ({+var tOe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), s2 = (e) => e?.size ? { size: e.size } : {};-function JDe(e, t) {+}), o2 = (e) => e?.size ? { size: e.size } : {};+function nOe(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: r2(t, e),- ...s2(t)+ source: n2(t, e),+ ...o2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: r2(a, e),- ...s2(a)+ source: n2(a, e),+ ...o2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -68675,7 +68757,7 @@ function JDe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var YDe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Ls(e, {+var rOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Rs(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68683,7 +68765,7 @@ var YDe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), XDe = [+}), iOe = ["元数据字段","创作者标签","厂牌 Logo",@@ -68693,40 +68775,40 @@ var YDe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], ZDe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], aOe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${R(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${XDe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${iOe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${R(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, QDe = {- "/data-cleanup": () => I$(),- "/resource-sync": () => I$(),- "/review": () => ZDe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, oOe = {+ "/data-cleanup": () => F$(),+ "/resource-sync": () => F$(),+ "/review": () => aOe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${c2("正在读取采集来源", {+ ${s2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function l2(e, { followLayout: t, followSort: n, followDir: r }) {- return jDe(e, {+function c2(e, { followLayout: t, followSort: n, followDir: r }) {+ return zDe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (QDe[e] ?? (() => c2("正在读取页面")))();+ }) || (oOe[e] ?? (() => s2("正在读取页面")))();}-var u2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function d2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = u2(t);- r && r === n || (e.innerHTML = t, Gs(e));+var l2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function u2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = l2(t);+ r && r === n || (e.innerHTML = t, Ks(e));}// src/react/components/related-section.tsx-function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, P.useCallback)((e) => {- e && (Gs(e), t(e));+ e && (Ks(e), t(e));}, [t]);return /* @__PURE__ */ (0, F.jsxs)("div", {...s,@@ -68737,17 +68819,17 @@ function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, F.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, F.jsx)(IW, {+ children: /* @__PURE__ */ (0, F.jsx)(jW, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, F.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, F.jsx)(Rz, {+ children: /* @__PURE__ */ (0, F.jsx)(Fz, {size: "compact",- icon: Dz,+ icon: wz,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, F.jsx)(lI, {+ actions: /* @__PURE__ */ (0, F.jsx)(oI, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -68763,7 +68845,7 @@ function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,});}// src/react/components/detail-continuation.tsx-function p2({ queue: e, children: t, queueCards: n }) {+function f2({ queue: e, children: t, queueCards: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-detail-continuation": "","data-queue-cards": n == null ? void 0 : Math.min(3, n),@@ -68771,12 +68853,12 @@ function p2({ queue: e, children: t, queueCards: n }) {});}// src/react/components/media-carousel.tsx-function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, P.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, P.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");if (!e) return;- let t = cc(e, { drag: !0 }), n = () => {+ let t = lc(e, { drag: !0 }), n = () => {let n = e.querySelector("[aria-current=\"true\"]");if (n && e.clientWidth) {let t = n.getBoundingClientRect(), r = e.getBoundingClientRect(), i = parseFloat(getComputedStyle(e).paddingLeft);@@ -68794,7 +68876,7 @@ function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]), (0, P.useLayoutEffect)(() => {let e = a.current, t = e?.querySelector("[data-follow-image-dots]"), n = e?.closest("[data-stage-media]");if (!e || !t) return;- let i = cc(t, { drag: !0 }), o = () => {+ let i = lc(t, { drag: !0 }), o = () => {let a = t.querySelector("[aria-current=\"true\"]");if (a && t.clientWidth) {let e = a.getBoundingClientRect(), n = t.getBoundingClientRect(), r = parseFloat(getComputedStyle(t).paddingLeft);@@ -68822,7 +68904,7 @@ function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"aria-label": r.label || `第 ${i + 1} 张,共 ${e.length} 张`,title: r.label || `第 ${i + 1} 张`,onClick: () => n(r.index),- children: r.video ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: R("play") } }) : null+ children: r.video ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: L("play") } }) : null}, r.index);return /* @__PURE__ */ (0, F.jsxs)("div", {ref: a,@@ -68837,7 +68919,7 @@ function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"aria-label": o ? "上一项媒体" : "上一张图片",title: "上一张",onClick: () => c(-1),- dangerouslySetInnerHTML: { __html: R("chevron-left") }+ dangerouslySetInnerHTML: { __html: L("chevron-left") }}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-follow-image-step": "1",@@ -68845,13 +68927,13 @@ function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"aria-label": o ? "下一项媒体" : "下一张图片",title: "下一张",onClick: () => c(1),- dangerouslySetInnerHTML: { __html: R("chevron-right") }+ dangerouslySetInnerHTML: { __html: L("chevron-right") }})] }),i ? /* @__PURE__ */ (0, F.jsx)("div", {"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)($De, {+ children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)(sOe, {item: e,selected: r === t,onSelect: n,@@ -68870,7 +68952,7 @@ function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function $De({ item: e, selected: t, onSelect: n, render: r }) {+function sOe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(typeof IntersectionObserver > "u");return (0, P.useEffect)(() => {if (!i.current || a) return;@@ -68891,25 +68973,25 @@ function $De({ item: e, selected: t, onSelect: n, render: r }) {children: [a ? r(e) : /* @__PURE__ */ (0, F.jsx)("span", { className: "block h-full w-full skeleton-sheen" }), e.video ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-thumbnail-play": "","aria-hidden": !0,- dangerouslySetInnerHTML: { __html: R("play") }+ dangerouslySetInnerHTML: { __html: L("play") }}) : null]});}// src/react/follow-detail/follow-related.ts-var eOe = (e, t, n) => [+var cOe = (e, t, n) => ["follow-feed","related",e,t,n];-function h2(e, t, n, r) {- let i = new Set((t.group ? Wi(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]));+function m2(e, t, n, r) {+ let i = new Set((t.group ? Gi(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 = Wi(e);- return t.some((e) => i.has(e.id) || a.has(e.id)) || !Xi(e).has(n === "images" ? "image" : "video") || Zi(e, n).status !== "new" ? !1 : (t.forEach((e) => a.add(e.id)), !0);+ let t = Gi(e);+ return t.some((e) => i.has(e.id) || a.has(e.id)) || !Zi(e).has(n === "images" ? "image" : "video") || Qi(e, n).status !== "new" ? !1 : (t.forEach((e) => a.add(e.id)), !0);}).map((e, t) => {- let r = Zi(e, n), i = r.source_id === void 0 ? void 0 : c.get(r.source_id);+ let r = Qi(e, n), i = r.source_id === void 0 ? void 0 : c.get(r.source_id);return {group: e,order: t,@@ -68918,40 +69000,40 @@ function h2(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-async function tOe(e, t, n, r) {+async function lOe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {- ...Qi(i),+ ...$i(i),status: "new",media: t,sort: "rand",seed: e.item.id}, o = [], s = async (e, t) => {- let n = await B(Ii({+ let n = await z(Li({...a,author: e}, t), r);return o.push(n), n;}, c = await s(i, 0);- return h2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && h2(o, e, t, n).length < n && await s("", 0), {+ return m2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && m2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}// src/react/components/detail-tags.tsx-var g2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var h2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R(e) }+ dangerouslySetInnerHTML: { __html: L(e) }});-function _2({ 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, P.useState)(null), [f, p] = (0, P.useState)(!1), m = Pt({+function g2({ 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, P.useState)(null), [f, p] = (0, P.useState)(!1), m = Ft({queryKey: ["tag-management", n],- queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),+ queryFn: ({ signal: e }) => z(`/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 = AH(), _ = (e) => {+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = DH(), _ = (e) => {g.run("rename", async (t) => {- let r = (await H.fetchQuery({+ let r = (await V.fetchQuery({queryKey: ["tag-management", n],- queryFn: () => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, t)+ queryFn: () => z(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, t)})).items.find((t) => t.k === e.k || t.aliases.includes(e.k));if (!r) throw Error("标签已变化,请重新打开详情");return r;@@ -68979,9 +69061,9 @@ function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"data-edit-tag": e.k,title: "修改标签名称","aria-label": `修改标签 ${a(e.k)}`,- ...Hz(!!g.busy),+ ...zz(!!g.busy),onClick: () => _(e),- children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "pencil" })+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "pencil" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -68990,10 +69072,10 @@ function _2({ 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, F.jsx)(g2, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, F.jsx)(nOe, {+ }, e.k)), /* @__PURE__ */ (0, F.jsx)(uOe, {tags: e,candidates: h,label: a,@@ -69004,11 +69086,11 @@ function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labeloading: m.isFetching})]}),- g.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ g.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",children: g.error}) : null,- m.isError ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ m.isError ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -69017,7 +69099,7 @@ function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}),children: "无法读取标签候选"}) : null,- u ? /* @__PURE__ */ (0, F.jsx)(t$, {+ u ? /* @__PURE__ */ (0, F.jsx)(e$, {operation: "rename",selected: [u],scope: n,@@ -69026,8 +69108,8 @@ function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}) : null] });}-function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {- let c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = sV(), d = (0, P.useRef)(null), f = (0, P.useRef)(!1), [p, m] = (0, P.useState)(!1), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), [y, b] = (0, P.useState)(-1), x = (0, P.useRef)({+function uOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {+ let c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = iV(), d = (0, P.useRef)(null), f = (0, P.useRef)(!1), [p, m] = (0, P.useState)(!1), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), [y, b] = (0, P.useState)(-1), x = (0, P.useRef)({adding: i,query: h,tags: e,@@ -69046,7 +69128,7 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,let [e, t] = [c.current, l.current];if (!e || !t) return;"showPopover" in t && t.setAttribute("popover", "manual");- let n = Ko(e.parentElement, e, t);+ let n = qo(e.parentElement, e, t);S.current = n;let r = () => {let e = x.current;@@ -69055,7 +69137,7 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,return;}let t = n.isOpen();- m(t), t && (e.onOpen(), (!e.query.trim() || e.tags.some((t) => wn(t.k) === wn(e.query.trim()))) && (g(""), v("")), b(-1), requestAnimationFrame(() => d.current?.focus({ preventScroll: !0 })));+ m(t), t && (e.onOpen(), (!e.query.trim() || e.tags.some((t) => Tn(t.k) === Tn(e.query.trim()))) && (g(""), v("")), b(-1), requestAnimationFrame(() => d.current?.focus({ preventScroll: !0 })));};e.addEventListener("click", r);let i = new MutationObserver(() => m(n.isOpen()));@@ -69072,7 +69154,7 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,_,t.length]);- let w = p ? Jse(_, t, yN()) : {+ let w = p ? Zse(_, t, _N()) : {recent: [],results: [],create: ""@@ -69100,7 +69182,7 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,}}, O = -1, k = (t) => {O += 1;- let r = O, i = e.some((e) => wn(e.k) === wn(t.k)), o = t.cat || e.find((e) => wn(e.k) === wn(t.k))?.cat || "unknown", s = o === "unknown" ? "r34-unknown" : a === "online" && [+ let r = O, i = e.some((e) => Tn(e.k) === Tn(t.k)), o = t.cat || e.find((e) => Tn(e.k) === Tn(t.k))?.cat || "unknown", s = o === "unknown" ? "r34-unknown" : a === "online" && ["general","artist","character",@@ -69115,7 +69197,7 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-pressed": i,onClick: () => E(t, i),children: [- /* @__PURE__ */ (0, F.jsx)(g2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, F.jsx)(h2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-pick-name": "",children: n(t.k)@@ -69135,8 +69217,8 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,title: "添加标签","aria-label": "添加标签","aria-expanded": p,- ...Hz(!!i),- children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" })+ ...zz(!!i),+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" })}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: l,id: "tagPicker",@@ -69148,8 +69230,8 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"data-tag-search": "",children: [s ? /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: bs("正在读取标签") }- }) : /* @__PURE__ */ (0, F.jsx)(g2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {+ dangerouslySetInnerHTML: { __html: xs("正在读取标签") }+ }) : /* @__PURE__ */ (0, F.jsx)(h2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {ref: d,id: "tagPickSearch",maxLength: 80,@@ -69193,7 +69275,7 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,onClick: () => {C(), r(w.create);},- children: [/* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -69210,15 +69292,15 @@ function nOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,})] });}// src/react/follow-detail/follow-tags.tsx-function rOe({ item: e, label: t, actions: n }) {- let r = AH(), i = () => H.invalidateQueries({ predicate: (e) => [+function dOe({ item: e, label: t, actions: n }) {+ let r = DH(), i = () => V.invalidateQueries({ predicate: (e) => ["follow-feed","follow","tag-management"].includes(String(e.queryKey[0])) }), a = (e) => {- Ki(e.item), H.setQueriesData({ queryKey: ["follow-item"] }, (t) => {+ qi(e.item), V.setQueriesData({ queryKey: ["follow-item"] }, (t) => {if (!t) return t;- let n = Wi(e.group).find((e) => e.id === t.item.id);+ let n = Gi(e.group).find((e) => e.id === t.item.id);return n ? {...t,item: n,@@ -69227,17 +69309,17 @@ function rOe({ item: e, label: t, actions: n }) {});}, o = (o, s) => {r.run(`${o}:${s}`, async (t) => {- let n = await V("/api/follow/tag", {+ let n = await B("/api/follow/tag", {id: e.id,operation: o,tag: s}, "POST", t);a(n), await i();}, () => {- o === "add" && bN(s);+ o === "add" && vN(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", {+ let t = await B("/api/follow/tag", {id: e.id,operation: r,tag: s@@ -69250,10 +69332,10 @@ function rOe({ item: e, label: t, actions: n }) {"aria-label": "内容标签","data-follow-tag-editor": "","data-follow-detail-tags": "",- children: [/* @__PURE__ */ (0, F.jsx)(_2, {- tags: KDe(e, t).map((t) => ({+ children: [/* @__PURE__ */ (0, F.jsx)(g2, {+ tags: eOe(e, t).map((t) => ({k: t,- cat: GDe(e, t)+ cat: $De(e, t)})),scope: "online",adding: !!r.busy,@@ -69262,30 +69344,30 @@ function rOe({ item: e, label: t, actions: n }) {onOpen: n.openTag,onAdd: (e) => o("add", e),onRemove: (e) => o("remove", e.k),- busyAttrs: () => Hz(!!r.busy)- }), r.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ busyAttrs: () => zz(!!r.busy)+ }), r.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",children: r.error}) : null]});}// src/react/follow-detail/follow-detail-page.tsx-var v2 = (e) => Number(e) > 0, iOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var _2 = (e) => Number(e) > 0, fOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R(e) }-}), y2 = R("external-link", "ui-externalmark");-function aOe(e) {- let { id: t, actions: n } = e, r = Pt({- queryKey: $0(t),- queryFn: ({ signal: e }) => t2(t, e)- }), i = Pt({- queryKey: zi,- queryFn: ({ signal: e }) => Bi(e)+ dangerouslySetInnerHTML: { __html: L(e) }+}), v2 = L("external-link", "ui-externalmark");+function pOe(e) {+ let { id: t, actions: n } = e, r = Ft({+ queryKey: Q0(t),+ queryFn: ({ signal: e }) => e2(t, e)+ }), i = Ft({+ queryKey: Bi,+ queryFn: ({ signal: e }) => Vi(e)}), a = (0, P.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, P.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, F.jsx)(cOe, {+ return r.data ? /* @__PURE__ */ (0, F.jsx)(gOe, {...e,data: r.data,- context: qDe(r.data, a),+ context: tOe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, F.jsx)("div", {@@ -69294,37 +69376,37 @@ function aOe(e) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, F.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {+ children: [/* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? oOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(sOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(IW, {- message: tn(r.error),+ children: r.isError ? mOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(hOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(jW, {+ message: nn(r.error),onRetry: () => void r.refetch()}) : null})]})});}-var oOe = (e) => e instanceof e2 || e instanceof Hn && e.status === 404;-function sOe({ onBack: e }) {+var mOe = (e) => e instanceof $0 || e instanceof Un && e.status === 404;+function hOe({ onBack: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {t.target.closest("[data-note-action]") && e();},- dangerouslySetInnerHTML: { __html: ys("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }+ dangerouslySetInnerHTML: { __html: bs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",title: "关闭","aria-label": "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: R("x") }+ dangerouslySetInnerHTML: { __html: L("x") }});-function cOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = LDe(c, l, n, i), d = mOe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({+function gOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = GDe(c, l, n, i), d = SOe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({key: "",kind: ""}), h = {@@ -69344,20 +69426,20 @@ function cOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? RDe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(w2, {+ let g = !u.embedded.length && u.collection ? KDe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(C2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(w2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(C2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, F.jsx)(dOe, {+ }) : /* @__PURE__ */ (0, F.jsx)(yOe, {group: u.collection,itemId: c.id,helpers: o,@@ -69367,14 +69449,14 @@ function cOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, F.jsx)(uOe, {+ children: [/* @__PURE__ */ (0, F.jsx)(vOe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, F.jsx)(fOe, {+ }, f), /* @__PURE__ */ (0, F.jsx)(bOe, {item: c,data: e,context: t,@@ -69384,9 +69466,9 @@ function cOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, F.jsx)(p2, {+ }), /* @__PURE__ */ (0, F.jsx)(f2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(lOe, {+ children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(_Oe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -69396,37 +69478,37 @@ function cOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function lOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {- let o = Pt({- queryKey: eOe(e.item.id, t, n),- queryFn: ({ signal: r }) => tOe(e, t, n, r)- }), [s] = (0, P.useState)(() => c2("正在读取推荐", {+function _Oe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+ let o = Ft({+ queryKey: cOe(e.item.id, t, n),+ queryFn: ({ signal: r }) => lOe(e, t, n, r)+ }), [s] = (0, P.useState)(() => s2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, P.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = h2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = m2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {...r,sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, F.jsx)(f2, {+ return /* @__PURE__ */ (0, F.jsx)(d2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,busy: o.isPending,empty: !!o.data && !l.length,- error: o.isError ? `读取接着看失败:${tn(o.error)}` : void 0,+ error: o.isError ? `读取接着看失败:${nn(o.error)}` : void 0,onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, F.jsx)(FZ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, F.jsx)(PZ, {variant: "next",group: e,media: t,- authorSources: o2(e.primary, u),+ authorSources: a2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -69439,8 +69521,8 @@ function lOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function uOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, P.useRef)(null), p = JDe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, P.useState)(g), b = (0, P.useRef)({+function vOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, P.useRef)(null), p = nOe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, P.useState)(g), b = (0, P.useRef)({item: e,selected: o}), x = (0, P.useRef)(i.failed);@@ -69454,14 +69536,14 @@ function uOe({ 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, F.jsx)(b2, { onClose: n.close }),+ /* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, F.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void wZ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void CZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -69469,10 +69551,10 @@ function uOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: KU(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: UU(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, F.jsx)(m2, {+ u ? /* @__PURE__ */ (0, F.jsx)(p2, {items: c,position: l,onSelect: r,@@ -69489,11 +69571,11 @@ function uOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var x2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var b2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }+ dangerouslySetInnerHTML: { __html: L(e === "image" ? "image-off" : "play") }});-function S2({ src: e }) {+function x2({ src: e }) {let [t, n] = (0, P.useState)(!1);return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {src: e,@@ -69503,30 +69585,30 @@ function S2({ src: e }) {onError: () => n(!0)});}-function C2(e) {+function S2(e) {return (0, P.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function dOe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = $i(e), a = C2(n);- return /* @__PURE__ */ (0, F.jsx)(gK, {+function yOe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = ea(e), a = S2(n);+ return /* @__PURE__ */ (0, F.jsx)(dK, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${JU(e.primary)} · ${i.length} 个视频`,+ summary: `${GU(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = HDe(e, n, i ? n.provider_label : ""), o = i ? KU(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, F.jsxs)(_K, {+ let i = e.duplicates.includes(n), a = XDe(e, n, i ? n.provider_label : ""), o = i ? UU(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, F.jsxs)(fK, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: "video" }), v2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: "video" }), _2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {className: "mono","data-mix-item-duration": "",- children: kn(n.duration)+ children: An(n.duration)}) : null] }),children: [/* @__PURE__ */ (0, F.jsx)("b", {"data-truncate-end": "",@@ -69541,15 +69623,15 @@ function dOe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, F.jsx)("time", {dateTime: n.published_at || "",- children: rW(n)+ children: eW(n)})]})]}, n.id);})});}-function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = C2(r), c = [];+function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = S2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -69559,26 +69641,26 @@ function w2({ 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, F.jsx)(gK, {+ return /* @__PURE__ */ (0, F.jsx)(dK, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${JU(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(vK, {+ summary: `${GU(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(pK, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(_K, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(fK, {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, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, F.jsx)("b", {"data-middle-truncate": "",- children: UDe(n)+ children: ZDe(n)}), /* @__PURE__ */ (0, F.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -69586,13 +69668,13 @@ function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function bOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {let { kind: c, selected: l, src: u } = r, d = {primary: e,variants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = eW(d, e), p = QU(e, o2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = tW(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {+ }, f = ZU(d, e), p = YU(e, a2(e, t.sources), n), m = p.credited ? "" : e.author && Tn(e.author) !== Tn(p.author) ? e.author : "", h = QU(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -69608,7 +69690,7 @@ function fOe({ 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: $U(d, e) + z(JU(e)) }+ dangerouslySetInnerHTML: { __html: XU(d, e) + R(GU(e)) }}), e.url ? /* @__PURE__ */ (0, F.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -69616,7 +69698,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: y2 }+ dangerouslySetInnerHTML: { __html: v2 }}) : null]}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -69624,8 +69706,8 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, F.jsx)("span", { children: rW(e) }),- v2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,+ /* @__PURE__ */ (0, F.jsx)("span", { children: eW(e) }),+ _2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: An(e.duration) }) : null,f ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -69642,7 +69724,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, F.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, F.jsxs)(NZ, {+ children: p.entityName ? /* @__PURE__ */ (0, F.jsxs)(MZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -69674,7 +69756,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, F.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, F.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, F.jsx)(pOe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, F.jsx)(xOe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, F.jsx)("p", {"data-follow-media-issue": "",children: h@@ -69697,9 +69779,9 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [VDe(e), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [YDe(e), /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: y2 }+ dangerouslySetInnerHTML: { __html: v2 }})]}, e))}) : null,@@ -69716,7 +69798,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpedisabled: g,...v("save"),onClick: i.save,- dangerouslySetInnerHTML: { __html: R(g ? "check" : "bookmark-plus") }+ dangerouslySetInnerHTML: { __html: L(g ? "check" : "bookmark-plus") }}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -69727,7 +69809,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpetitle: i.want ? "取消想要" : "想要",...v("want"),onClick: i.toggleWant,- dangerouslySetInnerHTML: { __html: R("star") }+ dangerouslySetInnerHTML: { __html: L("star") }}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -69738,7 +69820,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-pressed": e.status === "seen",...v("seen"),onClick: () => i.status("seen"),- dangerouslySetInnerHTML: { __html: R("eye") }+ dangerouslySetInnerHTML: { __html: L("eye") }}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -69749,7 +69831,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-pressed": e.status === "ignored",...v("ignored"),onClick: () => i.status("ignored"),- dangerouslySetInnerHTML: { __html: R("eye-off") }+ dangerouslySetInnerHTML: { __html: L("eye-off") }}),e.status === "seen" || e.status === "ignored" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -69758,7 +69840,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpetitle: "恢复未看",...v("new"),onClick: () => i.status("new"),- dangerouslySetInnerHTML: { __html: R("rotate-ccw") }+ dangerouslySetInnerHTML: { __html: L("rotate-ccw") }}) : null,c === "image" && l ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -69768,7 +69850,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpetitle: "隐藏这张图",...v(`hide:${l.index}`),onClick: () => i.hide(l.index),- dangerouslySetInnerHTML: { __html: R("image-off") }+ dangerouslySetInnerHTML: { __html: L("image-off") }}) : null,u ? /* @__PURE__ */ (0, F.jsx)("a", {"data-stage-action-link": "",@@ -69777,7 +69859,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpedownload: "","aria-label": "下载到本地",title: "下载到本地",- dangerouslySetInnerHTML: { __html: R("download") }+ dangerouslySetInnerHTML: { __html: L("download") }}) : null]}),@@ -69799,7 +69881,7 @@ function fOe({ 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, F.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(iOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(fOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]}, e.index))})]}) : null,@@ -69808,7 +69890,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-live": "polite",children: i.failure}),- /* @__PURE__ */ (0, F.jsx)(rOe, {+ /* @__PURE__ */ (0, F.jsx)(dOe, {item: e,label: o.tagLabel,actions: s@@ -69817,7 +69899,7 @@ function fOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function pOe({ text: e }) {+function xOe({ text: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = t.current;@@ -69830,7 +69912,7 @@ function pOe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: SF(e),+ lang: yF(e),"data-clamped": n ? void 0 : "",children: e}), i || n ? /* @__PURE__ */ (0, F.jsx)(q, {@@ -69842,28 +69924,28 @@ function pOe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function mOe(e, t, n) {- let r = e.id, i = $0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {+function SOe(e, t, n) {+ let r = e.id, i = Q0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {- H.setQueryData(i, (t) => t && {+ V.setQueryData(i, (t) => t && {...t,item: {...t.item,status: e}- }), qi(r, e);+ }), Ji(r, e);}, d = (e) => {- c(tn(e) || "操作失败"), t.failure("更新关注状态", e);- }, f = Ft({- mutationFn: ({ to: e }) => V(pr, {+ c(nn(e) || "操作失败"), t.failure("更新关注状态", e);+ }, f = It({+ mutationFn: ({ to: e }) => B(mr, {item: r,to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && x$(), t.toast(YDe(n), { undo: i === "saved" ? void 0 : async () => {- await V(pr, {+ u(n), c(""), n === "ignored" && b$(), t.toast(rOe(n), { undo: i === "saved" ? void 0 : async () => {+ await B(mr, {item: r,to: i}), u(i);@@ -69871,37 +69953,37 @@ function mOe(e, t, n) {},onError: d,onSettled: (e, t, { to: n }) => l(n, !1)- }), p = Ft({- mutationFn: () => V(PDe, { item: r }),+ }), p = It({+ mutationFn: () => B(HDe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},onError: d,onSettled: () => l("save", !1)- }), m = Ft({+ }), m = It({mutationFn: async ({ index: e, hidden: t }) => {- await V(FDe, {+ await B(UDe, {item: r,media: e,hidden: t- }), await H.invalidateQueries({+ }), await V.invalidateQueries({queryKey: i,exact: !0});},onSuccess: (e, { hidden: r, next: a }) => {- let o = H.getQueryData(i);- o && Ki(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");+ let o = V.getQueryData(i);+ o && qi(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");},onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)- }), h = Pt({- queryKey: Ywe(r),- queryFn: ({ signal: e }) => Qwe(r, e)- }).data?.want ?? null, g = Ft({- mutationFn: async (e) => (e ? await b$([e.id]) : await y$({ follow: r }), !e),+ }), h = Ft({+ queryKey: rTe(r),+ queryFn: ({ signal: e }) => oTe(r, e)+ }).data?.want ?? null, g = It({+ mutationFn: async (e) => (e ? await y$([e.id]) : await v$({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), x$();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), b$();},onError: d,onSettled: () => l("want", !1)@@ -69940,10 +70022,10 @@ function mOe(e, t, n) {};}// src/react/components/identity-cell.tsx-function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-id-face": "",- dangerouslySetInnerHTML: { __html: `<span>${z(Fn(t.name))}</span>` + Xa({+ dangerouslySetInnerHTML: { __html: `<span>${R(In(t.name))}</span>` + Za({kind: e,id: t.id,hasImage: t.has_image,@@ -69954,8 +70036,8 @@ function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })}) }}) : /* @__PURE__ */ (0, F.jsxs)("span", {"data-id-face": "",- children: [/* @__PURE__ */ (0, F.jsx)("span", { children: e === "studio" ? Pn(t.name, 2) : Fn(t.name) }), e === "studio" && t.has_logo ? /* @__PURE__ */ (0, F.jsx)("img", {- src: qa(t.name, "icon", t.logo_version),+ children: [/* @__PURE__ */ (0, F.jsx)("span", { children: e === "studio" ? Fn(t.name, 2) : In(t.name) }), e === "studio" && t.has_logo ? /* @__PURE__ */ (0, F.jsx)("img", {+ src: Ja(t.name, "icon", t.logo_version),alt: "",width: 128,height: 128,@@ -69978,7 +70060,7 @@ function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })"data-entity-kind": e,"data-entity-name": t.name,onClick: () => {- Ut(e, t.name, t.id), n(e, t.name);+ Wt(e, t.name, t.id), n(e, t.name);},children: s}) : /* @__PURE__ */ (0, F.jsx)("span", {@@ -69986,12 +70068,12 @@ function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function E2({ people: e, onOpen: t }) {+function T2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents","aria-hidden": "true",- dangerouslySetInnerHTML: { __html: R("tags") }+ dangerouslySetInnerHTML: { __html: L("tags") }}), /* @__PURE__ */ (0, F.jsx)("span", { children: e.name })] });return /* @__PURE__ */ (0, F.jsxs)("section", {"data-id-group": "series",@@ -70007,7 +70089,7 @@ function E2({ people: e, onOpen: t }) {"data-entity-name": e.name,title: e.name,onClick: () => {- Ut("series", e.name, e.id), t("series", e.name);+ Wt("series", e.name, e.id), t("series", e.name);},children: n(e)}, e.name) : /* @__PURE__ */ (0, F.jsx)("span", {@@ -70019,7 +70101,7 @@ function E2({ people: e, onOpen: t }) {});}// src/react/components/folded-title.ts-function D2(e) {+function E2(e) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = t.current;@@ -70036,9 +70118,9 @@ function D2(e) {};}// src/react/item-detail/catalog-picture.tsx-function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, P.useState)(""), [o, s] = (0, P.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, F.jsx)(mQ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, F.jsx)(pQ, {item: {code: e.code,has_cover: !1,@@ -70047,12 +70129,12 @@ function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {image: String(t - 1),thumbnail: r});- let c = t < 0 ? Wa(e, !0) : `/${r ? "sample-thumb" : "sample-image"}?code=${encodeURIComponent(e.code || "")}&n=${t}`;+ let c = t < 0 ? Ga(e, !0) : `/${r ? "sample-thumb" : "sample-image"}?code=${encodeURIComponent(e.code || "")}&n=${t}`;return r ? i === c ? /* @__PURE__ */ (0, F.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, F.jsx)("img", {src: c,alt: "",onError: () => a(c)- }) : i === c ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ }) : i === c ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -70070,39 +70152,39 @@ function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), hOe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), j2 = (e, t) => H.ensureQueryData({- queryKey: k2(e.code),- queryFn: () => A2(e.code, t),+var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => z(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), COe = (e, t, n, r = !1) => z(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => V.ensureQueryData({+ queryKey: O2(e.code),+ queryFn: () => k2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function gOe(e, t) {+function wOe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}// src/react/item-detail/external-playback.tsx-var M2 = "peach.playback-target.v1", N2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];-function _Oe() {+var j2 = "peach.playback-target.v1", M2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];+function TOe() {try {- return localStorage.getItem(M2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;+ return localStorage.getItem(j2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {return "local:default";}}-function P2({ id: e, onOpened: t }) {- let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(_Oe), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = AH();+function N2({ id: e, onOpened: t }) {+ let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(TOe), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = DH();(0, P.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) || N2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));+ return z("/api/local-players", e.signal).then((t) => {+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || M2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));}).catch((t) => {- e.signal.aborted || (r([]), a((e) => N2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));+ e.signal.aborted || (r([]), a((e) => M2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));}), () => e.abort();}, [u]);let p = () => void f.run("open", async (t) => {- if (i.startsWith("local:")) return await V(`/api/local-playback?id=${e}&player=${encodeURIComponent(i.slice(6))}`, {}, "POST", t), null;- let n = await V(`/api/external-playback?id=${e}`, {}, "POST", t);+ if (i.startsWith("local:")) return await B(`/api/local-playback?id=${e}&player=${encodeURIComponent(i.slice(6))}`, {}, "POST", t), null;+ let n = await B(`/api/external-playback?id=${e}`, {}, "POST", t);return {url: new URL(n.url, location.origin).href,playlist: new URL(n.playlist, location.origin).href@@ -70121,29 +70203,29 @@ function P2({ id: e, onOpened: t }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-local-playback-row": "",- children: [/* @__PURE__ */ (0, F.jsx)(p1, {+ children: [/* @__PURE__ */ (0, F.jsx)(f1, {id: `external-player-${e}`,label: "外部播放器",- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...N2],+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...M2],value: i,disabled: n === null || !!f.busy,epoch: u * 2 + Number(n !== null),onPick: (e) => {a(e), s(null), f.setError("");try {- localStorage.setItem(M2, e);+ localStorage.setItem(j2, e);} catch {}}}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary","aria-label": "使用外部播放器打开",disabled: n === null,- ...Hz(f.busy === "open"),+ ...zz(f.busy === "open"),onClick: p,children: "打开"})]}),- f.error || c ? /* @__PURE__ */ (0, F.jsx)($H, { children: f.error || c }) : null,+ f.error || c ? /* @__PURE__ */ (0, F.jsx)(XH, { children: f.error || c }) : null,c ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",disabled: !!f.busy,@@ -70152,16 +70234,16 @@ function P2({ id: e, onOpened: t }) {},children: "重新检测播放器"}) : null,- o ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Pz, {+ o ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(jz, {label: "网络播放地址",value: o.url,isReadOnly: !0- }), /* @__PURE__ */ (0, F.jsx)(QH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null+ }), /* @__PURE__ */ (0, F.jsx)(YH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null]});}// src/react/boardui/components/base/switch/switch.tsx-var vOe = gF({+var EOe = pF({sm: {track: "h-4 w-7",trackRadius: {@@ -70223,23 +70305,23 @@ var vOe = gF({}}});-function yOe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = vOe[t];+function DOe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = EOe[t];return /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: hF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? hF("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: K("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? K("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, F.jsx)("span", {- className: hF("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, F.jsx)("span", { className: hF("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: K("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, F.jsx)("span", { className: K("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 F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, F.jsx)(Ede, {+function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsx)(Ade, {ref: i,...a,- className: (t) => hF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(yOe, {+ className: (t) => K("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(DOe, {state: e,size: n,shape: r@@ -70250,12 +70332,12 @@ function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:});}// src/react/cover-crop/cover-crop.ts-var bOe = "/api/cover-crop", xOe = (e, t) => V(bOe, {+var OOe = "/api/cover-crop", kOe = (e, t) => B(OOe, {code: e,box: t});// src/react/cover-crop/cover-crop-page.tsx-function I2({ className: e }) {+function F2({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -70268,7 +70350,7 @@ function I2({ className: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-crop" })});}-function SOe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function AOe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70278,13 +70360,13 @@ function SOe({ 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, F.jsx)(I2, { className: "size-3.75" })- }), /* @__PURE__ */ (0, F.jsx)(Fz, {+ children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, F.jsx)(Mz, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, F.jsx)(COe, {+ children: /* @__PURE__ */ (0, F.jsx)(jOe, {code: e,coverUrl: t,box: n,@@ -70293,9 +70375,9 @@ function SOe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function COe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(null), [l, u] = (0, P.useState)(!0), d = sV(), f = Ft({- mutationFn: (t) => xOe(e, t),+function jOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(null), [l, u] = (0, P.useState)(!0), d = iV(), f = It({+ mutationFn: (t) => kOe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -70307,19 +70389,19 @@ function COe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : lCe(e, La);- c(ZZ(t, e, null));+ } : _Ce(e, Ra);+ c(XZ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, F.jsx)(Iz, { children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, F.jsx)(Nz, { children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-6" }) }),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(PI, {+ /* @__PURE__ */ (0, F.jsx)(jI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -70328,14 +70410,14 @@ function COe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ f.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",- children: Wn(f.error)+ children: Gn(f.error)}) : null]}),- /* @__PURE__ */ (0, F.jsx)(qF, {- icon: mz,+ /* @__PURE__ */ (0, F.jsx)(WF, {+ icon: dz,size: "small","aria-label": "关闭",onClick: i@@ -70345,24 +70427,24 @@ function COe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, F.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, F.jsx)(nQ, {+ children: /* @__PURE__ */ (0, F.jsx)(tQ, {src: t,- aspect: l ? La : null,+ aspect: l ? Ra : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- YZ(e) && p(e);+ JZ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, F.jsx)(F2, {+ children: [/* @__PURE__ */ (0, F.jsx)(P2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(ZZ(s, a, La));+ u(e), e && s && a && c(XZ(s, a, Ra));},children: /* @__PURE__ */ (0, F.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -70372,14 +70454,14 @@ function COe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Hz(m),+ ...zz(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, F.jsx)(q, {disabled: !s || !a,- ...Hz(m),+ ...zz(m),onClick: () => {s && !m && f.mutate(s);},@@ -70390,21 +70472,21 @@ function COe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {] });}// src/react/item-detail/item-detail-page.tsx-var L2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var I2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: R(e) }-}), R2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+ dangerouslySetInnerHTML: { __html: L(e) }+}), L2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), z2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";-function wOe(e) {- let { queue: t, actions: n } = e, r = Pt({- queryKey: t ? eN(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => lN(t, e.helpers, n),+}), R2 = (e) => Number(e) > 0 ? Mn(Number(e)) : "大小未知";+function MOe(e) {+ let { queue: t, actions: n } = e, r = Ft({+ queryKey: t ? QM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => sN(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? fN(i, e.id) : t ? null : e.id, o = Pt({- queryKey: $M(a ?? 0),- queryFn: ({ signal: e }) => cN(a, e),+ }), i = t && r.data || null, a = i ? uN(i, e.id) : t ? null : e.id, o = Ft({+ queryKey: ZM(a ?? 0),+ queryFn: ({ signal: e }) => oN(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -70415,10 +70497,10 @@ function wOe(e) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, F.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {+ children: [/* @__PURE__ */ (0, F.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, F.jsx)(IW, {- message: tn(e),+ children: e ? /* @__PURE__ */ (0, F.jsx)(jW, {+ message: nn(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();}@@ -70427,38 +70509,38 @@ function wOe(e) {})});}- return /* @__PURE__ */ (0, F.jsx)(TOe, {+ return /* @__PURE__ */ (0, F.jsx)(NOe, {...e,- item: Gse(o.data, i),+ item: Jse(o.data, i),queue: i}, o.data.id);}-var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",title: "关闭","aria-label": "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: R("x") }+ dangerouslySetInnerHTML: { __html: L("x") }});-function TOe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = BOe(t, r, i.tagLabel), o = (0, P.useRef)(t);+function NOe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = JOe(t, r, i.tagLabel), o = (0, P.useRef)(t);(0, P.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, P.useEffect)(() => {- n?.kind === "playlist" && V(tN, {+ n?.kind === "playlist" && B($M, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = tce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = pN(n, t.id);+ let s = ice(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = dN(n, t.id);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, F.jsx)(EOe, {+ children: [/* @__PURE__ */ (0, F.jsx)(POe, {item: t,gate: s,helpers: i,@@ -70471,22 +70553,22 @@ function TOe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, F.jsx)(jOe, {+ }), /* @__PURE__ */ (0, F.jsx)(zOe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, F.jsx)(p2, {+ }), /* @__PURE__ */ (0, F.jsx)(f2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, F.jsx)(OOe, {+ queue: n ? /* @__PURE__ */ (0, F.jsx)(IOe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(zOe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(qOe, {...e,item: n ? {...t,@@ -70495,12 +70577,12 @@ function TOe(e) {}) : null})] });}-function EOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {- let [o, s] = (0, P.useState)(t ? "" : "auto"), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(-2), d = (0, P.useRef)(!1), f = Pt({- queryKey: k2(e.code || ""),+function POe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+ let [o, s] = (0, P.useState)(t ? "" : "auto"), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(-2), d = (0, P.useRef)(!1), f = Ft({+ queryKey: O2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, A2(e.code, t, n);+ return d.current = !1, k2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -70545,26 +70627,26 @@ function EOe({ 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, F.jsx)(B2, { onClose: r.close }),+ /* @__PURE__ */ (0, F.jsx)(z2, { onClose: r.close }),h ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(O2, {+ l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(D2, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, e.id),- /* @__PURE__ */ (0, F.jsx)(m2, {+ /* @__PURE__ */ (0, F.jsx)(p2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(O2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(D2, {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,@@ -70581,8 +70663,8 @@ function EOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Hz(f.isFetching),- title: f.data?.message || tn(f.error),+ ...zz(f.isFetching),+ title: f.data?.message || nn(f.error),"aria-label": "立即重试样图",onClick: () => {d.current = !0, f.refetch();@@ -70590,7 +70672,7 @@ function EOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, F.jsx)(DOe, {+ t === "offline" ? /* @__PURE__ */ (0, F.jsx)(FOe, {item: e,badge: y,helpers: n,@@ -70601,7 +70683,7 @@ function EOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, F.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, F.jsx)(P2, {+ /* @__PURE__ */ (0, F.jsx)(N2, {id: e.id,onOpened: () => r.toast("已请求打开本地播放器")}, e.id)@@ -70611,7 +70693,7 @@ function EOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, F.jsx)(R2, { html: y }),+ /* @__PURE__ */ (0, F.jsx)(L2, { html: y }),/* @__PURE__ */ (0, F.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, F.jsx)("button", {@@ -70626,12 +70708,12 @@ function EOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]}) : null]});}-function DOe({ item: e, badge: t, helpers: n, actions: r }) {+function FOe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -70642,7 +70724,7 @@ function DOe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, F.jsx)(R2, { html: t }),+ /* @__PURE__ */ (0, F.jsx)(L2, { html: t }),/* @__PURE__ */ (0, F.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, F.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, F.jsx)("button", {@@ -70656,8 +70738,8 @@ function DOe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function OOe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Zse(e), a = (0, P.useRef)(null), o = AOe(e, t, r), s = (0, P.useRef)(o);+function IOe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = ece(e), a = (0, P.useRef)(null), o = ROe(e, t, r), s = (0, P.useRef)(o);s.current = o;let c = (0, P.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -70665,26 +70747,26 @@ function OOe({ queue: e, itemId: t, helpers: n, actions: r }) {attribute: "data-queue-row",onMove: (e, t, n) => s.current.move(+e, +t, n)}));- }, [n, e.kind]), l = kOe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {+ }, [n, e.kind]), l = LOe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表","aria-label": "保存为播放列表",onClick: l,- dangerouslySetInnerHTML: { __html: R("playlist") }+ dangerouslySetInnerHTML: { __html: L("playlist") }}) : e.kind === "playlist" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-edit-playlist": "",title: "编辑播放列表","aria-label": "编辑播放列表",onClick: r.editPlaylist,- dangerouslySetInnerHTML: { __html: R("playlist") }+ dangerouslySetInnerHTML: { __html: L("playlist") }}) : null, d = {kind: e.kind,seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, F.jsx)(gK, {+ return /* @__PURE__ */ (0, F.jsx)(dK, {kind: e.kind,title: i.title,summary: i.summary,@@ -70693,11 +70775,11 @@ function OOe({ 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, F.jsx)("i", {- className: `javedition ${Yse[i.edition_label] || "censored"}`,+ className: `javedition ${Qse[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && dN(i);- return /* @__PURE__ */ (0, F.jsxs)(_K, {+ }) : null, s = e.kind === "playlist" && lN(i);+ return /* @__PURE__ */ (0, F.jsxs)(fK, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70707,25 +70789,25 @@ function OOe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: co(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: lo(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {className: "mono","data-mix-item-duration": "",- children: kn(i.duration)+ children: An(i.duration)})] }),- lead: /* @__PURE__ */ (0, F.jsx)(R2, { html: fo(i) }),+ lead: /* @__PURE__ */ (0, F.jsx)(L2, { html: po(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, F.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "grip-vertical" })}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, F.jsxs)("span", {@@ -70736,14 +70818,14 @@ function OOe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, F.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? xN(i.part_label) : po(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? yN(i.part_label) : mo(i, n.tagLabel)})]}, i.id);})});}-function kOe(e, t) {- let n = Ft({ mutationFn: (t) => V(tN, {+function LOe(e, t) {+ let n = It({ mutationFn: (t) => B($M, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -70756,14 +70838,14 @@ function kOe(e, t) {save: (e) => n.mutateAsync(e)});}-function AOe(e, t, n) {- let r = eN({+function ROe(e, t, n) {+ let r = QM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, uN(e)), e), a = (t) => V(tN, {+ }), i = (e) => (V.setQueryData(r, cN(e)), e), a = (t) => B($M, {id: e.playlistId,...t- }).then((e) => e.playlist), o = Ft({+ }).then((e) => e.playlist), o = It({mutationFn: (e) => a({action: "reorder",asset_ids: e@@ -70776,8 +70858,8 @@ function AOe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = $se(s, t, r, c);- if (ece(l, s)) return;+ let l = nce(s, t, r, c);+ if (rce(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -70788,7 +70870,7 @@ function AOe(e, t, n) {},remove: (e) => {let r = s;- Vc({+ Hc({title: "移出播放列表",body: "这个视频将从播放列表移除,视频文件保留。",confirmLabel: "移出播放列表",@@ -70819,7 +70901,7 @@ function AOe(e, t, n) {}};}-function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function zOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-side": "",@@ -70827,7 +70909,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, F.jsx)(MOe, {+ /* @__PURE__ */ (0, F.jsx)(BOe, {item: e,queue: t,helpers: r,@@ -70839,7 +70921,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, F.jsx)(POe, {+ /* @__PURE__ */ (0, F.jsx)(HOe, {item: e,write: n}),@@ -70850,7 +70932,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.width,"×",e.height@@ -70858,11 +70940,11 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: z2(e.size) })]+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: R2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -70870,32 +70952,32 @@ function jOe({ 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, F.jsx)(L2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(P2, {+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(N2, {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,- /* @__PURE__ */ (0, F.jsx)(FOe, {+ /* @__PURE__ */ (0, F.jsx)(UOe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, F.jsx)(IOe, {+ /* @__PURE__ */ (0, F.jsx)(WOe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, F.jsx)(IK, {- assetIds: FK([e], r.javImage()),+ /* @__PURE__ */ (0, F.jsx)(jK, {+ assetIds: AK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: $M(e.id) });+ V.invalidateQueries({ queryKey: ZM(e.id) });}}),- /* @__PURE__ */ (0, F.jsx)(LOe, { item: e }),+ /* @__PURE__ */ (0, F.jsx)(GOe, { item: e }),/* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -70909,7 +70991,7 @@ function jOe({ 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, F.jsx)(L2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70921,7 +71003,7 @@ function jOe({ 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, F.jsx)(L2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70932,7 +71014,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70943,7 +71025,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "eye" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "eye" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70954,7 +71036,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70963,7 +71045,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "playlist" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "playlist" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70974,7 +71056,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "sparkles" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70985,11 +71067,11 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "trash" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "trash" })})]}),- /* @__PURE__ */ (0, F.jsx)(ROe, {+ /* @__PURE__ */ (0, F.jsx)(KOe, {item: e,open: s,write: n@@ -71000,7 +71082,7 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, F.jsx)(L2, { name: "sperm" }),+ /* @__PURE__ */ (0, F.jsx)(I2, { name: "sperm" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, F.jsx)("b", {className: "mono",@@ -71013,8 +71095,8 @@ function jOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function MOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = D2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Qse(e, t);+function BOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + tce(e, t);return /* @__PURE__ */ (0, F.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, F.jsxs)("div", {@@ -71041,23 +71123,23 @@ function MOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, F.jsx)(YH, {})+ children: /* @__PURE__ */ (0, F.jsx)(KH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, F.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, F.jsx)(SOe, {+ children: /* @__PURE__ */ (0, F.jsx)(AOe, {code: e.cover_key || e.code || "",- coverUrl: Wa(e),+ coverUrl: Ga(e),box: e.poster_box || null,onSaved: (t) => {- H.invalidateQueries({- queryKey: $M(e.id),+ V.invalidateQueries({+ queryKey: ZM(e.id),exact: !0- }), YM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), qM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(NOe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(VOe, {id: e.id,actions: r,onStatus: i@@ -71067,7 +71149,7 @@ function MOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function NOe({ id: e, actions: t, onStatus: n }) {+function VOe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, P.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -71086,7 +71168,7 @@ function NOe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void a(),- dangerouslySetInnerHTML: { __html: r === "reveal" ? bs("正在定位") : R("folder-open") }+ dangerouslySetInnerHTML: { __html: r === "reveal" ? xs("正在定位") : L("folder-open") }}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-sync": e,@@ -71097,18 +71179,18 @@ function NOe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "folder-sync" })})] });}-function POe({ item: e, write: t }) {- let n = ZM(e.rating);+function HOe({ item: e, write: t }) {+ let n = YM(e.rating);return /* @__PURE__ */ (0, F.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": XM(e.rating),- children: [/* @__PURE__ */ (0, F.jsx)(iY, {+ "data-value": JM(e.rating),+ children: [/* @__PURE__ */ (0, F.jsx)($J, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -71122,14 +71204,14 @@ function POe({ item: e, write: t }) {}), /* @__PURE__ */ (0, F.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: Vse(e.rating)+ children: Wse(e.rating)})]});}-function FOe({ item: e, actions: t }) {- let n = (0, P.useMemo)(() => Kse(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function UOe({ item: e, actions: t }) {+ let n = (0, P.useMemo)(() => Yse(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, F.jsx)(T2, {+ return /* @__PURE__ */ (0, F.jsx)(w2, {kind: e,person: n,onOpen: t.openEntity,@@ -71161,19 +71243,19 @@ function FOe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "user-round" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "user-round" })}), /* @__PURE__ */ (0, F.jsx)("span", {"data-id-name": "",children: "未归属"})]})})]- }, "unowned") : s(Ya(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, F.jsxs)(q, {+ }, "unowned") : s(Xa(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, F.jsxs)(q, {variant: "secondary",size: "small",id: "castMore","data-cast-more": "",- trailingIcon: dz,+ trailingIcon: cz,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -71192,18 +71274,18 @@ function FOe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, F.jsx)(E2, {+ }) : null, /* @__PURE__ */ (0, F.jsx)(T2, {people: n.series,onOpen: t.openEntity})]});}-function IOe({ item: e, write: t, helpers: n, actions: r }) {+function WOe({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-item-tags": "",- children: /* @__PURE__ */ (0, F.jsx)(_2, {+ children: /* @__PURE__ */ (0, F.jsx)(g2, {id: "detailTags",- tags: qse(e, n),+ tags: Xse(e, n),candidates: n.tagCandidates(),label: n.tagLabel,adding: [...t.busy].some((e) => e.startsWith("add:")),@@ -71214,8 +71296,8 @@ function IOe({ item: e, write: t, helpers: n, actions: r }) {})});}-function LOe({ item: e }) {- let t = nce(e);+function GOe({ item: e }) {+ let t = ace(e);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -71249,7 +71331,7 @@ function LOe({ item: e }) {})]});}-function ROe({ item: e, open: t, write: n }) {+function KOe({ item: e, open: t, write: n }) {let [r, i] = (0, P.useState)(e.like_reason || ""), a = (0, P.useRef)(null);(0, P.useEffect)(() => {t && a.current?.focus();@@ -71283,25 +71365,25 @@ function ROe({ item: e, open: t, write: n }) {"aria-label": "提交喜爱理由",...n.busyAttrs("preference"),onClick: () => n.preference({ reason: r }),- dangerouslySetInnerHTML: { __html: o ? `${bs("正在提交喜爱理由")}<span>提交中</span>` : "<span>提交</span>" }+ dangerouslySetInnerHTML: { __html: o ? `${xs("正在提交喜爱理由")}<span>提交中</span>` : "<span>提交</span>" }})]})]});}-function zOe(e) {- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({- queryKey: Hse(t.id, n),- queryFn: async ({ signal: e }) => (await B(Wse(t.id, n), e)).items || []+function qOe(e) {+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({+ queryKey: Gse(t.id, n),+ queryFn: async ({ signal: e }) => (await z(qse(t.id, n), e)).items || []}), [o] = (0, P.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, F.jsx)(f2, {+ return /* @__PURE__ */ (0, F.jsx)(d2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,- error: a.isError ? `读取接着看失败:${tn(a.error)}` : void 0,+ error: a.isError ? `读取接着看失败:${nn(a.error)}` : void 0,onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, F.jsx)(pY, {+ children: a.data ? /* @__PURE__ */ (0, F.jsx)(cY, {mode: "items",variant: "next",items: a.data,@@ -71314,19 +71396,19 @@ function zOe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, F.jsx)(R2, { html: o })+ }) : /* @__PURE__ */ (0, F.jsx)(L2, { html: o })});}-function BOe(e, t, n) {- let r = e.id, i = $M(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = (e, t) => o((n) => {+function JOe(e, t, n) {+ let r = e.id, i = ZM(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [l, u] = (0, P.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) => {+ }), f = () => V.getQueryData(i) || e, p = (e) => {let t = typeof e == "function" ? e(f()) : {...f(),...e};- H.setQueryData(i, t);+ V.setQueryData(i, t);let n = {feedback: t.feedback,disposal: t.disposal,@@ -71334,11 +71416,11 @@ function BOe(e, t, n) {rating: t.rating,o_count: t.o_count};- return JM(r, n), t;- }, m = (e, t) => V(e, {+ return KM(r, n), t;+ }, m = (e, t) => B(e, {id: r,...t- }), h = Ft({+ }), h = It({mutationFn: ({ run: e }) => e(),onError: (e, { action: n }) => t.failure(n, e),onSettled: (e, t, { name: n }) => d(n, !1)@@ -71349,7 +71431,7 @@ function BOe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(nN, t === void 0 ? { kind: e } : {+ let n = await m(eN, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -71369,21 +71451,21 @@ function BOe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = QM(n, e);- await _("rate", r), t.toast(r ? `已评 ${ZM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = XM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${YM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(SN(e, r), { undo: async () => {+ t.toast(bN(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(iN, {});+ let e = await m(nN, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(iN, {})).watch_later });+ p({ watch_later: (await m(nN, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -71393,9 +71475,9 @@ function BOe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(aN, { wanted: !e.wanted });+ }), r = await m(rN, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(aN, e));+ n(await m(rN, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -71409,7 +71491,7 @@ function BOe(e, t, n) {});u("保存中…");try {- o(await m(oN, {+ o(await m(iN, {liked: a,reason: i}));@@ -71419,7 +71501,7 @@ function BOe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(oN, r));+ o(await m(iN, r));} });});},@@ -71428,37 +71510,37 @@ function BOe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => gN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(rN, {+ p((t) => mN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(tN, {operation: "add",tag: e.k- }), p((t) => _N(t, e));+ }), p((t) => hN(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(rN, {+ let e = await m(tN, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- hN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => _N(e, {+ pN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => hN(e, {k: i,cat: "general"- })), bN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(rN, {+ })), vN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(tN, {operation: "remove",tag: i- }), p((e) => gN(e, i));+ }), p((e) => mN(e, i));} }));});}};}// src/react/activity/downloads-panel.tsx-var V2 = "/api/downloads", H2 = ["downloads"], VOe = "/api/downloads/cancel", HOe = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, UOe = {+var B2 = "/api/downloads", V2 = ["downloads"], YOe = "/api/downloads/cancel", XOe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, ZOe = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -71467,21 +71549,21 @@ var V2 = "/api/downloads", H2 = ["downloads"], VOe = "/api/downloads/cancel", HOremote_done: "lime",landed: "lime",submitted: "neutral"-}, W2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = CF({+}, U2 = (e) => {+ let t = e.display_code || e.code || "", { title: n } = bF({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}`;-}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", WOe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function GOe() {- let e = (0, P.useId)(), t = It({- queryKey: [...H2, "pages"],+}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", QOe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function $Oe() {+ let e = (0, P.useId)(), t = Lt({+ queryKey: [...V2, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${V2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => z(`${B2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => U2(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => H2(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, F.jsxs)("section", {id: "cloudDownloads",@@ -71493,14 +71575,14 @@ function GOe() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ t.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",- children: Wn(t.error)+ children: Gn(t.error)}) : null,r.length ? /* @__PURE__ */ (0, F.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(KOe, {+ children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(eke, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -71508,9 +71590,9 @@ function GOe() {t.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: dz,+ leadingIcon: cz,className: "self-start",- ...Hz(t.isFetchingNextPage),+ ...zz(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -71519,15 +71601,15 @@ function GOe() {]});}-function KOe({ task: e, writable: t }) {- let n = oe(), r = AH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = G2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+function eke({ task: e, writable: t }) {+ let n = oe(), r = DH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = W2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,- VF(e.submitted_at)+ RF(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: H2 });+ n.invalidateQueries({ queryKey: V2 });}, g = () => {- r.run("cancel", (t) => V(VOe, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => B(YOe, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -71537,16 +71619,16 @@ function KOe({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(V2, t, "POST", e), h);+ r.run("resubmit", (e) => B(B2, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => V(HOe, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => B(XOe, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, F.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: HH({+ className: zH({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -71557,24 +71639,24 @@ function KOe({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(jA) },+ style: { "--card-ratio": String(OA) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, F.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, F.jsx)(LW, {+ u?.has_cover ? /* @__PURE__ */ (0, F.jsx)(MW, {artwork: {kind: "cover",- html: no(u, "big")+ html: ro(u, "big")},- relayout: (e) => xl(e, "big")+ relayout: (e) => Sl(e, "big")}) : null,f ? /* @__PURE__ */ (0, F.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${W2(e)}`,+ "aria-label": `打开作品详情:${U2(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]@@ -71585,19 +71667,19 @@ function KOe({ 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, F.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: W2(e),+ title: U2(e),children: f ? /* @__PURE__ */ (0, F.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: W2(e)- }) : W2(e)+ children: U2(e)+ }) : U2(e)}), /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(cZ, {- color: UOe[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, F.jsx)(sZ, {+ color: ZOe[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(cZ, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(sZ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -71607,7 +71689,7 @@ function KOe({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, F.jsx)(aU, {+ children: /* @__PURE__ */ (0, F.jsx)(nU, {source: e.provider,label: e.provider_label})@@ -71623,10 +71705,10 @@ function KOe({ task: e, writable: t }) {className: "flex shrink-0 items-center gap-1",children: d.slice(0, 3).map((e) => /* @__PURE__ */ (0, F.jsx)("a", {"data-media-avatar": "",- href: hn("performer", e.name, e.id),+ href: gn("performer", e.name, e.id),"aria-label": `打开女优页:${e.name}`,title: e.name,- dangerouslySetInnerHTML: { __html: Za(e.name, e, null) }+ dangerouslySetInnerHTML: { __html: Qa(e.name, e, null) }}, e.id || e.name))}), /* @__PURE__ */ (0, F.jsxs)("span", {className: "min-w-0 truncate text-caption-1-regular text-text-secondary",@@ -71634,7 +71716,7 @@ function KOe({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, F.jsx)(GH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, F.jsx)(HH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -71644,7 +71726,7 @@ function KOe({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, F.jsx)($H, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, F.jsx)(XH, { children: r.error }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -71669,21 +71751,21 @@ function KOe({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Hz(r.busy === "cancel"),+ ...zz(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Hz(r.busy === "resubmit"),+ ...zz(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Hz(r.busy === "postprocess"),+ ...zz(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -71698,33 +71780,33 @@ function KOe({ task: e, writable: t }) {id: c,"data-download-title-full": !0,className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",- children: W2(e)+ children: U2(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, F.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, F.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || WOe(e)+ children: l || QOe(e)})}) : null]});}// src/react/activity/work-code.ts-var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);+var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);// src/react/activity/resource-search.tsx-function qOe({ className: e }) {+function tke({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,"aria-hidden": !0,- dangerouslySetInnerHTML: { __html: bs("") }+ dangerouslySetInnerHTML: { __html: xs("") }});}-function JOe(e) {+function nke(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function YOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => JOe(t)), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), y = AH(), b = (0, P.useRef)(null);+function rke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => nke(t)), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), y = DH(), b = (0, P.useRef)(null);(0, P.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71734,13 +71816,13 @@ function YOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});l && e.set("min_size", String(Math.round(Number(l) * 1024 ** 3))), d && e.set("max_size", String(Math.round(Number(d) * 1024 ** 3))), m(null), v("");let t = a.trim();- if (r?.(t), b.current?.abort(), y.run("search", (t) => B(`/api/resources/search?${e}`, t), (e) => {+ if (r?.(t), b.current?.abort(), y.run("search", (t) => z(`/api/resources/search?${e}`, t), (e) => {m(e), g(t);}), i) {let e = new AbortController();- b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {+ b.current = e, z(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => q2(e.code, t));+ let r = (n.items || []).find((e) => K2(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -71748,7 +71830,7 @@ function YOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {release_date: String(r.release_date || ""),duration: r.duration,studio: r.studio,- cover: r.has_cover ? Wa(r, !0) : "",+ cover: r.has_cover ? Ga(r, !0) : "",origin: `asset:${r.id}`} : null);}, () => {@@ -71761,18 +71843,18 @@ function YOe({ 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, F.jsxs)(QH, { children: [+ t ? /* @__PURE__ */ (0, F.jsxs)(YH, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, F.jsx)(Pz, {+ /* @__PURE__ */ (0, F.jsx)(jz, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? qOe : Tz,+ leadingIcon: y.busy ? tke : Sz,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71782,7 +71864,7 @@ function YOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, F.jsx)(eU, { children: "优先寻找" }), /* @__PURE__ */ (0, F.jsxs)(kU, {+ children: [/* @__PURE__ */ (0, F.jsx)(ZH, { children: "优先寻找" }), /* @__PURE__ */ (0, F.jsxs)(EU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71790,15 +71872,15 @@ function YOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, F.jsx)(AU, {+ /* @__PURE__ */ (0, F.jsx)(DU, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, F.jsx)(AU, {+ /* @__PURE__ */ (0, F.jsx)(DU, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, F.jsx)(AU, {+ /* @__PURE__ */ (0, F.jsx)(DU, {id: "uncensored",children: "无码"})@@ -71807,32 +71889,32 @@ function YOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, F.jsx)(Pz, {+ children: [/* @__PURE__ */ (0, F.jsx)(jz, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, F.jsx)(Pz, {+ }), /* @__PURE__ */ (0, F.jsx)(jz, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, F.jsx)(QH, {+ y.busy ? /* @__PURE__ */ (0, F.jsx)(YH, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, F.jsx)($H, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, F.jsx)(QH, {+ y.error ? /* @__PURE__ */ (0, F.jsx)(XH, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, F.jsx)(YH, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, F.jsx)(QH, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, F.jsx)(YH, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, F.jsx)(QH, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, F.jsx)(YH, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, F.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {@@ -71842,7 +71924,7 @@ function YOe({ 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, F.jsx)(QH, { children: [+ /* @__PURE__ */ (0, F.jsx)(YH, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71866,19 +71948,19 @@ function YOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});}// src/react/activity/cloud-download-dialog.tsx-var XOe = {+var ike = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function J2({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, F.jsx)(Fz, {+function q2({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, F.jsx)(Mz, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, F.jsx)(ZOe, {+ children: e ? /* @__PURE__ */ (0, F.jsx)(ake, {prefill: e,close: t,receipt: n,@@ -71886,26 +71968,26 @@ function J2({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function ZOe({ prefill: e, close: t, receipt: n, provider: r }) {- let i = Pt({- queryKey: H2,- queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e),- refetchInterval: (e) => U2(e.state.data)+function ake({ prefill: e, close: t, receipt: n, provider: r }) {+ let i = Ft({+ queryKey: V2,+ queryFn: ({ signal: e }) => z(`${B2}?limit=50`, e),+ refetchInterval: (e) => H2(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, F.jsx)(PI, {+ children: [/* @__PURE__ */ (0, F.jsx)(jI, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: mz,+ leadingIcon: dz,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, F.jsx)(QOe, {+ return a ? /* @__PURE__ */ (0, F.jsx)(oke, {header: o,snapshot: a,prefill: e,@@ -71918,9 +72000,9 @@ function ZOe({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, F.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ children: i.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",- children: Wn(i.error)+ children: Gn(i.error)}) : null}),/* @__PURE__ */ (0, F.jsx)("div", {@@ -71934,8 +72016,8 @@ function ZOe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function QOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = oe(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, P.useState)(c?.key || ""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(n.code ?? ""), [h, g] = (0, P.useState)(c?.target || ""), [_, v] = (0, P.useState)(n.code ? n : null), [y, b] = (0, P.useState)(""), x = t.available && s.some((e) => e.key === l), S = AH(), C = (0, P.useRef)(null), w = (e) => {+function oke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = oe(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, P.useState)(c?.key || ""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(n.code ?? ""), [h, g] = (0, P.useState)(c?.target || ""), [_, v] = (0, P.useState)(n.code ? n : null), [y, b] = (0, P.useState)(""), x = t.available && s.some((e) => e.key === l), S = DH(), C = (0, P.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, F.jsxs)("form", {@@ -71951,14 +72033,14 @@ function QOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(V2, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: H2 });- let t = XOe[e.outcome];+ b(""), S.run("submit", (e) => B(B2, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: V2 });+ let t = ike[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = G2(e.task);+ let n = W2(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -71982,7 +72064,7 @@ function QOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, F.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, F.jsx)(QH, { children: [+ }), _ ? /* @__PURE__ */ (0, F.jsx)(YH, { children: [_.performers,_.studio,_.release_date,@@ -71990,22 +72072,22 @@ function QOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, F.jsx)(YOe, {+ /* @__PURE__ */ (0, F.jsx)(rke, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- q2(e, _?.code) || (v(q2(e, n.code) ? n : null), f("")), m(e);+ K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : q2(t?.code, n.code) ? t : null),+ } : e : K2(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, F.jsx)(Pz, {+ /* @__PURE__ */ (0, F.jsx)(jz, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -72017,38 +72099,38 @@ function QOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, F.jsx)(eU, { children: "下载到" }),- /* @__PURE__ */ (0, F.jsx)(kU, {+ /* @__PURE__ */ (0, F.jsx)(ZH, { children: "下载到" }),+ /* @__PURE__ */ (0, F.jsx)(EU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, F.jsx)(AU, {+ children: s.map((e) => /* @__PURE__ */ (0, F.jsx)(DU, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, F.jsx)(aU, {+ children: /* @__PURE__ */ (0, F.jsx)(nU, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, F.jsx)(QH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, F.jsx)(YH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, F.jsx)(Lz, {+ t.available ? null : /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, F.jsxs)(Lz, {+ s.length ? null : /* @__PURE__ */ (0, F.jsxs)(Pz, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, F.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, F.jsx)(Pz, {+ /* @__PURE__ */ (0, F.jsx)(jz, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -72056,17 +72138,17 @@ function QOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, F.jsx)(Pz, {+ n.code ? null : /* @__PURE__ */ (0, F.jsx)(jz, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), q2(e, _?.code) || v(null);+ m(e), K2(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, F.jsx)($H, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, F.jsx)(XH, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -72078,7 +72160,7 @@ function QOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, F.jsx)(q, {type: "submit",disabled: !d.trim() || !x,- ...Hz(S.busy === "submit"),+ ...zz(S.busy === "submit"),children: "提交下载"})]})@@ -72086,11 +72168,11 @@ function QOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide});}// src/react/publication-cache.ts-var Y2 = 864e5, X2 = (e) => {+var J2 = 864e5, Y2 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function Z2(e) {+function X2(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));@@ -72098,25 +72180,25 @@ function Z2(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function $Oe(e, t = Date.now()) {- let n = Z2(e);- return n !== void 0 && X2(t) > n ? Infinity : Y2;+function ske(e, t = Date.now()) {+ let n = X2(e);+ return n !== void 0 && Y2(t) > n ? Infinity : J2;}-function Q2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : $Oe(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;+function Z2(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : ske(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;}// src/react/wants/resource-cache.ts-var $2 = "peach.want-resources.v2";-function e4(e) {+var Q2 = "peach.want-resources.v2";+function $2(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function t4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !e4(e) ? Date.now() - t < 6e4 : Q2(t, n));+function e4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));}-function n4() {+function t4() {try {- let e = JSON.parse(localStorage.getItem($2) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && e4(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(Q2) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && $2(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -72125,23 +72207,23 @@ function n4() {return [];}}-function eke(e, t) {- let n = n4().find((t) => t.code === e);- return n && Q2(n.saved, t) ? n : void 0;+function cke(e, t) {+ let n = t4().find((t) => t.code === e);+ return n && Z2(n.saved, t) ? n : void 0;}-function tke(e) {- let t = new Map(n4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function lke(e) {+ let t = new Map(t4().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 && Q2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function nke(e, t) {- if (t.state === "ready" && e4(t)) try {- let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem($2, JSON.stringify([{+function uke(e, t) {+ if (t.state === "ready" && $2(t)) try {+ let n = t4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(Q2, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -72149,15 +72231,15 @@ function nke(e, t) {} catch {}}// src/react/wants/resource-display.ts-function rke(e) {+function dke(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());- return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? jn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";+ return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Mn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function ike(e) {+function fke(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx-function r4({ icon: e, children: t, title: n }) {+function n4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, F.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -72167,8 +72249,8 @@ function r4({ icon: e, children: t, title: n }) {}), t]});}-function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, P.useRef)(null), [c, l] = (0, P.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, P.useState)([]), f = AH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => eke(h, e.release_date), [h, e.release_date]);+function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, P.useRef)(null), [c, l] = (0, P.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, P.useState)([]), f = DH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => cke(h, e.release_date), [h, e.release_date]);(0, P.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -72176,7 +72258,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}, { rootMargin: "100px" });return e.observe(s.current), () => e.disconnect();}, [c]);- let _ = Pt({+ let _ = Ft({queryKey: o ? ["work-resources",o,@@ -72187,23 +72269,23 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource.code],queryFn: async ({ signal: t }) => {- let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", nke(h, i), i;+ let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await z(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);+ return m.current = n && i.state === "busy", uke(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !e4(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, P.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, P.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && Zwe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && aTe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -72211,7 +72293,7 @@ function i4({ 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(V2, {+ let n = await B(B2, {magnet: r.uri,provider: v.key,target: v.target,@@ -72222,11 +72304,11 @@ function i4({ 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: H2 });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: V2 });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));- }, x = _.isFetching || _.data?.state === "busy", S = _.error ? Wn(_.error) : _.data?.error;+ }, x = _.isFetching || _.data?.state === "busy", S = _.error ? Gn(_.error) : _.data?.error;return /* @__PURE__ */ (0, F.jsxs)("div", {ref: s,"data-want-magnets": "",@@ -72240,39 +72322,39 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: wz,- ...Hz(x),+ leadingIcon: xz,+ ...zz(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, F.jsx)(UH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ x ? /* @__PURE__ */ (0, F.jsx)(BH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, F.jsx)(Lz, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",- children: ike(e)+ children: fke(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(lI, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(oI, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: hz,+ trailingIcon: fz,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ f.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",title: "操作未完成",children: f.error@@ -72287,7 +72369,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(cZ, {+ children: [/* @__PURE__ */ (0, F.jsx)(sZ, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -72301,26 +72383,26 @@ function i4({ 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, F.jsx)(r4, {- icon: spe,+ /* @__PURE__ */ (0, F.jsx)(n4, {+ icon: dpe,children: e.source}),- /* @__PURE__ */ (0, F.jsx)(r4, {- icon: yz,+ /* @__PURE__ */ (0, F.jsx)(n4, {+ icon: gz,title: `来源大小:${e.size}`,- children: rke(e.size)+ children: dke(e.size)}),- e.files ? /* @__PURE__ */ (0, F.jsx)(r4, {- icon: Qfe,+ e.files ? /* @__PURE__ */ (0, F.jsx)(n4, {+ icon: npe,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, F.jsx)(r4, {- icon: Rfe,+ /* @__PURE__ */ (0, F.jsx)(n4, {+ icon: Hfe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(r4, {- icon: Cz,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(n4, {+ icon: bz,children: e}, e))]@@ -72329,11 +72411,11 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(lI, {+ /* @__PURE__ */ (0, F.jsx)(oI, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: hz,+ trailingIcon: fz,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72342,18 +72424,18 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Xfe,- ...Hz(f.busy === `copy:${e.id}`),+ leadingIcon: epe,+ ...zz(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary",size: "small",- leadingIcon: v ? iU(v.key) : Wfe,+ leadingIcon: v ? tU(v.key) : Jfe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...Hz(f.busy === e.id),+ ...zz(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -72364,7 +72446,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, F.jsx)(tU, {+ }), e.length > 3 ? /* @__PURE__ */ (0, F.jsx)(QH, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, F.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -72376,10 +72458,10 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc});}// src/react/jav-detail/review-cache.ts-var a4 = "peach.jav-reviews.v2";-function o4() {+var i4 = "peach.jav-reviews.v2";+function a4() {try {- let e = localStorage.getItem(a4) || "[]";+ let e = localStorage.getItem(i4) || "[]";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")) : [];@@ -72387,21 +72469,21 @@ function o4() {return [];}}-function ake(e, t) {+function pke(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...o4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(a4, i);+ }, ...a4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(i4, i);} catch {}}-function oke(e, t) {- let n = o4(), r = [], i = Infinity;+function mke(e, t) {+ let n = a4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !Q2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -72409,16 +72491,16 @@ function oke(e, t) {saved: i} : void 0;}-function ske(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));+function hke(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsx-function cke(e) {- let t = (0, P.useRef)(!1), n = Pt({- queryKey: k2(e.code),+function gke(e) {+ let t = (0, P.useRef)(!1), n = Ft({+ queryKey: O2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, A2(e.code, n, r);+ return t.current = !1, k2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -72428,34 +72510,34 @@ function cke(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, F.jsx)(lke, {+ children: n.data ? /* @__PURE__ */ (0, F.jsx)(_ke, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, F.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(IW, {- message: Wn(n.error),+ children: [/* @__PURE__ */ (0, F.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(jW, {+ message: Gn(n.error),onRetry: r}) : null]})});}-var s4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var o4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage","aria-label": "关闭",title: "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: R("x") }+ dangerouslySetInnerHTML: { __html: L("x") }});-function lke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function _ke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, P.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, P.useEffect)(() => {- t.state === "ready" && H.invalidateQueries({ queryKey: ["jav-discoveries", "external"] });+ t.state === "ready" && V.invalidateQueries({ queryKey: ["jav-discoveries", "external"] });}, [t.code, t.state]);let [o, s] = (0, P.useState)(-1), c = [{@@ -72471,13 +72553,13 @@ function lke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(t.want_id), p = AH(), m = () => {- p.run("want", async (e) => d ? (await b$([d], e), null) : (await y$({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(k2(e), (e) => e && {+ ], [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(t.want_id), p = DH(), m = () => {+ p.run("want", async (e) => d ? (await y$([d], e), null) : (await v$({ code: t.code }, e)).want.id, (t) => {+ f(t), V.setQueryData(O2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), x$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), b$(), V.invalidateQueries({ queryKey: ["feed-new"] }), V.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [@@ -72486,24 +72568,24 @@ function lke({ 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, F.jsx)(s4, { close: n.close }),+ /* @__PURE__ */ (0, F.jsx)(o4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(fke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(mQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(bke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(pQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),- /* @__PURE__ */ (0, F.jsx)(m2, {+ /* @__PURE__ */ (0, F.jsx)(p2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, F.jsx)(mQ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, F.jsx)(pQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -72517,33 +72599,33 @@ function lke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, F.jsx)(uke, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, F.jsx)(vke, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, F.jsx)(l4, {+ children: [/* @__PURE__ */ (0, F.jsx)(c4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, F.jsx)(l4, {+ }), /* @__PURE__ */ (0, F.jsx)(c4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, F.jsx)(dke, {+ /* @__PURE__ */ (0, F.jsx)(yke, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, F.jsx)(l4, {+ children: [/* @__PURE__ */ (0, F.jsx)(c4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, F.jsx)(l4, {+ }), /* @__PURE__ */ (0, F.jsx)(c4, {glyph: "clapperboard",label: "导演",value: t.director@@ -72562,23 +72644,23 @@ function lke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: achildren: /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-tag": e.name,- title: Ml(e.name),+ title: Nl(e.name),onClick: () => n.openTag(e.name),- children: Ml(e.name)+ children: Nl(e.name)})}, e.name))}) : null,t.summary ? /* @__PURE__ */ (0, F.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: SF(t.summary),+ lang: yF(t.summary),children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ t.message ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Hz(a),+ ...zz(a),onClick: i,children: "立即重试"}),@@ -72587,10 +72669,10 @@ function lke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, F.jsx)(lI, {+ t.source_url ? /* @__PURE__ */ (0, F.jsx)(oI, {"data-button-link": "",variant: "secondary",- trailingIcon: hz,+ trailingIcon: fz,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72600,7 +72682,7 @@ function lke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...Hz(!!p.busy),+ ...zz(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -72618,16 +72700,16 @@ function lke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ p.error ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, F.jsx)(pke, {+ /* @__PURE__ */ (0, F.jsx)(xke, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, F.jsx)(mke, {+ /* @__PURE__ */ (0, F.jsx)(Ske, {item: t,actions: n,readOnly: r@@ -72635,24 +72717,24 @@ function lke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, F.jsx)(J2, {+ /* @__PURE__ */ (0, F.jsx)(q2, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var c4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var s4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents","aria-hidden": "true",- dangerouslySetInnerHTML: { __html: R(e) }-}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {+ dangerouslySetInnerHTML: { __html: L(e) }+}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]}) : null;-function uke({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;+function vke({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, F.jsx)("h1", {@@ -72668,7 +72750,7 @@ function uke({ item: e }) {r && !String(getSelection() || "") && i();},children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {- lang: SF(a),+ lang: yF(a),children: a})] }) : null]})@@ -72682,26 +72764,26 @@ function uke({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, F.jsx)(YH, {})+ children: /* @__PURE__ */ (0, F.jsx)(KH, {})})})]});}-function u4({ score: e, review: t = !1 }) {+function l4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, F.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, F.jsx)(iY, { value: e }), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)($J, { value: e }), /* @__PURE__ */ (0, F.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]});}-function dke({ item: e, navigate: t }) {- let n = (e, n) => t(hn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, F.jsxs)("section", {+function yke({ item: e, navigate: t }) {+ let n = (e, n) => t(gn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, F.jsxs)("section", {"data-id-group": t,"data-id-gender": a,children: [/* @__PURE__ */ (0, F.jsx)("h5", {@@ -72709,14 +72791,14 @@ function dke({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, F.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(T2, {+ children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(w2, {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, F.jsx)(hQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, F.jsx)(mQ, {code: e.code,person: r,detail: !0@@ -72733,7 +72815,7 @@ function dke({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, F.jsx)(E2, {+ }), /* @__PURE__ */ (0, F.jsx)(T2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -72742,18 +72824,18 @@ function dke({ item: e, navigate: t }) {})]});}-function fke({ src: e }) {+function bke({ src: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(0);return (0, P.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), OM(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), TM(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, i]), /* @__PURE__ */ (0, F.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ children: n ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -72766,8 +72848,8 @@ function fke({ src: e }) {}) : null});}-function pke({ code: e, count: t, released: n }) {- let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => oke(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({+function xke({ code: e, count: t, released: n }) {+ let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => mke(e, n), [e, n]), s = (0, P.useRef)(!1), c = Lt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -72776,12 +72858,12 @@ function pke({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => ske(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => hke(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await hOe(e, n, t, s.current);- if (ake(e, i), !i.ok || i.cache_stale) {+ let i = await COe(e, n, t, s.current);+ if (pke(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {...t,@@ -72791,18 +72873,18 @@ function pke({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: gOe+ getNextPageParam: wOe});(0, P.useEffect)(() => {c.isFetching || (s.current = !1);}, [c.isFetching]);- let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? Wn(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;+ let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? Gn(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, F.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, F.jsxs)(tU, {+ children: /* @__PURE__ */ (0, F.jsxs)(QH, {trailing: !0,summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(zfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, F.jsx)(Ufe, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -72839,7 +72921,7 @@ function pke({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, {score: Number(e.score),review: !0}) : null,@@ -72851,28 +72933,28 @@ function pke({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, F.jsx)("p", {"data-long-text": "",- lang: SF(e.content),+ lang: yF(e.content),children: e.content})]}, e.id)),- d ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ d ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Hz(c.isFetching),+ ...zz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, F.jsx)(Lz, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, F.jsx)(Pz, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Hz(c.isFetching),+ ...zz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -72880,13 +72962,13 @@ function pke({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Hz(c.isFetchingNextPage),+ ...zz(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, F.jsxs)(Lz, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, F.jsxs)(Pz, {tone: "neutral",children: ["已显示 ",@@ -72898,21 +72980,21 @@ function pke({ code: e, count: t, released: n }) {})});}-function mke({ item: e, actions: t, readOnly: n }) {- let [r, i] = (0, P.useState)(!1), a = Pt({- queryKey: H2,+function Ske({ item: e, actions: t, readOnly: n }) {+ let [r, i] = (0, P.useState)(!1), a = Ft({+ queryKey: V2,enabled: r,- queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e)+ queryFn: ({ signal: e }) => z(`${B2}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, F.jsx)(tU, {+ children: /* @__PURE__ */ (0, F.jsx)(QH, {trailing: !0,- summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, F.jsx)(i4, {+ children: s ? /* @__PURE__ */ (0, F.jsx)(r4, {want: {id: 0,code: e.code,@@ -72929,31 +73011,31 @@ function mke({ item: e, actions: t, readOnly: n }) {});}// src/react/stage/stage-player.ts-var d4 = null, f4 = null, p4 = null, m4 = null, h4 = null, g4 = !1, _4 = 0, v4 = null, y4 = () => !1, b4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function hke(e, t) {- d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), nse({+var u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function Cke(e, t) {+ u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), ose({...e.player,stage: () => document.getElementById("stage")- }), lj({- inMiniplayer: (e) => f4?.player === e,- kind: (e) => f4?.player === e ? f4.kind : p4?.kind ?? m4?.kind ?? "item",- expand: () => B4(),- toMiniplayer: () => V4()- }), x4 || (x4 = !0, addEventListener("pagehide", () => fM()));-}-var x4 = !1;-function S4() {- if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return d4;-}-function C4(e) {- m4 = e;-}-var gke = () => m4;-function w4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = b4(n, r.id, i?.index ?? null);- if (f4 && f4.key === a) return vke(e, f4);- f4 && z4();+ }), sse({+ inMiniplayer: (e) => d4?.player === e,+ kind: (e) => d4?.player === e ? d4.kind : f4?.kind ?? p4?.kind ?? "item",+ expand: () => z4(),+ toMiniplayer: () => B4()+ }), b4 || (b4 = !0, addEventListener("pagehide", () => dM()));+}+var b4 = !1;+function x4() {+ if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return u4;+}+function S4(e) {+ p4 = e;+}+var wke = () => p4;+function C4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = y4(n, r.id, i?.index ?? null);+ if (d4 && d4.key === a) return Eke(e, d4);+ d4 && R4();let o = {player: null,kind: n,@@ -72961,52 +73043,52 @@ function w4(e, t) {mediaIndex: i?.index ?? null,key: a};- p4 = o;+ f4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = TM(s, {+ let c = SM(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- p4 === o && (o.player = e);+ f4 === o && (o.player = e);},- handedOff: (e) => f4?.player === e+ handedOff: (e) => d4?.player === e});return () => {- let e = !!o.player && f4?.player === o.player;- p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), fM());+ let e = !!o.player && d4?.player === o.player;+ f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), dM());};}-async function _ke(e, t, n) {- let r = await on(`/api/item?id=${e.id}`, { signal: n });+async function Tke(e, t, n) {+ let r = await sn(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await S4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(S4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await x4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(x4().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 || "未归属")};- C4(a);- let o = w4(t, {+ S4(a);+ let o = C4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));+ s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));};}-function vke(e, t) {+function Eke(e, t) {let { player: n } = t;- L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), CM(e), e.append(n.el()), gj(n);+ I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), bM(e), e.append(n.el()), hj(n);let r = {player: n,kind: t.kind,@@ -73014,23 +73096,23 @@ function vke(e, t) {mediaIndex: t.mediaIndex,key: t.key};- p4 = r;- let i = wM(n, e);- return _j(n), () => {- p4 === r && (p4 = null), i(), f4?.player !== n && (hj() === n && gj(null), rM(n), fM());+ f4 = r;+ let i = xM(n, e);+ return gj(n), () => {+ f4 === r && (f4 = null), i(), d4?.player !== n && (mj() === n && hj(null), nM(n), dM());};}-var T4 = () => {- let e = p4?.player;+var w4 = () => {+ let e = f4?.player;return e && !e.isDisposed() ? e : null;};-function E4(e) {- let t = g4;- g4 = !1, f4?.pending && z4();- let n = p4, r = n?.player, i = m4;- if (!n || !r || r.isDisposed() || !i || !h4) return;- let a = S4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Ske({+function T4(e) {+ let t = h4;+ h4 = !1, d4?.pending && R4();+ let n = f4, r = n?.player, i = p4;+ if (!n || !r || r.isDisposed() || !i || !m4) return;+ let a = x4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Ake({player: r,kind: n.kind,item: n.item,@@ -73038,46 +73120,46 @@ function E4(e) {key: n.key}, i);}-function D4(e, t) {- g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());+function E4(e, t) {+ h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());}-function O4(e) {- h4 = e, h4 && F4();+function D4(e) {+ m4 = e, m4 && P4();}-var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();-function yke() {- return k4() ? h4?.frame.querySelector("video") ?? null : null;+var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();+function Dke() {+ return O4() ? m4?.frame.querySelector("video") ?? null : null;}-function bke() {- return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? yke();+function Oke() {+ return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? Dke();}-function A4(e) {- h4 && (h4.title.textContent = e.title || "", h4.sub.textContent = e.sub || "", h4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function k4(e) {+ m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function j4(e = f4?.item) {- if (!h4) return;- let t = h4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- h4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function A4(e = d4?.item) {+ if (!m4) return;+ let t = m4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ m4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function M4() {- let e = f4?.player;- if (!e || e.isDisposed() || !h4) return;+function j4() {+ let e = d4?.player;+ if (!e || e.isDisposed() || !m4) return;let t = e.paused();- h4.play.setAttribute("aria-label", t ? "播放" : "暂停"), h4.play.querySelector("[data-icon-swap]") || (h4.play.innerHTML = Es("player-pause", "player-play", t ? "b" : "a")), Ds(h4.play, t ? "b" : "a");-}-function N4() {- let e = f4?.player;- if (!e || e.isDisposed() || !h4) return;- let t = On(f4?.item.duration) || On(e.duration());- h4.time.textContent = `${An(e.currentTime())} / ${t ? An(t) : "0:00"}`;+ m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = Ds("player-pause", "player-play", t ? "b" : "a")), Os(m4.play, t ? "b" : "a");}-var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);-function F4() {- if (!h4 || !d4) return;- let e = P4();- for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function I4(e) {+function M4() {+ let e = d4?.player;+ if (!e || e.isDisposed() || !m4) return;+ let t = kn(d4?.item.duration) || kn(e.duration());+ m4.time.textContent = `${jn(e.currentTime())} / ${t ? jn(t) : "0:00"}`;+}+var N4 = () => Math.max(1, Number(x4().player.settings().seekSeconds) || 10);+function P4() {+ if (!m4 || !u4) return;+ let e = N4();+ for (let [t, n] of [[m4.back, `后退 ${e} 秒`], [m4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function F4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -73089,17 +73171,17 @@ function I4(e) {"play","pause","ended"- ], M4), t([+ ], j4), t(["timeupdate","durationchange","loadedmetadata"- ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();+ ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();}-function L4(e) {+function I4(e) {e.off.forEach((e) => e()), e.off = [];}-function xke() {- let e = h4?.root;+function kke() {+ let e = m4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -73107,8 +73189,8 @@ function xke() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function R4() {- let e = h4?.root;+function L4() {+ let e = m4?.root;if (e) {e.hidden = !0;for (let t of [@@ -73119,73 +73201,73 @@ function R4() {e.style.transform = "";}}-function Ske(e, t) {- if (!h4) return;+function Ake(e, t) {+ if (!m4) return;let n = {...e,meta: t,off: [],pending: !1};- f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), xke(), _j(e.player);+ d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), kke(), gj(e.player);}-function z4() {- let e = f4;- e && L4(e), f4 = null, _4++;+function R4() {+ let e = d4;+ e && I4(e), d4 = null, g4++;let t = e?.player ?? null;- t && hj() === t && gj(null), rM(t), t && fM(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), pj(), R4();+ t && mj() === t && hj(null), nM(t), t && dM(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), lj(), L4();}-function B4() {- if (!k4() || !f4) return;- let { kind: e, item: t, mediaIndex: n } = f4;- S4().expand(e, t.id, n);+function z4() {+ if (!O4() || !d4) return;+ let { kind: e, item: t, mediaIndex: n } = d4;+ x4().expand(e, t.id, n);}-function V4() {- k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());+function B4() {+ O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());}-function Cke() {- let e = f4?.player;+function jke() {+ let e = d4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function H4(e) {- let t = f4?.player;+function V4(e) {+ let t = d4?.player;if (!t || t.isDisposed()) return;- let n = On(t.duration()) || On(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);+ let n = kn(t.duration()) || kn(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function U4(e) {- return !(!k4() || !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 || S4().sourceOffline(String(e.root_id || e.location || "")));-}-async function wke(e) {- if (!k4() || !f4 || !h4) return;- let t = ++_4, n = await on(`/api/item?id=${e}`).catch(() => null);- if (t !== _4 || !k4() || !f4 || !h4 || !n || n.error) return;- if (!U4(n)) {- S4().openItem(e);+function H4(e) {+ return !(!O4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || x4().sourceOffline(String(e.root_id || e.location || "")));+}+async function Mke(e) {+ if (!O4() || !d4 || !m4) return;+ let t = ++g4, n = await sn(`/api/item?id=${e}`).catch(() => null);+ if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;+ if (!H4(n)) {+ x4().openItem(e);return;}- let r = f4;- L4(r), hj() === r.player && gj(null), rM(r.player), fM(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = d4;+ I4(r), mj() === r.player && hj(null), nM(r.player), dM(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", h4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- A4(a), TM(i, {+ k4(a), SM(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== _4) {- r && hj() === r && gj(null), rM(r);+ if (t !== g4) {+ r && mj() === r && hj(null), nM(r);return;}if (!r) {- z4(), S4().openItem(e);+ R4(), x4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -73194,25 +73276,25 @@ async function wke(e) {kind: "item",item: n,mediaIndex: null,- key: b4("item", n.id, null),+ key: y4("item", n.id, null),meta: a,off: [],pending: !1};- f4 = i, I4(i);+ d4 = i, F4(i);}- }), j4(n);+ }), A4(n);}// src/react/stage/miniplayer.tsx-var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {+var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })-}), Tke = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {+}), Nke = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {t.stopPropagation(), e();-}, Eke = (0, P.memo)(function() {+}, Pke = (0, P.memo)(function() {let e = (0, P.useRef)(null), t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)(null);- return (0, P.useLayoutEffect)(() => (O4({+ return (0, P.useLayoutEffect)(() => (D4({root: e.current,frame: n.current,play: r.current,@@ -73222,7 +73304,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => O4(null)), []), (0, P.useEffect)(() => Oke(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {+ }), () => D4(null)), []), (0, P.useEffect)(() => Ike(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -73246,24 +73328,24 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: G4(B4),- children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "maximize-2" })+ onClick: W4(z4),+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "maximize-2" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: G4(z4),- children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "x" })+ onClick: W4(R4),+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "x" })}),/* @__PURE__ */ (0, F.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: G4(() => H4(-1)),- children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-ccw" })+ onClick: W4(() => V4(-1)),+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, F.jsx)("button", {ref: r,@@ -73272,16 +73354,16 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: G4(Cke),- dangerouslySetInnerHTML: Tke+ onClick: W4(jke),+ dangerouslySetInnerHTML: Nke}),/* @__PURE__ */ (0, F.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: G4(() => H4(1)),- children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-cw" })+ onClick: W4(() => V4(1)),+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, F.jsx)("span", {ref: i,@@ -73298,7 +73380,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => B4(),+ onClick: () => z4(),children: [/* @__PURE__ */ (0, F.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -73312,7 +73394,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {})});});-function Dke(e, t, n) {+function Fke(e, t, n) {let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {left: r.left - t,top: r.top - n@@ -73334,7 +73416,7 @@ function Dke(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function Oke(e, t) {+function Ike(e, t) {let n = null, r = (e) => {if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {n = {@@ -73360,7 +73442,7 @@ function Oke(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), Dke(e, i.dx, i.dy));+ }, 0), Fke(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -73371,49 +73453,49 @@ function Oke(e, t) {};}// src/react/stage/stage.tsx-var K4 = null, q4 = null, J4 = null, Y4 = /* @__PURE__ */ new Set(), X4 = 0, Z4 = null, Q4 = !1, $4 = !1, e3 = () => {+var G4 = null, K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function t3() {- if (!K4) throw Error("舞台还没有接上宿主(configureStage)");- return K4;+function e3() {+ if (!G4) throw Error("舞台还没有接上宿主(configureStage)");+ return G4;}-function kke(e) {- return Y4.add(e), () => {- Y4.delete(e);+function Lke(e) {+ return J4.add(e), () => {+ J4.delete(e);};}-function Ake() {- for (let e of [...Y4]) e();+function Rke() {+ for (let e of [...J4]) e();}-function n3() {- (0, Lt.flushSync)(Ake);+function t3() {+ (0, Rt.flushSync)(Rke);}-function jke({ view: e }) {- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(Mke, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(Eke, {})] });+function zke({ view: e }) {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(Bke, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(Pke, {})] });}-var r3 = () => /* @__PURE__ */ (0, F.jsx)("div", {+var n3 = () => /* @__PURE__ */ (0, F.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: ADe() }+ dangerouslySetInnerHTML: { __html: RDe() }});-function i3(e) {+function r3(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 Mke({ view: e }) {+function Bke({ view: e }) {let t = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), a3());+ t.target === e && (t.preventDefault(), i3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(wOe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(cke, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(aOe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(MOe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(gke, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(pOe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, F.jsxs)("dialog", {ref: t,id: "stage",@@ -73421,27 +73503,27 @@ function Mke({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), a3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());},onPointerDown: (e) => {- $4 = i3(e);+ Q4 = r3(e);},onClick: (e) => {- $4 && i3(e) && a3();+ Q4 && r3(e) && i3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(r3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(n3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(r3, {})+ children: /* @__PURE__ */ (0, F.jsx)(n3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, F.jsx)(VT, {- getContainer: () => Z0(t.current),+ children: /* @__PURE__ */ (0, F.jsx)(RT, {+ getContainer: () => X0(t.current),children: i})})@@ -73449,14 +73531,14 @@ function Mke({ view: e }) {]});}-function a3() {- q4 && !Q4 && (Q4 = !0, q4.request.actions.close());+function i3() {+ K4 && !Z4 && (Z4 = !0, K4.request.actions.close());}-function o3(e, t) {- let n = e3();+function a3(e, t) {+ let n = $4();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function s3(e) {+function o3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -73464,30 +73546,30 @@ function s3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: a3+ close: i3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => t3().player.settings(), i = () => q4?.request === e;+ }, r = () => e3().player.settings(), i = () => K4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: a3,+ close: i3,present: (e, t) => {let n = e.performers;- C4({+ S4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), o3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), a3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => w4(e, {+ mountPlayer: (e, t, r, i) => C4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -73505,18 +73587,18 @@ function s3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: a3,+ close: i3,present: (e, t) => {- C4({+ S4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), o3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), a3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => w4(e, {+ mountPlayer: (e, t, r, i) => C4(e, {kind: "follow",item: t,media: r,@@ -73533,106 +73615,106 @@ function s3(e) {}};}-function Nke(e, t) {+function Vke(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"), q4?.generation === t && q4.phase === "reveal" && (q4 = {- ...q4,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), K4?.generation === t && K4.phase === "reveal" && (K4 = {+ ...K4,phase: "content"- }, n3());+ }, t3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function c3(e) {- let t = e3();- return !q4 || q4.content.kind !== e || Q4 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function s3(e) {+ let t = $4();+ return !K4 || K4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function Pke(e) {- !J4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (J4 = {+async function Hke(e) {+ !q4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (q4 = {left: window.scrollX,top: window.scrollY,anchor: document.activeElement});- let t = c3(e.kind);+ let t = s3(e.kind);if (t) {- await Ike(e, t);+ await Wke(e, t);return;}- q4 && l3({ miniplayer: !1 });- let n = ++X4, r = new AbortController();- Z4 = r, Q4 = !1, $4 = !1, e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN);- let i = s3(e);- q4 = {+ K4 && c3({ miniplayer: !1 });+ let n = ++Y4, r = new AbortController();+ X4 = r, Z4 = !1, Q4 = !1, e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN);+ let i = o3(e);+ K4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? mN(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : n2(i.props, r.signal);- if (n !== X4 || q4?.request !== e) {+ let a = i.kind === "item" ? fN(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : t2(i.props, r.signal);+ if (n !== Y4 || K4?.request !== e) {await a.catch(() => {});return;}- let o = Fke(i);- q4 = {- ...q4,+ let o = Uke(i);+ K4 = {+ ...K4,phase: o ? "content" : "skeleton"- }, n3();- let s = e3();+ }, t3();+ let s = $4();if (!s) {await a.catch(() => {});return;}- o || Gs(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Q0(s);+ o || Ks(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Z0(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== X4 || !q4 || o) return;+ if (n !== Y4 || !K4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- q4 = {- ...q4,+ K4 = {+ ...K4,phase: c ? "content" : "reveal"- }, n3(), c || Nke(s, n), Ns(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, t3(), c || Vke(s, n), Ps(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();}-function Fke(e) {- if (e.kind === "jav") return !!H.getQueryData(k2(e.props.code));- if (e.kind === "follow") return !!H.getQueryData($0(e.props.id));- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(eN(t)) : null;+function Uke(e) {+ if (e.kind === "jav") return !!V.getQueryData(O2(e.props.code));+ if (e.kind === "follow") return !!V.getQueryData(Q0(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? V.getQueryData(QM(t)) : null;if (t && !r) return !1;- let i = r ? fN(r, n) : n;- return i != null && !!H.getQueryData($M(i));+ let i = r ? uN(r, n) : n;+ return i != null && !!V.getQueryData(ZM(i));}-async function Ike(e, t) {- let n = ++X4;- Z4?.abort();+async function Wke(e, t) {+ let n = ++Y4;+ X4?.abort();let r = new AbortController();- Z4 = r, $4 = !1;- let i = s3(e);+ X4 = r, Q4 = !1;+ let i = o3(e);try {- i.kind === "item" ? await mN(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await n2(i.props, r.signal);+ i.kind === "item" ? await fN(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await t2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== X4 || !q4 || c3(e.kind) !== t) return;- e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), Ol(t), pj(), q4 = {- ...q4,+ if (n !== Y4 || !K4 || s3(e.kind) !== t) return;+ e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), kl(t), lj(), K4 = {+ ...K4,request: e,content: i,phase: "content"- }, n3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ns(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ps(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 Lke() {- Q0(null);- let e = e3();+function Gke() {+ Z0(null);+ let e = $4();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();@@ -73642,14 +73724,14 @@ function Lke() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function l3({ miniplayer: e = !0 } = {}) {- if (X4++, Z4?.abort(), Z4 = null, E4(e), !q4) return;- let t = e3();- t && Ol(t), pj(), Q0(null), t?.open && t.close(), q4 = null, Q4 = !1, $4 = !1, n3(), C4(null), document.body.removeAttribute("data-detail-open");- let n = J4;- J4 = null;+function c3({ miniplayer: e = !0 } = {}) {+ if (Y4++, X4?.abort(), X4 = null, T4(e), !K4) return;+ let t = $4();+ t && kl(t), lj(), Z0(null), t?.open && t.close(), K4 = null, Z4 = !1, Q4 = !1, t3(), S4(null), document.body.removeAttribute("data-detail-open");+ let n = q4;+ q4 = null;let r = () => {- !q4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({+ !K4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({left: n.left,top: n.top,behavior: "instant"@@ -73657,79 +73739,79 @@ function l3({ miniplayer: e = !0 } = {}) {};r(), requestAnimationFrame(r);}-function Rke(e) {- q4 && (q4 = {- ...q4,- content: q4.content.kind === "item" ? {+function Kke(e) {+ K4 && (K4 = {+ ...K4,+ content: K4.content.kind === "item" ? {kind: "item",props: {- ...q4.content.props,+ ...K4.content.props,...e}- } : q4.content.kind === "jav" ? q4.content : {+ } : K4.content.kind === "jav" ? K4.content : {kind: "follow",props: {- ...q4.content.props,+ ...K4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, n3());+ }, t3());}-function zke() {- let e = gke(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, t3().player.settings().javImage) : "";+function qke() {+ let e = wke(), t = e?.kind === "item" ? e.item : null, n = t ? uo(t, e3().player.settings().javImage) : "";if (!n) return;- let r = T4();+ let r = w4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var Bke = {- open: Pke,- update: Rke,- exit: Lke,- dispose: l3,- requestClose: a3,- repaintPoster: zke,- isOpen: () => !!q4,- showing: () => q4 && c3(q4.content.kind) ? q4.content.kind : null,- activeVideo: () => bke(),- mountWallPlayer: _ke,+var Jke = {+ open: Hke,+ update: Kke,+ exit: Gke,+ dispose: c3,+ requestClose: i3,+ repaintPoster: qke,+ isOpen: () => !!K4,+ showing: () => K4 && s3(K4.content.kind) ? K4.content.kind : null,+ activeVideo: () => Oke(),+ mountWallPlayer: Tke,toggleTheater: () => {- q4 && Wj(!t3().player.settings().theaterMode);+ K4 && Uj(!e3().player.settings().theaterMode);},- toggleMiniplayer: () => V4(),- closeMiniplayer: () => z4(),- miniplayerActive: () => k4(),- miniplayerTakesCard: (e) => U4(e),+ toggleMiniplayer: () => B4(),+ closeMiniplayer: () => R4(),+ miniplayerActive: () => O4(),+ miniplayerTakesCard: (e) => H4(e),miniplayerPlay: (e) => {- wke(e);+ Mke(e);}};-function Vke(e) {- return K4 = e, hke(e, {- isOpen: () => !!q4,- requestClose: a3- }), Bke;+function Yke(e) {+ return G4 = e, Cke(e, {+ isOpen: () => !!K4,+ requestClose: i3+ }), Jke;}-function Hke() {- let e = (0, P.useSyncExternalStore)(kke, () => q4);- return K4 ? /* @__PURE__ */ (0, F.jsx)(jke, { view: e }) : null;+function Xke() {+ let e = (0, P.useSyncExternalStore)(Lke, () => K4);+ return G4 ? /* @__PURE__ */ (0, F.jsx)(zke, { view: e }) : null;}// src/react/stats/stats.ts-var Uke = "/api/stats", u3 = ["stats"], d3 = (e) => B(Uke, e);-async function Wke(e) {- await H.fetchQuery({- queryKey: u3,- queryFn: () => d3(e)- });-}-var f3 = (e) => e != null && Number.isFinite(e), Gke = (e) => f3(e) ? e.toLocaleString() : "未取得", Kke = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, qke = (e, t) => {- let n = Kke(e, t);- return !n && f3(e) && e > 0 && f3(t) && t > 0 ? "<1%" : `${n}%`;-}, p3 = (e) => {- if (!f3(e)) return "未取得";+var Zke = "/api/stats", l3 = ["stats"], u3 = (e) => z(Zke, e);+async function Qke(e) {+ await V.fetchQuery({+ queryKey: l3,+ queryFn: () => u3(e)+ });+}+var d3 = (e) => e != null && Number.isFinite(e), $ke = (e) => d3(e) ? e.toLocaleString() : "未取得", eAe = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, tAe = (e, t) => {+ let n = eAe(e, t);+ return !n && d3(e) && e > 0 && d3(t) && t > 0 ? "<1%" : `${n}%`;+}, f3 = (e) => {+ if (!d3(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)} 分钟`;-}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, Jke = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Yke = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function Xke(e, t = 6) {+}, p3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, m3 = (e) => (e.max_reached || 0) * 100, nAe = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", rAe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function iAe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -73739,7 +73821,7 @@ function Xke(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var Zke = (e) => Math.max(1, ...e) * 1.1, Qke = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, $ke = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), eAe = {+var aAe = (e) => Math.max(1, ...e) * 1.1, oAe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, sAe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), cAe = {video: "视频",image: "图片",illustration: "插画",@@ -73747,18 +73829,18 @@ var Zke = (e) => Math.max(1, ...e) * 1.1, Qke = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, tAe = (e) => e.map((e) => ({- name: eAe[e.k] ?? e.k,+}, lAe = (e) => e.map((e) => ({+ name: cAe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), nAe = {+})).sort((e, t) => t.value - e.value), uAe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, g3 = (e, t = {}) => e.map((e) => ({+}, h3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), rAe = (e) => g3(e, nAe), iAe = [+})), dAe = (e) => h3(e, uAe), fAe = [[1,1,@@ -73794,12 +73876,12 @@ var Zke = (e) => Math.max(1, ...e) * 1.1, Qke = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], aAe = (e) => iAe.map(([t, n, r]) => ({+], pAe = (e) => fAe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));// node_modules/d3-array/src/max.js-function _3(e, t) {+function g3(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 {@@ -73809,7 +73891,7 @@ function _3(e, t) {return n;}// node_modules/d3-array/src/min.js-function v3(e, t) {+function _3(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 {@@ -73819,7 +73901,7 @@ function v3(e, t) {return n;}// node_modules/d3-array/src/sum.js-function y3(e, t) {+function v3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -73829,64 +73911,64 @@ function y3(e, t) {return n;}// node_modules/d3-sankey/src/align.js-function oAe(e, t) {+function mAe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js-function b3(e) {+function y3(e) {return function() {return e;};}// node_modules/d3-sankey/src/sankey.js+function b3(e, t) {+ return S3(e.source, t.source) || e.index - t.index;+}function x3(e, t) {- return C3(e.source, t.source) || e.index - t.index;+ return S3(e.target, t.target) || e.index - t.index;}function S3(e, t) {- return C3(e.target, t.target) || e.index - t.index;-}-function C3(e, t) {return e.y0 - t.y0;}-function w3(e) {+function C3(e) {return e.value;}-function sAe(e) {+function hAe(e) {return e.index;}-function cAe(e) {+function gAe(e) {return e.nodes;}-function lAe(e) {+function _Ae(e) {return e.links;}-function T3(e, t) {+function w3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function E3({ nodes: e }) {+function T3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function uAe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = sAe, c = oAe, l, u, d = cAe, f = lAe, p = 6;+function vAe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = hAe, c = mAe, l, u, d = gAe, f = _Ae, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), E3(e), e;+ return h(e), g(e), _(e), v(e), x(e), T3(e), e;}m.update = function(e) {- return E3(e), e;+ return T3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : b3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : y3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : b3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : y3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -73894,9 +73976,9 @@ function uAe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : b3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : y3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : b3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : y3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -73912,12 +73994,12 @@ function uAe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = T3(n, t)), typeof i != "object" && (i = r.target = T3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = w3(n, t)), typeof i != "object" && (i = r.target = w3(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(y3(t.sourceLinks, w3), y3(t.targetLinks, w3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(v3(t.sourceLinks, C3), v3(t.targetLinks, C3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -73942,7 +74024,7 @@ function uAe() {}}function y({ nodes: t }) {- let r = _3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = g3(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];@@ -73951,7 +74033,7 @@ function uAe() {return o;}function b(e) {- let n = v3(e, (e) => (r - t - (e.length - 1) * o) / y3(e, w3));+ let n = _3(e, (e) => (r - t - (e.length - 1) * o) / v3(e, C3));for (let i of e) {let e = t;for (let t of i) {@@ -73968,7 +74050,7 @@ function uAe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (_3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (g3(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);@@ -73987,7 +74069,7 @@ function uAe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(C3), w(i, n);+ l === void 0 && i.sort(S3), w(i, n);}}function C(e, t, n) {@@ -74003,7 +74085,7 @@ function uAe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(C3), w(i, n);+ l === void 0 && i.sort(S3), w(i, n);}}function w(e, n) {@@ -74024,12 +74106,12 @@ function uAe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(S3);- for (let { target: { targetLinks: t } } of e) t.sort(x3);+ for (let { source: { sourceLinks: e } } of t) e.sort(x3);+ for (let { target: { targetLinks: t } } of e) t.sort(b3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(S3), n.sort(x3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(x3), n.sort(b3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -74058,15 +74140,15 @@ function uAe() {return m;}// node_modules/d3-path/src/path.js-var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, dAe = O3 - k3;-function A3() {+var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, yAe = D3 - O3;+function k3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function j3() {- return new A3();+function A3() {+ return new k3();}-A3.prototype = j3.prototype = {- constructor: A3,+k3.prototype = A3.prototype = {+ constructor: k3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -74087,11 +74169,11 @@ A3.prototype = j3.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 > k3) {- if (!(Math.abs(u * s - c * l) > k3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > O3) {+ if (!(Math.abs(u * s - c * l) > O3) || !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((D3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > k3 && (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((E3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > O3 && (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);}}},@@ -74099,7 +74181,7 @@ A3.prototype = j3.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) > k3 || Math.abs(this._y1 - l) > k3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % O3 + O3), d > dAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > k3 && (this._ += "A" + n + "," + n + ",0," + +(d >= D3) + "," + 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) > O3 || Math.abs(this._y1 - l) > O3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % D3 + D3), d > yAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > O3 && (this._ += "A" + n + "," + n + ",0," + +(d >= E3) + "," + 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";@@ -74109,93 +74191,93 @@ A3.prototype = j3.prototype = {}};// node_modules/d3-shape/src/constant.js-function M3(e) {+function j3(e) {return function() {return e;};}// node_modules/d3-shape/src/point.js-function fAe(e) {+function bAe(e) {return e[0];}-function pAe(e) {+function xAe(e) {return e[1];}// node_modules/d3-shape/src/array.js-var mAe = Array.prototype.slice;+var SAe = Array.prototype.slice;// node_modules/d3-shape/src/link/index.js-function hAe(e) {+function CAe(e) {return e.source;}-function gAe(e) {+function wAe(e) {return e.target;}-function _Ae(e) {- var t = hAe, n = gAe, r = fAe, i = pAe, a = null;+function TAe(e) {+ var t = CAe, n = wAe, r = bAe, i = xAe, a = null;function o() {- var o, s = mAe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = j3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = SAe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = A3(), 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 : M3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : j3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : M3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : j3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function vAe(e, t, n, r, i) {+function EAe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function yAe() {- return _Ae(vAe);+function DAe() {+ return TAe(EAe);}// node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function bAe(e) {+function OAe(e) {return [e.source.x1, e.y0];}-function xAe(e) {+function kAe(e) {return [e.target.x0, e.y1];}-function SAe() {- return yAe().source(bAe).target(xAe);+function AAe() {+ return DAe().source(OAe).target(kAe);}// src/react/taste/taste.ts-var CAe = "/api/taste", N3 = "/api/taste/refresh", wAe = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], TAe = ["taste", "refresh"], EAe = [+var jAe = "/api/taste", M3 = "/api/taste/refresh", MAe = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], NAe = ["taste", "refresh"], PAe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], DAe = 2e3, OAe = (e) => e?.stale && !e.error ? DAe : !1, kAe = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], FAe = 2e3, IAe = (e) => e?.stale && !e.error ? FAe : !1, LAe = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", AAe = (e, t) => V(P3, {+}) : "—", RAe = (e, t) => B(N3, {...e,window: t-}), I3 = (e, t, n = !1) => B(`${CAe}?window=${e}${n ? "&retry=1" : ""}`, t), jAe = (e) => B(N3, e);-async function MAe(e, t) {- await H.fetchQuery({- queryKey: F3(e),- queryFn: () => I3(e, t)+}), F3 = (e, t, n = !1) => z(`${jAe}?window=${e}${n ? "&retry=1" : ""}`, t), zAe = (e) => z(M3, e);+async function BAe(e, t) {+ await V.fetchQuery({+ queryKey: P3(e),+ queryFn: () => F3(e, t)});}-var NAe = (e) => V(N3, {+var VAe = (e) => B(M3, {window: e,background: !0-}), PAe = (e, t) => V(P3, {+}), HAe = (e, t) => B(N3, {operation: "remove",source_key: e,window: t});-async function FAe(e) {- let t = await fetch(wAe, {+async function UAe(e) {+ let t = await fetch(MAe, {method: "POST",credentials: "same-origin",headers: {@@ -74209,56 +74291,56 @@ async function FAe(e) {} catch {}if (!t.ok) {let e = n?.error;- throw new Hn(e || `导入失败(${t.status})`, t.status, n);+ throw new Un(e || `导入失败(${t.status})`, t.status, n);}return n;}-var IAe = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function LAe(e) {+var WAe = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function GAe(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"- }) : L3(e);+ }) : I3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var RAe = p3, zAe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), BAe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function VAe(e) {+var KAe = f3, qAe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), JAe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function YAe(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function HAe(e) {- let t = e.map(BAe), n = Math.max(1, ...t);+function XAe(e) {+ let t = e.map(JAe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var R3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var L3 = (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 UAe(e) {- let t = R3(e, 6);+function ZAe(e) {+ let t = L3(e, 6);return t.length < 3 ? [] : t;}-var z3 = {+var R3 = {width: 720,height: 435-}, WAe = {+}, QAe = {source: 145,target: 545-}, B3 = 30, GAe = 240;-function V3(e, t, n) {+}, z3 = 30, $Ae = 240;+function B3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function KAe(e = []) {+function eje(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = V3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = V3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = B3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = B3(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, {@@ -74267,7 +74349,7 @@ function KAe(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) * B3 + GAe), u = uAe().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).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) * z3 + $Ae), u = vAe().nodeId((e) => e.id).nodeWidth(10).nodePadding(z3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -74282,7 +74364,7 @@ function KAe(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = SAe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = AAe();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -74310,17 +74392,17 @@ function KAe(e = []) {};}),total: d,- height: l + z3.height - 404+ height: l + R3.height - 404};}-var qAe = (e) => In(e, 17), H3 = {+var tje = (e) => Ln(e, 17), V3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, JAe = [[+}, nje = [["big","大图 · 竖幅头像","maximize"@@ -74328,7 +74410,7 @@ var qAe = (e) => In(e, 17), H3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], YAe = [[+]], rje = [["big","大图 · 完整标识","maximize"@@ -74336,7 +74418,7 @@ var qAe = (e) => In(e, 17), H3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], XAe = [[+]], ije = [["big","大图 · 系列图片","maximize"@@ -74344,7 +74426,7 @@ var qAe = (e) => In(e, 17), H3 = {"compact","紧凑 · 系列图片","layout-grid"-]], ZAe = [+]], aje = [["studios","厂牌",@@ -74360,7 +74442,7 @@ var qAe = (e) => In(e, 17), H3 = {"系列","file-stack"]-], QAe = [[+], oje = [["local","本地","hard-drive"@@ -74368,7 +74450,7 @@ var qAe = (e) => In(e, 17), H3 = {"online","在线","rss"-]], $Ae = [+]], sje = [["performers","艺人",@@ -74384,7 +74466,7 @@ var qAe = (e) => In(e, 17), H3 = {"在线","rss"]-], eje = [[+], cje = [["cloud","标签云","tags"@@ -74392,8 +74474,8 @@ var qAe = (e) => In(e, 17), H3 = {"alphabet","字母表","text-aa"-]], U3 = (e) => e === "compact" ? "compact" : "big";-function W3(e, t) {+]], H3 = (e) => e === "compact" ? "compact" : "big";+function U3(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -74403,7 +74485,7 @@ function W3(e, t) {category: n.get("category") || "all"};}-var G3 = (e, t, n) => Cs(e.map(([e, t, n]) => ({+var W3 = (e, t, n) => ws(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -74411,43 +74493,43 @@ var G3 = (e, t, n) => Cs(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), tje = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">+}), lje = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div><div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>- <span class="ml-auto">${jc("tag-view", "标签视图", eje, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;-function nje({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? jc("people-layout", o + "索引版式", e === "series" ? XAe : c ? YAe : JAe, a) : "";+ <span class="ml-auto">${Mc("tag-view", "标签视图", cje, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;+function uje({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Mc("people-layout", o + "索引版式", e === "series" ? ije : c ? rje : nje, 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}- ${os("default")}- ${e === "tags" ? cs({+ ${ss("default")}+ ${e === "tags" ? ls({variant: "ghost",glyph: "pencil",attrs: "data-tag-mode data-skeleton-action disabled tabindex=\"-1\" aria-label=\"管理标签\""}) : ""}- <div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${ss("", t, "过滤" + o)}</div>+ <div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${cs("", t, "过滤" + o)}</div></div>- ${e === "tags" ? G3(QAe, n, "词表") : e === "performers" || e === "creators" ? G3($Ae, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(ZAe, e, "资料类型") : ""}- ${e === "tags" ? tje(r) : ""}- ${e === "performers" && n !== "online" ? Xxe(i) : ""}- ${Rs({+ ${e === "tags" ? W3(oje, n, "词表") : e === "performers" || e === "creators" ? W3(sje, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3(aje, e, "资料类型") : ""}+ ${e === "tags" ? lje(r) : ""}+ ${e === "performers" && n !== "online" ? iSe(i) : ""}+ ${zs({kind: e,layout: a,mode: r})}`;}-var rje = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function K3(e, t, n) {- let r = nje(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== rje(r) && (e.innerHTML = r, Gs(e));+var dje = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function G3(e, t, n) {+ let r = uje(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== dje(r) && (e.innerHTML = r, Ks(e));}// src/react/router/pages/index-entity.tsx-var ije = () => cu, aje = () => ql, q3 = () => document.getElementById("index");-function J3(e, t, n = {}) {- let r = (0, P.useSyncExternalStore)(yu, ije);- zB();- let i = yV(QV.navigation.location.pathname), a = (0, P.useRef)({+var fje = () => lu, pje = () => Jl, K3 = () => document.getElementById("index");+function q3(e, t, n = {}) {+ let r = (0, P.useSyncExternalStore)(bu, fje);+ IB();+ let i = gV(YV.navigation.location.pathname), a = (0, P.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -74471,8 +74553,8 @@ function J3(e, t, n = {}) {r !== 0 && queueMicrotask(() => {let t = a.current;if (!t.mounted) return;- let n = t.epoch !== e || t.opens !== cu, r = t.opens !== cu;- if (t.epoch = e, t.opens = cu, yV(QV.navigation.location.pathname)) {+ let n = t.epoch !== e || t.opens !== lu, r = t.opens !== lu;+ if (t.epoch = e, t.opens = lu, gV(YV.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -74493,55 +74575,55 @@ function J3(e, t, n = {}) {i]);}-async function oje(e, t, n, r) {- let i = q3();+async function mje(e, t, n, r) {+ let i = K3();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = W3(t, n), s = U3(SA().value.peopleLayout);- K3(i, o, s), await VV(a, {+ let o = U3(t, n), s = H3(yA().value.peopleLayout);+ G3(i, o, s), await RV(a, {...o,layout: s,- selectMode: ql,+ selectMode: Jl,configurable: !!e.configurable?.()}, {container: i,isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function sje(e) {- let t = q3(), n = t ? LV(t) : null;+function hje(e) {+ let t = K3(), n = t ? PV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function cje({ epoch: e }) {- let t = (0, P.useContext)(DU), n = zB(), r = n.pathname.split("/").filter(Boolean)[0];- return J3(e, (e, i) => {- t && oje(t, r, n.search, i);- }, { shown: () => sje(`/${r}`) }), null;+function gje({ epoch: e }) {+ let t = (0, P.useContext)(wU), n = IB(), r = n.pathname.split("/").filter(Boolean)[0];+ return q3(e, (e, i) => {+ t && mje(t, r, n.search, i);+ }, { shown: () => hje(`/${r}`) }), null;}-function lje() {- let e = EU(), t = (0, P.useSyncExternalStore)(yu, aje), n = (0, P.useRef)(t);+function _je() {+ let e = CU(), t = (0, P.useSyncExternalStore)(bu, pje), n = (0, P.useRef)(t);return (0, P.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && HV(q3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, F.jsx)(cje, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && zV(K3(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, F.jsx)(gje, { epoch: e }, e);}-function Y3(e) {+function J3(e) {let t;try {t = decodeURIComponent(e);} catch {return null;}- let [n = "", ...r] = t.split("/").filter(Boolean), i = Object.hasOwn(mn, n) ? mn[n] : void 0, a = r.join("/");+ let [n = "", ...r] = t.split("/").filter(Boolean), i = Object.hasOwn(hn, n) ? hn[n] : void 0, a = r.join("/");return i && a ? {segment: n,kind: i,name: a} : null;}-var X3 = /* @__PURE__ */ new WeakMap();-function uje(e) {- let t = X3.get(e);+var Y3 = /* @__PURE__ */ new WeakMap();+function vje(e) {+ let t = Y3.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -74551,18 +74633,18 @@ function uje(e) {...e.grid.actions,revealSource: e.revealSource}- }, X3.set(e, t)), t;+ }, Y3.set(e, t)), t;}-function Z3() {- let e = q3(), t = e ? LV(e) : null;+function X3() {+ let e = K3(), t = e ? PV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function dje(e, t, n, r, i, a, o) {- let s = q3();+async function yje(e, t, n, r, i, a, o) {+ let s = K3();if (!s) return;let { segment: c, kind: l, name: u } = n;if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;- _u({ entityJavLayout: !1 });+ vu({ entityJavLayout: !1 });let d = document.createElement("template");d.innerHTML = "<div data-entity-hero><div class=\"peach-react\"></div></div>\n <div data-entity-filter><div class=\"peach-react\"></div></div>\n <section class=\"feednew\" data-feed-new aria-label=\"未入库的新作\" hidden></section>\n <div data-entity-body><div class=\"peach-react\"></div></div>";let f = [...d.content.childNodes], p = d.content.querySelector("[data-entity-hero]"), m = {@@ -74572,45 +74654,45 @@ async function dje(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: uje(e),+ card: vje(e),resolvedEntity: o,actions: {...h.actions,javContext: (e) => {- _u({ entityJavLayout: !!e });+ vu({ entityJavLayout: !!e });}}};- await VV(`/${c}/*`, g, {+ await RV(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && Z3() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && X3() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function fje({ target: e }) {- let t = (0, P.useContext)(DU), n = EU(), r = zB();- return J3(n, (n, i) => {+function bje({ target: e }) {+ let t = (0, P.useContext)(wU), n = CU(), r = IB();+ return q3(n, (n, i) => {let a = t?.entity;t && a && (async () => {let o = new URLSearchParams({ kind: e.kind });o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);- let s = await H.fetchQuery({+ let s = await V.fetchQuery({queryKey: ["entity-route",e.kind,e.name],- queryFn: ({ signal: e }) => B(`/api/entity?${o}`, e),+ queryFn: ({ signal: e }) => z(`/api/entity?${o}`, e),staleTime: 0}).catch(() => null);if (!i()) return;if (s?.redirect) {- $V(hn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ XV(gn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: QV.navigation.location.state+ state: YV.navigation.location.state});return;}@@ -74618,23 +74700,23 @@ function fje({ target: e }) {a.missing(e.kind);return;}- let c = String(s.canonical_name || e.name), l = hn(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && dje(t, a, {+ let c = String(s.canonical_name || e.name), l = gn(e.kind, c, Number(s.id));+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && yje(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : $V(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : XV(l + r.search + r.hash, {replace: !0,- state: QV.navigation.location.state+ state: YV.navigation.location.state});})();- }, { shown: () => Z3() && !q3()?.hidden }), null;+ }, { shown: () => X3() && !K3()?.hidden }), null;}-function pje() {- let e = Y3(zB().pathname);- return e ? /* @__PURE__ */ (0, F.jsx)(fje, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function xje() {+ let e = J3(IB().pathname);+ return e ? /* @__PURE__ */ (0, F.jsx)(bje, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/jav/jav-header.tsx-function Q3({ tab: e, navigate: t, find: n }) {+function Z3({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -74648,58 +74730,58 @@ function Q3({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, F.jsx)(RQ, {- tabs: S$.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, F.jsx)(LQ, {+ tabs: x$.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(nTe(e))+ onChange: (e) => t(uTe(e))})]});}-function mje({ navigate: e, receipt: t }) {+function Sje({ navigate: e, receipt: t }) {let [n, r] = (0, P.useState)(null);- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Q3, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Z3, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, F.jsx)(J2, {+ }), /* @__PURE__ */ (0, F.jsx)(q2, {prefill: n,close: () => r(null),receipt: t})] });}// src/react/router/pages/catalog.tsx-var hje = () => cu, $3 = QV.navigation.seq, e6 = QV.navigation.openEpoch, t6 = QV.navigation.location.pathname, n6 = {- seq: $3,+var Cje = () => lu, Q3 = YV.navigation.seq, $3 = YV.navigation.openEpoch, e6 = YV.navigation.location.pathname, t6 = {+ seq: Q3,claimed: !0,- from: t6+ from: e6};-QV.listen((e) => {- n6 = {+YV.listen((e) => {+ t6 = {seq: e.seq,- claimed: e.openEpoch === e6,- from: t6- }, e6 = e.openEpoch, t6 = e.location.pathname;+ claimed: e.openEpoch === $3,+ from: e6+ }, $3 = e.openEpoch, e6 = e.location.pathname;});-var r6 = !1;-function i6(e) {- let { seq: t, openEpoch: n, location: r } = QV.navigation, i = yV(r.pathname), a = tH() ?? r, o = U ?? {};+var n6 = !1;+function r6(e) {+ let { seq: t, openEpoch: n, location: r } = YV.navigation, i = gV(r.pathname), a = QV() ?? r, o = H ?? {};return {seq: t,epoch: n,- opens: cu,+ opens: lu,covered: i,address: `${a.pathname}${a.search}`,filters: JSON.stringify(o, Object.keys(o).sort()),opened: e};}-function gje(e, t, n, r) {- let i = { ...U };+function wje(e, t, n, r) {+ let i = { ...H };if (e === "/trash") return {...i,creator: "",@@ -74709,22 +74791,22 @@ function gje(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = SA().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = yA().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),creator: a.get("creator") || "",studio: a.get("studio") || "",owner: a.get("owner") === "none" ? "none" : "",- tag: Vn(a.get("tag")),+ tag: Hn(a.get("tag")),tag_match: a.get("tag_match") === "any" ? "any" : "all",len: a.get("len") || "",dur_min: a.get("dur_min") || "",dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",- state: un[e] || a.get("state") || "",- ...nA(a.get("sort"), a.get("dir"), o, s),- seed: a.get("seed") || (n ? zn() : i.seed || zn()),+ state: dn[e] || a.get("state") || "",+ ...$k(a.get("sort"), a.get("dir"), o, s),+ seed: a.get("seed") || (n ? Bn() : i.seed || Bn()),q: a.get("q") || "",jav: a.get("jav") || "",performer: a.get("performer") || "",@@ -74734,13 +74816,13 @@ function gje(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function _je(e, t) {- let n = { ...e }, r = i6(n.opened);+function Tje(e, t) {+ let n = { ...e }, r = r6(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- tH() || i.fill();+ QV() || i.fill();return;}let a = !1;@@ -74750,41 +74832,41 @@ function _je(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = QV.navigation.action === "POP" && n6.from !== "/");+ r.epoch !== n.epoch && (a = YV.navigation.action === "POP" && t6.from !== "/");}- let { pathname: o, search: s } = QV.navigation.location;+ let { pathname: o, search: s } = YV.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = c$(s);- r6 = !0, $V(l$(e, t), { replace: !0 });+ let { kind: e, view: t } = s$(s);+ n6 = !0, XV(c$(e, t), { replace: !0 });return;}- let c = r6;- r6 = !1, a &&= o === "/", e.opened = !0, _u({ state: gje(o, s, a, i) }), i.open(o, {+ let c = n6;+ n6 = !1, a &&= o === "/", e.opened = !0, vu({ state: wje(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function vje(e) {- return fn(e) || e === "/trash" || yV(e) || e === "/immerse" || !!Y3(e);+function Eje(e) {+ return pn(e) || e === "/trash" || gV(e) || e === "/immerse" || !!J3(e);}-function yje() {- let e = (0, P.useContext)(DU), t = EU(), n = (0, P.useSyncExternalStore)(yu, hje), r = zB(), i = (0, P.useRef)(null), a = (0, P.useRef)({+function Dje() {+ let e = (0, P.useContext)(wU), t = CU(), n = (0, P.useSyncExternalStore)(bu, Cje), r = IB(), i = (0, P.useRef)(null), a = (0, P.useRef)({mounted: !0,queued: !1});return (0, P.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = i6(!yV(QV.navigation.location.pathname));- return !n.covered && n.opens > 0 && (r6 || n6.seq === $3 ? n.opens = -1 : n6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = r6(!gV(YV.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (n6 || t6.seq === Q3 ? n.opens = -1 : t6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !vje(QV.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !Eje(YV.navigation.location.pathname) && e.catalog.release();});};}, []), (0, P.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && _je(i.current, e);+ t.queued = !1, t.mounted && i.current && Tje(i.current, e);}));}, [t,@@ -74793,8 +74875,8 @@ function yje() {e]), null;}-function a6() {- let { pathname: e, search: t } = zB();+function i6() {+ let { pathname: e, search: t } = IB();(0, P.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -74807,36 +74889,36 @@ function a6() {});};}, [e]);- let n = (0, P.useContext)(DU), r = document.getElementById("javLibraryHeader"), i = fn(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, P.useContext)(wU), r = document.getElementById("javLibraryHeader"), i = pn(e) && new URLSearchParams(t).get("jav") === "1";return (0, P.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), yV(e) && !vV(e) ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(yje, {}, e === "/junk-files" ? "/junk-files" : "/"),- fn(e) ? /* @__PURE__ */ (0, F.jsx)(FU, {}) : null,- i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(mje, {+ }, [r, i]), gV(e) && !hV(e) ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [+ /* @__PURE__ */ (0, F.jsx)(Dje, {}, e === "/junk-files" ? "/junk-files" : "/"),+ pn(e) ? /* @__PURE__ */ (0, F.jsx)(MU, {}) : null,+ i && r && n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Sje, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null] });}// src/react/router/pages/follow.tsx-var o6 = () => document.getElementById("stats"), bje = () => mu;-function xje(e) {+var a6 = () => document.getElementById("stats"), Oje = () => hu;+function kje(e) {let t = document.createElement("div");- return t.className = "peach-react", Is(e, () => {+ return t.className = "peach-react", Ls(e, () => {e.textContent = "", e.append(t);}), t;}-async function Sje(e, t) {- let n = o6(), r = e.follow;+async function Aje(e, t) {+ let n = a6(), r = e.follow;if (!n || !r || r.refresh()) return;- let i = pu;- e.surfaceChanged("follow", "/follow"), d2(n, r.skeleton()), await VV("/follow", r.props(), {+ let i = mu;+ e.surfaceChanged("follow", "/follow"), u2(n, r.skeleton()), await RV("/follow", r.props(), {container: n,isCurrent: t,- place: xje+ place: kje}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -74845,32 +74927,32 @@ async function Sje(e, t) {behavior: "smooth"});}-function Cje() {- let e = o6(), t = e ? LV(e) : null;+function jje() {+ let e = a6(), t = e ? PV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function wje() {- let e = (0, P.useContext)(DU);- return J3(EU(), (t, n) => {- e && Sje(e, n);+function Mje() {+ let e = (0, P.useContext)(wU);+ return q3(CU(), (t, n) => {+ e && Aje(e, n);}, {- shown: Cje,+ shown: jje,onCovered: () => {- QV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ YV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function s6(e) {- let t = e ? LV(e) : null;+function o6(e) {+ let t = e ? PV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function Tje(e, t) {- let n = o6();- n && (e.surfaceChanged("playlists", "/playlists"), d2(n, l2("/playlists", {+async function Nje(e, t) {+ let n = a6();+ n && (e.surfaceChanged("playlists", "/playlists"), u2(n, c2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await VV("/playlists", { revision: mu }, {+ })), await RV("/playlists", { revision: hu }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -74878,37 +74960,37 @@ async function Tje(e, t) {behavior: "smooth"}));}-function Eje() {- let e = (0, P.useContext)(DU), t = (0, P.useSyncExternalStore)(yu, bje), n = (0, P.useRef)(t);+function Pje() {+ let e = (0, P.useContext)(wU), t = (0, P.useSyncExternalStore)(bu, Oje), n = (0, P.useRef)(t);return (0, P.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = o6();- s6(e) && HV(e, { revision: t });- }, [t]), J3(EU(), (t, n) => {- e && Tje(e, n);+ let e = a6();+ o6(e) && zV(e, { revision: t });+ }, [t]), q3(CU(), (t, n) => {+ e && Nje(e, n);}, { shown: () => {- let e = o6();- return s6(e) && !e.hidden;+ let e = a6();+ return o6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsx-function Dje() {- let e = new URLSearchParams(QV.navigation.location.search).get("id");+function Fje() {+ let e = new URLSearchParams(YV.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function Oje() {- let e = (0, P.useContext)(DU);- return wU(() => {- e?.openImmerse(Dje());+function Ije() {+ let e = (0, P.useContext)(wU);+ return xU(() => {+ e?.openImmerse(Fje());}, !0), null;}-function kje() {- return /* @__PURE__ */ (0, F.jsx)(Oje, {}, EU());+function Lje() {+ return /* @__PURE__ */ (0, F.jsx)(Ije, {}, CU());}// src/ui-kit/anchor-scroll.ts-var c6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function l6(e, t) {+var s6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function c6(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -74923,76 +75005,77 @@ async function l6(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: c6()+ behavior: s6()});}// src/react/router/pages/managed.tsx-var Aje = () => cu > 0, u6 = () => (0, P.useSyncExternalStore)(yu, Aje), d6 = () => SA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);-function jje(e) {- let t = f6();- return l2(e, {- followLayout: d6(),+var Rje = () => lu > 0, l6 = () => (0, P.useSyncExternalStore)(bu, Rje), u6 = () => yA().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);+function zje(e) {+ let t = d6();+ return c2(e, {+ followLayout: u6(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});}-function p6(e) {- return on("/healthz", { signal: e.controller.signal }).catch((e) => {- if (sn(e)) return null;+function f6(e) {+ return sn("/healthz", { signal: e.controller.signal }).catch((e) => {+ if (cn(e)) return null;throw e;});}-function m6(e, t) {+function p6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function Mje(e, t) {+async function Bje(e, t) {if (e === "/jav") {- let e = await p6(t);+ let e = await f6(t);return t.live ? {- tab: C$(f6().get("tab")),+ tab: S$(d6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}if (e === "/stats") return {};if (e === "/taste") {- let e = su;- return _u({ cameFromSetup: !1 }), { onboarding: e };+ let e = cu;+ return vu({ cameFromSetup: !1 }), { onboarding: e };}if (e.startsWith("/settings/")) {- window.location.hash === "#peachProxy" && _u({ configurationRequestedSection: "网络与访问" });- let t = f6().get("section") || au || uV(e);+ window.location.hash === "#peachProxy" && vu({ configurationRequestedSection: "网络与访问" });+ let t = d6().get("section") || ou || sV(e);return t ? { section: t } : {};}if (e === "/review") {- let e = f6().get("category") || "", n = await p6(t);+ let e = d6().get("category") || "", n = await f6(t);return t.live ? {- category: NY(e) ? e : "",- ...m6(n, "/review")+ category: OY(e) ? e : "",+ queue: jY(d6().get("queue")),+ ...p6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = RZ("?" + f6().toString()), n = await p6(t);+ let e = LZ("?" + d6().toString()), n = await f6(t);if (!t.live) return null;- let r = SA().value;+ let r = yA().value;return {...e,pageSize: Number(r.followPageSize) || 20,- layout: d6(),- ...m6(n, "/subscriptions")+ layout: u6(),+ ...p6(n, "/subscriptions")};}return {};}-var Nje = () => {+var Vje = () => {window.scrollTo({top: 0,- behavior: c6()+ behavior: s6()});-}, Pje = /* @__PURE__ */ new Set([+}, Hje = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -75000,18 +75083,18 @@ var Nje = () => {"/tasks","/subscriptions"]);-async function Fje(e, t, n) {- let r = QV.navigation.seq, i = () => n.live && QV.navigation.seq === r;- if (e === "/jav" && C$(f6().get("tab")) === "library") {- QV.replace(rTe(window.location.search));+async function Uje(e, t, n) {+ let r = YV.navigation.seq, i = () => n.live && YV.navigation.seq === r;+ if (e === "/jav" && S$(d6().get("tab")) === "library") {+ YV.replace(dTe(window.location.search));return;}- if (e === "/subscriptions" && f6().get("tab") === "wants") {- $V("/jav?tab=wants", { replace: !0 });+ if (e === "/subscriptions" && d6().get("tab") === "wants") {+ XV("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && f6().get("tab") === "source") {- $V("/settings/subscriptions", { replace: !0 });+ if (e === "/subscriptions" && d6().get("tab") === "source") {+ XV("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -75019,8 +75102,8 @@ async function Fje(e, t, n) {e === "/jav" && window.scrollTo({top: 0,behavior: "instant"- }), t.surfaceChanged("management", e), e === "/taste" && (_u({ state: {- ...U,+ }), t.surfaceChanged("management", e), e === "/taste" && (vu({ state: {+ ...H,creator: "",studio: "",tag: "",@@ -75033,38 +75116,38 @@ async function Fje(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), d2(a, jje(e));- let o = await Mje(e, n);+ } }), t.clearSearch()), u2(a, zje(e));+ let o = await Bje(e, n);if (!o) return;- let s = await VV(e, o, {+ let s = await RV(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = LV(a)?.revision ?? 0), e.startsWith("/settings/") && s && _u({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = PV(a)?.revision ?? 0), e.startsWith("/settings/") && s && vu({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && $V("/data-cleanup#libraryProcessing", {+ i() && XV("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? l6(t, i) : (Pje.has(e) || e === "/settings/library") && Nje();+ }) : t ? c6(t, i) : (Hje.has(e) || e === "/settings/library") && Vje();}}-function h6({ path: e }) {- let t = EU();- zB();- let n = yV(QV.navigation.location.pathname), r = (0, P.useRef)(n ? null : t), i = (0, P.useRef)(n);+function m6({ path: e }) {+ let t = CU();+ IB();+ let n = gV(YV.navigation.location.pathname), r = (0, P.useRef)(n ? null : t), i = (0, P.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, F.jsx)(Ije, {+ return /* @__PURE__ */ (0, F.jsx)(Wje, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function Ije({ path: e, covered: t }) {- let n = (0, P.useContext)(DU), r = u6(), i = (0, P.useRef)(null);+function Wje({ path: e, covered: t }) {+ let n = (0, P.useContext)(wU), r = l6(), i = (0, P.useRef)(null);return (0, P.useEffect)(() => {- e.startsWith("/settings/") && HV(document.getElementById("stats"), { section: uV(e) });+ e.startsWith("/settings/") && zV(document.getElementById("stats"), { section: sV(e) });}, [e]), (0, P.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -75073,7 +75156,7 @@ function Ije({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && Fje(e, n, a);+ a.live && Uje(e, n, a);});}, [r]), (0, P.useEffect)(() => () => {let e = i.current;@@ -75081,42 +75164,42 @@ function Ije({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && LV(t)?.revision === e.revision && UV(t);+ t && e.revision && !t.hidden && PV(t)?.revision === e.revision && BV(t);});}, []), null;}-function Lje() {- let e = u6(), t = (0, P.useRef)(!1);+function Gje() {+ let e = l6(), t = (0, P.useRef)(!1);return (0, P.useEffect)(() => {- if (!e || t.current || yV(QV.navigation.location.pathname)) return;+ if (!e || t.current || gV(YV.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && $V("/data-cleanup#resource-sync", { replace: !0 });+ n && XV("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};}, [e]), null;}// src/react/router/route-chunk.ts-var g6 = [], _6 = "peach.chunkReloadAt", Rje = 3e4;-async function zje() {+var h6 = [], g6 = "peach.chunkReloadAt", Kje = 3e4;+async function qje() {try {- let e = Number(sessionStorage.getItem(_6) || 0);- if (Date.now() - e < Rje || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(g6) || 0);+ if (Date.now() - e < Kje || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(_6, String(Date.now())), location.reload();+ sessionStorage.setItem(g6, String(Date.now())), location.reload();} catch {}}-function v6(e) {+function _6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return g6.push(r), {+ return h6.push(r), {preload: () => r().catch(async (e) => {- throw await zje(), e;+ throw await qje(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -75124,10 +75207,10 @@ function v6(e) {}};}-function Bje() {+function Jje() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...g6], n = () => {+ let t = [...h6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -75136,31 +75219,31 @@ function Bje() {document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });}// src/react/router/managed-routes.tsx-async function y6(e, t) {+async function v6(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 b6 = v6(() => import("./peach-app.jav-page-C5uPjDXP.js")), x6 = v6(() => import("./peach-app.stats-page-BD7bt_Ub.js")), S6 = v6(() => import("./peach-app.taste-page-TP-o8aAE.js")), C6 = v6(() => import("./peach-app.review-page-Bdf4jFNP.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-Ctwipl6H.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-DwyqtX3v.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {+var y6 = _6(() => import("./peach-app.jav-page-C5uPjDXP.js")), b6 = _6(() => import("./peach-app.stats-page-BD7bt_Ub.js")), x6 = _6(() => import("./peach-app.taste-page-TP-o8aAE.js")), S6 = _6(() => import("./peach-app.review-page-Bl5-DKpD.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-Ctwipl6H.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-DwyqtX3v.js")), E6 = _6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), D6 = _6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-Bji43uG_.js"), import("./peach-app.diagnostics-page-CZQmu5mE.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), k6 = v6(() => import("./peach-app.activity-page-DzMpq2eJ.js")), A6 = v6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));-function Vje(e, t, n) {+}), O6 = _6(() => import("./peach-app.activity-page-DzMpq2eJ.js")), k6 = _6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));+function Yje(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- P6(r) ? n(r) : t.openManage(e);+ N6(r) ? n(r) : t.openManage(e);}-var M6 = (e) => ({- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: e }),- prefetch: (t, n) => y6(O6, Promise.all([qTe(n), ...e === "/settings/diagnostics" ? [hwe(n)] : []]).then(() => {})),+var j6 = (e) => ({+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: e }),+ prefetch: (t, n) => v6(D6, Promise.all([tEe(n), ...e === "/settings/diagnostics" ? [Cwe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();return /* @__PURE__ */ (0, F.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -75171,12 +75254,12 @@ var M6 = (e) => ({})});}-}), N6 = {+}), M6 = {"/jav": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/jav" }),- prefetch: (e, t) => y6(b6, aTe(e.tab, t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/jav" }),+ prefetch: (e, t) => v6(y6, pTe(e.tab, t)),page: (e, t) => {- let { JavPage: n } = b6.get();+ let { JavPage: n } = y6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,navigate: t.navigate,@@ -75185,21 +75268,21 @@ var M6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/stats" }),- prefetch: (e, t) => y6(x6, Wke(t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/stats" }),+ prefetch: (e, t) => v6(b6, Qke(t)),page: (e, t) => {- let { StatsPage: n } = x6.get();+ let { StatsPage: n } = b6.get();return /* @__PURE__ */ (0, F.jsx)(n, {- tagLabel: Ml,+ tagLabel: Nl,onTag: t.openTag});}},"/taste": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/taste" }),- prefetch: (e, t) => y6(S6, MAe("all", t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/taste" }),+ prefetch: (e, t) => v6(x6, BAe("all", t)),page: (e, t, n) => {- let { TastePage: r } = S6.get();+ let { TastePage: r } = x6.get();return /* @__PURE__ */ (0, F.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -75209,10 +75292,10 @@ var M6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/review" }),- prefetch: (e, t) => y6(C6, Nbe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/review" }),+ prefetch: (e, t) => v6(S6, Vbe(t)),page: (e, t) => {- let { ReviewPage: n } = C6.get();+ let { ReviewPage: n } = S6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,route: t.routeReview,@@ -75224,22 +75307,22 @@ var M6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/data-cleanup" }),- prefetch: (e, t) => y6(w6, Bxe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/data-cleanup" }),+ prefetch: (e, t) => v6(C6, Jxe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = w6.get();+ let { DataCleanupPage: r } = C6.get();return /* @__PURE__ */ (0, F.jsx)(r, {failure: t.failure,- open: (e) => Vje(e, t, n),+ open: (e) => Yje(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/duplicates" }),- prefetch: (e, t) => y6(T6, Zye(t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/duplicates" }),+ prefetch: (e, t) => v6(w6, rbe(t)),page: (e, t) => {- let { DuplicatesPage: n } = T6.get();+ let { DuplicatesPage: n } = w6.get();return /* @__PURE__ */ (0, F.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -75248,46 +75331,46 @@ var M6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/quality-goals" }),- prefetch: (e, t) => y6(E6, lbe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/quality-goals" }),+ prefetch: (e, t) => v6(T6, hbe(t)),page: (e, t) => {- let { QualityGoalsPage: n } = E6.get();+ let { QualityGoalsPage: n } = T6.get();return /* @__PURE__ */ (0, F.jsx)(n, {openItem: t.openItem,- javTitleHtml: TF,- javDisplayName: wF,+ javTitleHtml: SF,+ javDisplayName: xF,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/sources" }),- prefetch: (e, t) => y6(D6, LTe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/sources" }),+ prefetch: (e, t) => v6(E6, GTe(t)),page: (e, t) => {- let { ScrapingPage: n } = D6.get();+ let { ScrapingPage: n } = E6.get();return /* @__PURE__ */ (0, F.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": M6("/settings/library"),- "/settings/subscriptions": M6("/settings/subscriptions"),- "/settings/downloads": M6("/settings/downloads"),- "/settings/network": M6("/settings/network"),- "/settings/maintenance": M6("/settings/maintenance"),- "/settings/diagnostics": M6("/settings/diagnostics"),+ "/settings/library": j6("/settings/library"),+ "/settings/subscriptions": j6("/settings/subscriptions"),+ "/settings/downloads": j6("/settings/downloads"),+ "/settings/network": j6("/settings/network"),+ "/settings/maintenance": j6("/settings/maintenance"),+ "/settings/diagnostics": j6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/tasks" }),- prefetch: (e, t) => y6(k6, iue(t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/tasks" }),+ prefetch: (e, t) => v6(O6, cue(t)),page: () => {- let { ActivityPage: e } = k6.get();+ let { ActivityPage: e } = O6.get();return /* @__PURE__ */ (0, F.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/subscriptions" }),- prefetch: (e, t) => y6(A6, yi(t)),+ element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/subscriptions" }),+ prefetch: (e, t) => v6(k6, bi(t)),page: (e, t) => {- let { FollowManagePage: n } = A6.get();+ let { FollowManagePage: n } = k6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,route: t.routeFollowManage,@@ -75297,12 +75380,12 @@ var M6 = (e) => ({});}}-}, P6 = (e) => Object.hasOwn(N6, e), Hje = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(Lje, {}) } }, Uje = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(kje, {}) } }, F6 = {+}, N6 = (e) => Object.hasOwn(M6, e), Xje = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(Gje, {}) } }, Zje = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(Lje, {}) } }, P6 = {"/playlists": {- element: /* @__PURE__ */ (0, F.jsx)(Eje, {}),- prefetch: (e, t) => y6(j6, xTe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(Pje, {}),+ prefetch: (e, t) => v6(A6, kTe(t)),page: (e, t) => {- let { PlaylistsPage: n } = j6.get();+ let { PlaylistsPage: n } = A6.get();return /* @__PURE__ */ (0, F.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -75313,102 +75396,102 @@ var M6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, F.jsx)(wje, {}),- prefetch: (e, t) => Vi(e, t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(JSe, { ...e })- }-}, I6 = (e) => Object.hasOwn(F6, e), L6 = {- element: /* @__PURE__ */ (0, F.jsx)(lje, {}),- prefetch: (e, t) => sSe(e, t),- page: (e, t) => /* @__PURE__ */ (0, F.jsx)(Awe, {+ element: /* @__PURE__ */ (0, F.jsx)(Mje, {}),+ prefetch: (e, t) => Hi(e, t),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(nCe, { ...e })+ }+}, F6 = (e) => Object.hasOwn(P6, e), I6 = {+ element: /* @__PURE__ */ (0, F.jsx)(_je, {}),+ prefetch: (e, t) => hSe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, F.jsx)(Rwe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,exitSelectMode: t.exitSelectMode,personAvatar: t.personAvatar,authorAvatar: t.authorAvatar,- tagLabel: Ml,+ tagLabel: Nl,openEntity: t.openEntity,showTags: t.showIndexTags,openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})+}, L6 = {+ "/performers": I6,+ "/creators": I6,+ "/studios": I6,+ "/agencies": I6,+ "/tags": I6,+ "/series": I6}, R6 = {- "/performers": L6,- "/creators": L6,- "/studios": L6,- "/agencies": L6,- "/tags": L6,- "/series": L6+ element: /* @__PURE__ */ (0, F.jsx)(xje, {}),+ prefetch: (e) => rSe(e),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(vwe, { ...e })}, z6 = {- element: /* @__PURE__ */ (0, F.jsx)(pje, {}),- prefetch: (e) => Yxe(e),- page: (e) => /* @__PURE__ */ (0, F.jsx)(uwe, { ...e })+ "/performers/*": R6,+ "/studios/*": R6,+ "/creators/*": R6,+ "/series/*": R6,+ "/agencies/*": R6,+ "/tags/*": R6}, B6 = {- "/performers/*": z6,- "/studios/*": z6,- "/creators/*": z6,- "/series/*": z6,- "/agencies/*": z6,- "/tags/*": z6-}, V6 = {"/": {- element: /* @__PURE__ */ (0, F.jsx)(a6, {}),- prefetch: (e, t) => WM(e, t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(pY, { ...e })+ element: /* @__PURE__ */ (0, F.jsx)(i6, {}),+ prefetch: (e, t) => VM(e, t),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(cY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, F.jsx)(a6, {}),+ element: /* @__PURE__ */ (0, F.jsx)(i6, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(Gwe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)($we, { ...e })}-}, H6 = (e) => Object.hasOwn(V6, e), Wje = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(dge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(V$, { ...e }), U6 = {+}, V6 = (e) => Object.hasOwn(B6, e), Qje = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(hge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(B$, { ...e }), H6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(wW, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(yW, { ...e })},"feed-new": {- prefetch: (e) => Gxe(e),- page: (e) => /* @__PURE__ */ (0, F.jsx)(gwe, { ...e })+ prefetch: (e) => $xe(e),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(wwe, { ...e })},"library-processing": {- prefetch: (e, t) => SH(t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(Wje, { ...e })+ prefetch: (e, t) => yH(t),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(Qje, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(UTe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(ZTe, { ...e })}-}, W6 = (e) => Object.hasOwn(U6, e), G6 = {+}, U6 = (e) => Object.hasOwn(H6, e), W6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(yoe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(Coe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(ese, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(ise, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Ble, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(Wle, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Ice, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(zce, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(fEe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(bEe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(EEe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(PEe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Hke, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(Xke, {})}-}, K6 = (e) => Object.hasOwn(G6, e), q6 = [+}, G6 = (e) => Object.hasOwn(W6, e), K6 = ["/","/wall","/unseen",@@ -75418,99 +75501,99 @@ var M6 = (e) => ({"/junk-files"];[- ...Object.keys(N6),- ...Object.keys(F6),- ...Object.keys(R6),- ...Object.keys(B6),- ...q6+ ...Object.keys(M6),+ ...Object.keys(P6),+ ...Object.keys(L6),+ ...Object.keys(z6),+ ...K6];-var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) || H6(e) || W6(e) || K6(e);-function Y6(e) {- return P6(e) ? N6[e] : I6(e) ? F6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : K6(e) ? G6[e] : Object.hasOwn(R6, e) ? R6[e] : B6[e];+var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);+function J6(e) {+ return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];}-function Gje(e, t, n) {- return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function $je(e, t, n) {+ return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function Kje(e, t, n, r) {- return Y6(e).page(t, n, r);+function eMe(e, t, n, r) {+ return J6(e).page(t, n, r);}// src/react/application-residents.ts-var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();-function qje(e) {- return X6 = e, Z6 && e(Z6), () => {- X6 === e && (X6 = null);+var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();+function tMe(e) {+ return Y6 = e, X6 && e(X6), () => {+ Y6 === e && (Y6 = null);};}-function Jje(e) {- return X6 && (Z6 = e, X6(e), qme(Promise.resolve(Gje)), Bje()), Promise.resolve();+function nMe(e) {+ return Y6 && (X6 = e, Y6(e), Zme(Promise.resolve($je)), Jje()), Promise.resolve();}-async function e8(e, t, n = (e) => e) {- let r = Q6;- if (t.isConnected || $6.add(t), !await VV(e, {}, {+async function $6(e, t, n = (e) => e) {+ let r = Z6;+ if (t.isConnected || Q6.add(t), !await RV(e, {}, {container: t,resident: !0,- isCurrent: () => !!X6 && r === Q6,+ isCurrent: () => !!Y6 && r === Z6,place: () => n(t)- }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");-}-function Yje() {- Q6 += 1, X6 = null, Z6 = null, t8 = null, n8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null, h8 = null, _8 = null, v8 = null, b8 = null;- for (let e of $6) e.remove();- $6.clear(), JQ();-}-var t8 = null, n8 = null;-function r8(e) {- return t8 ??= (async () => {- let t = Vke(e), n = document.createElement("div");- return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;- })(), t8;-}-var i8 = () => n8, a8 = null, o8 = null;-function Xje(e) {- return a8 ??= (async () => {- let t = Fce(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;- })(), a8;-}-var s8 = () => o8, c8 = null, l8 = null;-function Zje(e) {- return c8 ??= (async () => {- let t = dEe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;- })(), c8;-}-var u8 = () => l8, d8 = null, f8 = null;-function Qje(e) {- return d8 ??= (async () => {- let t = TEe(e);- return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;- })(), d8;-}-var p8 = () => f8, m8 = null, h8 = null;-function $je(e) {- return m8 ??= (async () => {- let t = zle(e);- return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;- })(), m8;-}-var g8 = () => h8, _8 = null, v8 = null;-function eMe(e) {- return _8 ??= (async () => {- let t = voe(e);- return await e8("batch-dock", e.root), v8 = t, t;- })(), _8;-}-var y8 = () => v8, b8 = null;-function tMe(e) {- return b8 ??= (async () => {- $oe(e), await e8("glow-picker", e.root);- })(), b8;+ }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");}-function x8(e, t, n, r) {- YQ(e, t), XQ(n, r);+function rMe() {+ Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;+ for (let e of Q6) e.remove();+ Q6.clear(), qQ();+}+var e8 = null, t8 = null;+function n8(e) {+ return e8 ??= (async () => {+ let t = Yke(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;+ })(), e8;+}+var r8 = () => t8, i8 = null, a8 = null;+function iMe(e) {+ return i8 ??= (async () => {+ let t = Rce(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;+ })(), i8;+}+var o8 = () => a8, s8 = null, c8 = null;+function aMe(e) {+ return s8 ??= (async () => {+ let t = yEe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;+ })(), s8;+}+var l8 = () => c8, u8 = null, d8 = null;+function oMe(e) {+ return u8 ??= (async () => {+ let t = NEe(e);+ return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;+ })(), u8;+}+var f8 = () => d8, p8 = null, m8 = null;+function sMe(e) {+ return p8 ??= (async () => {+ let t = Ule(e);+ return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;+ })(), p8;+}+var h8 = () => m8, g8 = null, _8 = null;+function cMe(e) {+ return g8 ??= (async () => {+ let t = Soe(e);+ return await $6("batch-dock", e.root), _8 = t, t;+ })(), g8;+}+var v8 = () => _8, y8 = null;+function lMe(e) {+ return y8 ??= (async () => {+ rse(e), await $6("glow-picker", e.root);+ })(), y8;+}+function b8(e, t, n, r) {+ JQ(e, t), YQ(n, r);}// src/application/effects.ts-var S8 = class {+var x8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -75591,12 +75674,12 @@ var S8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, J = new S8();-function nMe() {- return J.dispose(), J = new S8(), J;+}, J = new x8();+function uMe() {+ return J.dispose(), J = new x8(), J;}// src/application/receipts.js-var C8 = {+var S8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -75606,15 +75689,15 @@ var C8 = {rollSeed: void 0,seededSample: void 0};-function rMe() {- YQ(L("#toasts"), {- success: R("check"),- error: R("circle-alert")- }), C8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), C8.toastSeq = 0, C8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++C8.toastSeq}`, o = (e, t, n, r) => {- Mo(i || (t ? "error" : "success")), x8(L("#toasts"), {- success: R("check"),- error: R("circle-alert")+function dMe() {+ JQ(I("#toasts"), {+ success: L("check"),+ error: L("circle-alert")+ }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : R(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {+ No(i || (t ? "error" : "success")), b8(I("#toasts"), {+ success: L("check"),+ error: L("circle-alert")}, a, {html: e,alert: !!t,@@ -75622,18 +75705,18 @@ function rMe() {action: r && !t ? {label: r.label,run: (e) => {- Oc(e), r.run();+ kc(e), r.run();}} : null});};- return o(C8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(C8.toastBody(e), t, n, null) };- }, C8.liftToastsOverTutorial = () => {- let e = L("#postSetupTutorial"), t = L("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;+ return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };+ }, S8.liftToastsOverTutorial = () => {+ let e = I("#postSetupTutorial"), t = I("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);- }, J.resize(C8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), J.listen.bind(J, window)("resize", C8.liftToastsOverTutorial), C8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ }, J.resize(S8.liftToastsOverTutorial).observe(I("#postSetupTutorial")), J.listen.bind(J, window)("resize", S8.liftToastsOverTutorial), S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = C8.toast({ text: e }, {+ return r = S8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -75646,14 +75729,14 @@ function rMe() {}} : null}), r;- }, C8.actionFailure = (e, t) => C8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), C8.rollSeed = () => zn(), C8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => Bn(), S8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;- let i = new Set([...e].sort((e, t) => Rn(n, r(e)) - Rn(n, r(t))).slice(0, t).map(r));+ let i = new Set([...e].sort((e, t) => zn(n, r(e)) - zn(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));};}// src/react/catalog-grid/catalog-state.ts-var iMe = [+var fMe = ["loc","creator","studio",@@ -75674,17 +75757,17 @@ var iMe = ["folder","folder_recursive"];-function w8(e, t, n, r = n.defaultSort) {- return nA(e, t, n.defaultSort, n.defaultSortDirection, r);+function C8(e, t, n, r = n.defaultSort) {+ return $k(e, t, n.defaultSort, n.defaultSortDirection, r);}-function aMe(e, t, n) {- let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = fn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;+function pMe(e, t, n) {+ let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = pn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",creator: o("creator") || "",studio: o("studio") || "",owner: o("owner") === "none" ? "none" : "",- tag: Vn(o("tag")),+ tag: Hn(o("tag")),tag_match: o("tag_match") === "any" ? "any" : "all",len: o("len") || "",dur_min: o("dur_min") || "",@@ -75692,8 +75775,8 @@ function aMe(e, t, n) {orient: o("orient") || "",region: o("region") || "",year: o("year") || "",- state: un[r] || o("state") || "",- ...w8(o("sort"), o("dir"), t),+ state: dn[r] || o("state") || "",+ ...C8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -75703,18 +75786,18 @@ function aMe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function oMe(e, t) {+function mMe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function sMe(e) {- let t = ln[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of iMe) {+function hMe(e) {+ let t = un[e.state ?? ""] || "/", n = new URLSearchParams();+ for (let t of fMe) {let r = e[t];- !r || t === "tag_match" && r === "all" || t === "dir" && r === $k(e.sort ?? "") || n.set(t, r);+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Xk(e.sort ?? "") || n.set(t, r);}- return !ln[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");+ return !un[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function cMe(e, t, n) {+function gMe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -75730,7 +75813,7 @@ function cMe(e, t, n) {year: "",state: "",sort: t.defaultSort,- dir: tA(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Qk(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -75740,7 +75823,7 @@ function cMe(e, t, n) {folder_recursive: ""};}-function T8(e) {+function w8(e) {return {state: e,barsContext: {@@ -75751,7 +75834,7 @@ function T8(e) {};}// src/react/catalog-grid/catalog-controller.ts-var lMe = class {+var _Me = class {currentRevision = 0;currentPage = "";painting = null;@@ -75796,55 +75879,55 @@ var lMe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, E8 = 3e4, D8 = 0, uMe = (e, t = D8) => [+}, T8 = 3e4, E8 = 0, vMe = (e, t = E8) => ["facets",e,t-], dMe = (e, t, n = D8) => [+], yMe = (e, t, n = E8) => ["tops",e,t,n-], fMe = (e, t = D8) => [+], bMe = (e, t = E8) => ["tops",e,t];-async function O8(e) {- let t = String(e), n = await on(`/api/tops?${t}`), r = new URLSearchParams(t);- return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await on(`/api/tops?${r}`));-}-function pMe(e, t) {- return Promise.all([H.fetchQuery({- queryKey: uMe(e),- queryFn: () => on(`/api/facets${e ? `?${e}` : ""}`),- staleTime: E8- }), H.fetchQuery({- queryKey: dMe(t, e),- queryFn: () => O8(t),- staleTime: E8+async function D8(e) {+ let t = String(e), n = await sn(`/api/tops?${t}`), r = new URLSearchParams(t);+ return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await sn(`/api/tops?${r}`));+}+function xMe(e, t) {+ return Promise.all([V.fetchQuery({+ queryKey: vMe(e),+ queryFn: () => sn(`/api/facets${e ? `?${e}` : ""}`),+ staleTime: T8+ }), V.fetchQuery({+ queryKey: yMe(t, e),+ queryFn: () => D8(t),+ staleTime: T8})]);}-function mMe(e) {- return H.fetchQuery({- queryKey: fMe(e),- queryFn: () => O8(e),- staleTime: E8+function SMe(e) {+ return V.fetchQuery({+ queryKey: bMe(e),+ queryFn: () => D8(e),+ staleTime: T8});}-function k8() {- D8 += 1;+function O8() {+ E8 += 1;let e = (e) => e.state.fetchStatus === "idle";- H.removeQueries({+ V.removeQueries({queryKey: ["facets"],predicate: e- }), H.removeQueries({+ }), V.removeQueries({queryKey: ["tops"],predicate: e});}// src/application/navigation-items.ts-var A8 = [+var k8 = [["","首页",@@ -75895,7 +75978,7 @@ var A8 = ["管理","wrench"]-], j8 = [+], A8 = [["stats","统计",@@ -75941,18 +76024,18 @@ var A8 = ["Peach 配置","folder-cog"]-], M8 = [+], j8 = ["stats","taste","cleanup","follow","activity","configuration"-], hMe = (e) => j8.filter(([t]) => M8.includes(t) && (t !== "configuration" || e)), N8 = j8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], CMe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), gMe = [...A8, ...N8], _Me = {+]]), wMe = [...k8, ...M8], TMe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -75960,122 +76043,122 @@ var A8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, P8 = [+}, N8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]];// src/react/index/index-controller.ts-function F8({ kind: e, q: t, scope: n, view: r, category: i }) {+function P8({ 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 I8(e, t, n) {+function F8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {- html: Za(e.k, r ? {+ html: Qa(e.k, r ? {id: r,has_image: e.has_image,image_version: e.image_version,logo_version: e.logo_version,avatar_stand_in: e.avatar_stand_in} : null, e.has_avatar && !i ? e.rep : null, t, e.mark, e.has_logo ? e.k : "", i && n ? "large" : "ring", i ? null : e.avatar_focus, !0),- face: $a(e.avatar_focus)+ face: eo(e.avatar_focus)};}-function L8(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" ${Sa({ fallbacks: [e.avatar_fallback || ""] })}>` : "";- return `<span class="ini">${z(n)}</span>${r}`;+function I8(e) {+ let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${R(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Ca({ fallbacks: [e.avatar_fallback || ""] })}>` : "";+ return `<span class="ini">${R(n)}</span>${r}`;}-function vMe(e) {+function EMe(e) {let t = (t) => {- e.adoptFollowView(t), e.hideIndex(), e.openPage(ua(t));+ e.adoptFollowView(t), e.hideIndex(), e.openPage(da(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(F8(t), n);+ e.route(P8(t), n);},- personAvatar: I8,- authorAvatar: L8,+ personAvatar: F8,+ authorAvatar: I8,openFollowAuthor(n) {- t(da(e.followView(), n));+ t(fa(e.followView(), n));},openFollowTag(n) {- t(fa(e.followView(), n));+ t(pa(e.followView(), n));}};}// src/application/source-action.ts-function yMe(e) {+function DMe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";- r && (Oc(r), r.innerHTML = `${bs("正在定位")}${a ? `<span>${z(a)}</span>` : ""}`), n.textContent = "";+ r && (kc(r), r.innerHTML = `${xs("正在定位")}${a ? `<span>${R(a)}</span>` : ""}`), n.textContent = "";try {await e.request(t), n.textContent = "", e.success();} catch (t) {n.textContent = e.failureText(t);} finally {- r && (Oc(r, !1), r.innerHTML = i);+ r && (kc(r, !1), r.innerHTML = i);}};}// src/react/entity-page/entity-route.ts-var R8 = () => Object.fromEntries(FX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function z8(e, t) {- let n = new URLSearchParams(e), r = R8();- for (let e of FX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var L8 = () => Object.fromEntries(PX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function R8(e, t) {+ let n = new URLSearchParams(e), r = L8();+ for (let e of PX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...nA(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...$k(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function B8(e) {+function z8(e) {let t = new URLSearchParams();- for (let n of FX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === $k(e.sort || "") || t.set(n, e[n]);+ for (let n of PX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Xk(e.sort || "") || t.set(n, e[n]);return t.toString();}-function V8(e) {+function B8(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 H8(e, t) {- let n = new URLSearchParams(B8(e));+function V8(e, t) {+ let n = new URLSearchParams(z8(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 bMe(e, t, n, r) {- let i = H8(n, r);- return hn(e, t) + (i ? `?${i}` : "");+function OMe(e, t, n, r) {+ let i = V8(n, r);+ return gn(e, t) + (i ? `?${i}` : "");}-function xMe() {+function kMe() {let e = "";return {fresh(t, n) {- return e = hn(t, n), e;+ return e = gn(t, n), e;},read(t, n, r, i) {- let a = e === hn(t, n) && !r;+ let a = e === gn(t, n) && !r;e = "";- let o = a ? R8() : { ...z8(r, i) };+ let o = a ? L8() : { ...R8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : V8(r)+ } : B8(r)};}};}// src/react/entity-page/photo-surface.ts-function SMe(e, t) {+function AMe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function CMe(e) {+function jMe(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);@@ -76097,12 +76180,12 @@ function CMe(e) {};}// src/react/entity-page/entity-controller.ts-function wMe(e, t, n) {+function MMe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(bMe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(OMe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -76112,11 +76195,11 @@ function wMe(e, t, n) {jav: o.jav}), !0;}, i = /* @__PURE__ */ new Map(), a = (t, a) => {- let o = hn(t, a), s = i.get(o);+ let o = gn(t, a), s = i.get(o);if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : R8();+ return n?.kind === t && n.name === a ? n.filters : L8();}, l = {...n,route: (e, n) => {@@ -76129,7 +76212,7 @@ function wMe(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = eA(e, n.sort || "new", n.dir || "");+ let n = c(), i = Zk(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -76149,7 +76232,7 @@ function wMe(e, t, n) {e.setPhotoLayout(t), e.syncPhotoWalls();},openEntity: (t, n, r = !1) => {- r ? e.route(hn(t, n) + e.suffix(), !0) : e.openEntity(t, n);+ r ? e.route(gn(t, n) + e.suffix(), !0) : e.openEntity(t, n);},painted: (t, n) => {let r = e.photoViewActive();@@ -76180,7 +76263,7 @@ function wMe(e, t, n) {};}// src/react/entity-page/entity-loading.ts-function TMe(e) {+function NMe(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -76188,8 +76271,8 @@ function TMe(e) {};}// src/react/entity-page/entity-portrait.ts-function EMe(e, t) {- let n = e === "studio" || e === "agency", r = t.id ? Xa({+function PMe(e, t) {+ let n = e === "studio" || e === "agency", r = t.id ? Za({kind: e,id: t.id,hasImage: t.has_image,@@ -76200,21 +76283,21 @@ function EMe(e, t) {logo: n && t.has_logo ? t.canonical_name : "",logoVersion: t.logo_version,logoVariant: "large",- alt: z(t.canonical_name),+ alt: R(t.canonical_name),lazy: !1,- style: n ? "" : eo(t.avatar_focus),+ style: n ? "" : to(t.avatar_focus),focus: n ? null : t.avatar_focus,dropStyle: !0,thumb: !1}) : "", i = e === "creator" ? t.follow : null;- return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Sa({ fallbacks: [i.avatar_fallback || ""] })}>` : "");+ return r || (i?.avatar ? `<img src="${R(i.avatar)}" alt="${R(t.canonical_name)}" referrerpolicy="no-referrer" ${Ca({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}// src/react/entity-page/entity-application.ts-function DMe(e) {- let t = xMe(), n = {+function FMe(e) {+ let t = kMe(), n = {...e.helpers,- portraitImg: EMe- }, r = wMe(e.controller, n, e.actions);+ portraitImg: PMe+ }, r = MMe(e.controller, n, e.actions);return {...r,helpers: n,@@ -76223,20 +76306,20 @@ function DMe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: TMe(e.loading),- photos: CMe(e.photos)+ loading: NMe(e.loading),+ photos: jMe(e.photos)};}// src/card-art/feed-identity.ts-function OMe(e) {+function IMe(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 ? "" : Za(t.name, t, null);- return "id" in t && t.id ? `<a class="mav"${r} href="${z(hn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;+ 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="${R(e.code)}" data-actor="${R(t.source_actor_id)}" data-name="${R(t.name)}"` : "", i = n ? "" : Qa(t.name, t, null);+ return "id" in t && t.id ? `<a class="mav"${r} href="${R(gn("performer", t.name, t.id))}" aria-label="打开女优页:${R(t.name)}">${i}</a>` : `<span class="mav"${r} title="${R(t.name)}">${i}</span>`;}).join("");return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;}// src/application/feed.js-var U8 = {+var H8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -76252,112 +76335,112 @@ var U8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function W8(e) {- return e.has_cover ? no(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Ss("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : no(e, "big").replace(/ src="[^"]*"/, ` src="${z(Ka(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");+function U8(e) {+ return e.has_cover ? ro(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Cs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : ro(e, "big").replace(/ src="[^"]*"/, ` src="${R(qa(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function kMe(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 = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? TF({+function LMe(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${R(e.performers)}">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join(""), n = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? SF({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>` : "";+ }) : R(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${R(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${jA}">${n}+ ${a}<div class="pic" style="--card-ratio:${OA}">${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">${OMe(e)}<div class="mtext"><span class="t">${i}</span>+ <button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${R(r)}">${L("star")}</button>+ <button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${R(r)}">${L("x")}</button>+ <button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${R(r)}">${L("check")}</button></div></div>+ <div class="meta">${IMe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function AMe() {+function RMe() {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;- U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${wn(e)}`, t.parts]));+ H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Tn(e)}`, t.parts]));} catch {}}-async function G8() {- let e = J, t = await on("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (U8.entityShapesComplete = !0, U8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${wn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(L("#feedNew"))), U8.entityShapes;+async function W8() {+ let e = J, t = await sn("/api/entity/shapes", { signal: e.signal }).catch(() => null);+ return e.isActive && t && !t.error && (H8.entityShapesComplete = !0, H8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Tn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(I("#feedNew"))), H8.entityShapes;}-var K8 = "peach.home-feed.v1";-function q8(e) {+var G8 = "peach.home-feed.v1";+function K8(e) {X.homeHasFeed = e;try {- localStorage.setItem(K8, e ? "1" : "0");+ localStorage.setItem(G8, e ? "1" : "0");} catch {}}-function jMe() {+function zMe() {try {- let e = localStorage.getItem(K8);+ let e = localStorage.getItem(G8);return e === "1" || e !== "0" && null;} catch {return null;}}-function J8(e) {- !e || RV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = U8.feedNewSkeletonHtml())));+function q8(e) {+ !e || FV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = H8.feedNewSkeletonHtml())));}-function MMe(e, t) {- return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ys(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {+function BMe(e, t) {+ return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : bs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",actionLabel: "配置连接方式",actionHref: "/sources"});}-function Y8(e) {+function J8(e) {let t = e && !e.error && e.items || [];- return MMe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(kMe).join("")}</div>`;+ return BMe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(LMe).join("")}</div>`;}-function X8(e) {- e && (t9(e), Z.appSettings.feedAutoScroll && vc(e));+function Y8(e) {+ e && (e9(e), Z.appSettings.feedAutoScroll && yc(e));}-function Z8(e) {- return fn(e) && e !== "/junk-files";+function X8(e) {+ return pn(e) && e !== "/junk-files";}-function NMe() {- let e = L("#feedNew");- RV(e) ? HV(e, { revision: ++U8.feedRevision }) : (J8(e), VV("feed-new", {+function VMe() {+ let e = I("#feedNew");+ FV(e) ? zV(e, { revision: ++H8.feedRevision }) : (q8(e), RV("feed-new", {host: e,- revision: U8.feedRevision,- helpers: U8.feedNewHelpers,- actions: U8.feedNewActions+ revision: H8.feedRevision,+ helpers: H8.feedNewHelpers,+ actions: H8.feedNewActions}, {container: e,- isCurrent: () => Z8(location.pathname)+ isCurrent: () => X8(location.pathname)}));}-function Q8() {- let e = L("#feedNew");- e.querySelectorAll(".feednewrow").forEach(yc), UV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+function Z8() {+ let e = I("#feedNew");+ e.querySelectorAll(".feednewrow").forEach(bc), BV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function $8() {- U8.feedRevision += 1, HV(L("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });+function Q8() {+ H8.feedRevision += 1, zV(I("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });}-function PMe() {- document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? vc(e) : yc(e));+function HMe() {+ document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? yc(e) : bc(e));}-var e5 = 0;-function FMe([e]) {- let t = e.contentRect.width >= U8.HERO_WIDE_PX;- cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {- e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+var $8 = 0;+function UMe([e]) {+ let t = e.contentRect.width >= H8.HERO_WIDE_PX;+ cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {+ $8 = 0, I("#index")?.toggleAttribute("data-hero-wide", t);});}-function IMe() {- U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${jA}"></div>+function WMe() {+ H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${OA}"></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(U8.FEED_SKELETON_CARDS)}</div>`, U8.entityShapes = null, U8.entityShapesComplete = !1, U8.hasEntityShape = (e, t) => U8.entityShapesComplete || !!U8.entityShapes?.has(`${e}/${wn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${wn(t)}`)?.includes(n), U8.feedNewSkeletonSection = () => `<section class="feednew">${U8.feedNewSkeletonHtml()}</section>`, U8.COSTAR_SKELETON_PEOPLE = 12, U8.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(U8.COSTAR_SKELETON_PEOPLE)}</div></div>`, U8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, U8.feedRevision = 0, U8.feedNewHelpers = {- feedRowHtml: Y8,- wireFeedRow: (e) => X8(e)- }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, J.resize(FMe).observe(L("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${Tn(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${Tn(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.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(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {+ feedRowHtml: J8,+ wireFeedRow: (e) => Y8(e)+ }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, J.resize(UMe).observe(I("#index"));}// src/entity-skeleton.ts-function LMe(e, t, n, r = "") {+function GMe(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">@@ -76371,10 +76454,10 @@ function LMe(e, t, n, r = "") {<div class="entitysection">${o}</div></div></section>`;}// src/filter-controls-skeleton.ts-var t5 = (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>` : as(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${zU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${BU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${n5}>${t5(r)}</span>`).join("")}</span>`;-function i5(e, t) {- let n = MM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? r5(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${n5}>${t5("shuffle")}</button>${i}${r5("馆藏显示方式", n, [[+var e5 = (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>` : os(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${IU}" role="radiogroup" aria-label="${R(e)}">${n.map(([e, n, r]) => `<span class="${LU}" role="radio" aria-label="${R(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;+function r5(e, t) {+ let n = kM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -76382,7 +76465,7 @@ function i5(e, t) {"list","列表","ri-list-unordered"- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${n5}>${t5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${n5}>${z(e.label)}${e.dir ? t5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${R(e.key)}" aria-pressed="${e.pressed}" ${t5}>${R(e.label)}${e.dir ? e5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}// src/application/entity.jsvar Y = {@@ -76410,16 +76493,16 @@ var Y = {sourceToolButtons: void 0,application: void 0};-function a5() {- let e = LV(L("#index"));+function i5() {+ let e = PV(I("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function o5(e) {- Y.entityPageCurrent() && HV(L("#index"), e);+function a5(e) {+ Y.entityPageCurrent() && zV(I("#index"), e);}-function s5() {- if (Ul.type === "item") return Ul;- let e = a5();+function o5() {+ if (Wl.type === "item") return Wl;+ let e = i5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -76429,67 +76512,67 @@ function s5() {filters: { ...r }};}- return Ul;+ return Wl;}-function c5(e, t, n = t7()) {- return jNe(n).map(([n, r]) => {- let i = e === n, a = eA(n, e, t);+function s5(e, t, n = e7()) {+ return zNe(n).map(([n, r]) => {+ let i = e === n, a = Zk(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Qk(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Qk(a.sort, a.dir) : ""}排序` : ""+ dir: i && Yk(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Yk(a.sort, a.dir) : ""}排序` : ""};});}-function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {+function c5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}-function u5() {- return SMe({+function l5() {+ return AMe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),- indexVisible: !L("#index").hidden,+ indexVisible: !I("#index").hidden,pathname: location.pathname,followMedia: $.followMediaView,- statsVisible: !L("#stats").hidden+ statsVisible: !I("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function d5() {+function u5() {Y.photos.sync();}-function f5() {- u5() ? Koe(LA()) : XA();+function d5() {+ l5() ? Xoe(PA()) : qA();}-function RMe(e) {+function KMe(e) {Y.photos.setSize(e);}-var p5 = yMe({- request: (e) => on("/api/reveal", {+var f5 = DMe({+ request: (e) => sn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => C8.toast({ text: "已在资源管理器中显示" }),+ success: () => S8.toast({ text: "已在资源管理器中显示" }),failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))});-async function m5(e) {+async function p5(e) {let t = { textContent: "" };- return await p5(e, t), t.textContent;+ return await f5(e, t), t.textContent;}-async function zMe(e) {+async function qMe(e) {let t = { textContent: "" }, n = [];- return await h5(e, t, (e) => {+ return await m5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function h5(e, t, n) {+async function m5(e, t, n) {t.textContent = "正在核对目录…";try {- let r = await on("/api/purge-missing", {+ let r = await sn("/api/purge-missing", {method: "POST",body: JSON.stringify({ id: e })});@@ -76499,8 +76582,8 @@ async function h5(e, t, n) {}if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), C8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {- await on("/api/batch", {+ n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: e,@@ -76511,29 +76594,29 @@ async function h5(e, t, n) {restored: e.length});} : null });- } else C8.actionReceipt("目录核对完成,无需改动");+ } else S8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), C8.actionFailure("核对目录", e);+ t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);}}-function BMe(e) {+function JMe(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function VMe(e, t) {+function YMe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && J.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));+ r && J.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));}-async function HMe(e, t) {- let n = zc({+async function XMe(e, t) {+ let n = Bc({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",body: "<label class=\"modalfield\"><span>别名</span>\n <input class=\"geist-input\" name=\"alias\" maxlength=\"80\" autocomplete=\"off\"\n placeholder=\"另一种写法,或另一个艺名\"></label>" + (e.length ? `<div class="modalfield"><span>自己添过的</span>- <div class="aliaschips">${e.map((e) => `<span class="aliaschip">${z(e)}- <button type="button" data-alias-drop="${z(e)}"- aria-label="撤销别名 ${z(e)}">${R("x")}</button></span>`).join("")}</div></div>` : ""),+ <div class="aliaschips">${e.map((e) => `<span class="aliaschip">${R(e)}+ <button type="button" data-alias-drop="${R(e)}"+ aria-label="撤销别名 ${R(e)}">${L("x")}</button></span>`).join("")}</div></div>` : ""),confirmLabel: "添加别名",confirmDisabled: !0,onConfirm: () => t({ alias: r.value.trim() })@@ -76549,53 +76632,53 @@ async function HMe(e, t) {remove: !0});} catch (e) {- C8.actionFailure("撤销别名", e);+ S8.actionFailure("撤销别名", e);return;}- C8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? C8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : C8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function g5(e, t) {- let n = ["performer", "studio"].includes(e) && U8.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>${os()}${e === "agency" ? "" : i5(c5(U.sort, U.dir, n), n ? {+function h5(e, t) {+ let n = ["performer", "studio"].includes(e) && H8.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>${ss()}${e === "agency" ? "" : r5(s5(H.sort, H.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: NA(),- options: OA- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${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}" ${n5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = LMe(e, r, e === "agency" ? Rs({+ value: AA(),+ options: TA+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${L("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${L("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="${R(e.k)}" aria-pressed="${H.state === e.k}" ${t5}>${R(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = GMe(e, r, e === "agency" ? zs({kind: "performers",- layout: M5.peopleIndexLayout()- }) : JJ("正在读取作品", VA(BA({+ layout: j5.peopleIndexLayout()+ }) : UJ("正在读取作品", RA(LA({active: n,home: !1,portrait: !1}))), i);- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (L("#index").innerHTML = a, _5(e, t), Gs(L("#index")));+ I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g5(e, t) : (I("#index").innerHTML = a, g5(e, t), Ks(I("#index")));}-function _5(e, t) {- let n = L("#index").firstElementChild;+function g5(e, t) {+ let n = I("#index").firstElementChild;if (n?.dataset.skeleton !== `entity/${e}`) return;let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && U8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", U8.costarSkeletonFoot())), r(n.querySelector(".feednew"), U8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", U8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && U8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", U8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));}-function v5(e) {- let t = pn[e] || e, n = H3[t] || "条目", r = H3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";- L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });+function _5(e) {+ let t = mn[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+ I("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function y5(e, t) {- x9(Y.application.fresh(e, t));+function v5(e, t) {+ b9(Y.application.fresh(e, t));}-function UMe() {+function ZMe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -76607,40 +76690,40 @@ function UMe() {"year","sort","dir"- ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {+ ], Y.emptyEntityFilters = L8, Y.parseEntityFilters = (e) => R8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), Y.entityFilterSearch = z8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, Y.activeFilterState = () => {- let e = s5();- return e.type === "home" ? U : e.filters;- }, L("#q").value = U.q, X.rememberSearchValue();+ let e = o5();+ return e.type === "home" ? H : e.filters;+ }, I("#q").value = H.q, X.rememberSearchValue();}-function WMe() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {- let n = a5();- return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;+function QMe() {+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {+ let n = i5();+ return !!n && !I("#index").hidden && n.props.kind === e && n.props.name === t;}, Y.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => q7(), Y.entityPageHelpers = {+ }, Y.parseMediaView = B8, Y.entityViewSearch = V8, Y.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, Y.entityBodySkeleton = () => K7(), Y.entityPageHelpers = {wireDrag: (e) => {- e && t9(e);+ e && e9(e);},wireScroller: (e) => {- e && cc(e);+ e && lc(e);},- wireFeedRow: (e) => X8(e),- feedRowHtml: Y8,- receipt: (e, t) => C8.actionReceipt(e, t),- failure: (e, t) => C8.actionFailure(e, t),- aliasForm: (e, t) => HMe(e, t),- sourceToolsHtml: (e) => BMe(e),- wireSourceTools: (e, t) => VMe(e, t),- comboItems: (e) => I7(e),- sortKeys: (e, t, n) => c5(e, t, n)+ wireFeedRow: (e) => Y8(e),+ feedRowHtml: J8,+ receipt: (e, t) => S8.actionReceipt(e, t),+ failure: (e, t) => S8.actionFailure(e, t),+ aliasForm: (e, t) => XMe(e, t),+ sourceToolsHtml: (e) => JMe(e),+ wireSourceTools: (e, t) => YMe(e, t),+ comboItems: (e) => F7(e),+ sortKeys: (e, t, n) => s5(e, t, n)}, Y.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -76659,48 +76742,48 @@ function WMe() {e.reattached ? `${e.reattached} 项的记录已接到库里的另一个版本` : ""].filter(Boolean).join(","), Y.sourceToolButtons = (e) => `<button type="button" data-reveal="${e}" title="在文件管理器里打开源文件所在目录"- aria-label="定位源文件">${R("folder-open")}</button>+ aria-label="定位源文件">${L("folder-open")}</button><button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"- aria-label="同步删除">${R("folder-sync")}</button>`;+ aria-label="同步删除">${L("folder-sync")}</button>`;}-function GMe() {- Y.application = DMe({+function $Me() {+ Y.application = FMe({controller: {context: () => {- let e = s5();+ let e = o5();return e.type === "entity" ? e : null;},live: (e, t) => Y.entityPageLive(e, t),current: () => Y.entityPageCurrent(),route: (e, t = !1) => Q.route(e, t),suffix: () => location.search + location.hash,- restoreHomeContext: () => _u({ barsContext: {+ restoreHomeContext: () => vu({ barsContext: {type: "home",- filters: U+ filters: H} }),- releaseBodyPreviews: () => Ol(L("#index [data-entity-body]")),- push: o5,+ releaseBodyPreviews: () => kl(I("#index [data-entity-body]")),+ push: a5,state: () => ({- seed: String(U.seed || ""),- jav: U.jav === "1"+ seed: String(H.seed || ""),+ jav: H.jav === "1"}),preferences: () => ({revision: Y.entityPageRevision,- feedRevision: U8.feedRevision,- photoSize: LA(),- photoLayout: RA(),- photoLayouts: AA,+ feedRevision: H8.feedRevision,+ photoSize: PA(),+ photoLayout: FA(),+ photoLayouts: DA,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: NA(),- javLayouts: OA,+ javLayout: AA(),+ javLayouts: TA,states: X.VIEW_PILLS,- peopleLayout: M5.peopleIndexLayout(),- layout: K7(),- selectMode: ql,- selected: new Set(Gl),+ peopleLayout: j5.peopleIndexLayout(),+ layout: G7(),+ selectMode: Jl,+ selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,- wireDrag: t9,+ wireDrag: e9,skeletonHtml: Y.entityBodySkeleton,canLoadMore: Y.entityBodyCanLoadMore,follow: {@@ -76708,53 +76791,53 @@ function GMe() {actions: Y.entityFollowActions}}),- changeFilter: C7,- rollSeed: () => C8.rollSeed(),+ changeFilter: S7,+ rollSeed: () => S8.rollSeed(),writeSeed: (e) => {- U.seed = e, vu();- },- setJavLayout: i7,- javLayout: NA,- setPhotoLayout: UA,- syncPhotoWalls: d5,- openEntity: y5,- photoViewActive: u5,+ H.seed = e, yu();+ },+ setJavLayout: r7,+ javLayout: AA,+ setPhotoLayout: BA,+ syncPhotoWalls: u5,+ openEntity: v5,+ photoViewActive: l5,recordPainted: (e, t) => {Y.entityPageView = e, Y.entityPageWall = t;},- syncDensity: f5,- scheduleSticky: d7,- releasePage: () => UV(L("#index")),- showMissing: v5,- dropBars: k8+ syncDensity: d5,+ scheduleSticky: u7,+ releasePage: () => BV(I("#index")),+ showMissing: _5,+ dropBars: O8},loading: {- shapesReady: (e, t) => U8.hasEntityShape(e, t),- waitShapes: z5,- paintSkeleton: g5,+ shapesReady: (e, t) => H8.hasEntityShape(e, t),+ waitShapes: R5,+ paintSkeleton: h5,resetView: () => {- _u({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;+ vu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;},- loadShapes: G8,- syncParts: _5+ loadShapes: W8,+ syncParts: g5},photos: {preferences: () => ({- size: LA(),- layout: RA(),+ size: PA(),+ layout: FA(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: o5,- pushFollow: E9,- syncDensity: f5,- storeSize: Woe+ pushEntity: a5,+ pushFollow: T9,+ syncDensity: d5,+ storeSize: Joe},helpers: Y.entityPageHelpers,actions: {- toggleTag: F7,- openFollowAuthor: F5,- javContext: (e) => _u({ entityJavLayout: !!e })+ toggleTag: P7,+ openFollowAuthor: P5,+ javContext: (e) => vu({ entityJavLayout: !!e })},sortPreference: () => ({sort: Z.appSettings.defaultSort,@@ -76763,10 +76846,10 @@ function GMe() {}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;}// src/application/playlists.js-var b5 = { playlistWrite: void 0 };-function KMe(e, t) {- e === "tag" ? (_u({ state: {- ...U,+var y5 = { playlistWrite: void 0 };+function eNe(e, t) {+ e === "tag" ? (vu({ state: {+ ...H,tag: t,tag_match: "all",creator: "",@@ -76774,17 +76857,17 @@ function KMe(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(g7()), W5(), N7()) : y5(e, t);+ } }), X.clearSearchField(), Q.route(h7()), U5(), M7()) : v5(e, t);}-function x5(e = "") {+function b5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"- maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;+ maxlength="80" placeholder="输入名称" value="${R(e)}"></label>`;}-async function qMe({ title: e, count: t, save: n }) {- let r = zc({+async function tNe({ title: e, count: t, save: n }) {+ let r = Bc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: x5(e),+ body: b5(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -76794,28 +76877,28 @@ async function qMe({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await s9(a.id, a.current_asset_id, !0), C8.actionReceipt("已保存为播放列表", { undo: async () => {- await b5.playlistWrite({+ i && (await o9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {+ await y5.playlistWrite({action: "delete",id: a.id- }), x9("/playlists");+ }), b9("/playlists");} }));}-async function JMe(e) {- let t = ((await on("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Ts(`data-pick-playlist="${e.id}"`)}- <span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = zc({+async function nNe(e) {+ let t = ((await sn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Es(`data-pick-playlist="${e.id}"`)}+ <span class="pickrowtext"><b>${R(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = Bc({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ys("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: b5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : bs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await b5.playlistWrite({+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await y5.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await b5.playlistWrite({+ for (let t of r) await y5.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -76833,40 +76916,42 @@ async function JMe(e) {let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- C8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {- for (let t of a.added) await b5.playlistWrite({+ S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await y5.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await b5.playlistWrite({+ a.created && await y5.playlistWrite({action: "delete",id: a.created.id});} });}-function S5() {- Ol(), a9(!1), U5();- let e = LV(L("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? _u({ pageOpens: cu + 1 }) : (H5({ manage: !1 }), _u({ playlistsRevision: mu + 1 }));+function x5() {+ kl(), i9(!1), H5();+ let e = PV(I("#stats"));+ e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (V5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));}-function YMe(e) {- Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));+function rNe(e) {+ let t = new URLSearchParams(location.search);+ for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);+ Q.route("/review" + (t.size ? "?" + t : ""));}-function C5(e) {- _u({ configurationRequestedSection: e }), Q.navigatePath(mV(e));+function S5(e) {+ vu({ configurationRequestedSection: e }), Q.navigatePath(dV(e));}-function XMe() {- b5.playlistWrite = (e) => on("/api/playlist", {+function iNe() {+ y5.playlistWrite = (e) => sn("/api/playlist", {method: "POST",body: JSON.stringify(e)});}// src/react/catalog-grid/selection-controller.ts-function w5(e) {+function C5(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function T5(e, t, n, r, i = !1) {+function w5(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -76874,23 +76959,23 @@ function T5(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function E5(e, t, n, r, i, a = !1) {- let o = n === "follow", s = AY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+function T5(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = TY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...T5(e, t, n, !0),+ ...w5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function ZMe(e, t, n, r) {- let i = w5(t);+function aNe(e, t, n, r) {+ let i = C5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: c$(n).view === "dismissed"+ junkDismissed: s$(n).view === "dismissed"};}// src/application/selection.js-var D5 = {+var E5 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -76898,43 +76983,43 @@ var D5 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function O5() {- W7({- selected: new Set(Gl),- selectMode: ql- }), o5({- selected: new Set(Gl),- selectMode: ql- }), E9({+function D5() {+ U7({selected: new Set(Kl),- selectMode: ql- }), D5.batchDockProps = sNe(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());-}-function k5(e, t = !1) {- _u(T5({- selected: Gl,- followSelected: Kl- }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", ql), ql && Ol(), L("#selectMode").setAttribute("aria-pressed", String(ql)), O5();+ selectMode: Jl+ }), a5({+ selected: new Set(Kl),+ selectMode: Jl+ }), T9({+ selected: new Set(ql),+ selectMode: Jl+ }), E5.batchDockProps = hNe(), v8() && (v8().render(E5.batchDockProps), Z.syncGlassOptics());+}+function O5(e, t = !1) {+ vu(w5({+ selected: Kl,+ followSelected: ql+ }, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Jl), Jl && kl(), I("#selectMode").setAttribute("aria-pressed", String(Jl)), D5();}-function QMe() {- return [...I5.gridCards()].map((e) => +e.dataset.id);+function oNe() {+ return [...F5.gridCards()].map((e) => +e.dataset.id);}-function A5(e, t = !1) {- _u(E5({- selected: Gl,- followSelected: Kl- }, j5(), w5(location.pathname), QMe(), e, t)), k5(!0);+function k5(e, t = !1) {+ vu(T5({+ selected: Kl,+ followSelected: ql+ }, A5(), C5(location.pathname), oNe(), e, t)), O5(!0);}-function $Me() {+function sNe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function eNe(e, t = !1) {- _u(E5({- selected: Gl,- followSelected: Kl- }, j5(), "follow", $Me(), e, t)), k5(!0);+function cNe(e, t = !1) {+ vu(T5({+ selected: Kl,+ followSelected: ql+ }, A5(), "follow", sNe(), e, t)), O5(!0);}-async function tNe(e, t) {+async function lNe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -76949,16 +77034,16 @@ async function tNe(e, t) {dispose: "移入回收站",restore: "还原所选项目",delete: "永久删除所选项目"- }, i = [...Gl];- if (i.length) return Vc({+ }, i = [...Kl];+ if (i.length) return Hc({title: r[e],body: `将处理选中的 ${i.length} 项。${e === "delete" ? "文件和馆藏记录会永久删除,无法恢复。" : e === "dispose" ? "馆藏记录可在回收站还原。" : ""}`,confirmLabel: r[e],danger: e === "delete",onConfirm: async () => {- Oc(t);+ kc(t);try {- let t = await on("/api/batch", {+ let t = await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: i,@@ -76966,9 +77051,9 @@ async function tNe(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"));- k5(!1, !0), await o7();+ O5(!1, !0), await a7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- C8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -76977,7 +77062,7 @@ async function tNe(e, t) {"missing"]) {let n = i.filter((n) => t.restored_reasons[n] === e);- n.length && await on("/api/batch", {+ n.length && await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,@@ -76986,37 +77071,37 @@ async function tNe(e, t) {})});}- else await on("/api/batch", {+ else await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: i,operation: r})});- await o7();+ await a7();} : null });} catch (e) {- throw Oc(t, !1), e;+ throw kc(t, !1), e;} finally {- Oc(t, !1), O5();+ kc(t, !1), D5();}}});}-async function nNe() {- let e = [...Gl];+async function uNe() {+ let e = [...Kl];if (!e.length) return;- let t = zc({+ let t = Bc({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + D5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + E5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}"><span class="chip-label">${t}</span></button>`).join("") + "</div>",confirmLabel: "判定产地",confirmDisabled: !0,onConfirm: async () => {let n = t.dialog.querySelector("[data-region-pick][aria-pressed=\"true\"]");if (!n) throw Error("先选一个产地");- return await on("/api/batch", {+ return await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: e,@@ -77033,10 +77118,10 @@ async function nNe() {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 && (k5(!1, !0), await o7(), C8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (O5(!1, !0), await a7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function rNe(e, t) {- let n = [...Kl];+async function dNe(e, t) {+ let n = [...ql];if (!n.length) return;let r = {save: "保存到数据库",@@ -77047,31 +77132,31 @@ async function rNe(e, t) {seen: "标记为已看",ignored: "忽略所选作品"};- return Vc({+ return Hc({title: i[e],body: `将处理选中的 ${n.length} 项关注作品。`,confirmLabel: i[e],danger: !1,onConfirm: async () => {- Oc(t);+ kc(t);try {- await on(e === "save" ? "/api/follow/save" : "/api/follow/status", {+ await sn(e === "save" ? "/api/follow/save" : "/api/follow/status", {method: "POST",body: JSON.stringify(e === "save" ? { items: n } : {items: n,to: e})- }), k5(!1, !0), location.pathname === "/follow" && _u({ pageOpens: cu + 1 }), C8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), O5(!1, !0), location.pathname === "/follow" && vu({ pageOpens: lu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {- throw Oc(t, !1), e;+ throw kc(t, !1), e;} finally {- Oc(t, !1), O5();+ kc(t, !1), D5();}}});}-async function iNe(e, t) {- let n = [...Gl];+async function fNe(e, t) {+ let n = [...Kl];if (!n.length) return;let r = {"dismiss-junk": "不是垃圾",@@ -77082,157 +77167,157 @@ async function iNe(e, t) {"reconsider-junk": "重新检查文件",dispose: "移入回收站"};- return Vc({+ return Hc({title: i[e],body: `将处理选中的 ${n.length} 个文件。`,confirmLabel: i[e],danger: !1,onConfirm: async () => {- Oc(t);+ kc(t);try {- await on("/api/batch", {+ await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), k5(!1, !0), await R7();+ }), O5(!1, !0), await L7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- C8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {- await on("/api/batch", {+ S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t})- }), await R7();+ }), await L7();} : null });} catch (e) {- throw Oc(t, !1), e;+ throw kc(t, !1), e;} finally {- Oc(t, !1), O5();+ kc(t, !1), D5();}}});}-function aNe() {- eMe({- root: L("[data-batch-dock]"),+function pNe() {+ cMe({+ root: I("[data-batch-dock]"),run: (e, t, n) => {- D5.BATCH_RUNNERS[e]?.(t, n);+ E5.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(D5.batchDockProps), Z.syncGlassOptics();+ e.render(E5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function oNe() {- D5.batchDockProps = {+function mNe() {+ E5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), J.handler(L("#selectMode"), "onclick", () => k5(!ql, !!ql)), D5.REGION_CHOICES = [+ }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), J.handler(I("#selectMode"), "onclick", () => O5(!Jl, !!Jl)), E5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], D5.BATCH_RUNNERS = {- batch: tNe,- region: nNe,- follow: rNe,- junk: iNe,- clear: () => k5(!1, !0)- }, J.handler(L("#density"), "onclick", () => {- u5() ? RMe(LA() === "big" ? "small" : "big") : Goe();- }), XA(), El({- selecting: () => ql,- censored: () => $7(),+ ], E5.BATCH_RUNNERS = {+ batch: lNe,+ region: uNe,+ follow: dNe,+ junk: fNe,+ clear: () => O5(!1, !0)+ }, J.handler(I("#density"), "onclick", () => {+ l5() ? KMe(PA() === "big" ? "small" : "big") : Yoe();+ }), qA(), Dl({+ selecting: () => Jl,+ censored: () => Q7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds- }), J.listen(window, "pagehide", () => Ol()), J.listen(document, "visibilitychange", () => {- document.hidden && Ol();- }), Cl(), D5.coverRecheck = 0, J.listen(window, "resize", () => {- bl(L("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {- e.complete && dl(e);+ }), J.listen(window, "pagehide", () => kl()), J.listen(document, "visibilitychange", () => {+ document.hidden && kl();+ }), wl(), E5.coverRecheck = 0, J.listen(window, "resize", () => {+ xl(I("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = J.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {+ e.complete && fl(e);}), 200);}, { passive: !0 });}-function j5() {+function A5() {return {- selectMode: ql,- selectSurface: Xl,- lastSelectedId: Jl,- followLastSelectedId: Yl+ selectMode: Jl,+ selectSurface: Zl,+ lastSelectedId: Yl,+ followLastSelectedId: Xl};}-function sNe() {- return ZMe({- selected: Gl,- followSelected: Kl- }, location.pathname, location.search, U.state);+function hNe() {+ return aNe({+ selected: Kl,+ followSelected: ql+ }, location.pathname, location.search, H.state);}// src/application/index.js-var M5 = {+var j5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function cNe() {+function gNe() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function lNe() {- return RZ(location.search);+function _Ne() {+ return LZ(location.search);}-function uNe(e) {- return zZ(e);+function vNe(e) {+ return RZ(e);}-function dNe(e) {- Q.route(uNe(e));+function yNe(e) {+ Q.route(vNe(e));}-function fNe(e = "") {- return BZ(location.search, e);+function bNe(e = "") {+ return zZ(location.search, e);}-function pNe(e) {- return L8(e);+function xNe(e) {+ return I8(e);}-function N5(e) {- return F8(e);+function M5(e) {+ return P8(e);}-function P5() {- L("#stats").hidden = !0, L("#index").hidden = !1, B7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;+function N5() {+ I("#stats").hidden = !0, I("#index").hidden = !1, z7(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;}-function mNe(e, t) {- _u({ state: {- ...U,+function SNe(e, t) {+ vu({ state: {+ ...H,state: "",tag: e.join(","),tag_match: t- } }), k5(!1, !1), Q.route(g7()), W5(), _9(), N7();+ } }), O5(!1, !1), Q.route(h7()), U5(), g9(), M7();}-function F5(e) {- M5.controller.openFollowAuthor(e);+function P5(e) {+ j5.controller.openFollowAuthor(e);}-function hNe(e) {- M5.controller.openFollowTag(e);+function CNe(e) {+ j5.controller.openFollowTag(e);}-function gNe() {- $.FOLLOW_MANAGE_TABS = LZ, J.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");- }), M5.peopleIndexLayout = () => U3(Z.appSettings.peopleLayout), M5.personAvatar = I8;+function wNe() {+ $.FOLLOW_MANAGE_TABS = IZ, J.listen(document, "click", (e) => {+ e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");+ }), j5.peopleIndexLayout = () => H3(Z.appSettings.peopleLayout), j5.personAvatar = F8;}-function _Ne() {- M5.controller = vMe({+function TNe() {+ j5.controller = EMe({route: Q.route,- followView: C9,- adoptFollowView: w9,+ followView: S9,+ adoptFollowView: C9,hideIndex: () => {- L("#index").hidden = !0;+ I("#index").hidden = !0;},- openPage: x9+ openPage: b9});}// src/application/loading.js-var I5 = {+var F5 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -77241,58 +77326,58 @@ var I5 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function L5(e = "正在读取作品") {+function I5(e = "正在读取作品") {if (location.pathname === "/wall") {- L("#loadSentinel").hidden = !0;+ I("#loadSentinel").hidden = !0;return;}- let t = L("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = Vwe(c$(location.search)), Gs(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({+ let t = I("#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 = Ywe(s$(location.search)), Ks(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", H && w7({count: null,- ...O7()- })), L("#loadSentinel").hidden = !0, U7()) return;- let r = L("#grid"), i = q7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== u2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Gs(L("#grid")));+ ...D7()+ })), I("#loadSentinel").hidden = !0, H7()) return;+ let r = I("#grid"), i = K7(e), a = r.querySelector(".catalog-skeleton");+ (a?.dataset.skeleton !== l2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Ks(I("#grid")));}-function R5() {- L("#catalogFilter").style.display = "none", w7();+function L5() {+ I("#catalogFilter").style.display = "none", C7();}-function z5() {+function R5() {let e = new Promise((e) => {- let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = F5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();t -= Math.min(i - n, 50), n = i, t > 0 ? J.delay(r, Math.min(t, 50)) : e();};J.delay(r, 50);});- return Promise.race([I5.entityShapesReady ||= G8(), e]);+ return Promise.race([F5.entityShapesReady ||= W8(), e]);}-function vNe() {+function ENe() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), R5();- else if (/^\/assets\/\d+$/.test(e)) R5();- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) R5();- else if (e === "/junk-files") L5("正在读取垃圾文件");- else if (e === "/jav" && C$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();+ else if (/^\/assets\/\d+$/.test(e)) L5();+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) L5();+ else if (e === "/junk-files") I5("正在读取垃圾文件");+ else if (e === "/jav" && S$(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");else if (Q.managedPagePath(e)) {- R5();- let t = L("#stats");- t.hidden = !1, B7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), Gs(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), K3(L("#index"), W3(e.slice(1), location.search), M5.peopleIndexLayout());+ L5();+ let t = I("#stats");+ t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Ks(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), G3(I("#index"), U3(e.slice(1), location.search), j5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- R5(), L("#index").hidden = !1, B7();- let t = mn[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), Gs(L("#index")));+ L5(), I("#index").hidden = !1, z7();+ let t = hn[e.split("/")[1]], n = e.split("/").slice(2).join("/");+ (H8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {+ I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Ks(I("#index")));});- } else Q.routeMeta(e) ? L5() : (B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? I5() : (z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);}-function yNe() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => c2(t, {+function DNe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => s2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: LA()+ gridSize: PA()}), $.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>@@ -77300,37 +77385,37 @@ function yNe() {<div class="board-filter-frame" data-filter-frame><div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div><div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Ss(xs), I5.setGridCards = (e) => Is(L("#grid"), () => {- L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => l2(e, {- followLayout: cNe(),+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, I("#loadSentinel").innerHTML = Cs(Ss), F5.setGridCards = (e) => Ls(I("#grid"), () => {+ I("#grid").innerHTML = `<div class="grid">${e}</div>`;+ }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => c2(e, {+ followLayout: gNe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(lNe())- }), I5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = kV(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, h9();+ }))(_Ne())+ }), F5.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {+ let t = new URL(e, location.origin), n = EV(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();};}// src/sidebar-skeleton.ts-var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({+var z5 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function bNe(e, t, n) {+function ONe(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-${B5(r)}"/></svg>`;- return `<button type="button" data-nav="${B5(e)}" aria-pressed="${n(e)}" aria-label="${B5(t)}">${i}<span>${B5(t)}</span></button>`;+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${z5(r)}"/></svg>`;+ return `<button type="button" data-nav="${z5(e)}" aria-pressed="${n(e)}" aria-label="${z5(t)}">${i}<span>${z5(t)}</span></button>`;}).join("")}</div>`;}// src/application/filter-scroll.js-function xNe(e, t, n, r = !1) {+function kNe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -77348,7 +77433,7 @@ function xNe(e, t, n, r = !1) {};}// src/application/layout.js-var V5 = {+var B5 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -77370,25 +77455,25 @@ var V5 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function H5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), _9()), t && d2(L("#stats"), t);+function V5({ manage: e = !0, placeholder: t = "" } = {}) {+ I("#stats").hidden = !1, I("#index").hidden = !0, z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), g9()), t && u2(I("#stats"), t);}-function U5() {- X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");+function H5() {+ X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");}-function W5() {- document.body.classList.remove("entity-open", "index-open"), UV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Z8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), Z5(), $5();+function U5() {+ document.body.classList.remove("entity-open", "index-open"), BV(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, X8(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", C7(), X5(), Q5();}-function SNe() {- Q.route("/"), W5();+function ANe() {+ Q.route("/"), U5();}-function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {- g9({+function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {+ h9({content: e.length || t.length || n ? {kind: "follow",tags: e.map(([e, t]) => ({value: e,- label: Ml(e),+ label: Nl(e),n: t})),selected: [...$.followTags],@@ -77406,69 +77491,69 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function K5(e) {- OPe({- ...C9(),+function G5(e) {+ IPe({+ ...S9(),...e- }), g9({ filters: $.followSidebarFilters() });+ }), h9({ filters: $.followSidebarFilters() });}-function q5() {+function K5() {return matchMedia("(max-width:760px)").matches;}-function J5(e) {- let t = L("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && q5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");+function q5(e) {+ let t = I("#drawer"), n = !e && t.contains(document.activeElement);+ t.inert = !e && K5(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function CNe() {- q5() && J5(!1);+function jNe() {+ K5() && q5(!1);}-function wNe() {- ou === null && (_u({ runtimeConfigurable: !1 }), on("/healthz").then((e) => {- _u({ runtimeConfigurable: !!e.configurable }), ou && X5() && Z5();+function MNe() {+ su === null && (vu({ runtimeConfigurable: !1 }), sn("/healthz").then((e) => {+ vu({ runtimeConfigurable: !!e.configurable }), su && Y5() && X5();}).catch(() => {}));}-function Y5(e = "", t = !1) {- if (!t && !fV(location.pathname)) {- let t = QV.navigation;- QV.push(mV(e), { settingsBackground: {+function J5(e = "", t = !1) {+ if (!t && !lV(location.pathname)) {+ let t = YV.navigation;+ YV.push(dV(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && $V(mV(e), {+ } else !t && e && XV(dV(e), {replace: !0,- state: QV.navigation.location.state+ state: YV.navigation.location.state});- return e ||= pV(location.pathname), Zje(V5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= uV(location.pathname), aMe(B5.settingsHost()).then((t) => (t.open(e), t));}-function TNe() {- fV(location.pathname) && (hV(QV.navigation.location.state) ? QV.go(-1) : Q.navigatePath("/", !0));+function NNe() {+ lV(location.pathname) && (fV(YV.navigation.location.state) ? YV.go(-1) : Q.navigatePath("/", !0));}-function ENe() {+function PNe() {return {- scroll: L("#drawerScroll"),+ scroll: I("#drawerScroll"),store: Z.settingsStore,- navCatalog: V5.NAV_CATALOG,- navOn: c7,- navTo: l7,- toggleChip: (e, t, n) => C7((r) => {+ navCatalog: B5.NAV_CATALOG,+ navOn: s7,+ navTo: c7,+ toggleChip: (e, t, n) => S7((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");} else r[e] = r[e] === t ? "" : t;}),- setDuration: (e, t) => C7((n) => {+ setDuration: (e, t) => S7((n) => {n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";}),openFollowTag: (e) => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), x9(S9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), x9(S9());+ $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());},- selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => K5({+ selectFollowProvider: (e) => G5({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => G5({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -77477,137 +77562,137 @@ function ENe() {}};}-function DNe() {- let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = bNe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {- if (p8()) return;+function FNe() {+ let e = I("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];+ e.innerHTML = ONe(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {+ if (f8()) return;let t = e.target.closest?.("[data-nav]");- t && l7(t.dataset.nav);- }), Qje(ENe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});+ t && c7(t.dataset.nav);+ }), oMe(PNe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});}-async function ONe() {+async function INe() {let e = J, t = null;try {- t = await on("/api/settings", { signal: e.signal });+ t = await sn("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && CA(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && bA(t, (e) => Z.settingsEffects[e]?.());}-function X5() {- return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");+function Y5() {+ return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (H.state === "ads" ? "cleanup" : "");}-function Z5() {- let e = X5();- wNe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), Q5(e);+function X5() {+ let e = Y5();+ MNe(), e && L5(), I("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (E5.trashCount = null), Z5(e);}-function kNe(e) {+function LNe(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: V5.MANAGE_SECTIONS,- menu: e ? V5.manageMenuSections() : [],- trash: D5.trashCount+ sections: B5.MANAGE_SECTIONS,+ menu: e ? B5.manageMenuSections() : [],+ trash: E5.trashCount};}-function Q5(e = X5()) {- $5();- let t = kNe(e), n = g8();+function Z5(e = Y5()) {+ Q5();+ let t = LNe(e), n = h8();if (n) n.render(t);else {- let e = Bce(t);- e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);+ let e = Uce(t);+ e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);}- let r = bP(t)?.title || "";- r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Ns(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ let r = vP(t)?.title || "";+ r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && Ps(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function ANe() {- let e = V5.manageHeaderRoot();+function RNe() {+ let e = B5.manageHeaderRoot();J.listen(e, "click", (e) => {- if (g8()) return;+ if (h8()) return;let t = e.target.closest?.("[data-manage]");- if (t) e7(t.dataset.manage);+ if (t) $5(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");- } else e.target.closest?.("[data-empty-trash]") && P7();- }), $je({+ } else e.target.closest?.("[data-empty-trash]") && N7();+ }), sMe({root: e,- openManage: e7,+ openManage: $5,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: P7- }).then(() => Q5()).catch(() => {});+ emptyTrash: N7+ }).then(() => Z5()).catch(() => {});}-function $5() {- let e = L("#listTitle");+function Q5() {+ let e = I("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !X5() && fn(t) && dn[U.state] || "";- e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!X5() || !fn(t) || !!n || U.jav === "1";+ let t = decodeURIComponent(location.pathname), n = !Y5() && pn(t) && fn[H.state] || "";+ e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!Y5() || !pn(t) || !!n || H.jav === "1";}-function e7(e = "stats") {+function $5(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", vu(), Q.route(l$()), W5(), _9(), N7());+ t ? Q.openRoutePath(t) : (H.orient = "", H.state = "ads", yu(), Q.route(c$()), U5(), g9(), M7());}-function t7() {+function e7() {let e = decodeURIComponent(location.pathname);- return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || uu : !1;+ return e === "/" ? H.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? H.jav === "1" || du : !1;}-function jNe(e = t7()) {- let t = qk.filter(([e]) => e !== "seed");- return e ? [Jk, ...t] : t;+function zNe(e = e7()) {+ let t = Wk.filter(([e]) => e !== "seed");+ return e ? [Gk, ...t] : t;}-function n7() {- return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";+function t7() {+ return decodeURIComponent(location.pathname) === "/" && H.jav !== "1";}-function r7() {- return PA(n7());+function n7() {+ return jA(t7());}-function MNe(e) {- Hoe(e), a7(), L("#grid").hidden || Y7();+function BNe(e) {+ Koe(e), i7(), I("#grid").hidden || J7();}-function i7(e) {- HA(e), a7(), Y7();+function r7(e) {+ zA(e), i7(), J7();}-function a7() {+function i7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === r7();- }), X.catalogFilterProps && T7({ layout: D7() });+ e.checked = e.value === n7();+ }), X.catalogFilterProps && w7({ layout: E7() });}-function NNe(e) {- Uoe(e), a7(), Y7();+function VNe(e) {+ qoe(e), i7(), J7();}-async function o7() {- k8(), X.mixRelatedCache.clear(), await Promise.all([s7(), N7()]);+async function a7() {+ O8(), X.mixRelatedCache.clear(), await Promise.all([o7(), M7()]);}-async function s7() {- if (Y.entityPageCurrent() && !L("#index").hidden) {- o5({ revision: ++Y.entityPageRevision });+async function o7() {+ if (Y.entityPageCurrent() && !I("#index").hidden) {+ a5({ revision: ++Y.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (kV(e)?.reload === "reopen" || e === "/follow") {- _u({ pageOpens: cu + 1 });+ if (EV(e)?.reload === "reopen" || e === "/follow") {+ vu({ pageOpens: lu + 1 });return;}let t = Q.routeMeta(e);- t?.route.reload ? await t.route.reload() : await R7();+ t?.route.reload ? await t.route.reload() : await L7();}-function c7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];- if (r) return X5() === r;+function s7(e) {+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = B5.DIRECT_MANAGE_NAV[e];+ if (r) return Y5() === r;if (e === "manage") {- let e = X5();- return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);+ let e = Y5();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => B5.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !X5() && !U.state && !t7() && U.orient !== "竖屏" : ln[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";+ return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? H.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !H.state && !e7() && H.orient !== "竖屏" : un[e] ? n === e && H.orient !== "竖屏" : n ? n === e : t === "/" && H.state === e && H.orient !== "竖屏";}-function l7(e) {- if (CNe(), V5.DIRECT_MANAGE_NAV[e]) {- e7(V5.DIRECT_MANAGE_NAV[e]);+function c7(e) {+ if (jNe(), B5.DIRECT_MANAGE_NAV[e]) {+ $5(B5.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- e7();+ $5();return;}if (e === "jav") {@@ -77615,25 +77700,25 @@ function l7(e) {return;}if (e === "") {- _7();+ g7();return;}- let t = ln[e] ? null : Q.routePathOf("nav", e);- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), vu(), Q.route(g7()), W5(), _9(), N7());+ let t = un[e] ? null : Q.routePathOf("nav", e);+ t ? Q.openRoutePath(t) : (e === "shorts" ? (H.orient = "竖屏", H.state = "") : (H.orient = "", H.state = e), yu(), Q.route(h7()), U5(), g9(), M7());}-function u7() {+function l7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- ql && Xl !== D5.currentSelectSurface() && k5(!1, !0);- let n = t.length > 1 && Object.prototype.hasOwnProperty.call(mn, t[0]), r = fn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- L("#selectMode").hidden = !i, L("#density").hidden = !a, d5(), !i && ql && k5(!1, !0);+ Jl && Zl !== E5.currentSelectSurface() && O5(!1, !0);+ let n = t.length > 1 && Object.prototype.hasOwnProperty.call(hn, t[0]), r = pn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";+ I("#selectMode").hidden = !i, I("#density").hidden = !a, u5(), !i && Jl && O5(!1, !0);}-function PNe() {+function HNe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);- (t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.mobileFilterPath = location.pathname;+ (t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- V5.mobileFilterScroll = xNe(V5.mobileFilterScroll, n, innerWidth <= 760, r);+ B5.mobileFilterScroll = kNe(B5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && V5.mobileFilterScroll.free;+ let e = n === t && B5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;let r = n.getBoundingClientRect().top;n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);@@ -77645,63 +77730,63 @@ function PNe() {});}}-function FNe() {- PNe(), [".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;+function UNe() {+ HNe(), [".board-filter-frame", "#count"].forEach((e) => {+ let t = I(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 d7() {- V5.stickyFrame ||= J.frame(() => {- V5.stickyFrame = 0, FNe();+function u7() {+ B5.stickyFrame ||= J.frame(() => {+ B5.stickyFrame = 0, UNe();});}-function INe() {+function WNe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), J.handler(L("#filterBtn"), "onclick", () => J5(!L("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = A8, V5.MANAGE_SECTIONS = j8, V5.MANAGE_MENU_SECTIONS = M8, V5.manageMenuSections = () => hMe(ou === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = gMe, V5.DIRECT_MANAGE_NAV = _Me, V5.settingsHost = () => ({- selectSection: (e) => $V(mV(e), {+ }), J.handler(I("#filterBtn"), "onclick", () => q5(!I("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = k8, B5.MANAGE_SECTIONS = A8, B5.MANAGE_MENU_SECTIONS = j8, B5.manageMenuSections = () => CMe(su === !0), B5.OPTIONAL_SIDEBAR_ITEMS = M8, B5.NAV_CATALOG = wMe, B5.DIRECT_MANAGE_NAV = TMe, B5.settingsHost = () => ({+ selectSection: (e) => XV(dV(e), {replace: !0,- state: QV.navigation.location.state+ state: YV.navigation.location.state}),- closed: TNe,+ closed: NNe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),- sound: (e) => Mo(e),- navCatalog: V5.NAV_CATALOG,- themeOptions: Loe,- videoLayouts: OA,- followInitialRanges: P8,- videoLayout: () => r7(),- setVideoLayout: NNe,- censored: $7,- setCensored: aPe,+ sound: (e) => No(e),+ navCatalog: B5.NAV_CATALOG,+ themeOptions: Voe,+ videoLayouts: TA,+ followInitialRanges: N8,+ videoLayout: () => n7(),+ setVideoLayout: VNe,+ censored: Q7,+ setCensored: pPe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: oPe,- receipt: (e) => C8.actionReceipt(e),- failure: C8.actionFailure,- syncRemote: (e) => CA(e, (e) => Z.settingsEffects[e]?.()),+ setHighContrast: mPe,+ receipt: (e) => S8.actionReceipt(e),+ failure: S8.actionFailure,+ syncRemote: (e) => bA(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),- configurable: () => on("/healthz").then((e) => (_u({ runtimeConfigurable: !!e.configurable }), ou)).catch(() => null)- }), J.handler(L("#settingsBtn"), "onclick", () => void Y5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", J.listen(document, "focusin", d7), J.listen(document, "focusout", d7), J.listen(window, "scroll", () => {- d7(), location.pathname === "/follow" && T9() && _u({ followScrollY: scrollY }), window.__scrolling = !0, Ol(), clearTimeout(V5.scrollT), V5.scrollT = J.delay(() => {+ configurable: () => sn("/healthz").then((e) => (vu({ runtimeConfigurable: !!e.configurable }), su)).catch(() => null)+ }), J.handler(I("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", J.listen(document, "focusin", u7), J.listen(document, "focusout", u7), J.listen(window, "scroll", () => {+ u7(), location.pathname === "/follow" && w9() && vu({ followScrollY: scrollY }), window.__scrolling = !0, kl(), clearTimeout(B5.scrollT), B5.scrollT = J.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), J.listen(window, "resize", d7, { passive: !0 }), J.handler(L("#scrim"), "onclick", () => J5(!1));+ }, { passive: !0 }), J.listen(window, "resize", u7, { passive: !0 }), J.handler(I("#scrim"), "onclick", () => q5(!1));}// src/catalog-filter-skeleton.ts-var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), m7 = (e) => e.repeat(f7);-function LNe(e, t, n) {- let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join(""), i = xW();- 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\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(f7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${os()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";+})[e]), p7 = (e) => e.repeat(d7);+function GNe(e, t, n) {+ let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join(""), i = gW();+ 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\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(d7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ss()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";}// src/application/catalog.jsvar X = {@@ -77740,83 +77825,83 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function RNe() {- X.initialParams.has("loc") || (U.loc = h7(U.loc), vu());+function KNe() {+ X.initialParams.has("loc") || (H.loc = m7(H.loc), yu());}-function h7(e) {- return oMe(e, Z.sourceOnline);+function m7(e) {+ return mMe(e, Z.sourceOnline);}-function g7(e = U) {- return sMe(e);+function h7(e = H) {+ return hMe(e);}-function zNe() {- _u(T8(cMe(U, Z.appSettings, C8.rollSeed))), k8();+function qNe() {+ vu(w8(gMe(H, Z.appSettings, S8.rollSeed))), O8();}-function _7(e = null, t = !1) {- zNe(), e && (Object.assign(U, e), vu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), W5(), _9(), N7(), t && window.scrollTo({+function g7(e = null, t = !1) {+ qNe(), e && (Object.assign(H, e), yu()), Q.route(e ? h7() : "/"), X.clearSearchField(), i9(!1), U5(), g9(), M7(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function BNe(e, t = null) {+function JNe(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? l9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);+ !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);}-function v7(e) {- return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, on("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {+function _7(e) {+ return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, sn("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function VNe(e, t) {- i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : y7(e, t);+function YNe(e, t) {+ r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : v7(e, t);}-function y7(e, t) {- e.edition_group ? pPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? mPe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);+function v7(e, t) {+ e.edition_group ? xPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? SPe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);}-async function HNe(e, t) {+async function XNe(e, t) {try {- let n = await on("/api/watch-later", {+ let n = await sn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), C8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- let n = await on("/api/watch-later", {+ e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ let n = await sn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- C8.actionFailure("更新稍后看", e);+ S8.actionFailure("更新稍后看", e);}}-async function UNe(e, t) {+async function ZNe(e, t) {try {- await on("/api/batch", {+ await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: [e.id],operation: t})- }), await R7();+ }), await L7();let n = t === "restore" ? "dispose" : "restore";- C8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {- await on("/api/batch", {+ S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: [e.id],operation: n,...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}})- }), await R7();+ }), await L7();} });} catch (e) {- throw C8.actionFailure("操作", e), e;+ throw S8.actionFailure("操作", e), e;}}-async function WNe(e, t, n, r) {- let i = Number(e.rating) || 0, a = QM(i, t), o = async (t, r) => {- let i = (await on("/api/feedback", {+async function QNe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = XM(i, t), o = async (t, r) => {+ let i = (await sn("/api/feedback", {method: "POST",body: JSON.stringify({id: e.id,@@ -77829,14 +77914,14 @@ async function WNe(e, t, n, r) {};try {let e = await o(a, r);- C8.actionReceipt(e ? `已评 ${ZM(e)} 星` : "已取消评分", { undo: () => o(i) });+ S8.actionReceipt(e ? `已评 ${YM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || C8.actionFailure("评分", e), e;+ throw r?.aborted || S8.actionFailure("评分", e), e;}}-async function b7(e) {+async function y7(e) {let t = new URLSearchParams();- if (t7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {+ if (e7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && H.state && t.set("state", H.state), e.type !== "item") {let e = Y.activeFilterState();["loc",@@ -77858,9 +77943,9 @@ async function b7(e) {e[n] && t.set(n, e[n]);});}- return pMe(t.toString(), X.topsQueryParams(e).toString());+ return xMe(t.toString(), X.topsQueryParams(e).toString());}-function GNe() {+function $Ne() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -77872,32 +77957,32 @@ function GNe() {behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"});}-function x7(e) {- s5().type !== "entity" && T7({ tags: k7(e) }), g9({ filters: { ...e } }), L7();+function b7(e) {+ o5().type !== "entity" && w7({ tags: O7(e) }), h9({ filters: { ...e } }), I7();}-async function S7(e) {- let t = ++X.facetCountsSeq, [n] = await b7(e);- t === X.facetCountsSeq && (e.type === "home" && (n9.facets = n), g9({ latest: Q7(n, e) }));+async function x7(e) {+ let t = ++X.facetCountsSeq, [n] = await y7(e);+ t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), h9({ latest: Z7(n, e) }));}-function C7(e) {- GNe();- let t = s5();+function S7(e) {+ $Ne();+ let t = o5();if (t.type === "entity") {let n = { ...t.filters };- e(n), l5(t.kind, t.name, n), x7(n), S7(s5());+ e(n), c5(t.kind, t.name, n), b7(n), x7(o5());} else if (t.type === "item") {- let t = Y.cloneBarsContext(Wl);- if (a9(!1), _u({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), l5(t.kind, t.name, t.filters) ? N7() : _u({ pageOpens: cu + 1 });+ let t = Y.cloneBarsContext(Gl);+ if (i9(!1), vu({ detailReturnBarsContext: null }), t && t.type === "entity") {+ e(t.filters), c5(t.kind, t.name, t.filters) ? M7() : vu({ pageOpens: lu + 1 });return;}- e(U), _u({ barsContext: {+ e(H), vu({ barsContext: {type: "home",- filters: U- } }), Q.route(g7()), W5(), N7();- } else e(U), vu(), Q.route(g7()), x7(U), S7(Ul);+ filters: H+ } }), Q.route(h7()), U5(), M7();+ } else e(H), yu(), Q.route(h7()), b7(H), x7(Wl);}-function KNe() {+function ePe() {return {tiers: null,tiersPending: !1,@@ -77914,223 +77999,223 @@ function KNe() {offscreen: !1,combo: [],comboHidden: !0,- comboHost: L("#combo"),- actions: E7(),+ comboHost: I("#combo"),+ actions: T7(),helpers: {- wireDrag: t9,+ wireDrag: e9,wireScroller: (e) => {- e && cc(e);+ e && lc(e);}}};}-function w7() {- X.catalogFilterProps && T7({});+function C7() {+ X.catalogFilterProps && w7({});}-function T7(e) {- let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");+function w7(e) {+ let t = I("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");e = {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || KNe(),+ ...X.catalogFilterProps || ePe(),...e- }, !X.catalogFilterMounting && (RV(t) ? HV(t, e) : (!t.firstChild && !n && (t.innerHTML = LNe(X.catalogViews(), X.catalogFilterProps.state, O7()), Gs(t)), X.catalogFilterMounting = VV("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (FV(t) ? zV(t, e) : (!t.firstChild && !n && (t.innerHTML = GNe(X.catalogViews(), X.catalogFilterProps.state, D7()), Ks(t)), X.catalogFilterMounting = RV("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => HV(t, X.catalogFilterProps)).finally(() => {+ }).then(() => zV(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function E7() {+function T7() {return {currentHref: () => {- let e = new URL(g7(), location.origin);- return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;+ let e = new URL(h7(), location.origin);+ return e.searchParams.set("loc", H.loc || ""), e.searchParams.set("thumb", H.thumb || "0"), e.searchParams.set("sort", H.sort || ""), e.searchParams.set("dir", H.dir || ""), e.pathname + e.search;},- openEntity: (e, t) => y5(e, t),+ openEntity: (e, t) => v5(e, t),setView: (e) => {- U.state = e, vu(), T7({ state: e }), Q.route(g7()), N7();+ H.state = e, yu(), w7({ state: e }), Q.route(h7()), M7();},- toggleTag: (e) => F7(e),- clearFilter: (e) => C7((t) => {+ toggleTag: (e) => P7(e),+ clearFilter: (e) => S7((t) => {t[e] = "";}),- clearAll: () => C7((e) => {+ clearAll: () => S7((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = eA(e, U.sort, U.dir);- t && (U.sort = t.sort, U.dir = t.dir, vu(), Z7());+ let t = Zk(e, H.sort, H.dir);+ t && (H.sort = t.sort, H.dir = t.dir, yu(), X7());},- reshuffle: () => iPe(),+ reshuffle: () => fPe(),setLayout: (e) => {- t7() ? i7(e) : MNe(e);+ e7() ? r7(e) : BNe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await mMe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(A7) : n.map(j7);+ let n = (await SMe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(k7) : n.map(A7);}};}-function D7() {- return t7() ? {+function E7() {+ return e7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: NA(),- options: OA- } : n7() ? {+ value: AA(),+ options: TA+ } : t7() ? {name: "home-layout",label: "首页卡片版式",- value: r7(),- options: OA+ value: n7(),+ options: TA} : null;}-function O7() {+function D7() {return {- sorts: c5(U.sort, U.dir),- layout: D7(),- state: U.state || "",- trash: U.state === "trash"+ sorts: s5(H.sort, H.dir),+ layout: E7(),+ state: H.state || "",+ trash: H.state === "trash"};}-function k7(e) {+function O7(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function A7(e) {+function k7(e) {return {name: e.k,- ringHtml: `<span data-tier-initial>${z(Fn(e.k))}</span>${Xa({+ ringHtml: `<span data-tier-initial>${R(In(e.k))}</span>${Za({id: e.id,hasImage: e.has_image,version: e.image_version,rep: e.has_avatar ? e.rep : null,- style: eo(e.avatar_focus),+ style: to(e.avatar_focus),focus: e.avatar_focus,standIn: e.avatar_stand_in})}`};}-function j7(e) {+function A7(e) {return {name: e.k,- fallback: Pn(e.k, 2),- logo: e.has_logo ? qa(e.k, "icon", e.logo_version) : ""+ fallback: Fn(e.k, 2),+ logo: e.has_logo ? Ja(e.k, "icon", e.logo_version) : ""};}-function qNe(e, t) {- X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, T7({+function tPe(e, t) {+ X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, w7({tiers: null,tiersPending: !0,state: e.state || ""}));}-function M7(e) {- X.barsPendingSeq === e && (X.barsPendingSeq = 0, T7({ tiersPending: !1 }));+function j7(e) {+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, w7({ tiersPending: !1 }));}-async function N7() {+async function M7() {let e = ++X.barsRequestSeq;- if (g9(), !Bl(location.pathname) || Ul.type === "item") return;- let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([+ if (h9(), !Vl(location.pathname) || Wl.type === "item") return;+ let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([t,n,- U.state || "",- U.seed || "",- t7()+ H.state || "",+ H.seed || "",+ e7()]);- qNe(n, e);+ tPe(n, e);let i;try {- i = await b7(t);+ i = await y7(t);} catch (t) {- throw M7(e), t;+ throw j7(e), t;}let [a, o] = i;if (e !== X.barsRequestSeq) {- M7(e);+ j7(e);return;}let s = r + "\n" + JSON.stringify([a, o]);if (s === X.barsRendered) {- V5.sidebarCatalog && g9({- content: V5.sidebarCatalog,+ B5.sidebarCatalog && h9({+ content: B5.sidebarCatalog,filters: { ...n }});return;}- X.barsRendered = s, t.type === "home" && (n9.facets = a);+ X.barsRendered = s, t.type === "home" && (t9.facets = a);let c = a.tags || [];- ja(o.performers), ja(o.studios);- let l = t.type === "home" && !t7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);+ Ma(o.performers), Ma(o.studios);+ let l = t.type === "home" && !e7() && !H.state && !H.q && !a.locations.some((e) => e.n > 0);X.catalogTopsPages = {context: t,performers: 0,studios: 0};- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = C8.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 = S8.seededSample(p, X.TAGS_FIRST, `tags:${H.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: Ml(e.k),+ label: Nl(e.k),n: e.n ?? null- })), X.barsPendingSeq = 0, T7({+ })), X.barsPendingSeq = 0, w7({tiers: {key: String(X.barsRequestSeq),- performers: o.performers.map(A7),- studios: o.studios.map(j7)+ performers: o.performers.map(k7),+ studios: o.studios.map(A7)},tiersPending: !1,empty: l,- tags: k7(n),+ tags: O7(n),tagFirst: f.length + m.length,views: X.catalogViews(),state: n.state || ""- }), L7(), V5.sidebarCatalog = {+ }), I7(), B5.sidebarCatalog = {kind: "catalog",- key: String(++V5.sidebarContentSeq),- facets: Q7(a, t)- }, g9({- content: V5.sidebarCatalog,+ key: String(++B5.sidebarContentSeq),+ facets: Z7(a, t)+ }, h9({+ content: B5.sidebarCatalog,filters: { ...n },latest: null});}-function JNe(e, t) {- n9.total = e, U.state === "trash" && (D5.trashCount = {- total: n9.total,+function nPe(e, t) {+ t9.total = e, H.state === "trash" && (E5.trashCount = {+ total: t9.total,shown: t- }), Z5(), T7({ count: {- total: n9.total,+ }), X5(), w7({ count: {+ total: t9.total,shown: t} });}-function P7() {- return Vc({+function N7() {+ return Hc({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",confirmLabel: "清空回收站",danger: !0,onConfirm: async () => {try {- let e = await on("/api/trash/empty", { method: "POST" });+ let e = await sn("/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"));- C8.actionReceipt(`已永久删除 ${e.purged} 项`);+ S8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {- await R7();+ await L7();}}});}-function F7(e) {- C7((t) => {+function P7(e) {+ S7((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function I7(e) {+function F7(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -78151,240 +78236,240 @@ function I7(e) {}), X.tagList(e.tag).forEach((e) => t.push({kind: "untag",key: e,- label: Ml(e)+ label: Nl(e)})), t;}-function L7() {- T7({- combo: I7(U),+function I7() {+ w7({+ combo: F7(H),comboHidden: !X.catalogOnScreen()});}-async function R7() {+async function L7() {let e = Q.claimSurface(Q.surfacePath());- if (_u({+ if (vu({barsContext: {type: "home",- filters: U+ filters: H},detailReturnBarsContext: null- }), a9(!1), U.state === "ads") return ZNe(e);- if (X.controller.page === "/junk-files" && B7(), L5(), W5(), Z8(location.pathname) && U.browse !== "folders") {- if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;- NMe();- } else Q8();- return L7(), L("#count").classList.remove("manage-static", "junkcount"), V7(e);-}-function z7(e) {+ }), i9(!1), H.state === "ads") return aPe(e);+ if (X.controller.page === "/junk-files" && z7(), I5(), U5(), X8(location.pathname) && H.browse !== "folders") {+ if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;+ VMe();+ } else Z8();+ return I7(), I("#count").classList.remove("manage-static", "junkcount"), B7(e);+}+function R7(e) {X.controller.settle(e);}-function B7() {- let e = L("#grid");- Ol(e), UV(e), X.controller.clear(), e.innerHTML = "";+function z7() {+ let e = I("#grid");+ kl(e), BV(e), X.controller.clear(), e.innerHTML = "";}-function V7(e) {- return G7("/", XNe, e, { place: APe });+function B7(e) {+ return W7("/", iPe, e, { place: RPe });+}+function rPe(e) {+ return W7("/junk-files", sPe, e);}-function YNe(e) {- return G7("/junk-files", $Ne, e);+function V7() {+ return !!PV(I("#grid"));}function H7() {- return !!LV(L("#grid"));-}-function U7() {- return X.controller.taken(H7());-}-function W7(e) {- HV(L("#grid"), e);-}-function G7(e, t, n, r = {}) {- let i = L("#grid");- X.controller.page && X.controller.page !== e && B7();- let a = X.controller.begin(e, H7()), o = t();- if (!a.mount) return W7(o), a.settled;- Ol(i);- let s = () => UV(i);- return a.signal.addEventListener("abort", s, { once: !0 }), VV(e, o, {+ return X.controller.taken(V7());+}+function U7(e) {+ zV(I("#grid"), e);+}+function W7(e, t, n, r = {}) {+ let i = I("#grid");+ X.controller.page && X.controller.page !== e && z7();+ let a = X.controller.begin(e, V7()), o = t();+ if (!a.mount) return U7(o), a.settled;+ kl(i);+ let s = () => BV(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), RV(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()}).catch((e) => console.error(e)).finally(() => {- a.signal.removeEventListener("abort", s), a.finish(H7());+ a.signal.removeEventListener("abort", s), a.finish(V7());}), a.settled;}-function K7() {- let e = n7();- return BA({- active: t7() || e,+function G7() {+ let e = t7();+ return LA({+ active: e7() || e,home: e,- portrait: U.orient === "竖屏"+ portrait: H.orient === "竖屏"});}-function q7(e = "正在读取作品") {- return JJ(e, J7());+function K7(e = "正在读取作品") {+ return UJ(e, q7());}-function J7() {- return U ? VA(K7()) : 16 / 9;+function q7() {+ return H ? RA(G7()) : 16 / 9;}-function Y7() {- U7() && (Ol(L("#grid")), W7({- layout: K7(),+function J7() {+ H7() && (kl(I("#grid")), U7({+ layout: G7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (Ol(L("#index [data-entity-hero]")), o5({- layout: K7(),+ })), Y.entityPageCurrent() && (kl(I("#index [data-entity-hero]")), a5({+ layout: G7(),seekSeconds: Z.appSettings.seekSeconds}));}-function XNe() {- let e = decodeURIComponent(location.pathname), t = fn(e), n = U.state === "trash";+function iPe() {+ let e = decodeURIComponent(location.pathname), t = pn(e), n = H.state === "trash";return {mode: "catalog",helpers: X.gridHelpers,actions: X.gridActions,- layout: K7(),+ layout: G7(),wall: e === "/wall",- selectMode: ql,- selected: new Set(Gl),+ selectMode: Jl,+ selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,- wireDrag: t9,- settled: z7,- skeletonHtml: () => q7(),- filters: { ...U },+ wireDrag: e9,+ settled: R7,+ skeletonHtml: () => K7(),+ filters: { ...H },batchSize: Z.appSettings.batchSize,groupCollapse: Z.appSettings.groupCollapse,- excludeVertical: t && e !== "/wall" && !U.q && !U.orient && U.browse !== "folders" || U.jav === "1",- mix: t && e !== "/wall" && !n && U.browse !== "folders",- shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",- countRow: L("#count"),- onCount: JNe,- onCountFailed: () => T7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : kK({- jav: t7() && !t,- configurable: ou,+ excludeVertical: t && e !== "/wall" && !H.q && !H.orient && H.browse !== "folders" || H.jav === "1",+ mix: t && e !== "/wall" && !n && H.browse !== "folders",+ shorts: t && e !== "/wall" && !e7() && H.orient !== "竖屏" && !n && H.browse !== "folders",+ countRow: I("#count"),+ onCount: nPe,+ onCountFailed: () => w7({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : wK({+ jav: e7() && !t,+ configurable: su,filtered: !t}),- canLoadMore: () => L("#stats").hidden && L("#index").hidden+ canLoadMore: () => I("#stats").hidden && I("#index").hidden};}-function ZNe(e) {- let t = L("#count");- return X.controller.page === "/junk-files" && H7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (B7(), L5("正在读取垃圾文件")), W5(), L7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), YNe(e);+function aPe(e) {+ let t = I("#count");+ return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), I5("正在读取垃圾文件")), U5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), rPe(e);}-async function QNe(e, t) {+async function oPe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {- await on("/api/batch", {+ await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t,...r ? { disposal_reason: "junk" } : {}})- }), await R7();+ }), await L7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- C8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {- await on("/api/batch", {+ S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ await sn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e})- }), await R7();+ }), await L7();} });} catch (e) {- throw C8.actionFailure("操作", e), e;+ throw S8.actionFailure("操作", e), e;}}-function $Ne() {+function sPe() {return {- ...c$(location.search),+ ...s$(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,revision: X.controller.revision,- selectMode: ql,- selected: new Set(Gl),- countRow: L("#count"),- settled: z7,- skeletonHtml: () => c2("正在读取垃圾文件", {+ selectMode: Jl,+ selected: new Set(Kl),+ countRow: I("#count"),+ settled: R7,+ skeletonHtml: () => s2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),- canLoadMore: () => L("#stats").hidden && L("#index").hidden+ canLoadMore: () => I("#stats").hidden && I("#index").hidden};}-function ePe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), _u(T8(aMe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {+function cPe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), vu(w8(pMe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0- }, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {+ }, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = I("#q")) => {X.searchValueSnapshot = {text: e?.value || "",scrollLeft: e?.scrollLeft || 0};}, X.clearSearchField = (e = null) => {- let t = L("#q");+ let t = I("#q");if (!t) return;let n = {text: t.value,scrollLeft: t.scrollLeft || 0}, r = e || (n.text ? n : X.searchValueSnapshot);- X.cancelSearchDissolve(), X.cancelSearchDissolve = As(t, t.parentElement, r), X.searchValueSnapshot = {+ X.cancelSearchDissolve(), X.cancelSearchDissolve = js(t, t.parentElement, r), X.searchValueSnapshot = {text: "",scrollLeft: 0};};}-function tPe() {- J.handler(L("#wallBtn"), "onclick", () => {- k5(!1, !0);- let e = s5(), t = {+function lPe() {+ J.handler(I("#wallBtn"), "onclick", () => {+ O5(!1, !0);+ let e = o5(), t = {...Y.activeFilterState(),- jav: t7() ? "1" : ""+ jav: e7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(bK(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) => {+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(hK(void 0, t));+ }), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = H.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) => TF(e, t),- displayName: (e, t) => wF(e, t),- tagLabel: (e) => Ml(e)+ titleHtml: (e, t) => SF(e, t),+ displayName: (e, t) => xF(e, t),+ tagLabel: (e) => Nl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await r8(n9.stageHost);+ let r = await n8(t9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: y7,- open: (e, t) => VNe(e, t),- openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : BNe(e, t),- openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : f9(e.id),- openShorts: () => f9(),- openMix: (e, t) => fPe(e, e, !0, t),- openEntity: (e, t) => y5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),+ wallDetails: v7,+ open: (e, t) => YNe(e, t),+ openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : JNe(e, t),+ openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : d9(e.id),+ openShorts: () => d9(),+ openMix: (e, t) => bPe(e, e, !0, t),+ openEntity: (e, t) => v5(e, t),+ openUnowned: () => g7({ owner: "none" }, !0),toggleTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;}), window.scrollTo({top: 0,behavior: "smooth"});},- toggleSelection: (e, t) => A5(e, t),- watchLater: (e, t) => HNe(e, t),- rate: (e, t, n, r) => WNe(e, t, n, r),- resourceOperation: (e, t) => UNe(e, t),- mixRelated: (e) => v7(e),- canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion()+ toggleSelection: (e, t) => k5(e, t),+ watchLater: (e, t) => XNe(e, t),+ rate: (e, t, n, r) => QNe(e, t, n, r),+ resourceOperation: (e, t) => ZNe(e, t),+ mixRelated: (e) => _7(e),+ canFlip: () => !Jl && !Q7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",- seed: U.seed || ""+ seed: H.seed || ""});- return t && n.set("page", String(t)), t7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;+ return t && n.set("page", String(t)), e7() && n.set("jav", "1"), e.type === "home" && H.state && n.set("state", H.state), e.type === "home" && H.folder && (n.set("folder", H.folder), H.folder_recursive && n.set("folder_recursive", H.folder_recursive)), n;}, X.facetCountsSeq = 0, X.VIEW_PILLS = [{k: "",@@ -78404,39 +78489,39 @@ function tPe() {}], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({...e,- href: e.k ? ln[e.k] : "/"- })), X.TAGS_FIRST = 26, J.listen(L("#catalogFilter"), "click", (e) => {+ href: e.k ? un[e.k] : "/"+ })), X.TAGS_FIRST = 26, J.listen(I("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));- }), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {+ t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));+ }), X.catalogOnScreen = () => I("#index").hidden && I("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && T7({ comboHidden: !0 });+ X.catalogFilterProps && w7({ comboHidden: !0 });};}-function nPe() {+function uPe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- ql && k5(!1, !0), Q.route(e);+ Jl && O5(!1, !0), Q.route(e);},- toggleSelection: (e, t) => A5(e, t),- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : l9(e.id, !0, null, t),+ toggleSelection: (e, t) => k5(e, t),+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : c9(e.id, !0, null, t),reveal: async (e) => {try {- return await on("/api/reveal", {+ return await sn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), C8.toast({ text: "已在资源管理器中显示" }), "";+ }), S8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {return Y.sourceHint(e.message);}},- operate: (e, t) => QNe(e, t)+ operate: (e, t) => oPe(e, t)};}-X.controller = new lMe();+X.controller = new _Me();// src/application/preferences.jsvar Z = {sourceOnline: void 0,@@ -78459,10 +78544,10 @@ var Z = {emptyState: void 0,CENSOR_KEY: void 0};-async function X7() {+async function Y7() {let e = J;try {- let t = await rr(e.signal);+ let t = await ir(e.signal);if (!e.isActive) return Z.sourceOnline;let n = (t.sources || []).flatMap((e) => e.roots || []).filter((e) => e.root_id);Z.sourceOnline = Object.fromEntries([...(t.sources || []).map((e) => [e.location, e.online]), ...n.map((e) => [e.root_id, e.online])]), Z.sourceProblems = Object.fromEntries([...(t.sources || []).map((e) => [e.location, e.message || ""]), ...n.map((e) => [e.root_id, e.message || ""])]);@@ -78470,18 +78555,18 @@ async function X7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), RNe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), KNe(), Z.sourceOnline;}-function Z7() {+function X7() {let e = Q.surfacePath();- if (!fn(e) || e === "/junk-files") return R7();+ if (!pn(e) || e === "/junk-files") return L7();let t = Z.nextCatalogLoad();- return $V(g7(), {+ return XV(h7(), {replace: !0,- state: QV.navigation.location.state+ state: YV.navigation.location.state}), t;}-function rPe(e) {+function dPe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -78490,7 +78575,7 @@ function rPe(e) {kind: "glyph",name: "rss"};- let t = Zo[e];+ let t = Qo[e];return t ? t.startsWith("data:") ? {kind: "image",src: t@@ -78502,8 +78587,8 @@ function rPe(e) {cost: "free"};}-function Q7(e, t) {- let n = (e, t = (e) => e.label || Ml(e.k)) => (e || []).map((e) => ({+function Z7(e, t) {+ let n = (e, t = (e) => e.label || Nl(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),n: e.n ?? null@@ -78511,9 +78596,9 @@ function Q7(e, t) {return {locations: (e.locations || []).map((e) => ({value: e.k,- label: Ln[e.k] || e.k,+ label: Rn[e.k] || e.k,n: e.n ?? null,- dot: rPe(e.k),+ dot: dPe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -78522,28 +78607,28 @@ function Q7(e, t) {creators: n(r),tags: n(e.tags),tech: n(e.tech),- followTags: n(e.follow_tags, (e) => Ml(e.k)),+ followTags: n(e.follow_tags, (e) => Nl(e.k)),duration: !!e.stats?.duration};}-async function iPe(e = !1) {- if (e && (document.hidden || !fn(decodeURIComponent(location.pathname)) || n9.stageOpen() || n9.immerseOpen() || ql || Gl.size || document.activeElement === L("#q"))) return !1;- if (!L("#stats").hidden) {+async function fPe(e = !1) {+ if (e && (document.hidden || !pn(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || Jl || Kl.size || document.activeElement === I("#q"))) return !1;+ if (!I("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- S5();+ x5();return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, QV.navigation.location.state) : Q.navigatePath(n);- } else if (L("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = C8.rollSeed(), vu(), k8(), T7({ refreshing: !0 });+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, YV.navigation.location.state) : Q.navigatePath(n);+ } else if (I("#index").hidden) {+ H.sort = "seed", H.dir = "", H.seed = S8.rollSeed(), yu(), O8(), w7({ refreshing: !0 });try {- let e = Z7();- await null, await Promise.all([e, N7()]);+ let e = X7();+ await null, await Promise.all([e, M7()]);} finally {- T7({ refreshing: !1 });+ w7({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -78551,81 +78636,81 @@ async function iPe(e = !1) {}), !0;}}-function $7() {+function Q7() {return document.body.classList.contains("censor");}-function e9(e) {+function $7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function aPe(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && Ol();+function pPe(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && kl();}-function oPe(e) {+function mPe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}-function t9(e) {- return cc(e, { drag: !0 });+function e9(e) {+ return lc(e, { drag: !0 });}-function sPe() {- ["#nrow", "#count"].forEach((e) => t9(L(e))), document.querySelectorAll(".tier,.srow").forEach(t9);+function hPe() {+ ["#nrow", "#count"].forEach((e) => e9(I(e))), document.querySelectorAll(".tier,.srow").forEach(e9);}-function cPe() {+function gPe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function lPe() {+function _Pe() {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 = SA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), jo(Z.appSettings.uiSounds), Lo(), EA(), Boe(), ZA(), ej(), tj(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {- theme: () => EA(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = yA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Mo(Z.appSettings.uiSounds), Ro(), CA(), Woe(), JA(), ZA(), QA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ theme: () => CA(),uiSounds: () => {- jo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Mo("toggle-on");+ Mo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && No("toggle-on");},- glowFrame: () => $A(),+ glowFrame: () => XA(),glow: () => {- $A(), ej();+ XA(), ZA();},batchSize: () => {- location.pathname === "/" && R7();+ location.pathname === "/" && L7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = tA(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), vu(), location.pathname === "/" && Z7();+ H.sort = Z.appSettings.defaultSort, H.dir = Qk(H.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && X7();},sortDirection: () => {- U.dir = tA(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), vu(), location.pathname === "/" && Z7();+ H.dir = Qk(H.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && X7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {- Al(e, "previewing", !1), Al(e, "longhover", !1);+ jl(e, "previewing", !1), jl(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},- seekSeconds: () => Y7(),- groupCollapse: () => s7(),- feedAutoScroll: () => PMe(),- feedLimit: () => $8(),- feedCompilations: () => $8(),+ seekSeconds: () => J7(),+ groupCollapse: () => o7(),+ feedAutoScroll: () => HMe(),+ feedLimit: () => Q8(),+ feedCompilations: () => Q8(),miniplayer: () => {- Z.appSettings.miniplayer || i8()?.closeMiniplayer();+ Z.appSettings.miniplayer || r8()?.closeMiniplayer();},javImage: () => {- Ba(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(sl), dPe();+ Va(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), yPe();},- searchHistoryLimit: () => HV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => zV(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {- ...Object.fromEntries(Object.entries(Zo).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),- online: R("rss")+ ...Object.fromEntries(Object.entries(Qo).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : L(t)])),+ online: L("rss")}, Z.srcBadge = (e, t, n) => {- let r = `${Ln[e] || e}${t === "metered" ? " · 计费" : ""}`;- return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";- }, Z.emptyState = ws;+ let r = `${Rn[e] || e}${t === "metered" ? " · 计费" : ""}`;+ return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${R(r)}" aria-label="${R(r)}">` + (Z.SRCICON[e] || "") + "</span>";+ }, Z.emptyState = Ts;}-function uPe() {- Z.CENSOR_KEY = "peach-censor", e9(localStorage.getItem(Z.CENSOR_KEY) === "1");+function vPe() {+ Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.js-var n9 = {+var t9 = {total: void 0,facets: void 0,stageHost: void 0,@@ -78636,34 +78721,34 @@ var n9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function r9() {+function n9() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function i9() {- return i8()?.exit() || Promise.resolve();+function r9() {+ return r8()?.exit() || Promise.resolve();}-function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && v9(), i8()?.dispose({ miniplayer: n }), _u({+function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {+ Q.queueOpenRequest !== r && _9(), r8()?.dispose({ miniplayer: n }), vu({activeQueue: null,pendingQueueRoute: null,presentedItem: null- }), t || _u({+ }), t || vu({detailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), d7(), e && Q.route(Zl || "/");+ }), u7(), e && Q.route(Ql || "/");}-function dPe() {- i8()?.repaintPoster();+function yPe() {+ r8()?.repaintPoster();}-function o9(e, t, n, r, i = null, a = {}) {+function a9(e, t, n, r, i = null, a = {}) {t = +t;- let o = tu?.kind === e && (e === "playlist" ? tu.playlistId : tu.seedId) === t;- r && !o && _u({ detailReturnPath: location.pathname + location.search }), r && CV();+ let o = nu?.kind === e && (e === "playlist" ? nu.playlistId : nu.seedId) === t;+ r && !o && vu({ detailReturnPath: location.pathname + location.search }), r && bV();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -78674,227 +78759,227 @@ function o9(e, t, n, r, i = null, a = {}) {fresh: !o};if (a.autoplay && (s.autoplay = !0), r) {- v9();+ _9();let e = Q.queueOpenRequest = {- seq: QV.navigation.seq,+ seq: YV.navigation.seq,cancelled: !1};- Q.requestedQueue = () => l9(n == null ? null : +n, !1, s, i, !0, e), _u({ queueOpens: lu + 1 });- } else return l9(n == null ? null : +n, !1, s, i, r);+ Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), vu({ queueOpens: uu + 1 });+ } else return c9(n == null ? null : +n, !1, s, i, r);}-function fPe(e, t = e, n = !0, r = null) {- return o9("mix", e, t, n, r);+function bPe(e, t = e, n = !0, r = null) {+ return a9("mix", e, t, n, r);}-function pPe(e, t = e, n = !0, r = null) {- return o9("editions", e, t, n, r);+function xPe(e, t = e, n = !0, r = null) {+ return a9("editions", e, t, n, r);}-function mPe(e, t = e, n = !0, r = null) {- return o9("parts", e, t, n, r);+function SPe(e, t = e, n = !0, r = null) {+ return a9("parts", e, t, n, r);}-function s9(e, t = null, n = !0) {- return o9("playlist", e, t, n);+function o9(e, t = null, n = !0) {+ return a9("playlist", e, t, n);}-function c9() {- return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !L("#index").hidden || !L("#stats").hidden;+function s9() {+ return !!I("#grid").querySelector("[data-id],[data-mix-seed]") || !I("#index").hidden || !I("#stats").hidden;}-async function l9(e, t = !0, n = null, r = null, i = !1, a = null) {+async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {if (a?.cancelled) return;- if (a || v9(), t && !n) {- _u({ detailReturnPath: location.pathname + location.search }), y9("/assets/" + +e, "item", () => l9(e, !1, null, r));+ if (a || _9(), t && !n) {+ vu({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => c9(e, !1, null, r));return;}- Ol(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Ql?.isConnected ? Ql : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : $l, c = c9(), l = eu || !t && !c, u = Ul.type === "item" ? Wl : Y.cloneBarsContext(s5());- t ? _u({ detailReturnPath: location.pathname + location.search }) : i || _u({ detailReturnPath: TV() || Zl }), t && CV(), i8()?.showing() !== "item" && a9(!1, !0, {+ kl(), e = e == null ? null : +e;+ let o = r?.isConnected ? r : $l?.isConnected ? $l : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : eu, c = s9(), l = tu || !t && !c, u = Wl.type === "item" ? Gl : Y.cloneBarsContext(o5());+ t ? vu({ detailReturnPath: location.pathname + location.search }) : i || vu({ detailReturnPath: SV() || Ql }), t && bV(), r8()?.showing() !== "item" && i9(!1, !0, {miniplayer: !1,preserveQueueRequest: a- }), _u({+ }), vu({detailOriginAnchor: o,detailOriginAbove: s,detailReturnNeedsRestore: l- }), _u({ detailReturnBarsContext: u }), _u({ activeQueue: n && {+ }), vu({ detailReturnBarsContext: u }), vu({ activeQueue: n && {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), _u({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, EV("item"));- let d = await r8(n9.stageHost);+ } }), vu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, CV("item"));+ let d = await n8(t9.stageHost);if (a?.cancelled) return;let f = a ? {- ...n9.itemDetailActions,+ ...t9.itemDetailActions,present: (e, t) => {- a.cancelled || n9.itemDetailActions.present(e, t);+ a.cancelled || t9.itemDetailActions.present(e, t);},redirect: (e) => {- a.cancelled || n9.itemDetailActions.redirect(e);+ a.cancelled || t9.itemDetailActions.redirect(e);}- } : n9.itemDetailActions;+ } : t9.itemDetailActions;await d.open({kind: "item",id: e,queue: n,relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,- helpers: n9.itemDetailHelpers,+ helpers: t9.itemDetailHelpers,actions: f,grid: {helpers: X.gridHelpers,actions: X.gridActions},- layout: K7(),- selectMode: ql,- selected: new Set(Gl),+ layout: G7(),+ selectMode: Jl,+ selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,- resume: t || e == null ? null : r9()- }), d7();+ resume: t || e == null ? null : n9()+ }), u7();}-async function u9() {- let e = Y.cloneBarsContext(Wl), t = Zl || "/", n = eu;- await i9(), a9(!1, !1, { miniplayer: !1 }), _u({ detailReturnBarsContext: null }), wV(), _u({ barsContext: e || {+async function l9() {+ let e = Y.cloneBarsContext(Gl), t = Ql || "/", n = tu;+ await r9(), i9(!1, !1, { miniplayer: !1 }), vu({ detailReturnBarsContext: null }), xV(), vu({ barsContext: e || {type: "home",- filters: U- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? _u({ pageOpens: cu + 1 }) : (N7(), location.pathname === "/playlists" && _u({ pageOpens: cu + 1 })));+ filters: H+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? vu({ pageOpens: lu + 1 }) : (M7(), location.pathname === "/playlists" && vu({ pageOpens: lu + 1 })));}-async function d9(e, t = !0) {+async function u9(e, t = !0) {if (t) {- _u({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => d9(e, !1));+ vu({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));return;}- let n = QV.navigation.seq, r = Y.cloneBarsContext(s5()), i = !c9(), a = TV() || (i ? "/jav?tab=discover" : Zl) || "/jav?tab=discover";- i8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), _u({+ let n = YV.navigation.seq, r = Y.cloneBarsContext(o5()), i = !s9(), a = SV() || (i ? "/jav?tab=discover" : Ql) || "/jav?tab=discover";+ r8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), vu({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i- }), Ol();- let [o, s] = await Promise.all([r8(n9.stageHost), B("/healthz")]);- QV.navigation.seq === n && (await o.open({+ }), kl();+ let [o, s] = await Promise.all([n8(t9.stageHost), z("/healthz")]);+ YV.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void u9(),+ close: () => void l9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- QV.navigation.seq === n && t && t !== e && $V("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ YV.navigation.seq === n && t && t !== e && XV("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: QV.navigation.location.state+ state: YV.navigation.location.state});},openTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- receipt: (e) => C8.toast({ text: e })+ receipt: (e) => S8.toast({ text: e })}- }), d7());+ }), u7());}-async function f9(e = null, t = !0) {- t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await Xje(n9.immerseHost)).open(e));+async function d9(e = null, t = !0) {+ t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await iMe(t9.immerseHost)).open(e));}-function hPe() {- n9.total = 0, n9.facets = null, n9.stageHost = {+function CPe() {+ t9.total = 0, t9.facets = null, t9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => C8.toast({ text: e }, t),- loadSourceStatus: () => X7(),+ toast: (e, t) => S8.toast({ text: e }, t),+ loadSourceStatus: () => Y7(),offlineReason: (e) => Z.offlineReason(e)},sourceOffline: (e) => Z.sourceOffline(e),expand: (e, t, n) => {- e === "follow" ? O9(t, !0, n) : l9(t, !0);+ e === "follow" ? D9(t, !0, n) : c9(t, !0);},- openItem: (e) => void l9(e)- }, n9.stageOpen = () => !!i8()?.isOpen();+ openItem: (e) => void c9(e)+ }, t9.stageOpen = () => !!r8()?.isOpen();}-function gPe() {- n9.itemDetailHelpers = {+function wPe() {+ t9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => TF(e),- displayName: (e) => wF(e),+ titleHtml: (e) => SF(e),+ displayName: (e) => xF(e),javImage: () => Z.appSettings.javImage,- tagLabel: (e) => Ml(e),- isDurationTag: (e) => Bn.has(e),- tagCandidates: () => n9.facets && n9.facets.tags || [],+ tagLabel: (e) => Nl(e),+ isDurationTag: (e) => Vn.has(e),+ tagCandidates: () => t9.facets && t9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => c2("正在读取推荐", {+ relatedSkeletonHtml: () => s2("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => v7(e),- wireDrag: (e) => t9(e),- wireDragReorder: (e, t) => Lc(e, t)- }, n9.itemDetailActions = {- close: () => u9(),+ mixRelated: (e) => _7(e),+ wireDrag: (e) => e9(e),+ wireDragReorder: (e, t) => Rc(e, t)+ }, t9.itemDetailActions = {+ close: () => l9(),present: (e) => {- _u({ presentedItem: e });- let t = Wl;- _u({ barsContext: {+ vu({ presentedItem: e });+ let t = Gl;+ vu({ barsContext: {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), nu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${nu}`, !1, EV("item")), _u({ pendingQueueRoute: null })), N7();+ } }), ru && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ru}`, !1, CV("item")), vu({ pendingQueueRoute: null })), M7();},redirect: (e) => {- let t = !!nu;- e.kind === "follow" ? (Q.queueOpenRequest = null, _u({+ let t = !!ru;+ e.kind === "follow" ? (Q.queueOpenRequest = null, vu({pendingQueueRoute: null,- followDetailReturnPath: Zl || "/"- }), Q.route(`/posts/${e.id}`, !t, EV("follow")), O9(e.id, !1, null, !0)) : e.kind === "item" ? l9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? x9("/playlists") : S5() : a9(!1);+ followDetailReturnPath: Ql || "/"+ }), Q.route(`/posts/${e.id}`, !t, CV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : x5() : i9(!1);},- openQueueItem: (e, t, n = !0) => void o9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),+ openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {- let e = ru;+ let e = iu;if (!e) return;- let t = tu;- t ? o9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : l9(e.id, !1);+ let t = nu;+ t ? a9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : c9(e.id, !1);},- checkSource: async (e) => (await X7())[e] !== !1,+ checkSource: async (e) => (await Y7())[e] !== !1,openSavedFollow: () => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", x9(S9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", b9(x9());},- openEntity: (e, t) => y5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),- openRegion: (e) => _7({ region: e || "none" }, !0),+ openEntity: (e, t) => v5(e, t),+ openUnowned: () => g7({ owner: "none" }, !0),+ openRegion: (e) => g7({ region: e || "none" }, !0),openTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- addToPlaylist: (e) => JMe(e),- saveMix: (e) => qMe(e),- editPlaylist: () => x9("/playlists"),- openPlaylists: () => x9("/playlists"),- reveal: (e) => m5(e),- sync: (e) => zMe(e),+ addToPlaylist: (e) => nNe(e),+ saveMix: (e) => tNe(e),+ editPlaylist: () => b9("/playlists"),+ openPlaylists: () => b9("/playlists"),+ reveal: (e) => p5(e),+ sync: (e) => qMe(e),trashChanged: async (e, t) => {- U.state === "ads" && (t || e === "trash") && (t || (wV(), a9(!0, !1, { miniplayer: !1 })), await R7());+ H.state === "ads" && (t || e === "trash") && (t || (xV(), i9(!0, !1, { miniplayer: !1 })), await L7());},- toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),- failure: (e, t) => C8.actionFailure(e, t)- }, n9.immerseHost = {- filters: () => U,+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: (e, t) => S8.actionFailure(e, t)+ }, t9.immerseHost = {+ filters: () => H,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => wF(e),+ displayName: (e) => xF(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => _7(),- openItem: (e) => void l9(e),- openEntity: (e, t) => y5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),- toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),- warn: (e) => C8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => C8.actionFailure(e, t)- }, n9.immerseOpen = () => !!s8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => f9());+ closed: () => g7(),+ openItem: (e) => void c9(e),+ openEntity: (e, t) => v5(e, t),+ openUnowned: () => g7({ owner: "none" }, !0),+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ warn: (e) => S8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => S8.actionFailure(e, t)+ }, t9.immerseOpen = () => !!o8()?.isOpen(), J.handler(I("#immerseBtn"), "onclick", () => d9());}// src/application/tutorial.js-var p9 = {+var f9 = {postSetupTutorialDone: void 0,postSetupTutorialNeedsReopen: void 0,postSetupTutorialTasks: void 0,@@ -78903,78 +78988,78 @@ var p9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function _Pe() {- rl(), await p9.writePostSetupTutorialDone(!1), await m9();+async function TPe() {+ il(), await f9.writePostSetupTutorialDone(!1), await p9();}-async function m9() {- let e = L("#postSetupTutorial");+async function p9() {+ let e = I("#postSetupTutorial");if (!e) return;let t = () => {e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");};- if (p9.postSetupTutorialNeedsReopen && (p9.postSetupTutorialNeedsReopen = !1, await p9.writePostSetupTutorialDone(!1).catch(() => {})), qc() !== "pending" || await p9.readPostSetupTutorialDone()) {+ if (f9.postSetupTutorialNeedsReopen && (f9.postSetupTutorialNeedsReopen = !1, await f9.writePostSetupTutorialDone(!1).catch(() => {})), Jc() !== "pending" || await f9.readPostSetupTutorialDone()) {t();return;}- let n = tl();- e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${R("compass")}<p>正在检查安装进度…</p></article>`);+ let n = nl();+ e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${L("compass")}<p>正在检查安装进度…</p></article>`);try {- let r = await p9.postSetupTutorialTasks();- if (!nl(n)) return;- let i = new Set(r.map((e) => e.key)), a = new Set([...Zc()].filter((e) => i.has(e)));- Qc(a);+ let r = await f9.postSetupTutorialTasks();+ if (!rl(n)) return;+ let i = new Set(r.map((e) => e.key)), a = new Set([...Qc()].filter((e) => i.has(e)));+ $c(a);let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);if (!s.length) {- Jc("complete"), t(), await p9.writePostSetupTutorialDone(!0).catch(() => {});+ Yc("complete"), t(), await f9.writePostSetupTutorialDone(!0).catch(() => {});return;}- let c = $c(o);+ let c = el(o);if (e.dataset.tutorialSignature === c) {e.removeAttribute("aria-busy");return;}- e.innerHTML = p9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");+ e.innerHTML = f9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");let l = s[0], u = e.querySelector("[data-tutorial-collapse]"), d = e.querySelector(".post-setup-collapse-body");- d.inert = Yc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), J.handler(u, "onclick", () => {+ d.inert = Xc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), J.handler(u, "onclick", () => {let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";- t.dataset.collapsed = String(n), Xc(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), xo(d, !n);+ t.dataset.collapsed = String(n), Zc(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), So(d, !n);}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => J.handler(e, "onclick", () => {- let t = Zc(), n = e.dataset.tutorialSkip;- t.add(n), Qc(t), C8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {- let e = Zc();- e.delete(n), Qc(e), Jc("pending"), await m9();- } }), m9();+ let t = Qc(), n = e.dataset.tutorialSkip;+ t.add(n), $c(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {+ let e = Qc();+ e.delete(n), $c(e), Yc("pending"), await p9();+ } }), p9();}));let f = new Map(o.map((e) => [e.key, e]));e.querySelectorAll("[data-tutorial-task]").forEach((e) => J.handler(e, "onclick", (t) => {let n = f.get(e.dataset.tutorialTask);- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), p9.openTutorialTarget(n));- })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => p9.openTutorialTarget(l));+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), f9.openTutorialTarget(n));+ })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => f9.openTutorialTarget(l));} catch {- if (!nl(n)) return;- e.innerHTML = il(R("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {- delete e.dataset.tutorialSignature, e.innerHTML = "", m9();+ if (!rl(n)) return;+ e.innerHTML = al(L("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {+ delete e.dataset.tutorialSignature, e.innerHTML = "", p9();}), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function vPe() {- if (_u({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), p9.postSetupTutorialDone = null, p9.postSetupTutorialNeedsReopen = !1, su) {- Jc("pending"), p9.postSetupTutorialDone = !1, p9.postSetupTutorialNeedsReopen = !0;+function EPe() {+ if (vu({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, cu) {+ Yc("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), $V(e, {+ e.searchParams.delete("onboarding"), XV(e, {replace: !0,- state: QV.navigation.location.state+ state: YV.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), $V(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), XV(e, {replace: !0,- state: QV.navigation.location.state+ state: YV.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}- p9.postSetupTutorialTasks = async () => {- let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await on("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);+ f9.postSetupTutorialTasks = async () => {+ let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await sn("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);return [{key: "library",@@ -79026,41 +79111,41 @@ function vPe() {icon: "square-check-big"}];- }, p9.postSetupTutorialHtml = (e, t, n) => {- let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = Yc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}">+ }, f9.postSetupTutorialHtml = (e, t, n) => {+ let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = Xc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}"><a href="${e.href}" data-tutorial-task="${e.key}">- <span class="post-setup-check" aria-hidden="true">${e.done ? R("check") : R(e.icon)}</span>+ <span class="post-setup-check" aria-hidden="true">${e.done ? L("check") : L(e.icon)}</span><span><b>${e.label}</b><small>${e.description}</small></span>- ${R("chevron-right")}</a>+ ${L("chevron-right")}</a>${e.done ? "" : `<button class="post-setup-skip" type="button" data-tutorial-skip="${e.key}" data-tutorial-label="${e.label}">跳过</button>`}</li>`).join("");return `<article class="post-setup-notification" data-collapsed="${o}"><header class="post-setup-notification-head">- <span class="post-setup-notification-icon" aria-hidden="true">${R("compass")}</span>+ <span class="post-setup-notification-icon" aria-hidden="true">${L("compass")}</span><div><h2>完成 Peach 的安装教程</h2><p>已处理 ${a}/${n} 项。</p></div><button class="post-setup-collapse" type="button" data-tutorial-collapse aria-controls="postSetupCollapseBody" aria-expanded="${!o}"- aria-label="${o ? "展开安装教程" : "折叠安装教程"}">${R("chevron-down")}</button>+ aria-label="${o ? "展开安装教程" : "折叠安装教程"}">${L("chevron-down")}</button></header><div class="post-setup-collapse-body ui-fcollapse" id="postSetupCollapseBody"${o ? " hidden" : ""}><ol class="post-setup-task-list" id="postSetupTaskList">${s}</ol><footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer></div></article>`;- }, p9.writePostSetupTutorialDone = async (e) => {- p9.postSetupTutorialDone = e, await on("/api/settings", {+ }, f9.writePostSetupTutorialDone = async (e) => {+ f9.postSetupTutorialDone = e, await sn("/api/settings", {method: "POST",body: JSON.stringify({ postSetupTutorialDone: e })});- }, p9.readPostSetupTutorialDone = async () => {- if (p9.postSetupTutorialDone === null) try {- p9.postSetupTutorialDone = (await on("/api/settings")).postSetupTutorialDone === !0;+ }, f9.readPostSetupTutorialDone = async () => {+ if (f9.postSetupTutorialDone === null) try {+ f9.postSetupTutorialDone = (await sn("/api/settings")).postSetupTutorialDone === !0;} catch {- p9.postSetupTutorialDone = !1;+ f9.postSetupTutorialDone = !1;}- return p9.postSetupTutorialDone;- }, p9.openTutorialTarget = (e) => {- e.setupEntry && _u({ cameFromSetup: !0 }), Q.navigatePath(e.href);+ return f9.postSetupTutorialDone;+ }, f9.openTutorialTarget = (e) => {+ e.setupEntry && vu({ cameFromSetup: !0 }), Q.navigatePath(e.href);};}// src/application/navigation.js@@ -79083,48 +79168,48 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function h9() {- let e = p8();- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));+function m9() {+ let e = f8();+ e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));}-function g9(e = {}) {+function h9(e = {}) {let t = Q.surfacePath();- t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {- ...V5.sidebarProps,+ t !== B5.sidebarSurface && (B5.sidebarSurface = t, B5.sidebarProps = {+ ...B5.sidebarProps,content: null,latest: null- }), V5.sidebarProps = {- ...V5.sidebarProps,+ }), B5.sidebarProps = {+ ...B5.sidebarProps,...e- }, p8()?.render(V5.sidebarProps);+ }, f8()?.render(B5.sidebarProps);}-function _9() {- g9(), h9(), u7();+function g9() {+ h9(), m9(), l7();}-function v9() {- Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, _u({ pendingQueueRoute: null });+function _9() {+ Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, vu({ pendingQueueRoute: null });}-function y9(e, t, n) {- v9(), CV(), Q.requestedOverlay = {+function v9(e, t, n) {+ _9(), bV(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, EV(t));+ }, Q.route(e, !1, CV(t));}-function b9() {- Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), g9(), wV(), m9();+function y9() {+ Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), h9(), xV(), p9();}-function x9(e) {- Q.route(e), _u({ pageOpens: cu + 1 });+function b9(e) {+ Q.route(e), vu({ pageOpens: lu + 1 });}-function yPe() {+function DPe() {Q.routeMeta = (e) => {- let t = kV(e);+ let t = EV(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(OV).find((n) => OV[n][e] === t), Q.catalogPage = (e) => fn(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = kV(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !yV(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(TV).find((n) => TV[n][e] === t), Q.catalogPage = (e) => pn(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = EV(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !gV(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? f9(cPe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? fNe() : e) : (k5(!1, !0), x9(N5({+ e === "/immerse" ? d9(gPe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? bNe() : e) : (O5(!1, !0), b9(M5({kind: e.slice(1),q: "",scope: "local",@@ -79133,34 +79218,34 @@ function yPe() {})));};}-function bPe() {+function OPe() {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) => (Z8(e) || Q8(), UV(L("#stats"), L("#index")), !fn(e) && e !== "/trash" && B7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, $V(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (X8(e) || Z8(), BV(I("#stats"), I("#index")), !pn(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, XV(e, {replace: t,state: n- }), I5.syncPageTitle(e), queueMicrotask(() => {- u7(), $5(), g9(), m9();+ }), F5.syncPageTitle(e), queueMicrotask(() => {+ l7(), Q5(), h9(), p9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? QV.replace(e, n) : QV.push(e, n), queueMicrotask(() => {- u7(), $5();+ t ? YV.replace(e, n) : YV.push(e, n), queueMicrotask(() => {+ l7(), Q5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}// src/jobs.ts-function xPe(e, t, n) {+function kPe(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>`;+ return `<div class="ui-board-job-progress" role="progressbar" aria-label="${R(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>${R(e)}<small>${Math.round(i)}%</small></span></div>`;}-function SPe(e, t = 0, n = 0) {- return n > 0 ? xPe(e, t, n) : Ss(e);+function APe(e, t = 0, n = 0) {+ return n > 0 ? kPe(e, t, n) : Cs(e);}-async function CPe(e) {+async function jPe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -79175,14 +79260,14 @@ async function CPe(e) {await t(2e3);}}-function wPe(e) {- let t = e.note || ((e) => ys(e, {+function MPe(e) {+ let t = e.note || ((e) => bs(e, {label: "任务状态",variant: "error"- })), n = e.loading || Ss, r = e.progress || ((e, t, n) => SPe(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 || Cs, r = e.progress || ((e, t, n) => APe(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;- CPe({+ jPe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -79231,25 +79316,25 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function TPe(e) {+function NPe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- C8.toast({ text: Ci(e) }, {+ S8.toast({ text: wi(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",action: {label: "查看",- run: () => D9(!0)+ run: () => E9(!0)}});}-function S9() {- return ua(C9());+function x9() {+ return da(S9());}-function EPe() {+function PPe() {return $.controller.read();}-function C9() {+function S9() {return {status: $.followFilter,media: $.followMediaView,@@ -79264,33 +79349,33 @@ function C9() {seed: $.followSeed};}-function w9(e) {+function C9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function DPe() {- let e = LV(L("#stats"));+function FPe() {+ let e = PV(I("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}-function T9() {- return !!DPe();+function w9() {+ return !!FPe();}-function E9(e) {- T9() && HV(L("#stats"), e);+function T9(e) {+ w9() && zV(I("#stats"), e);}-function OPe(e, t = {}) {+function IPe(e, t = {}) {return $.controller.route(e, t);}-function D9(e = !1) {+function E9(e = !1) {$.controller.enter(e);}-async function O9(e, t = !0, n = null, r = !1) {+async function D9(e, t = !0, n = null, r = !1) {if (t) {- !location.pathname.startsWith("/posts/") && !r && _u({ followDetailReturnPath: location.pathname + location.search }), y9(`/posts/${+e}`, "follow", () => O9(e, !1, n, r));+ !location.pathname.startsWith("/posts/") && !r && vu({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));return;}- Ol(), e = +e;+ kl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && _u({ followDetailReturnPath: location.pathname + location.search }), !t && !r && _u({ followDetailReturnPath: TV() || "/follow" }), t && CV(), i8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, EV("follow")), await (await r8(n9.stageHost)).open({+ t && i && !r && vu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && vu({ followDetailReturnPath: SV() || "/follow" }), t && bV(), r8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, CV("follow")), await (await n8(t9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -79298,93 +79383,93 @@ async function O9(e, t = !0, n = null, r = !1) {relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,helpers: $.followFeedHelpers,actions: $.followDetailActions,- resume: t ? null : r9()- }), d7();+ resume: t ? null : n9()+ }), u7();}-async function kPe() {- await i9(), a9(!1, !1, { miniplayer: !1 }), wV(), Q.route(iu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (EPe(), E9({ view: C9() })) : _u({ pageOpens: cu + 1 }));+async function LPe() {+ await r9(), i9(!1, !1, { miniplayer: !1 }), xV(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && w9() ? (PPe(), T9({ view: S9() })) : vu({ pageOpens: lu + 1 }));}-function APe(e) {+function RPe(e) {let t = document.createElement("div");- return t.className = "peach-react", Is(e, () => {+ return t.className = "peach-react", Ls(e, () => {e.textContent = "", e.append(t);}), t;}-function jPe() {- $.followFeedHelpers = Pl({+function zPe() {+ $.followFeedHelpers = Fl({wireDrag: (e) => {- e && t9(e);+ e && e9(e);},wireScroller: (e) => {- e && cc(e);+ e && lc(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: wPe+ jobProgress: MPe}), $.followFeedActions = {- loaded: (e) => G5(e),- openDetail: (e) => O9(e),- openAuthor: (e) => Q.navigatePath(hn("creator", e)),- toggleSelection: (e, t) => eNe(e, t),+ loaded: (e) => W5(e),+ openDetail: (e) => D9(e),+ openAuthor: (e) => Q.navigatePath(gn("creator", e)),+ toggleSelection: (e, t) => cNe(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();},setPhotoLayout: (e) => {- UA(e), d5();+ BA(e), u5();},- canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),- failure: (e, t) => C8.actionFailure(e, t),- checkReport: (e) => TPe(e)+ canFlip: () => !Jl && !Q7() && !window.__scrolling && !X.reduceMotion(),+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: (e, t) => S8.actionFailure(e, t),+ checkReport: (e) => NPe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- i8()?.showing() !== "follow" && (Ol(), a9(!1), U5(), !T9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), L("#stats").querySelector(".peach-react") && UV(L("#stats")), L("#stats").replaceChildren()));- }- }, $.followDetailActions = Hl({- view: C9,- adoptView: w9,- rememberReturn: (e) => _u({ followDetailReturnPath: e }),- close: () => void kPe(),- open: (e, t, n) => void O9(e, !0, t, n),- drawer: G5,- openAuthor: (e) => Q.navigatePath(hn("creator", e))+ r8()?.showing() !== "follow" && (kl(), i9(!1), H5(), !w9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), I("#stats").querySelector(".peach-react") && BV(I("#stats")), I("#stats").replaceChildren()));+ }+ }, $.followDetailActions = Ul({+ view: S9,+ adoptView: C9,+ rememberReturn: (e) => vu({ followDetailReturnPath: e }),+ close: () => void LPe(),+ open: (e, t, n) => void D9(e, !0, t, n),+ drawer: W5,+ openAuthor: (e) => Q.navigatePath(gn("creator", e))}, {- toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),- failure: C8.actionFailure+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: S8.actionFailure});}-function MPe() {- $.controller = pa({+function BPe() {+ $.controller = ma({location: () => location,- view: C9,- adoptView: w9,+ view: S9,+ adoptView: C9,session: () => ({- discoverySeed: du,- revision: fu,- scrollY: pu+ discoverySeed: fu,+ revision: pu,+ scrollY: mu}),- writeSession: (e) => _u({+ writeSession: (e) => vu({...e.discoverySeed === void 0 ? {} : { followDiscoverySeed: e.discoverySeed },...e.revision === void 0 ? {} : { followRevision: e.revision },...e.scrollY === void 0 ? {} : { followScrollY: e.scrollY }}),preferences: () => ({- selectMode: ql,- selected: Kl,- photoSize: LA(),- photoLayout: RA(),+ selectMode: Jl,+ selected: ql,+ photoSize: PA(),+ photoLayout: FA(),imagesOnly: !!Z.appSettings.followImagesOnly}),- live: T9,- push: E9,+ live: w9,+ push: T9,route: Q.route,- openPage: x9,- rollSeed: () => Number(C8.rollSeed()),+ openPage: b9,+ rollSeed: () => Number(S8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- Ol(), U5(), H5({ manage: !1 });+ kl(), H5(), V5({ manage: !1 });},- syncPhotoWalls: d5,+ syncPhotoWalls: u5,scrollTop: () => window.scrollTo({top: 0,behavior: "smooth"@@ -79392,19 +79477,19 @@ function MPe() {}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;}// src/application/lifecycle.js-function NPe() {- gSe(), Ac(document), vo(document.documentElement, { variant: "page" }), vo(L("#drawerScroll")), J.own(Dc()), Ta(document.body), X.homeHasFeed = jMe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {+function VPe() {+ wSe(), jc(document), yo(document.documentElement, { variant: "page" }), yo(I("#drawerScroll")), J.own(Oc()), Ea(document.body), X.homeHasFeed = zMe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {content: null,filters: {},latest: null- }, V5.sidebarSurface = "", V5.sidebarCatalog = null, V5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, B5.sidebarSurface = "", B5.sidebarCatalog = null, B5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;}// src/react/search/recommendations.ts-async function PPe(e) {+async function HPe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -79425,12 +79510,12 @@ async function PPe(e) {credentials: /* @__PURE__ */ new Set()};for (let e of i?.groups || []) {- let t = Xi(e);+ let t = Zi(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = Zi(e, n), i = l.sources.find((e) => e.id === r.source_id), a = QU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = Qi(e, n), i = l.sources.find((e) => e.id === r.source_id), a = YU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: JU(r),+ value: GU(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -79446,7 +79531,7 @@ async function PPe(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: ZU(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: JU(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -79516,7 +79601,7 @@ async function PPe(e) {];}// src/application/search-morph.js-function FPe(e, t, n, r, i, a, o) {+function UPe(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);@@ -79531,68 +79616,68 @@ function FPe(e, t, n, r, i, a, o) {});}// src/application/search.js-var k9 = {+var O9 = {searchControl: void 0,searchActions: void 0,searchHelpers: void 0,searchMorph: void 0,searchMorphViewport: void 0};-function A9() {- k9.searchControl?.close();+function k9() {+ O9.searchControl?.close();}-function IPe(e) {- let t = e ? Ia({+function WPe(e) {+ let t = e ? La({...e,is_jav: !!e.code}, Z.appSettings.javImage) : "";- return t === "cover" ? no(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";+ return t === "cover" ? ro(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";}-function j9() {- k9.searchMorph?.cancel(), k9.searchMorph = null, L(".search").classList.remove("search-morphing");+function A9() {+ O9.searchMorph?.cancel(), O9.searchMorph = null, I(".search").classList.remove("search-morphing");}-function M9(e) {- let t = L(".search"), n = L("#searchBtn");+function j9(e) {+ let t = I(".search"), n = I("#searchBtn");if (t.classList.contains("open") === e) return;- let r = !!k9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);- j9(), t.classList.remove("open");+ let r = !!O9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);+ A9(), t.classList.remove("open");let o = n.getBoundingClientRect();- if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;- let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = xc();+ if (t.classList.toggle("open", e), I("#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 = Sc();t.classList.add("search-morphing");- let h = t.animate(FPe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(UPe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- k9.searchMorph = h, J.handler(h, "onfinish", () => {- k9.searchMorph === h && j9();+ O9.searchMorph = h, J.handler(h, "onfinish", () => {+ O9.searchMorph === h && A9();});}-function LPe() {- return n9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;+function GPe() {+ return t9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;}-function RPe(e) {+function KPe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function zPe() {- k9.searchControl = null, k9.searchActions = {+function M9() {+ O9.searchControl = null, O9.searchActions = {search: (e) => {- X.rememberSearchValue(), a9(!1), U.q = e, vu(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);+ X.rememberSearchValue(), i9(!1), H.q = e, yu(), Q.route(H.jav === "1" ? h7() : H.q ? "/?q=" + encodeURIComponent(H.q) : "/", !0);},- openItem: (e) => l9(e),- openEntity: (e, t) => y5(e, t),+ openItem: (e) => c9(e),+ openEntity: (e, t) => v5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {- $.followMediaView = t, O9(e, !0, n);- }- }, k9.searchHelpers = {- pool: () => OK(U, on),- recommendations: () => PPe(on),- 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 ? W8(e) : IPe(e)}</span>`,- present: (e) => Ho(e),- dismiss: (e) => Uo(e),- wireScroller: (e) => cc(e),+ $.followMediaView = t, D9(e, !0, n);+ }+ }, O9.searchHelpers = {+ pool: () => CK(H, sn),+ recommendations: () => HPe(sn),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${R(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? U8(e) : WPe(e)}</span>`,+ present: (e) => Uo(e),+ dismiss: (e) => Wo(e),+ wireScroller: (e) => lc(e),typed: (e) => {let t = e.value;!t && X.searchValueSnapshot.text ? X.clearSearchField(X.searchValueSnapshot) : (t && (X.cancelSearchDissolve(), X.cancelSearchDissolve = () => {}), X.rememberSearchValue(e));@@ -79604,68 +79689,68 @@ function zPe() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, VV("search", {- input: L("#q"),+ }, RV("search", {+ input: I("#q"),historyLimit: Z.appSettings.searchHistoryLimit,- actions: k9.searchActions,- helpers: k9.searchHelpers,+ actions: O9.searchActions,+ helpers: O9.searchHelpers,expose: (e) => {- k9.searchControl = e;+ O9.searchControl = e;}}, {- container: L("#searchMenu"),+ container: I("#searchMenu"),isCurrent: () => !0- }), J.listen(L("#q"), "beforeinput", (e) => {+ }), J.listen(I("#q"), "beforeinput", (e) => {e.isComposing || X.rememberSearchValue(e.currentTarget);- }), J.listen(L("#q"), "scroll", (e) => {+ }), J.listen(I("#q"), "scroll", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);- }), J.listen(L("#q"), "pointerdown", (e) => {+ }), J.listen(I("#q"), "pointerdown", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function BPe() {- k9.searchMorph = null, k9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {- innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());- }, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), J.handler(L("#searchBtn"), "onclick", () => {- M9(!0), L("#q").focus({ preventScroll: !0 });- }), J.handler(L("#searchBack"), "onclick", () => {- M9(!1), A9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });+function qPe() {+ O9.searchMorph = null, O9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {+ innerWidth !== O9.searchMorphViewport && (O9.searchMorphViewport = innerWidth, A9());+ }, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", A9), J.handler(I("#searchBtn"), "onclick", () => {+ j9(!0), I("#q").focus({ preventScroll: !0 });+ }), J.handler(I("#searchBack"), "onclick", () => {+ j9(!1), k9(), I("#q").blur(), I("#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 || M9(!1), A9());+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (I("#q").value || j9(!1), k9());};- J.listen(document, "pointerdown", e, !0), J.listen(document, "focusin", e), J.handler(L("#brandHome"), "onclick", (e) => {- e.preventDefault(), _7(null, !0);+ J.listen(document, "pointerdown", e, !0), J.listen(document, "focusin", e), J.handler(I("#brandHome"), "onclick", (e) => {+ e.preventDefault(), g7(null, !0);}), J.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = u8();+ let t = l8();if (t?.isOpen()) {t.close();return;}- if (!L("#searchMenu").hidden) {- A9();+ if (!I("#searchMenu").hidden) {+ k9();return;}- if (n9.immerseOpen()) {- s8().close();+ if (t9.immerseOpen()) {+ o8().close();return;}- if (n9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), i8().requestClose());+ if (t9.stageOpen()) {+ e.defaultPrevented || (e.preventDefault(), r8().requestClose());return;}- if (L("#drawer").classList.contains("open")) {- J5(!1);+ if (I("#drawer").classList.contains("open")) {+ q5(!1);return;}- if (ql || Gl.size || Kl.size) {- k5(!1, !0);+ if (Jl || Kl.size || ql.size) {+ O5(!1, !0);return;}return;}- if (RPe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (KPe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;if (e.key === "ArrowLeft" || e.key === "ArrowRight") {let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);if (t) {@@ -79673,37 +79758,37 @@ function BPe() {return;}}- let t = LPe();+ let t = GPe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), i8()?.toggleTheater();+ e.preventDefault(), r8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), DM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), wM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), EM(t);+ e.preventDefault(), CM(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), Vj(t, ".vjs-mute-control");+ e.preventDefault(), Bj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), Vj(t, ".vjs-fullscreen-control");+ e.preventDefault(), Bj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), i8()?.toggleMiniplayer();+ e.preventDefault(), r8()?.toggleMiniplayer();return;}}});}// src/history/links.ts-function VPe(e) {+function JPe(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;@@ -79717,79 +79802,79 @@ function VPe(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && yV(i.pathname)) return null;- let a = kV(i.pathname);- return n.startsWith("#") && !a?.section || !vV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && gV(i.pathname)) return null;+ let a = EV(i.pathname);+ return n.startsWith("#") && !a?.section || !hV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}// src/application/composition.jsvar N9 = {shellActions: void 0,routing: void 0};-function HPe() {+function YPe() {let e = J, t = (e) => {- e.kind === "item" ? l9(e.id, !1) : e.kind === "jav" ? d9(e.code, !1) : e.kind === "follow" ? O9(e.id, !1) : o9(e.queue, e.key, e.item, !1);+ e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : a9(e.queue, e.key, e.item, !1);};- if (AMe(), I5.entityShapesReady = G8(), vNe(), location.pathname === "/") {+ if (RMe(), F5.entityShapesReady = W8(), ENe(), location.pathname === "/") {let e = new URLSearchParams(location.search);- !e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);+ !e.has("state") && e.get("jav") !== "1" && (I("#catalogPageHeading").hidden = !1);}- Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), DNe(), N9.shellActions = {- openSettings: (e) => Y5(e, !0),- closeSettings: () => u8()?.close(!1),- openItem: (e) => void l9(e),- openEntity: (e, t) => void y5(e, t),+ X8(decodeURIComponent(location.pathname)) && q8(I("#feedNew")), FNe(), N9.shellActions = {+ openSettings: (e) => J5(e, !0),+ closeSettings: () => l8()?.close(!1),+ openItem: (e) => void c9(e),+ openEntity: (e, t) => void v5(e, t),openTag: (e) => {- SNe(), F7(e);+ ANe(), P7(e);},- openTasteSignal: KMe,+ openTasteSignal: eNe,navigate: (e) => {- let n = new URL(e, location.href), r = vV(n.pathname, n.search);+ let n = new URL(e, location.href), r = hV(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;- y9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !yV(location.pathname)) {+ v9(n.pathname + n.search + n.hash, e, () => t(r));+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !gV(location.pathname)) {Q.route(e);- let t = QV.navigation.seq;- l6(n.hash, () => QV.navigation.seq === t);+ let t = YV.navigation.seq;+ c6(n.hash, () => YV.navigation.seq === t);} else Q.navigatePath(e);},- openManage: e7,+ openManage: $5,managePath: (e) => Q.routePathOf("section", e) || "",- openFollow: () => D9(),- receipt: (e, t) => C8.actionReceipt(e, t),- toast: (e, t) => C8.toast(e, t),- failure: C8.actionFailure,- revealSource: m5,- reopenTutorial: _Pe,- routeReview: YMe,- routeFollowManage: dNe,+ openFollow: () => E9(),+ receipt: (e, t) => S8.actionReceipt(e, t),+ toast: (e, t) => S8.toast(e, t),+ failure: S8.actionFailure,+ revealSource: p5,+ reopenTutorial: TPe,+ routeReview: rNe,+ routeFollowManage: yNe,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},srcBadge: (e, t) => Z.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(N5(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(M5(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => k5(!1, !1),- personAvatar: (e, t, n) => M5.personAvatar(e, t, n),- authorAvatar: (e) => pNe(e),- showIndexTags: mNe,- openFollowAuthor: F5,- openFollowTag: hNe,- openPlaylist: (e, t) => void s9(e, t, !0),- canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion(),+ exitSelectMode: () => O5(!1, !1),+ personAvatar: (e, t, n) => j5.personAvatar(e, t, n),+ authorAvatar: (e) => xNe(e),+ showIndexTags: SNe,+ openFollowAuthor: P5,+ openFollowTag: CNe,+ openPlaylist: (e, t) => void o9(e, t, !0),+ canFlip: () => !Jl && !Q7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {- e === "entity" ? (Ol(), _u({ barsContext: {+ e === "entity" ? (kl(), vu({ barsContext: {type: "home",- filters: U- } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (Ol(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (Ol(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));+ filters: H+ } }), U5(), document.body.classList.add("entity-open"), C7(), N5()) : e === "index" ? (kl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), C7(), N5()) : (kl(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {- let t = n9.requestedImmerseId === void 0 ? e : n9.requestedImmerseId;- n9.requestedImmerseId = void 0, f9(t, !1);+ let t = t9.requestedImmerseId === void 0 ? e : t9.requestedImmerseId;+ t9.requestedImmerseId = void 0, d9(t, !1);},openQueueRequest: () => {let e = Q.requestedQueue;@@ -79797,68 +79882,68 @@ function HPe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, QV.navigation.claimed && (!eH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (eH() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, YV.navigation.claimed && (!ZV() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (ZV() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {- n9.stageOpen() && a9(!1);+ t9.stageOpen() && i9(!1);},grid: {helpers: X.gridHelpers,actions: X.gridActions},- configurable: () => !!ou,+ configurable: () => !!su,surfaceShown: (e) => {- e === "index" ? (_9(), d7()) : N7();+ e === "index" ? (g9(), u7()) : M7();},entity: {missing: (e) => {- N9.shellActions.surfaceChanged("entity", location.pathname), v5(e);+ N9.shellActions.surfaceChanged("entity", location.pathname), _5(e);},loading: (e, t, n) => Y.application.loading(e, t, n),props: (e, t, n) => Y.application.addressProps(e, t, n),refresh: (e, t, n) => {let r = Y.parseEntityFilters(n);e === "creator" && (r.creator = "");- let i = s5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !l5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(s5()), !0);+ let i = o5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(o5()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => h7("local,115"),+ defaultLoc: () => m7("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (b9(), u7(), $5()), t && k8(), e === "/trash" ? (X.clearSearchField(), W5()) : (L("#q").value = U.q, X.rememberSearchValue()), _9(), N7(), Z.handOff(R7());+ n && (y9(), l7(), Q5()), t && O8(), e === "/trash" ? (X.clearSearchField(), U5()) : (I("#q").value = H.q, X.rememberSearchValue()), g9(), M7(), Z.handOff(L7());},load: () => {- Z.handOff(R7());+ Z.handOff(L7());},fill: () => {- if (U7() || !eH() && !L("#grid").querySelector(".catalog-skeleton")) return;- let e = L("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), V7(Q.surfaceToken(Q.surfacePath()));+ if (H7() || !ZV() && !I("#grid").querySelector(".catalog-skeleton")) return;+ let e = I("#count");+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));},release: () => {- B7(), Q8();+ z7(), Z8();}}}, N9.routing = !1, e.listen(document, "click", (e) => {- let t = VPe(e);+ let t = JPe(e);t && (e.preventDefault(), N9.shellActions.navigate(t));- }), J.own(QV.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !yV(e.location.pathname) && a9(!1), N9.routing && !e.claimed && b9();- })), Jje(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), ANe(), aNe(), Z5(), Promise.all([- X7(),- ONe(),- I5.entityShapesReady+ }), J.own(YV.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !gV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();+ })), nMe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), RNe(), pNe(), X5(), Promise.all([+ Y7(),+ INe(),+ F5.entityShapesReady]).then(() => {- e.isActive && (I5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), _9(), sPe(), N9.routing = !0, _u({ pageOpens: 1 }), b9(), d7());+ e.isActive && (F5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), hPe(), N9.routing = !0, vu({ pageOpens: 1 }), y9(), u7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}// src/theme-transition.tsvar P9 = !1;-async function UPe(e, t) {+async function XPe(e, t) {if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -79880,7 +79965,7 @@ async function UPe(e, t) {}}// src/application/chrome.js-function WPe() {+function ZPe() {(() => {let e = J, t = ["#brandHome",@@ -79918,7 +80003,7 @@ function WPe() {e.handler(c, "onclick", (e) => {e.preventDefault();});- let u = Ko(document.querySelector("#drawer"), c, l, { side: !0 });+ let u = qo(document.querySelector("#drawer"), c, l, { side: !0 });e.own(u.dispose);let d = null, f = null;function p(e, t) {@@ -79934,15 +80019,15 @@ function WPe() {w: r.offsetWidth,h: r.offsetHeight}, a = f;- f = i, Sc(d, e ? a : null, i, "y");+ f = i, Cc(d, e ? a : null, i, "y");}e.listen(l, "toggle", (e) => {e.newState === "open" && (l.querySelector("button")?.focus(), p(!1));}), e.listen(l, "keydown", (e) => {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());- }), on("/api/libraries", { signal: e.signal }).then((t) => {+ }), sn("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- HW(t.libraries);+ LW(t.libraries);let n = [["","全部媒体库",@@ -79959,11 +80044,11 @@ function WPe() {}let i = sessionStorage.getItem("peach.library") || "", a = n.find((e) => e[0] === i)?.[1] || "全部媒体库";sessionStorage.setItem("peach.library-label", a), c.querySelector("h1").textContent = a;- let o = (e) => Zo[e]?.startsWith("data:") ? `<img src="${Zo[e]}" alt="">` : R(Zo[e] || e), s = document.createElement("span");- s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${z(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {+ let o = (e) => Qo[e]?.startsWith("data:") ? `<img src="${Qo[e]}" alt="">` : L(Qo[e] || e), s = document.createElement("span");+ s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${R(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${R(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {- u.setOpen(!1), J5(!1), C5("媒体库与入库");+ u.setOpen(!1), q5(!1), S5("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -79979,19 +80064,19 @@ function WPe() {let m = document.querySelector("#filterBtn"), h = document.createComment("sidebar toggle");(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" && UPe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), EA();+ 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="浅色主题">${L("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${L("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" && XPe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), CA();});- })), EA();+ })), CA();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 = Ko(g, v, _);- e.own(y.dispose), e.own(Qoe(v)), tMe({+ let v = g.querySelector("#boardGlowBtn"), y = qo(g, v, _);+ e.own(y.dispose), e.own(nse(v)), lMe({root: _,store: Z.settingsStore,openDetails: () => {- e.isActive && (y.setOpen(!1), J5(!1), Y5("外观与导航").then((t) => {+ e.isActive && (y.setOpen(!1), q5(!1), J5("外观与导航").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -80003,7 +80088,7 @@ function WPe() {let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");if (!t) return;c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);- let r = n.classList.contains("open"), i = !q5();+ let r = n.classList.contains("open"), i = !K5();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(J, window)("resize", b);@@ -80127,15 +80212,15 @@ function WPe() {subtree: !0}), y();}- })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), q5(!K5() && sessionStorage.getItem("board.sidebar") !== "closed");}// src/application/initialize.js-function GPe() {- NPe(), yPe(), yNe(), bPe(), lPe(), rMe(), ePe(), vPe(), UMe(), hPe(), oNe(), tPe(), IMe(), XMe(), jPe(), gNe(), WMe(), MPe(), _Ne(), GMe(), INe(), nPe(), zPe(), gPe(), BPe(), uPe(), HPe(), WPe(), J.own(B7), J.own(v9);+function QPe() {+ VPe(), DPe(), DNe(), OPe(), _Pe(), dMe(), cPe(), EPe(), ZMe(), CPe(), mNe(), lPe(), WMe(), iNe(), zPe(), wNe(), QMe(), BPe(), TNe(), $Me(), WNe(), uPe(), M9(), wPe(), qPe(), vPe(), YPe(), ZPe(), J.own(z7), J.own(_9);}// src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function KPe(e, t) {+function $Pe(e, t) {let n = H9(e);if (!n.length || t(e)) return String(e ?? "");let r = 0, i = Math.max(0, n.length - 1), a = F9;@@ -80153,7 +80238,7 @@ var U9 = Object.assign((e, t) => {Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), qPe = (e) => {+}, { canvas: null }), eFe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -80163,17 +80248,17 @@ var U9 = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, JPe = (e) => {+}, tFe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = qPe(e), r = n > 0 ? KPe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = eFe(e), r = n > 0 ? $Pe(t.full, (t) => U9(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), e.hasAttribute("title") && e.dataset.middleTitle !== "true" || (e.title = t.full, e.dataset.middleTitle = "true");}, W9 = (e) => {let t = L9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, JPe(e);+ t.raf = 0, tFe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -80186,7 +80271,7 @@ var U9 = Object.assign((e, t) => {let t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function YPe(e = document) {+function nFe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -80260,7 +80345,7 @@ var q9 = ["jav-detail","wants","index"-], XPe = {+], rFe = {catalog: [...q9,...J9,@@ -80281,28 +80366,28 @@ var q9 = ["avatar-choices"]};-function ZPe() {+function iFe() {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 XPe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of rFe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);e.clear();- let n = { predicate: (e) => t.has(String(e.queryKey[0])) && (e.queryKey[0] !== "follow-manage" || e.queryKey.length === 1 || e.queryKey[1] === "feeds") }, r = H.getQueryCache().findAll(n).some((e) => e.isActive() && e.state.fetchStatus === "fetching");- if (await H.invalidateQueries(n, { cancelRefetch: !1 }), r) for (let n of t) e.add(n);+ let n = { predicate: (e) => t.has(String(e.queryKey[0])) && (e.queryKey[0] !== "follow-manage" || e.queryKey.length === 1 || e.queryKey[1] === "feeds") }, r = V.getQueryCache().findAll(n).some((e) => e.isActive() && e.state.fetchStatus === "fetching");+ if (await V.invalidateQueries(n, { cancelRefetch: !1 }), r) for (let n of t) e.add(n);}})().finally(() => {t = null;})), t || Promise.resolve();};}-function QPe() {- let e = Pt({- queryKey: DF,- queryFn: ({ signal: e }) => kF(e),- refetchInterval: (e) => OF(e.state.data)- }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(ZPe), r = e.data?.result_versions;+function aFe() {+ let e = Ft({+ queryKey: wF,+ queryFn: ({ signal: e }) => EF(e),+ refetchInterval: (e) => TF(e.state.data)+ }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(iFe), r = e.data?.result_versions;return (0, P.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -80312,52 +80397,52 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function $Pe() {+function oFe() {if (!X9) {- let e = nMe();+ let e = uMe();X9 = {effects: e,owners: 0- }, e.own(YPe(document)), e.own(() => {- Ol(), H.cancelQueries();- }), e.own(Yje), e.own(Xme), e.own(Bo);+ }, e.own(nFe(document)), e.own(() => {+ kl(), V.cancelQueries();+ }), e.own(rMe), e.own(ehe), e.own(Vo);}return X9.owners += 1, X9.effects.resume(), X9;}-function eFe() {+function sFe() {let [e, t] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {- let e = X9 === null, n = $Pe(), r = qje(t);+ let e = X9 === null, n = oFe(), r = tMe(t);if (e) try {- GPe();+ QPe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, F.jsx)(Lge, {+ }, []), /* @__PURE__ */ (0, F.jsx)(Vge, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, F.jsx)(QPe, {}) : null+ background: e ? /* @__PURE__ */ (0, F.jsx)(aFe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function tFe(e) {+function cFe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Rt.createRoot)(e, Rge);+ let n = (0, zt.createRoot)(e, Hge);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(eFe, {}))), n;+ }, (0, Rt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(sFe, {}))), n;}// src/react/bootstrap.tsxO();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-tFe($9);-export { PI as $2ec61d1d4f780267$export$a8a3e93435678ff9, HI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, aR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, VT as $72abaeab4d80592f$export$78efe591171d7d45, ZR as $76d00c5a4edb230a$export$76ccd210b9029917, JR as $76d00c5a4edb230a$export$816b5d811295e6bc, ez as $76d00c5a4edb230a$export$b59bdbef9ce70de2, nz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, qR as $76d00c5a4edb230a$export$f850895b287ef28e, hfe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, mfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, dfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, oz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, vfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, Ow as $ea3928288112382f$export$439d29a4e110a164, vR as $f2ff30fde7b014be$export$3ddf2d174ce01153, TR as $fe21c36db05242bb$export$a98f0dcb43a68a25, ER as $fe21c36db05242bb$export$d7b12c4107be0d61, epe as $l, lA as ACCENTS, PTe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, FTe as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, LW as ArtSlot, q as Button, lI as ButtonLink, lpe as Bx, Qt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, l1 as CONFIGURATION_KEY, JY as CONFIGURATION_URL, ITe as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, oV as Checkbox, aV as CheckboxGlyph, XB as ChevronSortDown, cZ as Chip, J2 as CloudDownloadDialog, YH as CollapseChevron, JH as CollapseRegion, p$ as CollectionSummary, hbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, MQ as DIAGNOSTICS_KEY, fxe as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, vY as DUPLICATES_KEY, $J as DataTableFooter, YJ as DataTableFrame, QJ as DataTableSort, tU as Disclosure, GOe as DownloadsPanel, Gfe as E3, gbe as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, rpe as Ea, bpe as EmptyFocusButton, Rz as EmptyState, $H as ErrorText, nge as ExternalLink, Sr as FEEDS_KEY, nX as FEED_SCHEDULE_KEY, WAe as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, br as FOLLOW_CHECK_KEY, yr as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, vr as FOLLOW_MANAGE_KEY, IZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, tX as FOLLOW_SCHEDULE_KEY, ige as Fact, rge as FactList, eU as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, $F as FilterGlass, eI as FilterGlassRows, QF as FilterIconButton, nI as FilterPill, tge as Footer, Sz as Gg, iI as GlassPill, QH as Help, kz as HintText, IAe as IDLE_POLL_MS, ibe as IDLE_REPAIR, qF as IconButton, Pz as Input, Nz as InputBase, OA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, TX as JUNK_KEY, Q3 as JavHeader, Qye as KEEP_LABELS, wr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, pH as LIBRARY_PROCESSING_KEY, BY as LINKS_KEY, VY as LINK_CHECK_KEY, Rbe as LINK_KINDS, HY as LINK_PRUNE_KEY, Ln as LOC, Oz as Label, V$ as LibraryProcessingCard, tB as LibraryShortcuts, kH as LinkButton, UH as LoadingDots, qfe as M6, Ube as MEDIA_PROCESSING_KEY, iX as MEDIA_PROCESSING_URL, CY as MEDIA_REPAIR_KEY, SY as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Zo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, eV as MENU_ITEM, tV as MENU_ITEM_INTERACTIVE, $B as MENU_POPOVER_SURFACE, NH as MenuDialog, NG as MixCard, Fz as ModalFrame, hy as MotionConfigContext, Dz as NR, Lz as Note, gpe as OA, sX as ORGANIZE_KEY, uX as ORPHAN_RECORDS_KEY, xz as OV, mz as P7, Xwe as PHASES, YY as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, IEe as POLICY_COLUMNS, REe as POLICY_COVER_NOTE, LEe as POLICY_MATRIX, q1 as POLICY_SUMMARY, ZJ as Pagination, B$ as PathLine, vF as PillTabList, GH as Progress, OY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, wY as REPAIR_LIBRARIES_KEY, hX as RESOURCE_APPLY_KEY, mX as RESOURCE_SCAN_KEY, lTe as RESULT_PANEL, uTe as RESULT_SECTION, mbe as REVIEW_CATEGORIES, wX as REVIEW_COUNTS_KEY, jY as REVIEW_KEY, MY as REVIEW_LABELS, IW as RetryNote, hpe as Rf, Qhe as Rows, MTe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, jTe as SCRAPING_SETTINGS_URL, RU as SEGMENT, LU as SEGMENTED_TRACK, eX as SETTINGS_KEY, XY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, u3 as STATS_KEY, Zhe as Section, ege as SectionSkeleton, IU as SegmentedRadioGroup, Jge as SegmentedTabList, mW as Segments, XJ as Select, kU as Select$1, p1 as SelectField, AU as SelectItem, oY as SelectionActions, Vk as SelectionDock, sY as SelectionPopover, XH as SettingsCard, Xhe as SettingsRow, ZH as SettingsSectionLabel, cge as SiteLabel, UU as SortDirectionIcon, _W as SortKeys, hQ as SourceAvatar, aU as SourceLabel, nU as SourceMark, $he as Stack, z$ as StatusLabel, F2 as Switch, DF as TASKS_KEY, TAe as TASTE_REFRESH_KEY, EAe as TASTE_WINDOWS, rX as THUMBNAIL_JOBS_KEY, DX as TRASH_KEY, aue as TRIGGER_LABELS, BJ as Table, cY as TableColumnControls, lY as TableColumnResizer, dY as TableSelectionHeader, n$ as TagManager, KH as TaskProgress, jz as TextField, Az as TextFieldContext, bz as Un, _$ as WANTS_KEY, i4 as WantMagnets, hp as WithPromise, hz as Wt, yz as Xc, Ez as Xf, Yfe as Xt, Kfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, mpe as aB, si as addAlias, oi as addSource, y$ as addWant, B as apiGet, V as apiSend, SA as appSettingsStore, jxe as applyConfirmText, CX as applyLeftovers, Axe as applyPlanText, Nxe as applyText, EA as applyTheme, $g as asNumber, yxe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, Oq as autoResetPageIndex, Za as avatarInner, g3 as bandRows, pxe as baseName, rbe as batchOperate, Kk as boundedPreference, ebe as bulkCloudPreferences, Hz as busyProps, ppe as cB, tke as cachedMagnetStates, ap as calcGeneratorVelocity, Sbe as canApprove, kf as cancelFrame, wxe as candidateText, HH as cardClass, VA as cardRatio, vz as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, Hbe as checkLine, Ci as checkReceipt, wi as checkSummary, RTe as checkText, Di as checkedText, aG as clickedBlank, Kye as cloudLocations, O0 as cloudProxySkeleton, Jx as clsx, ope as cn, ph as collectMotionValues, Jq as columnVisibilityFeature, FJ as column_getCanSort, jJ as column_getSortFn, bbe as commonReviewSources, uV as configurationSection, AAe as configureTasteBrowser, Vc as confirmModal, uq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, zq as createColumnHelper, TTe as createPlaylist, ji as credentialDone, w0 as credentialsSkeleton, jbe as currentReviewRow, hF as cx, wz as dZ, Obe as decisionPayload, kbe as decisionReceipt, Dbe as defaultChoice, DTe as deletePlaylist, x as diagnosticHeaders, K1 as diagnosticsSkeleton, iTe as discoveryArtwork, w$ as discoveryKey, cDe as discoveryScore, Xye as distinctName, Pbe as dropReviewRows, xi as dropSources, fpe as du, tbe as duplicateVictims, PF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, Dq as expandRowModel, dz as f1, Fr as feedIntervalText, e1 as fetchAmaneBridge, $r as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, Qr as fetchCredentials, q$ as fetchCustomSources, NQ as fetchDiagnostics, T$ as fetchDiscoveries, bY as fetchDuplicates, eue as fetchEarlier, Kbe as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, Gbe as fetchFollowSchedule, kX as fetchJunkSummary, GY as fetchLinkCheck, KY as fetchLinkPrune, WY as fetchLinkStats, Wbe as fetchMediaProcessing, TY as fetchMediaRepair, tr as fetchMediaSources, cX as fetchOrganize, axe as fetchOrganizeExample, dX as fetchOrphanRecords, fi as fetchPending, W$ as fetchPlaylists, kY as fetchQualityGoals, EY as fetchRepairLibraries, ei as fetchResolveJob, _X as fetchResourceApply, gX as fetchResourceScan, LY as fetchReview, OX as fetchReviewCounts, aX as fetchSettings, Q$ as fetchSources, d3 as fetchStats, ti as fetchSuggestions, kF as fetchTasks, I3 as fetchTaste, jAe as fetchTasteJob, qbe as fetchThumbnailJobs, AX as fetchTrashSummary, v$ as fetchWants, vbe as filterReviewRows, Fn as firstGrapheme, VK as flexRender, KAe as flowGraph, qAe as flowLabel, Gke as fmtCount, kn as fmtDur, jn as fmtSize, mue as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, gue as followupDetail, Of as frame, Ife as g4, Zq as getDefaultPaginationState, BA as gridLayout, Wr as groupByAuthor, pue as groupFollowups, PY as groupReviewRows, Oxe as hasChanges, vX as hasResourceRoots, jF as hasResultProblems, LAe as historySpan, fz as i2, FAe as importTasteExport, T0 as indexersSkeleton, Zf as interpolate, x$ as invalidateWants, NF as isActive, Pr as isBroken, Or as isLayout, Rh as isMotionValue, NY as isReviewCategory, hue as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, NA as javLayout, F0 as javTagSkeleton, Rxe as junkBreakdown, OTe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, f3 as known, Bfe as l7, fue as latestOfKind, rAe as lengthRows, ir as localTime, _i as lookupFeedActor, Ufe as m7, Cz as mM, cn as mapLimit, di as markItem, _3 as max, tAe as mediumRows, tue as mergeFinished, v3 as min, Ibe as mirrorText, sbe as missingToolText, xY as mixedCloudPreferences, VF as momentText, lb as motion, hh as motionValue, hxe as organizeOutcome, Z0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, QV as peachHistory, QV as peachHistory$1, Ebe as pendingGenres, qke as percentText, cxe as pickOrganizeFolder, mxe as planSummary, p3 as playedFor, Yke as playedItemUrl, OF as pollInterval, ks as popCount, wTe as posterUrl, tG as previewLibraryColor, sxe as previewOrganize, ube as previewUrl, due as problemDestination, FF as progressText, iU as providerIcon, Vbe as pruneText, bX as purgeCount, bxe as purgeOrphan, Tz as pv, dpe as qE, H as queryClient, pz as r2, UAe as radarRows, Qke as radialArc, $ke as radialBarSize, Zke as radialCeiling, Xke as radialSlices, iM as randomId, VAe as rankDetail, HAe as rankShares, h3 as reachedShare, IF as readableErrorHeadline, lDe as recommendationScore, Mbe as recordGenre, Sxe as recordsText, kTe as recreatePlaylist, STe as refreshPlaylists, xl as relayoutCovers, Si as reloadFollowManage, Fbe as reloadReview, VEe as rememberShape, uxe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, PAe as removeTasteSource, b$ as removeWants, li as renameAliasGroup, ETe as renamePlaylist, aAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, oq as require_with_selector, $we as resetWants, Yn as resolveFollowSort, dp as resolveStartTime, CTe as resumeAssetId, _be as reviewGroupingOptions, Lxe as reviewSummary, ybe as reviewWindow, wbe as rowEvidence, IY as rowFieldName, iJ as rowPaginationFeature, TJ as rowSelectionFeature, RJ as rowSortingFeature, FY as rowSubject, Tbe as rowTags, Cbe as rowTitle, Lfe as s5, ui as saveCredential, kxe as scanLine, Qbe as schedulePollInterval, tTe as searchNote, xbe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, mV as settingsPath, Yye as sharedNamePrefix, $V as shellNavigate, x8 as showToast, xn as siteMarkUrl, vq as skipFirstRun, gF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, Mxe as sourceMeta, bs as spinnerHtml, Jf as spring, Bz as spriteGlyph, ni as startCheck, zbe as startLinkCheck, Bbe as startLinkPrune, lxe as startOrganize, ri as startResolve, Exe as startResourceApply, Txe as startResourceScan, NAe as startTasteRefresh, sue as statusLabel, obe as statusLine, Nr as statusText, HA as storeJavLayout, Abe as submitDecision, UF as summaryItems, Bq as tableFeatures, yq as tableMemo, Kr as tableRows, uue as taskIssues, L3 as tasteDate, zAe as tasteDimensions, RAe as tasteHours, F3 as tasteKey, OAe as tasteRefetchInterval, kAe as tasteTime, SF as textLang, ld as time, $fe as tl, Xr as toggleGroup, R3 as topScores, npe as uo, AH as useAction, jZ as useBackgroundJob, SU as useClientUpdates, xu as useConstant, XF as useHorizontalScroller, Su as useIsomorphicLayoutEffect, rG as useLibraryTints, Ft as useMutation, sV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, tb as useReducedMotion, Zbe as useRunSchedule, Ybe as useSaveFollowSchedule, oX as useSaveSettings, $be as useSaveThumbnailMode, zJ as useTable, nY as useTablePreferences, nbe as victimBytes, eTe as wantName, Jke as watchNote, m3 as watchedShare, cc as wireHorizontalScroller, dxe as withOrganizeJob };+cFe($9);+export { jI as $2ec61d1d4f780267$export$a8a3e93435678ff9, zI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, nR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, RT as $72abaeab4d80592f$export$78efe591171d7d45, JR as $76d00c5a4edb230a$export$76ccd210b9029917, GR as $76d00c5a4edb230a$export$816b5d811295e6bc, ZR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, $R as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, WR as $76d00c5a4edb230a$export$f850895b287ef28e, yfe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, vfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, hfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, rz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Sfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, Tw as $ea3928288112382f$export$439d29a4e110a164, hR as $f2ff30fde7b014be$export$3ddf2d174ce01153, SR as $fe21c36db05242bb$export$a98f0dcb43a68a25, CR as $fe21c36db05242bb$export$d7b12c4107be0d61, ipe as $l, oA as ACCENTS, HTe as AMANE_BRIDGE_CHECK_URL, X$ as AMANE_BRIDGE_KEY, UTe as AMANE_BRIDGE_REBUILD_URL, Un as ApiError, MW as ArtSlot, q as Button, oI as ButtonLink, ppe as Bx, $t as CLOUD_LOCATIONS, X1 as CLOUD_PROXY_HELP, Or as COLUMN_SORT, c1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, WTe as COOKIE_TEXT_LIMIT, Y$ as COVER_JOB_KEY, ji as CREDENTIAL_STATE, G$ as CUSTOM_SOURCES_KEY, W$ as CUSTOM_SOURCES_URL, rV as Checkbox, nV as CheckboxGlyph, qB as ChevronSortDown, sZ as Chip, q2 as CloudDownloadDialog, KH as CollapseChevron, GH as CollapseRegion, f$ as CollectionSummary, xbe as DEFAULT_CATEGORY, qn as DEFAULT_SORT, jQ as DIAGNOSTICS_KEY, bxe as DIRECTORY_TEMPLATE_ERROR, j0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, pY as DUPLICATES_KEY, JJ as DataTableFooter, WJ as DataTableFrame, qJ as DataTableSort, QH as Disclosure, $Oe as DownloadsPanel, Yfe as E3, Sbe as ENTITY_REVIEW_KINDS, J1 as ENTRY_LINKS_HELP, Y1 as ENTRY_LINKS_HINT, spe as Ea, wpe as EmptyFocusButton, Fz as EmptyState, XH as ErrorText, oge as ExternalLink, Cr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, QAe as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, xr as FOLLOW_CHECK_KEY, br as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, yr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, Sr as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, cge as Fact, sge as FactList, ZH as FieldLabel, L$ as Fieldset, I$ as FieldsetTitle, XF as FilterGlass, ZF as FilterGlassRows, YF as FilterIconButton, $F as FilterPill, age as Footer, yz as Gg, tI as GlassPill, YH as Help, Ez as HintText, WAe as IDLE_POLL_MS, ube as IDLE_REPAIR, WF as IconButton, jz as Input, Az as InputBase, TA as JAV_LAYOUTS, N0 as JAV_RECOMMENDATION_GRID, wX as JUNK_KEY, Z3 as JavHeader, ibe as KEEP_LABELS, Tr as LAYOUTS, q1 as LIBRARY_FOLDER_HELP, uH as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, Kbe as LINK_KINDS, VY as LINK_PRUNE_KEY, Rn as LOC, Tz as Label, B$ as LibraryProcessingCard, Qz as LibraryShortcuts, EH as LinkButton, BH as LoadingDots, Zfe as M6, Zbe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, vY as MEDIA_REPAIR_KEY, _Y as MEDIA_REPAIR_URL, tr as MEDIA_SOURCES_KEY, Qo as MEDIA_SOURCE_ICONS, Zt as MEDIA_SOURCE_OPTIONS, ZB as MENU_ITEM, QB as MENU_ITEM_INTERACTIVE, XB as MENU_POPOVER_SURFACE, AH as MenuDialog, OG as MixCard, Mz as ModalFrame, my as MotionConfigContext, wz as NR, Pz as Note, bpe as OA, oX as ORGANIZE_KEY, lX as ORPHAN_RECORDS_KEY, vz as OV, dz as P7, iTe as PHASES, JY as PICK_FOLDER_URL, H$ as PLAYLISTS_KEY, WEe as POLICY_COLUMNS, KEe as POLICY_COVER_NOTE, GEe as POLICY_MATRIX, K1 as POLICY_SUMMARY, KJ as Pagination, z$ as PathLine, zle as PillTab, hF as PillTabList, HH as Progress, CY as QUALITY_GOALS_KEY, A$ as REPAIR_CARD_TEXT, yY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, _Te as RESULT_PANEL, vTe as RESULT_SECTION, bbe as REVIEW_CATEGORIES, CX as REVIEW_COUNTS_KEY, Cbe as REVIEW_DECISION_LABELS, EY as REVIEW_KEY, DY as REVIEW_LABELS, kY as REVIEW_QUEUES, AY as REVIEW_QUEUE_LABELS, jW as RetryNote, ype as Rf, nge as Rows, BTe as SCRAPING_CHECK_URL, q$ as SCRAPING_COVER_URL, J$ as SCRAPING_KEY, zTe as SCRAPING_SETTINGS_URL, FU as SEGMENT, PU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, Jn as SORT_DEFAULT_DIR, Kn as SORT_OPTIONS, en as SOURCE_LABELS, l3 as STATS_KEY, tge as Section, ige as SectionSkeleton, NU as SegmentedRadioGroup, Qge as SegmentedTabList, lW as Segments, GJ as Select, EU as Select$1, f1 as SelectField, DU as SelectItem, tY as SelectionActions, Rk as SelectionDock, nY as SelectionPopover, qH as SettingsCard, ege as SettingsRow, JH as SettingsSectionLabel, fge as SiteLabel, BU as SortDirectionIcon, fW as SortKeys, mQ as SourceAvatar, nU as SourceLabel, $H as SourceMark, rge as Stack, R$ as StatusLabel, P2 as Switch, wF as TASKS_KEY, NAe as TASTE_REFRESH_KEY, PAe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, EX as TRASH_KEY, lue as TRIGGER_LABELS, FJ as Table, rY as TableColumnControls, iY as TableColumnResizer, oY as TableSelectionHeader, t$ as TagManager, UH as TaskProgress, Oz as TextField, Dz as TextFieldContext, _z as Un, g$ as WANTS_KEY, r4 as WantMagnets, gp as WithPromise, fz as Wt, gz as Xc, Cz as Xf, $fe as Xt, Xfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, vpe as aB, ci as addAlias, si as addSource, v$ as addWant, z as apiGet, B as apiSend, yA as appSettingsStore, zxe as applyConfirmText, SX as applyLeftovers, Rxe as applyPlanText, Vxe as applyText, CA as applyTheme, $g as asNumber, Dxe as attachOrphan, Wr as authorAvatar, Kr as authorGroups, Ur as authorInitial, Hr as authorName, Cq as autoResetPageIndex, Qa as avatarInner, h3 as bandRows, xxe as baseName, lbe as batchOperate, Uk as boundedPreference, obe as bulkCloudPreferences, zz as busyProps, _pe as cB, lke as cachedMagnetStates, op as calcGeneratorVelocity, Abe as canApprove, Af as cancelFrame, Mxe as candidateText, zH as cardClass, RA as cardRatio, hz as cc, Di as checkEvidenceGap, Ei as checkFailures, _i as checkFeeds, Xbe as checkLine, wi as checkReceipt, Ti as checkSummary, KTe as checkText, Oi as checkedText, eG as clickedBlank, Qye as cloudLocations, D0 as cloudProxySkeleton, Kx as clsx, upe as cn, mh as collectMotionValues, Uq as columnVisibilityFeature, AJ as column_getCanSort, EJ as column_getSortFn, Obe as commonReviewSources, sV as configurationSection, RAe as configureTasteBrowser, Hc as confirmModal, aq as copyInstancePropertiesWithoutMemos, Ga as coverUrl, Pq as createColumnHelper, NTe as createPlaylist, Mi as credentialDone, C0 as credentialsSkeleton, zbe as currentReviewRow, K as cx, xz as dZ, Ibe as decisionPayload, Lbe as decisionReceipt, Fbe as defaultChoice, FTe as deletePlaylist, x as diagnosticHeaders, G1 as diagnosticsSkeleton, fTe as discoveryArtwork, C$ as discoveryKey, gDe as discoveryScore, nbe as distinctName, Si as dropSources, gpe as du, sbe as duplicateVictims, jF as elapsedText, Za as entityFaceImg, gn as entityPath, Lr as errorHeadline, Gn as errorMessage, R as esc, Sq as expandRowModel, cz as f1, Ir as feedIntervalText, $$ as fetchAmaneBridge, ei as fetchCheckJob, l1 as fetchConfiguration, Q$ as fetchCoverJob, $r as fetchCredentials, K$ as fetchCustomSources, MQ as fetchDiagnostics, w$ as fetchDiscoveries, hY as fetchDuplicates, iue as fetchEarlier, exe as fetchFeedSchedule, mi as fetchFeeds, Qr as fetchFollow, $be as fetchFollowSchedule, OX as fetchJunkSummary, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, Qbe as fetchMediaProcessing, bY as fetchMediaRepair, nr as fetchMediaSources, sX as fetchOrganize, pxe as fetchOrganizeExample, uX as fetchOrphanRecords, pi as fetchPending, U$ as fetchPlaylists, wY as fetchQualityGoals, xY as fetchRepairLibraries, ti as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, DX as fetchReviewCounts, iX as fetchSettings, Z$ as fetchSources, u3 as fetchStats, ni as fetchSuggestions, EF as fetchTasks, F3 as fetchTaste, zAe as fetchTasteJob, txe as fetchThumbnailJobs, kX as fetchTrashSummary, _$ as fetchWants, Ebe as filterReviewRows, In as firstGrapheme, IK as flexRender, eje as flowGraph, tje as flowLabel, $ke as fmtCount, An as fmtDur, Mn as fmtSize, vue as foldRoutine, yi as followFeedByName, wr as followSuggestKey, bue as followupDetail, kf as frame, Bfe as g4, Kq as getDefaultPaginationState, LA as gridLayout, Gr as groupByAuthor, _ue as groupFollowups, NY as groupReviewRows, Ixe as hasChanges, _X as hasResourceRoots, OF as hasResultProblems, GAe as historySpan, lz as i2, UAe as importTasteExport, w0 as indexersSkeleton, Qf as interpolate, b$ as invalidateWants, AF as isActive, Fr as isBroken, kr as isLayout, zh as isMotionValue, OY as isReviewCategory, yue as isRoutine, T0 as javBrowserSkeleton, F0 as javContentSkeleton, AA as javLayout, P0 as javTagSkeleton, Kxe as junkBreakdown, ITe as keepPlaylist, Ae as keepPreviousData, Yr as keepSelected, d3 as known, Wfe as l7, gue as latestOfKind, dAe as lengthRows, ar as localTime, vi as lookupFeedActor, qfe as m7, bz as mM, ln as mapLimit, fi as markItem, g3 as max, lAe as mediumRows, aue as mergeFinished, _3 as min, Wbe as mirrorText, pbe as missingToolText, gY as mixedCloudPreferences, RF as momentText, sb as motion, gh as motionValue, Cxe as organizeOutcome, X0 as overlayHost, Ar as pageSizeOf, Jr as pageWindow, Zn as paginationRange, xi as patchSource, YV as peachHistory, YV as peachHistory$1, Pbe as pendingGenres, tAe as percentText, gxe as pickOrganizeFolder, Sxe as planSummary, f3 as playedFor, rAe as playedItemUrl, TF as pollInterval, As as popCount, MTe as posterUrl, XW as previewLibraryColor, hxe as previewOrganize, gbe as previewUrl, hue as problemDestination, MF as progressText, tU as providerIcon, Ybe as pruneText, yX as purgeCount, Oxe as purgeOrphan, Sz as pv, hpe as qE, V as queryClient, uz as r2, ZAe as radarRows, oAe as radialArc, sAe as radialBarSize, aAe as radialCeiling, iAe as radialSlices, rM as randomId, YAe as rankDetail, XAe as rankShares, m3 as reachedShare, NF as readableErrorHeadline, _De as recommendationScore, Bbe as recordGenre, Axe as recordsText, LTe as recreatePlaylist, ATe as refreshPlaylists, Sl as relayoutCovers, Ci as reloadFollowManage, Ube as reloadReview, YEe as rememberShape, vxe as rememberTemplates, li as removeAlias, gi as removeFeed, oi as removeSource, HAe as removeTasteSource, y$ as removeWants, ui as renameAliasGroup, PTe as renamePlaylist, pAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, tq as require_with_selector, sTe as resetWants, Xn as resolveFollowSort, fp as resolveStartTime, jTe as resumeAssetId, Tbe as reviewGroupingOptions, MY as reviewQueueData, jY as reviewQueueOf, Gxe as reviewSummary, Dbe as reviewWindow, Mbe as rowEvidence, FY as rowFieldName, $q as rowPaginationFeature, bJ as rowSelectionFeature, NJ as rowSortingFeature, PY as rowSubject, Nbe as rowTags, jbe as rowTitle, Vfe as s5, di as saveCredential, Lxe as scanLine, oxe as schedulePollInterval, lTe as searchNote, kbe as selectReviewRange, Xr as selectionState, hi as setFeedEnabled, ai as setSourceEnabled, dV as settingsPath, Hbe as settleReviewRows, tbe as sharedNamePrefix, XV as shellNavigate, b8 as showToast, Sn as siteMarkUrl, pq as skipFirstRun, pF as sortCx, Mr as sortLabel, tn as sourceDefaultCost, Ai as sourceIconUrl, Bxe as sourceMeta, xs as spinnerHtml, Yf as spring, Lz as spriteGlyph, ri as startCheck, qbe as startLinkCheck, Jbe as startLinkPrune, _xe as startOrganize, ii as startResolve, Pxe as startResourceApply, Nxe as startResourceScan, VAe as startTasteRefresh, due as statusLabel, fbe as statusLine, Pr as statusText, zA as storeJavLayout, Rbe as submitDecision, BF as summaryItems, Fq as tableFeatures, mq as tableMemo, qr as tableRows, mue as taskIssues, I3 as tasteDate, qAe as tasteDimensions, KAe as tasteHours, P3 as tasteKey, IAe as tasteRefetchInterval, LAe as tasteTime, yF as textLang, ud as time, rpe as tl, Zr as toggleGroup, L3 as topScores, ope as uo, DH as useAction, AZ as useBackgroundJob, yU as useClientUpdates, Su as useConstant, qF as useHorizontalScroller, Cu as useIsomorphicLayoutEffect, QW as useLibraryTints, It as useMutation, iV as useOverlayScrollbar, Ft as useQuery, oe as useQueryClient, $y as useReducedMotion, axe as useRunSchedule, rxe as useSaveFollowSchedule, aX as useSaveSettings, sxe as useSaveThumbnailMode, PJ as useTable, ZJ as useTablePreferences, cbe as victimBytes, cTe as wantName, nAe as watchNote, p3 as watchedShare, lc as wireHorizontalScroller, yxe as withOrganizeJob };-//# debugId=558ecb94-e808-4b1e-a451-b5398e4eb0ea\ No newline at end of file+//# debugId=80067394-1ff7-46c5-9630-4ba7b43dd0ab\ No newline at end of filediff --git a/web/dist/peach-app.review-page-Bdf4jFNP.js b/web/dist/peach-app.review-page-Bl5-DKpD.jssimilarity index 51%rename from web/dist/peach-app.review-page-Bdf4jFNP.jsrename to web/dist/peach-app.review-page-Bl5-DKpD.jsindex 46d6160e9..d20950443 100644--- a/web/dist/peach-app.review-page-Bdf4jFNP.js+++ b/web/dist/peach-app.review-page-Bl5-DKpD.js@@ -1,37 +1,37 @@(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] = "664a7715-97ac-414b-b4dc-9817379b8d42", e._sentryDebugIdIdentifier = "sentry-dbid-664a7715-97ac-414b-b4dc-9817379b8d42");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4b0521d5-ac52-4070-85f4-af5c445c7d99", e._sentryDebugIdIdentifier = "sentry-dbid-4b0521d5-ac52-4070-85f4-af5c445c7d99");} catch {}})();-import { $b4f18e3395fe64d7$export$3d96ec278d3efce4 as e, $b4f18e3395fe64d7$export$3e41faf802a29e71 as t, $b4f18e3395fe64d7$export$b2539bed5023c21c as n, $ea3928288112382f$export$439d29a4e110a164 as r, $fe21c36db05242bb$export$a98f0dcb43a68a25 as i, $fe21c36db05242bb$export$d7b12c4107be0d61 as a, Button as o, ButtonLink as s, Checkbox as c, CheckboxGlyph as l, Chip as u, DEFAULT_CATEGORY as d, ENTITY_REVIEW_KINDS as f, Ea as ee, EmptyState as p, ExternalLink as m, Gg as te, InputBase as h, Note as g, REVIEW_CATEGORIES as _, REVIEW_KEY as v, REVIEW_LABELS as ne, Select as y, SelectItem as b, SelectionActions as x, SelectionDock as S, TextField as C, Wt as w, __toESM as T, avatarInner as E, busyProps as D, canApprove as re, cardClass as O, commonReviewSources as k, currentReviewRow as A, decisionPayload as j, decisionReceipt as ie, defaultChoice as ae, dropReviewRows as M, errorMessage as N, fetchReview as oe, filterReviewRows as se, groupReviewRows as ce, isReviewCategory as le, l7 as P, m7 as ue, mirrorText as de, paginationRange as fe, pendingGenres as F, recordGenre as pe, reloadReview as I, require_jsx_runtime as L, require_react as me, reviewGroupingOptions as he, reviewWindow as ge, rowEvidence as _e, rowFieldName as ve, rowSubject as ye, rowTags as R, rowTitle as z, selectReviewRange as be, spinnerHtml as B, submitDecision as xe, useMutation as Se, useOverlayScrollbar as V, useQuery as Ce } from "./peach-app.js";-import { Page as we } from "./peach-app.page-QAncjzM1.js";-import { LEGACY_AVATAR_IMG as H } from "./peach-app.legacy-avatar-NSITxLRS.js";-import { PillAriaTabList as Te } from "./peach-app.pill-aria-tab-list-BMY1ZEv1.js";+import { $b4f18e3395fe64d7$export$3d96ec278d3efce4 as e, $b4f18e3395fe64d7$export$3e41faf802a29e71 as t, $b4f18e3395fe64d7$export$b2539bed5023c21c as n, $ea3928288112382f$export$439d29a4e110a164 as r, $fe21c36db05242bb$export$a98f0dcb43a68a25 as i, $fe21c36db05242bb$export$d7b12c4107be0d61 as a, Button as o, ButtonLink as s, Checkbox as c, CheckboxGlyph as l, Chip as u, DEFAULT_CATEGORY as d, ENTITY_REVIEW_KINDS as f, Ea as ee, EmptyState as p, ExternalLink as m, Gg as te, InputBase as h, Note as g, PillTab as _, PillTabList as v, REVIEW_CATEGORIES as y, REVIEW_DECISION_LABELS as b, REVIEW_KEY as ne, REVIEW_LABELS as re, REVIEW_QUEUES as ie, REVIEW_QUEUE_LABELS as x, Select as S, SelectItem as C, SelectionActions as w, SelectionDock as T, TextField as E, Wt as D, __toESM as O, avatarInner as ae, busyProps as k, canApprove as oe, cardClass as A, commonReviewSources as j, currentReviewRow as se, decisionPayload as M, decisionReceipt as ce, defaultChoice as le, errorMessage as N, fetchReview as ue, filterReviewRows as de, groupReviewRows as fe, isReviewCategory as pe, l7 as me, m7 as he, mirrorText as ge, paginationRange as P, pendingGenres as _e, recordGenre as F, reloadReview as ve, require_jsx_runtime as I, require_react as ye, reviewGroupingOptions as be, reviewQueueData as xe, reviewQueueOf as Se, reviewWindow as Ce, rowEvidence as we, rowFieldName as Te, rowSubject as Ee, rowTags as De, rowTitle as Oe, selectReviewRange as ke, settleReviewRows as Ae, spinnerHtml as L, submitDecision as je, useMutation as Me, useOverlayScrollbar as R, useQuery as Ne } from "./peach-app.js";+import { Page as Pe } from "./peach-app.page-QAncjzM1.js";+import { LEGACY_AVATAR_IMG as z } from "./peach-app.legacy-avatar-NSITxLRS.js";+import { PillAriaTabList as Fe } from "./peach-app.pill-aria-tab-list-BMY1ZEv1.js";// src/react/review/bulk-toolbar.tsx-var U = /* @__PURE__ */ T(me(), 1), W = L();-function Ee(e) {- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: s, pageKeys: c, selected: l, onSelected: u, selectedRows: d, metadata: f, approvable: ee, busy: p, feedback: m, onUnifySource: te, onRun: h } = e, g = c.filter((e) => l.has(e)), _ = g.length > 0 && g.length === c.length, v = k(d), ne = f && d.some((e) => (e.candidates?.length || 0) > 1), x = v.length ? "统一选择来源" : "所选项目无共同来源";- return /* @__PURE__ */ (0, W.jsxs)(W.Fragment, { children: [/* @__PURE__ */ (0, W.jsxs)("div", {+var B = /* @__PURE__ */ O(ye(), 1), V = I();+function Ie(e) {+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: s, pageKeys: c, selected: l, onSelected: u, selectedRows: d, metadata: f, approvable: ee, busy: p, feedback: m, onUnifySource: te, onRun: h, queueView: g = "pending" } = e, _ = c.filter((e) => l.has(e)), v = _.length > 0 && _.length === c.length, y = j(d), b = f && d.some((e) => (e.candidates?.length || 0) > 1), ne = y.length ? "统一选择来源" : "所选项目无共同来源";+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {role: "group","aria-label": "复核筛选","data-review-filter": !0,"data-glass-pane": "",className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",children: [- /* @__PURE__ */ (0, W.jsx)(y, {+ /* @__PURE__ */ (0, V.jsx)(S, {"aria-label": "筛选分组方式",size: "sm",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: t.map(([e, t]) => /* @__PURE__ */ (0, W.jsx)(b, {+ children: t.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(C, {id: e,children: t}, e))}),- i.length > 1 ? /* @__PURE__ */ (0, W.jsxs)(y, {+ i.length > 1 ? /* @__PURE__ */ (0, V.jsxs)(S, {"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",size: "sm",prefix: "分类",@@ -39,71 +39,84 @@ function Ee(e) {onSelectionChange: (e) => {e !== null && s(String(e) === "*" ? "" : String(e));},- children: [/* @__PURE__ */ (0, W.jsx)(b, {+ children: [/* @__PURE__ */ (0, V.jsx)(C, {id: "*",children: "全部"- }), i.map((e) => /* @__PURE__ */ (0, W.jsx)(b, {+ }), i.map((e) => /* @__PURE__ */ (0, V.jsx)(C, {id: e.key,children: `${e.title} · ${e.rows.length}`}, e.key))]}) : null,- /* @__PURE__ */ (0, W.jsx)(o, {+ /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",- leadingIcon: P,- "aria-pressed": _,+ leadingIcon: me,+ "aria-pressed": v,disabled: p || !c.length,onClick: () => {let e = new Set(l);- for (let t of c) _ ? e.delete(t) : e.add(t);+ for (let t of c) v ? e.delete(t) : e.add(t);u(e);},- children: _ ? "清空当前选择" : a ? "全选当前分类" : "全选本页"+ children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"})]- }), /* @__PURE__ */ (0, W.jsxs)(S, {+ }), /* @__PURE__ */ (0, V.jsxs)(T, {label: "复核所选项目",visible: l.size > 0,count: `已选 ${l.size} 项`,children: [- ne ? /* @__PURE__ */ (0, W.jsxs)(y, {+ b && g !== "ignored" ? /* @__PURE__ */ (0, V.jsxs)(S, {"aria-label": "统一选择来源",size: "sm",selectedKey: "",- isDisabled: p || !v.length,+ isDisabled: p || !y.length,onSelectionChange: (e) => {e !== null && e !== "" && te(String(e));},- children: [/* @__PURE__ */ (0, W.jsx)(b, {+ children: [/* @__PURE__ */ (0, V.jsx)(C, {id: "",- children: x- }), v.map((e) => /* @__PURE__ */ (0, W.jsx)(b, {+ children: ne+ }), y.map((e) => /* @__PURE__ */ (0, V.jsx)(C, {id: e,children: e}, e))]}) : null,- /* @__PURE__ */ (0, W.jsx)(o, {- variant: "danger",+ g === "ignored" ? null : /* @__PURE__ */ (0, V.jsx)(o, {+ variant: "ghost",size: "small",disabled: p || !l.size,onClick: () => h("rejected"),- children: "拒绝所选"+ children: "忽略所选"}),- /* @__PURE__ */ (0, W.jsx)(o, {+ g === "pending" ? /* @__PURE__ */ (0, V.jsx)(o, {+ variant: "secondary",+ size: "small",+ disabled: p || !l.size,+ onClick: () => h("skipped"),+ children: "稍后处理所选"+ }) : /* @__PURE__ */ (0, V.jsx)(o, {+ variant: g === "ignored" ? "primary" : "secondary",+ size: "small",+ disabled: p || !l.size,+ onClick: () => h("restore"),+ children: "恢复所选"+ }),+ g === "ignored" ? null : /* @__PURE__ */ (0, V.jsx)(o, {variant: "primary",size: "small",disabled: p || !l.size || !ee,onClick: () => h("approved"),children: "通过所选"}),- /* @__PURE__ */ (0, W.jsx)(o, {+ /* @__PURE__ */ (0, V.jsx)(o, {variant: "ghost",size: "small",disabled: p,onClick: () => u(/* @__PURE__ */ new Set()),children: "取消选择"}),- m ? /* @__PURE__ */ (0, W.jsx)("p", {+ m ? /* @__PURE__ */ (0, V.jsx)("p", {role: "status",className: "w-full text-body-2-regular text-text-secondary",children: m@@ -112,7 +125,7 @@ function Ee(e) {})] });}// src/react/review/candidate-form.tsx-var G = {+var H = {title: "标题",original_title: "原标题",runtime: "来源时长",@@ -122,21 +135,21 @@ var G = {cover_url: "封面",screenshot_urls: "截图",trailer_url: "预告片"-}, K = "reviewgenretags";-function De({ tags: e }) {- return e.length ? /* @__PURE__ */ (0, W.jsx)("datalist", {- id: K,- children: e.map((e) => /* @__PURE__ */ (0, W.jsx)("option", { value: e }, e))+}, U = "reviewgenretags";+function Le({ tags: e }) {+ return e.length ? /* @__PURE__ */ (0, V.jsx)("datalist", {+ id: U,+ children: e.map((e) => /* @__PURE__ */ (0, V.jsx)("option", { value: e }, e))}) : null;}-function q({ candidate: e, selectable: t = !1 }) {+function W({ candidate: e, selectable: t = !1 }) {let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;- return /* @__PURE__ */ (0, W.jsxs)("span", {+ return /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col",- children: [/* @__PURE__ */ (0, W.jsxs)("span", {+ children: [/* @__PURE__ */ (0, V.jsxs)("span", {className: "relative flex min-w-0 flex-col gap-0.5 px-4 py-3 group-hover:bg-background-primary-hover group-data-selected:bg-background-primary-hover",children: [- /* @__PURE__ */ (0, W.jsxs)("b", {+ /* @__PURE__ */ (0, V.jsxs)("b", {className: "text-body-2-medium text-text-secondary",children: [e.source,@@ -144,35 +157,35 @@ function q({ candidate: e, selectable: t = !1 }) {r ? ` · ID ${r}` : ""]}),- /* @__PURE__ */ (0, W.jsx)("span", {+ /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-medium break-words text-text-primary",children: e.display_value || ""}),- (e.warnings || []).map((e) => /* @__PURE__ */ (0, W.jsx)("i", {+ (e.warnings || []).map((e) => /* @__PURE__ */ (0, V.jsx)("i", {className: "text-body-2-regular text-status-yellow-text",children: e}, e)),- t ? /* @__PURE__ */ (0, W.jsx)("span", {+ t ? /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": "true","data-candidate-choice": !0,className: "absolute top-4 right-4 inline-grid size-4 place-items-center rounded-full border border-border-checkbox-default bg-background-primary-default group-hover:border-border-checkbox-hover group-data-selected:border-border-focus-ring group-data-selected:bg-accent-600",- children: /* @__PURE__ */ (0, W.jsx)("span", { className: "size-1.5 rounded-full bg-text-white opacity-0 group-data-selected:opacity-100" })+ children: /* @__PURE__ */ (0, V.jsx)("span", { className: "size-1.5 rounded-full bg-text-white opacity-0 group-data-selected:opacity-100" })}) : null]- }), n.length ? /* @__PURE__ */ (0, W.jsx)("dl", {+ }), n.length ? /* @__PURE__ */ (0, V.jsx)("dl", {className: "flex flex-col gap-1 border-t border-separator-border bg-background-primary-default px-4 py-2.5",- children: n.map(([e, t]) => /* @__PURE__ */ (0, W.jsxs)("div", {+ children: n.map(([e, t]) => /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-wrap gap-x-2",children: [- /* @__PURE__ */ (0, W.jsx)("dt", {+ /* @__PURE__ */ (0, V.jsx)("dt", {className: "text-body-2-regular text-text-secondary",- children: G[e] || e+ children: H[e] || e}),- /* @__PURE__ */ (0, W.jsx)("dd", {+ /* @__PURE__ */ (0, V.jsx)("dd", {className: "min-w-0 text-body-2-regular break-words text-text-primary",children: t.display_value}),- (t.warnings || []).map((e) => /* @__PURE__ */ (0, W.jsx)("small", {+ (t.warnings || []).map((e) => /* @__PURE__ */ (0, V.jsx)("small", {className: "w-full text-caption-1-regular text-status-yellow-text",children: e}, e))@@ -181,56 +194,56 @@ function q({ candidate: e, selectable: t = !1 }) {}) : null]});}-function Oe({ row: e, fieldName: t, value: n, onChange: r, locked: o }) {+function Re({ row: e, fieldName: t, value: n, onChange: r, locked: o }) {let s = e.candidates || [];- return s.length ? s.length === 1 ? /* @__PURE__ */ (0, W.jsx)("div", {+ return s.length ? s.length === 1 ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",- children: /* @__PURE__ */ (0, W.jsx)(q, { candidate: s[0] })- }) : /* @__PURE__ */ (0, W.jsx)(i, {+ children: /* @__PURE__ */ (0, V.jsx)(W, { candidate: s[0] })+ }) : /* @__PURE__ */ (0, V.jsx)(i, {"aria-label": `${t || "资料"}的来源`,value: n,isDisabled: o,onChange: r,className: "flex flex-col gap-2",- children: s.map((e) => /* @__PURE__ */ (0, W.jsx)(a, {+ children: s.map((e) => /* @__PURE__ */ (0, V.jsx)(a, {value: e.candidate_key,className: "relative group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",- children: /* @__PURE__ */ (0, W.jsx)(q, {+ children: /* @__PURE__ */ (0, V.jsx)(W, {candidate: e,selectable: !0})}, e.candidate_key))}) : null;}-function ke({ genre: e, tags: t, locked: n, toast: r }) {- let [i, a] = (0, U.useState)(""), [s, c] = (0, U.useState)(""), l = Se({- mutationFn: (t) => pe(e, t),+function G({ genre: e, tags: t, locked: n, toast: r }) {+ let [i, a] = (0, B.useState)(""), [s, c] = (0, B.useState)(""), l = Me({+ mutationFn: (t) => F(e, t),onSuccess: async (t, n) => {- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await I()) : c(t.error || "服务端拒绝了这次收录");+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await ve()) : c(t.error || "服务端拒绝了这次收录");},onError: (e) => c(N(e))}), u = () => {let e = i.trim();e ? (c(""), l.mutate(e)) : c("先给它一个中文标签");};- return /* @__PURE__ */ (0, W.jsxs)("div", {+ return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, W.jsx)("b", {+ /* @__PURE__ */ (0, V.jsx)("b", {lang: "ja",className: "text-body-medium text-text-primary",children: e}),- /* @__PURE__ */ (0, W.jsx)(C, {+ /* @__PURE__ */ (0, V.jsx)(E, {"aria-label": `「${e}」收录成的中文标签`,value: i,onChange: a,maxLength: 40,isDisabled: n || l.isPending,className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, W.jsx)(h, {+ children: /* @__PURE__ */ (0, V.jsx)(h, {size: "small",- list: t.length ? K : void 0,+ list: t.length ? U : void 0,autoComplete: "off",placeholder: "中文标签",onKeyDown: (e) => {@@ -238,14 +251,14 @@ function ke({ genre: e, tags: t, locked: n, toast: r }) {}})}),- /* @__PURE__ */ (0, W.jsx)(o, {+ /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",disabled: n || l.isPending,onClick: u,children: "收录"}),- /* @__PURE__ */ (0, W.jsx)(o, {+ /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",disabled: n || l.isPending,@@ -254,7 +267,7 @@ function ke({ genre: e, tags: t, locked: n, toast: r }) {},children: "不是内容"}),- s ? /* @__PURE__ */ (0, W.jsx)("p", {+ s ? /* @__PURE__ */ (0, V.jsx)("p", {role: "status",className: "w-full text-body-2-regular text-text-error-primary",children: s@@ -262,22 +275,22 @@ function ke({ genre: e, tags: t, locked: n, toast: r }) {]});}-function J({ row: e, tags: t, locked: n, toast: r }) {- let i = F(e);- return i.length ? /* @__PURE__ */ (0, W.jsxs)("div", {+function ze({ row: e, tags: t, locked: n, toast: r }) {+ let i = _e(e);+ return i.length ? /* @__PURE__ */ (0, V.jsxs)("div", {role: "group","aria-label": "未收录 genre",className: "flex flex-col gap-2 rounded-surface border border-separator-border bg-background-primary-default px-4 py-3",- children: [/* @__PURE__ */ (0, W.jsx)("h5", {+ children: [/* @__PURE__ */ (0, V.jsx)("h5", {className: "text-body-2-medium text-text-secondary",children: `未收录 genre · ${i.length}`- }), /* @__PURE__ */ (0, W.jsx)("div", {+ }), /* @__PURE__ */ (0, V.jsx)("div", {role: "list",className: "flex flex-col",- children: i.map((e, i) => /* @__PURE__ */ (0, W.jsx)("div", {+ children: i.map((e, i) => /* @__PURE__ */ (0, V.jsx)("div", {role: "listitem",className: `py-3 first:pt-0 last:pb-0 ${i ? "border-t border-separator-border" : ""}`,- children: /* @__PURE__ */ (0, W.jsx)(ke, {+ children: /* @__PURE__ */ (0, V.jsx)(G, {genre: e,tags: t,locked: n,@@ -288,24 +301,24 @@ function J({ row: e, tags: t, locked: n, toast: r }) {}) : null;}// src/react/review/review-evidence.tsx-var Y = (e = "") => /^https?:\/\//i.test(e) ? e : "", Ae = (e = "") => Y(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function je({ url: e }) {- let t = Ae(e || "");- return /* @__PURE__ */ (0, W.jsx)(X, { source: t }, t);+var Be = (e = "") => /^https?:\/\//i.test(e) ? e : "", K = (e = "") => Be(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function q({ url: e }) {+ let t = K(e || "");+ return /* @__PURE__ */ (0, V.jsx)(Ve, { source: t }, t);}-function X({ source: e }) {- let [t, n] = (0, U.useState)("idle");- return (0, U.useEffect)(() => {+function Ve({ source: e }) {+ let [t, n] = (0, B.useState)("idle");+ return (0, B.useEffect)(() => {if (t !== "loading") return;let e = setTimeout(() => n("failed"), 3e4);return () => clearTimeout(e);- }, [t]), /* @__PURE__ */ (0, W.jsxs)("div", {+ }, [t]), /* @__PURE__ */ (0, V.jsxs)("div", {className: "relative flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",- children: [t === "loading" ? /* @__PURE__ */ (0, W.jsxs)("span", {+ children: [t === "loading" ? /* @__PURE__ */ (0, V.jsxs)("span", {role: "status",className: "absolute flex items-center gap-2 text-body-2-regular text-text-secondary",- children: [/* @__PURE__ */ (0, W.jsx)("span", { dangerouslySetInnerHTML: { __html: B("正在加载图片") } }), "正在加载图片"]- }) : null, e && (t === "loading" || t === "ready") ? /* @__PURE__ */ (0, W.jsx)("img", {+ children: [/* @__PURE__ */ (0, V.jsx)("span", { dangerouslySetInnerHTML: { __html: L("正在加载图片") } }), "正在加载图片"]+ }) : null, e && (t === "loading" || t === "ready") ? /* @__PURE__ */ (0, V.jsx)("img", {src: e,alt: "来源提供的备选图片",referrerPolicy: "no-referrer",@@ -313,48 +326,48 @@ function X({ source: e }) {className: `size-full object-contain ${t === "loading" ? "invisible" : ""}`,onLoad: () => n("ready"),onError: () => n("failed")- }) : e ? /* @__PURE__ */ (0, W.jsxs)("div", {+ }) : e ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col items-center gap-2",- children: [t === "failed" ? /* @__PURE__ */ (0, W.jsx)("span", {+ children: [t === "failed" ? /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: "未取得来源图片"- }) : null, /* @__PURE__ */ (0, W.jsx)(o, {+ }) : null, /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small","aria-label": t === "failed" ? "立即重试加载来源图片" : void 0,onClick: () => n("loading"),children: t === "failed" ? "立即重试" : "查看来源图片"})]- }) : /* @__PURE__ */ (0, W.jsx)("span", {+ }) : /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: "未取得来源图片"})]});}-function Z({ asset: e, openItem: t }) {+function He({ asset: e, openItem: t }) {let n = e.name || "";- return /* @__PURE__ */ (0, W.jsxs)("div", {+ return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",- children: [/* @__PURE__ */ (0, W.jsxs)("button", {+ children: [/* @__PURE__ */ (0, V.jsxs)("button", {type: "button",onClick: () => t(e.id),className: "flex aspect-card-cover w-review-cover-narrow shrink-0 review-tight:w-review-cover cursor-pointer items-center justify-center overflow-hidden rounded-2lg bg-background-tertiary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [e.preview_url ? /* @__PURE__ */ (0, W.jsx)("img", {+ children: [e.preview_url ? /* @__PURE__ */ (0, V.jsx)("img", {src: e.preview_url,alt: "",loading: "lazy",className: "size-full object-cover"- }) : /* @__PURE__ */ (0, W.jsx)("span", {+ }) : /* @__PURE__ */ (0, V.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: "无封面"- }), /* @__PURE__ */ (0, W.jsx)(r, { children: `打开原视频 ${n}` })]- }), /* @__PURE__ */ (0, W.jsxs)("div", {+ }), /* @__PURE__ */ (0, V.jsx)(r, { children: `打开原视频 ${n}` })]+ }), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-1",- children: [/* @__PURE__ */ (0, W.jsx)("b", {+ children: [/* @__PURE__ */ (0, V.jsx)("b", {title: n,className: "w-full truncate text-body-medium text-text-primary",children: e.code || n || "原视频"- }), /* @__PURE__ */ (0, W.jsx)(o, {+ }), /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",leadingIcon: te,@@ -364,91 +377,91 @@ function Z({ asset: e, openItem: t }) {})]});}-function Me({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {- return /* @__PURE__ */ (0, W.jsxs)("div", {+function J({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+ return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 items-center gap-3",- children: [/* @__PURE__ */ (0, W.jsx)("button", {+ children: [/* @__PURE__ */ (0, V.jsx)("button", {type: "button","aria-label": `打开创作者页:${t}`,onClick: () => i(e, t),- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${H}`,+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${z}`,dangerouslySetInnerHTML: { __html: r }- }), /* @__PURE__ */ (0, W.jsxs)("div", {+ }), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-col items-start",- children: [/* @__PURE__ */ (0, W.jsx)("button", {+ children: [/* @__PURE__ */ (0, V.jsx)("button", {type: "button",onClick: () => i(e, t),className: "max-w-full cursor-pointer truncate text-body-medium text-text-primary underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: t- }), n ? /* @__PURE__ */ (0, W.jsx)("small", {+ }), n ? /* @__PURE__ */ (0, V.jsx)("small", {className: "tabular-nums text-body-2-regular text-text-secondary",children: `${n.toLocaleString()} 部作品`}) : null]})]});}-function Ne({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let c = Y(e.profile_url || ""), l = (e.preview_assets || []).slice(0, 6), u = Math.max(0, Number(e.video_count || e.videos || 0));- return /* @__PURE__ */ (0, W.jsxs)("section", {+function Y({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let c = Be(e.profile_url || ""), l = (e.preview_assets || []).slice(0, 6), u = Math.max(0, Number(e.video_count || e.videos || 0));+ return /* @__PURE__ */ (0, V.jsxs)("section", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, W.jsx)("h5", {+ /* @__PURE__ */ (0, V.jsx)("h5", {className: "text-body-medium text-text-primary",children: `待确认人物:${e.babepedia_name || "未标注"}`}),- /* @__PURE__ */ (0, W.jsxs)("div", {+ /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [c ? /* @__PURE__ */ (0, W.jsx)(s, {+ children: [c ? /* @__PURE__ */ (0, V.jsx)(s, {variant: "secondary",size: "small",- trailingIcon: w,+ trailingIcon: D,href: c,target: "_blank",rel: "noopener noreferrer",children: "来源资料"- }) : null, /* @__PURE__ */ (0, W.jsx)(o, {+ }) : null, /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",onClick: () => n("creator", e.creator || ""),children: `查看全部 ${u.toLocaleString()} 部作品`})]}),- /* @__PURE__ */ (0, W.jsx)(je, { url: e.preview_url }),- /* @__PURE__ */ (0, W.jsx)("p", {+ /* @__PURE__ */ (0, V.jsx)(q, { url: e.preview_url }),+ /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "通过后记录身份判断。"}),- l.length ? /* @__PURE__ */ (0, W.jsxs)(W.Fragment, { children: [/* @__PURE__ */ (0, W.jsx)("h5", {+ l.length ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("h5", {className: "text-body-medium text-text-primary",children: "本地作品样本"- }), /* @__PURE__ */ (0, W.jsx)("ul", {+ }), /* @__PURE__ */ (0, V.jsx)("ul", {className: "flex flex-col gap-1",- children: l.map((e) => /* @__PURE__ */ (0, W.jsxs)("li", {+ children: l.map((e) => /* @__PURE__ */ (0, V.jsxs)("li", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, W.jsx)(o, {+ children: [/* @__PURE__ */ (0, V.jsx)(o, {variant: "ghost",size: "small",className: "min-w-0",onClick: () => t(e.id),- children: /* @__PURE__ */ (0, W.jsx)("span", {+ children: /* @__PURE__ */ (0, V.jsx)("span", {title: e.name,className: "block max-w-full truncate",children: e.name})- }), /* @__PURE__ */ (0, W.jsx)(o, {+ }), /* @__PURE__ */ (0, V.jsx)(o, {variant: "ghost",size: "small","aria-label": `打开 ${e.name} 的文件位置`,- ...D(i === e.id),+ ...k(i === e.id),onClick: () => r(e.id),children: "文件位置"})]}, e.id))- })] }) : /* @__PURE__ */ (0, W.jsx)("p", {+ })] }) : /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "暂无本地作品样本,打开全部作品核对。"}),- a ? /* @__PURE__ */ (0, W.jsx)("p", {+ a ? /* @__PURE__ */ (0, V.jsx)("p", {role: "status",className: "text-body-2-regular text-text-error-primary",children: a@@ -456,8 +469,8 @@ function Ne({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, not]});}-function Pe({ assets: e, picked: t, onPicked: n, locked: i }) {- let [a, o] = (0, U.useState)(null), s = new Set(t), c = (t, r) => {+function Ue({ assets: e, picked: t, onPicked: n, locked: i }) {+ let [a, o] = (0, B.useState)(null), s = new Set(t), c = (t, r) => {if (i) return;let c = new Set(s);if (r && a !== null) {@@ -469,10 +482,10 @@ function Pe({ assets: e, picked: t, onPicked: n, locked: i }) {}o(t), n(e.filter((e) => c.has(e.id)).map((e) => e.id));};- return /* @__PURE__ */ (0, W.jsxs)("div", {+ return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, W.jsx)(x, {- prefix: /* @__PURE__ */ (0, W.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(w, {+ prefix: /* @__PURE__ */ (0, V.jsx)("span", {className: "tabular-nums text-body-2-regular text-text-secondary",children: `已选 ${s.size} / ${e.length}`}),@@ -485,26 +498,26 @@ function Pe({ assets: e, picked: t, onPicked: n, locked: i }) {disabled: i,onPress: () => n([])}]- }), /* @__PURE__ */ (0, W.jsx)("div", {+ }), /* @__PURE__ */ (0, V.jsx)("div", {className: "review-asset-grid gap-1.5",children: e.map((e, t) => {let n = s.has(e.id);- return /* @__PURE__ */ (0, W.jsxs)("button", {+ return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","aria-pressed": n,title: e.name,onClick: (e) => c(t, e.shiftKey),className: `relative aspect-card-cover cursor-pointer overflow-hidden rounded-surface bg-background-tertiary-default outline-none transition-opacity focus-visible:ring-2 focus-visible:ring-border-focus-ring ${n ? "opacity-100 ring-2 ring-border-button-active ring-inset" : "opacity-50"}`,children: [- /* @__PURE__ */ (0, W.jsx)("img", {+ /* @__PURE__ */ (0, V.jsx)("img", {src: `/poster?id=${e.id}&c=4`,alt: "",loading: "lazy",className: "size-full object-cover"}),- /* @__PURE__ */ (0, W.jsx)("span", {+ /* @__PURE__ */ (0, V.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, W.jsx)(l, {+ children: /* @__PURE__ */ (0, V.jsx)(l, {size: "sm",state: {isSelected: n,@@ -515,7 +528,7 @@ function Pe({ assets: e, picked: t, onPicked: n, locked: i }) {}})}),- /* @__PURE__ */ (0, W.jsx)(r, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })+ /* @__PURE__ */ (0, V.jsx)(r, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })]}, e.id);})@@ -523,40 +536,40 @@ function Pe({ assets: e, picked: t, onPicked: n, locked: i }) {});}// src/react/review/review-card.tsx-var Q = O({+var We = A({variant: "outlined",padding: "none",className: "flex flex-col gap-4 px-5 pt-4"-}), $ = "flex min-h-6 min-w-0 items-center", Fe = 2, Ie = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function Le(e) {- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: s, locked: l, busy: d, problem: m, genreTags: te, onDecide: h, handlers: g } = e, _ = (0, U.useRef)(!1), v = V(), ne = V(), y = t === "metadata_fields", b = f[t] || "", x = String(n.creator || "").trim(), S = !!b && !!x, C = z(t, n), w = ve(t, n), T = ye(t, n), O = _e(n), k = R(n), A = re(t, n), j = n.comparison_assets || [], ie = n.preview_assets || [], ae = String(n.decision || "pending") !== "pending", M = j.length > 1 ? /* @__PURE__ */ (0, W.jsxs)("div", {+}), X = "flex min-h-6 min-w-0 items-center", Z = 2, Ge = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function Ke(e) {+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: s, locked: l, busy: d, problem: m, genreTags: te, onDecide: h, handlers: g, queueView: _ = "pending" } = e, v = (0, B.useRef)(!1), y = R(), ne = R(), re = t === "metadata_fields", ie = f[t] || "", x = String(n.creator || "").trim(), S = !!ie && !!x, C = Oe(t, n), w = Te(t, n), T = Ee(t, n), E = we(n), D = De(n), O = oe(t, n), A = n.comparison_assets || [], j = n.preview_assets || [], se = b[n.decision || ""], M = A.length > 1 ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-3",- children: [j.slice(0, Fe).map((e) => /* @__PURE__ */ (0, W.jsx)(Z, {+ children: [A.slice(0, Z).map((e) => /* @__PURE__ */ (0, V.jsx)(He, {asset: e,openItem: g.openItem- }, e.id)), j.length > Fe ? /* @__PURE__ */ (0, W.jsx)("p", {+ }, e.id)), A.length > Z ? /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: `另有 ${(j.length - Fe).toLocaleString()} 部对照作品`+ children: `另有 ${(A.length - Z).toLocaleString()} 部对照作品`}) : null]- }) : S ? /* @__PURE__ */ (0, W.jsx)(Me, {- kind: b,+ }) : S ? /* @__PURE__ */ (0, V.jsx)(J, {+ kind: ie,name: x,works: Number(n.video_count || n.videos || 0),openEntity: g.openEntity,- avatar: E(x, n.entity_id ? {+ avatar: ae(x, n.entity_id ? {id: n.entity_id,has_image: !!n.has_image,image_version: n.image_version,avatar_focus: n.avatar_focus- } : null, null, b)- }) : n.asset_id ? /* @__PURE__ */ (0, W.jsx)(Z, {+ } : null, null, ie)+ }) : n.asset_id ? /* @__PURE__ */ (0, V.jsx)(He, {openItem: g.openItem,asset: {id: n.asset_id,name: n.asset_name,preview_url: n.asset_preview_url}- }) : null, N = y ? /* @__PURE__ */ (0, W.jsx)(Oe, {+ }) : null, ce = re ? /* @__PURE__ */ (0, V.jsx)(Re, {row: n,fieldName: w,value: r.candidateKey,@@ -565,161 +578,168 @@ function Le(e) {candidateKey: e}),locked: l- }) : t === "creator_tags" ? ie.length ? /* @__PURE__ */ (0, W.jsx)(Pe, {- assets: ie,+ }) : t === "creator_tags" ? j.length ? /* @__PURE__ */ (0, V.jsx)(Ue, {+ assets: j,picked: r.assets,locked: l,onPicked: (e) => i({...r,assets: e})- }) : /* @__PURE__ */ (0, W.jsx)(p, {+ }) : /* @__PURE__ */ (0, V.jsx)(p, {size: "compact",icon: ee,title: "这批作品尚未抽帧",children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按所选资料写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, W.jsx)(Ne, {+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, V.jsx)(Y, {row: n,openItem: g.openItem,openEntity: g.openEntity,onReveal: g.onReveal,revealing: g.revealing,note: g.revealNote- }) : /* @__PURE__ */ (0, W.jsx)(je, { url: n.preview_url }), oe = S ? M : w ? /* @__PURE__ */ (0, W.jsxs)("h4", {- className: `${$} flex-wrap gap-2`,- children: [/* @__PURE__ */ (0, W.jsx)("span", {+ }) : /* @__PURE__ */ (0, V.jsx)(q, { url: n.preview_url }), le = S ? M : w ? /* @__PURE__ */ (0, V.jsxs)("h4", {+ className: `${X} flex-wrap gap-2`,+ children: [/* @__PURE__ */ (0, V.jsx)("span", {title: w,className: "flex max-w-full min-w-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, W.jsx)(u, {+ children: /* @__PURE__ */ (0, V.jsx)(u, {variant: "caption",color: "blue",children: w})- }), /* @__PURE__ */ (0, W.jsx)("span", {+ }), /* @__PURE__ */ (0, V.jsx)("span", {title: T,className: "min-w-0 truncate text-body-medium text-text-primary",children: T})]- }) : /* @__PURE__ */ (0, W.jsx)("h4", {- className: $,- children: /* @__PURE__ */ (0, W.jsx)("span", {+ }) : /* @__PURE__ */ (0, V.jsx)("h4", {+ className: X,+ children: /* @__PURE__ */ (0, V.jsx)("span", {title: C,className: "min-w-0 truncate text-body-medium text-text-primary",children: C})});- return /* @__PURE__ */ (0, W.jsxs)("section", {+ return /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": C,"data-review-key": n.item_key,- className: `${Q} ${Ie(t)} overflow-hidden`,+ className: `${We} ${Ge(t)} overflow-hidden`,children: [- /* @__PURE__ */ (0, W.jsxs)("header", {+ /* @__PURE__ */ (0, V.jsxs)("header", {className: "flex min-w-0 shrink-0 items-start gap-2",children: [- l ? null : /* @__PURE__ */ (0, W.jsx)("span", {- className: `${$} shrink-0`,+ l ? null : /* @__PURE__ */ (0, V.jsx)("span", {+ className: `${X} shrink-0`,onPointerDownCapture: (e) => {- _.current = e.shiftKey;+ v.current = e.shiftKey;},onKeyDownCapture: (e) => {- _.current = e.shiftKey;+ v.current = e.shiftKey;},- children: /* @__PURE__ */ (0, W.jsx)(c, {+ children: /* @__PURE__ */ (0, V.jsx)(c, {isSelected: a,"aria-label": `选择 ${C}`,- onChange: (e) => s(_.current, e)+ onChange: (e) => s(v.current, e)})}),- /* @__PURE__ */ (0, W.jsx)("div", {+ /* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-0 flex-1",- children: oe+ children: le}),- ae ? /* @__PURE__ */ (0, W.jsx)(u, {+ se ? /* @__PURE__ */ (0, V.jsx)(u, {variant: "caption",color: "neutral",- children: n.decision+ children: se}) : null]}),- /* @__PURE__ */ (0, W.jsx)("div", {+ /* @__PURE__ */ (0, V.jsx)("div", {className: "relative flex min-w-0 min-h-0 flex-1 flex-col",- children: /* @__PURE__ */ (0, W.jsxs)("div", {- ref: v,+ children: /* @__PURE__ */ (0, V.jsxs)("div", {+ ref: y,className: "flex min-w-0 min-h-0 flex-1 flex-col gap-3 overflow-y-auto",children: [- n.source_name ? /* @__PURE__ */ (0, W.jsx)("p", {+ n.source_name ? /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: `来源写法:${n.source_name}`}) : null,- !S && (n.board || n.assets) ? /* @__PURE__ */ (0, W.jsx)("p", {+ !S && (n.board || n.assets) ? /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: `对照文件:${Number(n.video_count || n.assets || 0).toLocaleString()}`}) : null,!S && M ? M : null,- k.length || t === "creator_tags" ? /* @__PURE__ */ (0, W.jsx)("div", {+ D.length || t === "creator_tags" ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex flex-wrap gap-1",- children: k.length ? k.map((e) => /* @__PURE__ */ (0, W.jsx)(u, {+ children: D.length ? D.map((e) => /* @__PURE__ */ (0, V.jsx)(u, {variant: "caption",color: "soft",children: e- }, e)) : /* @__PURE__ */ (0, W.jsx)("small", {+ }, e)) : /* @__PURE__ */ (0, V.jsx)("small", {className: "text-body-2-regular text-text-secondary",children: "暂无待确认标签"})}) : null,- N,- /* @__PURE__ */ (0, W.jsx)(J, {+ ce,+ /* @__PURE__ */ (0, V.jsx)(ze, {row: n,tags: te,locked: l,toast: g.toast}),- !y && O ? /* @__PURE__ */ (0, W.jsx)("p", {+ !re && E ? /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary wrap-anywhere",- children: O+ children: E}) : null]})}),- y && O ? /* @__PURE__ */ (0, W.jsx)("div", {+ re && E ? /* @__PURE__ */ (0, V.jsx)("div", {className: "relative -mx-5 -mb-4 shrink-0",- children: /* @__PURE__ */ (0, W.jsx)("p", {+ children: /* @__PURE__ */ (0, V.jsx)("p", {ref: ne,role: "region","aria-label": "当前信息",className: "max-h-22 overflow-y-auto border-t border-separator-border px-5 py-2.5 text-body-2-regular text-text-secondary wrap-anywhere",- children: O+ children: E})}) : null,- /* @__PURE__ */ (0, W.jsxs)("footer", {+ /* @__PURE__ */ (0, V.jsxs)("footer", {className: "-mx-5 flex min-h-14 shrink-0 flex-wrap items-center justify-end gap-2 rounded-b-surface border-t border-separator-border bg-background-secondary-default py-3 pr-3 pl-5",children: [- /* @__PURE__ */ (0, W.jsx)(o, {- variant: "danger",+ _ === "ignored" ? null : /* @__PURE__ */ (0, V.jsx)(o, {+ variant: "ghost",size: "small",disabled: l,- ...D(d),+ ...k(d),onClick: () => h("rejected"),- children: "拒绝"+ children: "忽略"}),- /* @__PURE__ */ (0, W.jsx)(o, {+ _ === "pending" ? /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",disabled: l,- ...D(d),+ ...k(d),onClick: () => h("skipped"),- children: "跳过"+ children: "稍后处理"+ }) : /* @__PURE__ */ (0, V.jsx)(o, {+ variant: _ === "ignored" ? "primary" : "secondary",+ size: "small",+ disabled: l,+ ...k(d),+ onClick: () => h("restore"),+ children: "恢复待处理"}),- /* @__PURE__ */ (0, W.jsx)(o, {+ _ === "ignored" ? null : /* @__PURE__ */ (0, V.jsx)(o, {variant: "primary",size: "small",- disabled: l || !A,- ...D(d),- title: A ? void 0 : "没有可采用的资料,只能拒绝或跳过",+ disabled: l || !O,+ ...k(d),+ title: O ? void 0 : "没有可采用的资料,可先保留或忽略",onClick: () => h("approved"),- children: A ? "通过" : "不可通过"+ children: O ? "通过" : "不可通过"}),- m ? /* @__PURE__ */ (0, W.jsx)("p", {+ m ? /* @__PURE__ */ (0, V.jsx)("p", {role: "status",className: "w-full text-body-2-regular text-text-error-primary",children: m@@ -730,27 +750,27 @@ function Le(e) {});}// src/react/review/review-page.tsx-var Re = "flex cursor-pointer items-center justify-between gap-2";-function ze({ page: e, pages: t, onPage: n }) {- return t <= 1 ? null : /* @__PURE__ */ (0, W.jsxs)("nav", {+var qe = "flex cursor-pointer items-center justify-between gap-2";+function Je({ page: e, pages: t, onPage: n }) {+ return t <= 1 ? null : /* @__PURE__ */ (0, V.jsxs)("nav", {"aria-label": "复核分页","data-pagination-layout": "",className: "inline-grid w-full min-w-0 items-center gap-2",children: [- /* @__PURE__ */ (0, W.jsx)(o, {+ /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",disabled: e <= 1,onClick: () => n(e - 1),children: "上一页"}),- /* @__PURE__ */ (0, W.jsx)("ul", {+ /* @__PURE__ */ (0, V.jsx)("ul", {className: "flex min-w-0 flex-wrap items-center justify-center gap-1",- children: fe(e, t).map((t, r) => /* @__PURE__ */ (0, W.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, W.jsx)("span", {+ children: P(e, t).map((t, r) => /* @__PURE__ */ (0, V.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,className: "px-1 text-body-2-regular text-text-tertiary",children: "…"- }) : /* @__PURE__ */ (0, W.jsx)(o, {+ }) : /* @__PURE__ */ (0, V.jsx)(o, {variant: t === e ? "secondary" : "ghost",size: "small","aria-label": `第 ${t} 页`,@@ -759,7 +779,7 @@ function ze({ page: e, pages: t, onPage: n }) {children: t}) }, t === "…" ? `dots-${r}` : t))}),- /* @__PURE__ */ (0, W.jsx)(o, {+ /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",disabled: e >= t,@@ -769,234 +789,308 @@ function ze({ page: e, pages: t, onPage: n }) {]});}-function Be(r) {- let [i, a] = (0, U.useState)(() => matchMedia("(max-width:900px)").matches);- (0, U.useEffect)(() => {+function Q(r) {+ let [i, a] = (0, B.useState)(() => matchMedia("(max-width:900px)").matches);+ (0, B.useEffect)(() => {let e = matchMedia("(max-width:900px)"), t = () => a(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let { route: s, openItem: c, openEntity: l, revealSource: u, toast: f, readOnly: ee, readOnlyMessage: te, writerUrl: h } = r, [y, b] = (0, U.useState)(le(r.category) ? r.category : d), [x, S] = (0, U.useState)("candidates"), [C, w] = (0, U.useState)(""), [T, E] = (0, U.useState)(1), [D, O] = (0, U.useState)(/* @__PURE__ */ new Set()), [k, P] = (0, U.useState)(/* @__PURE__ */ new Map()), [fe, F] = (0, U.useState)(/* @__PURE__ */ new Map()), [pe, I] = (0, U.useState)(""), L = (0, U.useRef)(null), [me, _e] = (0, U.useState)(0), [ve, ye] = (0, U.useState)(""), R = (0, U.useRef)(!0);- (0, U.useEffect)(() => () => {- R.current = !1;+ let { route: s, openItem: c, openEntity: l, revealSource: u, toast: f, readOnly: ee, readOnlyMessage: te, writerUrl: h } = r, [b, S] = (0, B.useState)(pe(r.category) ? r.category : d), [C, w] = (0, B.useState)(() => Se(r.queue)), [T, E] = (0, B.useState)("candidates"), [D, O] = (0, B.useState)(""), [ae, k] = (0, B.useState)(1), [A, j] = (0, B.useState)(/* @__PURE__ */ new Set()), [me, P] = (0, B.useState)(/* @__PURE__ */ new Map()), [_e, F] = (0, B.useState)(/* @__PURE__ */ new Map()), [ve, I] = (0, B.useState)(""), ye = (0, B.useRef)(null), [we, Te] = (0, B.useState)(0), [Ee, De] = (0, B.useState)(""), Oe = (0, B.useRef)(!0);+ (0, B.useEffect)(() => () => {+ Oe.current = !1;}, []);- let z = Ce({- queryKey: v,- queryFn: ({ signal: e }) => oe(e)- }), B = z.data || {+ let L = Ne({+ queryKey: ne,+ queryFn: ({ signal: e }) => ue(e)+ }), R = L.data || {sections: {},- counts: {}- }, V = B.sections[y] || [], H = y === "metadata_fields", G = ee, K = he(V, H), q = K.some(([e]) => e === x) ? x : "candidates", Oe = ce(V, q), ke = Oe.some((e) => e.key === C) ? C : "", J = ge(se(V, q, ke), T), Y = J.rows.map((e) => e.item_key), Ae = new Set(Y), je = Oe.map((e) => ({+ counts: {},+ queues: {+ later: {+ sections: {},+ counts: {}+ },+ ignored: {+ sections: {},+ counts: {}+ }+ }+ }, z = xe(R, C), H = z.sections[b] || [], U = b === "metadata_fields", W = ee;+ (0, B.useEffect)(() => {+ let e = new Set(H.map((e) => e.item_key));+ j((t) => {+ let n = [...t].filter((t) => e.has(t));+ return n.length === t.size ? t : new Set(n);+ }), P((t) => {+ let n = [...t].filter(([t]) => e.has(t));+ return n.length === t.size ? t : new Map(n);+ }), F((t) => {+ let n = [...t].filter(([t]) => e.has(t));+ return n.length === t.size ? t : new Map(n);+ });+ }, [H]);+ let Re = be(H, U), G = Re.some(([e]) => e === T) ? T : "candidates", ze = fe(H, G), Be = ze.some((e) => e.key === D) ? D : "", K = Ce(de(H, G, Be), ae), q = K.rows.map((e) => e.item_key), Ve = new Set(q), He = ze.map((e) => ({...e,- rows: e.rows.filter((e) => Ae.has(e.item_key))- })).filter((e) => e.rows.length), X = (e) => k.get(e.item_key) || ae(e), Z = V.filter((e) => D.has(e.item_key)), Me = (e) => {+ rows: e.rows.filter((e) => Ve.has(e.item_key))+ })).filter((e) => e.rows.length), J = (e) => me.get(e.item_key) || le(e), Y = H.filter((e) => A.has(e.item_key)), Ue = (e) => {let t = new Set(e);- O((e) => new Set([...e].filter((e) => !t.has(e)))), P((e) => new Map([...e].filter(([e]) => !t.has(e)))), F((e) => new Map([...e].filter(([e]) => !t.has(e))));- }, Ne = (e, t) => F((n) => new Map(n).set(e, t)), Pe = (e) => {- b(e), S("candidates"), w(""), E(1), O(/* @__PURE__ */ new Set()), P(/* @__PURE__ */ new Map()), F(/* @__PURE__ */ new Map()), I(""), L.current = null, s({ category: e === "metadata_fields" ? "" : e });- }, Q = Se({- mutationFn: ({ row: e, status: t }) => xe(j(y, A(y, e), t, X(e))),- onSuccess: (e, { row: t, status: n }) => {- e.ok ? (M(y, [t.item_key]), Me([t.item_key]), f(ie(n))) : Ne(t.item_key, e.error || "服务端拒绝了这次判定");+ j((e) => new Set([...e].filter((e) => !t.has(e)))), P((e) => new Map([...e].filter(([e]) => !t.has(e)))), F((e) => new Map([...e].filter(([e]) => !t.has(e))));+ }, We = (e, t) => F((n) => new Map(n).set(e, t)), X = () => {+ E("candidates"), O(""), k(1), j(/* @__PURE__ */ new Set()), P(/* @__PURE__ */ new Map()), F(/* @__PURE__ */ new Map()), I(""), ye.current = null;+ }, Z = (e) => {+ S(e), X(), s({+ category: e === "metadata_fields" ? "" : e,+ queue: C === "pending" ? "" : C+ });+ }, Ge = (e) => {+ w(e), X(), s({+ category: b === "metadata_fields" ? "" : b,+ queue: e === "pending" ? "" : e+ });+ }, Q = Me({+ mutationFn: ({ row: e, status: t, category: n }) => je(M(n, se(n, e), t, J(e))),+ onSuccess: (e, { row: t, status: n, category: r }) => {+ e.ok ? (Ae(r, [t.item_key], n), Ue([t.item_key]), f(ce(n))) : We(t.item_key, e.error || "服务端拒绝了这次判定");},- onError: (e, { row: t }) => Ne(t.item_key, N(e))- }), $ = Se({- mutationFn: async (e) => {- let t = Z, n = [], r = [];- for (let [i, a] of t.entries()) {- if (!R.current) break;- I(`正在处理 ${i} / ${t.length}`);+ onError: (e, { row: t }) => We(t.item_key, N(e))+ }), $ = Me({+ mutationFn: async ({ status: e, category: t, rows: n }) => {+ let r = [], i = [];+ for (let [a, o] of n.entries()) {+ if (!Oe.current) break;+ I(`正在处理 ${a} / ${n.length}`);try {- let t = await xe(j(y, A(y, a), e, X(a)));- if (!t.ok) throw Error(t.error || "服务端未采用该项");- n.push(a.item_key);+ let n = await je(M(t, se(t, o), e, J(o)));+ if (!n.ok) throw Error(n.error || "服务端未采用该项");+ r.push(o.item_key);} catch (e) {- r.push([a.item_key, N(e)]);+ i.push([o.item_key, N(e)]);}}return {status: e,- done: n,- failures: r+ category: t,+ done: r,+ failures: i};},- onSuccess: ({ status: e, done: t, failures: n }) => {- M(y, t), Me(t), n.forEach(([e, t]) => Ne(e, t)), I(""), f(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));+ onSuccess: ({ status: e, category: t, done: n, failures: r }) => {+ Ae(t, n, e), Ue(n), r.forEach(([e, t]) => We(e, t)), I("");+ let i = {+ approved: "通过",+ rejected: "忽略",+ skipped: "移至稍后处理",+ restore: "恢复待处理"+ }[e];+ f(`已${i} ${n.length} 项` + (r.length ? `,${r.length} 项未完成` : ""));},onError: (e) => {I(N(e));}- }), Fe = (e) => {- !$.isPending && Z.length && (e === "approved" && H && Z.some((e) => !X(e).candidateKey) ? I("请先为所选资料选择要采用的来源。") : (I(""), $.mutate(e)));- }, Ie = (e) => {+ }), Ye = (e) => {+ !$.isPending && Y.length && (e === "approved" && U && Y.some((e) => !J(e).candidateKey) ? I("请先为所选资料选择要采用的来源。") : (I(""), $.mutate({+ status: e,+ category: b,+ rows: Y+ })));+ }, Xe = (e) => {P((t) => {let n = new Map(t);- for (let t of Z) {+ for (let t of Y) {let r = t.candidates?.find((t) => t.source === e);r && n.set(t.item_key, {- ...X(t),+ ...J(t),candidateKey: r.candidate_key});}return n;}), I(`已选择 ${e},点击通过所选采用。`);- }, Be = async (e) => {- if (me) return;- _e(e), ye("");+ }, Ze = async (e) => {+ if (we) return;+ Te(e), De("");let t = await u(e);- R.current && (_e(0), ye(t));- }, Ve = de(B.mirror, te), He = B.genre_tags || [], Ue = {+ Oe.current && (Te(0), De(t));+ }, Qe = ge(R.mirror, te), $e = R.genre_tags || [], et = {openItem: c,openEntity: l,- onReveal: Be,- revealing: me,- revealNote: ve,+ onReveal: Ze,+ revealing: we,+ revealNote: Ee,toast: f};- return /* @__PURE__ */ (0, W.jsx)(we, { children: /* @__PURE__ */ (0, W.jsxs)("div", {+ return /* @__PURE__ */ (0, V.jsx)(Pe, { children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-5 pb-10",children: [- G ? /* @__PURE__ */ (0, W.jsx)(g, {+ W ? /* @__PURE__ */ (0, V.jsx)(g, {tone: "warning",title: "本机只能浏览",- extra: h ? /* @__PURE__ */ (0, W.jsx)("p", {+ extra: h ? /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular",- children: /* @__PURE__ */ (0, W.jsx)(m, {+ children: /* @__PURE__ */ (0, V.jsx)(m, {href: h,children: "前往写入端复核"})}) : void 0,- children: Ve+ children: Qe}) : null,- /* @__PURE__ */ (0, W.jsx)(De, { tags: He }),- /* @__PURE__ */ (0, W.jsxs)(n, {+ /* @__PURE__ */ (0, V.jsx)(Le, { tags: $e }),+ /* @__PURE__ */ (0, V.jsx)(v, {+ "aria-label": "复核状态",+ "data-pill-nav": "",+ className: "flex w-fit max-w-full flex-nowrap gap-1 overflow-x-auto",+ children: ie.map((e) => /* @__PURE__ */ (0, V.jsxs)(_, {+ variant: "gray",+ isSelected: C === e,+ disabled: Q.isPending || $.isPending,+ onSelect: () => {+ e !== C && Ge(e);+ },+ children: [+ /* @__PURE__ */ (0, V.jsx)("span", {+ "data-copy-key": `review.queue.${e}`,+ children: x[e]+ }),+ " ",+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "tabular-nums text-caption-1-medium text-text-secondary",+ children: L.data ? y.reduce((t, n) => t + Number(xe(R, e).counts[n] || 0), 0).toLocaleString() : "…"+ })+ ]+ }, e))+ }),+ /* @__PURE__ */ (0, V.jsxs)(n, {orientation: i ? "horizontal" : "vertical",- selectedKey: y,+ selectedKey: b,onSelectionChange: (e) => {let t = String(e);- le(t) && Pe(t);+ pe(t) && Z(t);},className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",- children: [/* @__PURE__ */ (0, W.jsxs)("div", {+ children: [/* @__PURE__ */ (0, V.jsxs)("div", {"data-section-nav": !0,className: "w-full min-w-0 review-split:sticky review-split:top-topbar review-split:w-review-tabs review-split:shrink-0",- children: [/* @__PURE__ */ (0, W.jsx)("h2", {+ children: [/* @__PURE__ */ (0, V.jsx)("h2", {id: "reviewcategories",children: "复核分类"- }), /* @__PURE__ */ (0, W.jsx)(Te, {+ }), /* @__PURE__ */ (0, V.jsx)(Fe, {scrollable: i,"aria-labelledby": "reviewcategories","data-section-items": !0,className: "flex review-split:flex-col review-split:items-stretch",- children: _.map((e) => {- let n = Number(B.counts[e] || 0);- return /* @__PURE__ */ (0, W.jsxs)(t, {+ children: y.map((e) => {+ let n = Number(z.counts[e] || 0);+ return /* @__PURE__ */ (0, V.jsxs)(t, {id: e,- className: Re,- "data-pill-selected": y === e ? "" : void 0,+ className: qe,+ isDisabled: Q.isPending || $.isPending,+ "data-pill-selected": b === e ? "" : void 0,"data-pill-variant": "gray",- children: [ne[e], n ? /* @__PURE__ */ (0, W.jsx)("span", {+ children: [re[e], n ? /* @__PURE__ */ (0, V.jsx)("span", {className: "tabular-nums text-caption-1-medium text-text-secondary",children: n.toLocaleString()}) : null]}, e);})})]- }), /* @__PURE__ */ (0, W.jsxs)(e, {- id: y,+ }), /* @__PURE__ */ (0, V.jsxs)(e, {+ id: b,className: "flex min-w-0 flex-1 flex-col gap-5",children: [- V.length && !G ? /* @__PURE__ */ (0, W.jsx)(Ee, {- groupOptions: K,- groupBy: q,+ H.length && !W ? /* @__PURE__ */ (0, V.jsx)(Ie, {+ queueView: C,+ groupOptions: Re,+ groupBy: G,onGroupBy: (e) => {- S(e), w(""), E(1);+ E(e), O(""), k(1);},- groups: Oe,- filter: ke,+ groups: ze,+ filter: Be,onFilter: (e) => {- w(e), E(1);+ O(e), k(1);},- pageKeys: Y,- selected: D,- onSelected: O,- selectedRows: Z,- metadata: H,- approvable: Z.every((e) => re(y, e)),- busy: $.isPending,- feedback: pe,- onUnifySource: Ie,- onRun: Fe+ pageKeys: q,+ selected: A,+ onSelected: j,+ selectedRows: Y,+ metadata: U,+ approvable: Y.every((e) => oe(b, e)),+ busy: $.isPending || Q.isPending,+ feedback: ve,+ onUnifySource: Xe,+ onRun: Ye}) : null,- J.rows.length ? je.map((e) => /* @__PURE__ */ (0, W.jsxs)("section", {+ K.rows.length ? He.map((e) => /* @__PURE__ */ (0, V.jsxs)("section", {className: "flex flex-col gap-3",- children: [je.length > 1 || q !== "candidates" ? /* @__PURE__ */ (0, W.jsxs)("div", {+ children: [He.length > 1 || G !== "candidates" ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, W.jsx)("h3", {+ children: [/* @__PURE__ */ (0, V.jsx)("h3", {className: "text-body-medium text-text-primary",children: `${e.title} · ${e.rows.length}`- }), G ? null : /* @__PURE__ */ (0, W.jsx)(o, {+ }), W ? null : /* @__PURE__ */ (0, V.jsx)(o, {variant: "ghost",size: "small",onClick: () => {- let t = e.rows.map((e) => e.item_key), n = t.every((e) => D.has(e)), r = new Set(D);+ let t = e.rows.map((e) => e.item_key), n = t.every((e) => A.has(e)), r = new Set(A);for (let e of t) n ? r.delete(e) : r.add(e);- O(r);+ j(r);},- children: e.rows.every((e) => D.has(e.item_key)) ? "清空本组" : "全选本组"+ children: e.rows.every((e) => A.has(e.item_key)) ? "清空本组" : "全选本组"})]- }) : null, /* @__PURE__ */ (0, W.jsx)("div", {+ }) : null, /* @__PURE__ */ (0, V.jsx)("div", {className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, W.jsx)(Le, {- category: y,+ children: e.rows.map((e) => /* @__PURE__ */ (0, V.jsx)(Ke, {+ category: b,row: e,- choice: X(e),+ queueView: C,+ choice: J(e),onChoice: (t) => P((n) => new Map(n).set(e.item_key, t)),- selected: D.has(e.item_key),- onSelect: (t, n) => O((r) => {+ selected: A.has(e.item_key),+ onSelect: (t, n) => j((r) => {let i = new Set(r);- return L.current = be(i, Y, L.current, e.item_key, t, n), i;+ return ye.current = ke(i, q, ye.current, e.item_key, t, n), i;}),- locked: G,- busy: Q.isPending && Q.variables?.row.item_key === e.item_key,- problem: fe.get(e.item_key) || "",- genreTags: He,+ locked: W,+ busy: $.isPending || Q.isPending && Q.variables?.row.item_key === e.item_key,+ problem: _e.get(e.item_key) || "",+ genreTags: $e,onDecide: (t) => {Q.isPending || $.isPending || (F((t) => new Map([...t].filter(([t]) => t !== e.item_key))), Q.mutate({row: e,- status: t+ status: t,+ category: b}));},- handlers: Ue+ handlers: et}, e.item_key))})]- }, e.key)) : z.isError && !z.data ? /* @__PURE__ */ (0, W.jsx)(g, {+ }, e.key)) : L.isError && !L.data ? /* @__PURE__ */ (0, V.jsx)(g, {tone: "error",title: "复核队列读取失败",- action: /* @__PURE__ */ (0, W.jsx)(o, {+ action: /* @__PURE__ */ (0, V.jsx)(o, {variant: "secondary",size: "small",- disabled: z.isFetching,- onClick: () => void z.refetch(),+ disabled: L.isFetching,+ onClick: () => void L.refetch(),children: "立即重试"}),- children: N(z.error)- }) : /* @__PURE__ */ (0, W.jsx)(p, {- icon: ue,- title: "此分类没有待复核项目",- actions: _.some((e) => e !== y && Number(B.counts[e] || 0) > 0) ? /* @__PURE__ */ (0, W.jsx)(o, {+ children: N(L.error)+ }) : /* @__PURE__ */ (0, V.jsx)(p, {+ icon: he,+ title: `此分类没有${x[C]}项目`,+ actions: y.some((e) => e !== b && Number(z.counts[e] || 0) > 0) ? /* @__PURE__ */ (0, V.jsx)(o, {size: "small",onClick: () => {- let e = _.find((e) => e !== y && Number(B.counts[e] || 0) > 0);- e && Pe(e);+ let e = y.find((e) => e !== b && Number(z.counts[e] || 0) > 0);+ e && Z(e);},children: "查看其他分类"}) : void 0,- children: "可切换分类查看其他待确认资料。"+ children: C === "pending" ? "可切换分类查看其他待确认资料。" : `${x[C]}的资料会保留在这里,可恢复到待处理。`}),- /* @__PURE__ */ (0, W.jsx)(ze, {- page: J.page,- pages: J.pages,- onPage: E+ /* @__PURE__ */ (0, V.jsx)(Je, {+ page: K.page,+ pages: K.pages,+ onPage: k})]})]@@ -1004,6 +1098,6 @@ function Be(r) {]}) });}-export { Be as ReviewPage };+export { Q as ReviewPage };-//# debugId=664a7715-97ac-414b-b4dc-9817379b8d42\ No newline at end of file+//# debugId=4b0521d5-ac52-4070-85f4-af5c445c7d99\ No newline at end of file